Skip to content

Commit

Permalink
FIX-TEMPLATE: oms-hyperv-replica-solution (#10624)
Browse files Browse the repository at this point in the history
* initial commit

* initial commit

* changing the password to unique one

* initial commit

* changing the password to unique one

* initial commit

* initial commit

* reverting

* adding openedx version

* STAGED

* initial commit

* revert

* initial commit

* revert

* initial commit

Co-authored-by: olga-spektra <ssi_okuzina@qbsol.com>
Co-authored-by: olga-spektra <olga@spektrasystems.com>
  • Loading branch information
3 people committed Jun 1, 2021
1 parent f43e48d commit 20c063d
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 31 deletions.
31 changes: 5 additions & 26 deletions oms-hyperv-replica-solution/azuredeploy.json
Expand Up @@ -10,17 +10,9 @@
},
"workspaceRegion": {
"type": "string",
"allowedValues": [
"East US",
"West Europe",
"Southeast Asia",
"Australia Southeast",
"West Central US"
],
"metadata": {
"description": "The region of your OMS Log Analytics workspace."
},
"defaultValue": "West Europe"
}
},
"automationAccountName": {
"type": "string",
Expand All @@ -30,22 +22,9 @@
},
"automationRegion": {
"type": "string",
"allowedValues": [
"Japan East",
"East US 2",
"West Europe",
"Southeast Asia",
"South Central US",
"UK South",
"West Central US",
"North Europe",
"Canada Central",
"Australia Southeast"
],
"metadata": {
"description": "The region the Automaiton account is located in."
},
"defaultValue": "West Europe"
}
},
"automationPricingTier": {
"type": "string",
Expand Down Expand Up @@ -86,7 +65,7 @@
},
"defaultValue": "https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/oms-hyperv-replica-solution/"
},
"_artifactsSasToken": {
"_artifactsLocationSasToken": {
"type": "securestring",
"metadata": {
"description": "The sasToken required to access _artifactsLocation."
Expand Down Expand Up @@ -535,7 +514,7 @@
"logVerbose": false,
"description": "[variables('automation').runbook.publishOmsHyperVReplica.description]",
"publishContentLink": {
"uri": "[concat(parameters('_artifactsLocation'), 'scripts/', variables('automation').runbook.publishOmsHyperVReplica.name, '.ps1', parameters('_artifactsSasToken')) ]",
"uri": "[uri(parameters('_artifactsLocation'), concat('scripts/', variables('automation').runbook.publishOmsHyperVReplica.name, '.ps1', parameters('_artifactsLocationSasToken')))]",
"version": "1.0.0.0"
}
}
Expand Down Expand Up @@ -582,7 +561,7 @@
"tags": {},
"properties": {
"contentLink": {
"uri": "[concat(parameters('_artifactsLocation'), 'assets/', variables('automation').module.OMSDataInjection.name, '.zip', parameters('_artifactsSasToken')) ]"
"uri": "[uri(parameters('_artifactsLocation'), concat('assets/', variables('automation').module.OMSDataInjection.name, '.zip', parameters('_artifactsLocationSasToken')))]"
}
}
},
Expand Down
7 changes: 2 additions & 5 deletions oms-hyperv-replica-solution/azuredeploy.parameters.json
Expand Up @@ -6,16 +6,13 @@
"value": "GEN-UNIQUE-20"
},
"workspaceRegion": {
"value": "West Europe"
"value": "eastus"
},
"automationAccountName": {
"value": "GEN-UNIQUE-20"
},
"automationRegion": {
"value": "West Europe"
},
"automationPricingTier": {
"value": "Free"
"value": "eastus"
},
"onPremisesRunAsUserName": {
"value": "GEN-UNIQUE-20"
Expand Down
30 changes: 30 additions & 0 deletions oms-hyperv-replica-solution/azuredeploy.parameters.us.json
@@ -0,0 +1,30 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"workspaceName": {
"value": "GEN-UNIQUE-20"
},
"workspaceRegion": {
"value": "usgovvirginia"
},
"automationAccountName": {
"value": "GEN-UNIQUE-20"
},
"automationRegion": {
"value": "usgovvirginia"
},
"onPremisesRunAsUserName": {
"value": "GEN-UNIQUE-20"
},
"onPremisesRunAsPassword": {
"value": "GEN-UNIQUE-20"
},
"workSpaceID": {
"value": "GEN-UNIQUE-20"
},
"workSpacePrimaryKey": {
"value": "GEN-UNIQUE-20"
}
}
}

0 comments on commit 20c063d

Please sign in to comment.