Skip to content

Commit

Permalink
Formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kay Singh committed Dec 4, 2015
1 parent 67415d6 commit d83efb9
Show file tree
Hide file tree
Showing 11 changed files with 142 additions and 137 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"description": "This template creates an Application Gateway, Public IP address for the Application Gateway, and the Virtual Network in which Application Gateway is deployed. Also configures Application Gateway for Ssl Offload and Load balancing with Two backend servers. Note that you have to specify valid IPs for backend servers.",
"summary": "Create an Application Gateway with Public IP",
"githubUsername": "puneetsaraswat",
"dateUpdated": "2015-07-21"
"dateUpdated": "2015-12-04"
}
4 changes: 2 additions & 2 deletions 101-application-gateway-public-ip/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"subnetRef": "[concat(variables('vnetID'),'/subnets/',variables('subnetName'))]",
"publicIPRef": "[resourceId('Microsoft.Network/publicIPAddresses',variables('publicIPAddressName'))]",
"applicationGatewayID": "[resourceId('Microsoft.Network/applicationGateways',variables('applicationGatewayName'))]",
"apiVersion": "2015-05-01-preview"
"apiVersion": "2015-05-01-preview"
},
"resources": [
{
Expand Down Expand Up @@ -199,4 +199,4 @@
}
}
]
}
}
2 changes: 1 addition & 1 deletion 101-application-gateway-public-ip/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"description": "This template creates an Application Gateway, Public IP address for the Application Gateway, and the Virtual Network in which Application Gateway is deployed. Also configures Application Gateway for Http Load balancing with Two backend servers. Note that you have to specify valid IPs for backend servers.",
"summary": "Create an Application Gateway with Public IP",
"githubUsername": "puneetsaraswat",
"dateUpdated": "2015-07-21"
"dateUpdated": "2015-12-04"
}
237 changes: 118 additions & 119 deletions 101-automation-runbook-getvms/azuredeploy.json
Original file line number Diff line number Diff line change
@@ -1,127 +1,126 @@
{
"$schema": "http://schemas.microsoft.org/azure/deploymentTemplate?api-version=2015-01-01-preview#",
"contentVersion": "1.0",
"parameters": {
"accountName": {
"type": "string",
"metadata": {
"description": "The name of the Azure Automation account to deploy to."
}
},
"regionId": {
"type": "string",
"allowedValues": [
"Japan East",
"East US 2",
"West Europe",
"Southeast Asia",
"South Central US"
],
"metadata": {
"description": "The region to deploy the Automation account in."
}
},
"credentialName": {
"type": "string",
"defaultValue": "DefaultAzureCredential",
"metadata": {
"description": "DefaultAzureCredential is the name of the Automation credential used in this runbook. This credential allows you to authenticate to Azure. "
}
},
"userName": {
"type": "string",
"metadata": {
"description": "The username for the Azure Automation credential."
}
},
"password": {
"type": "securestring",
"metadata": {
"description": "The password for the Azure Automation credential."
}
},
"jobId": {
"type": "string",
"metadata": {
"description": "The GUID for the runbook job to be started."
}
}
},
"variables": {
"runbookName": "Get-AzureVMTutorial",
"scriptUri": "https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-automation-runbook-getvms/Runbooks/Get-AzureVMTutorial.ps1",
"runbookDescription": "Authenticates to Azure and lists all the Azure V1 VMs",
"sku": "Free"
},
"resources": [
{
"name": "[parameters('accountName')]",
"type": "Microsoft.Automation/automationAccounts",
"apiVersion": "2015-01-01-preview",
"location": "[parameters('regionId')]",
"dependsOn": [ ],
"tags": { },
"properties": {
"sku": {
"name": "[variables('sku')]"
"$schema": "http://schemas.microsoft.org/azure/deploymentTemplate?api-version=2015-01-01-preview#",
"contentVersion": "1.0",
"parameters": {
"accountName": {
"type": "string",
"metadata": {
"description": "The name of the Azure Automation account to deploy to."
}
},
"resources": [
{
"name": "[variables('runbookName')]",
"type": "runbooks",
"apiVersion": "2015-01-01-preview",
"location": "[parameters('regionId')]",
"dependsOn": [
"[concat('Microsoft.Automation/automationAccounts/', parameters('accountName'))]"
],
"tags": { },
"properties": {
"runbookType": "Script",
"logProgress": "false",
"logVerbose": "false",
"description": "[variables('runbookDescription')]",
"publishContentLink": {
"uri": "[variables('scriptUri')]",
"version": "1.0.0.0"
}
}
},
{
"name": "[parameters('credentialName')]",
"type": "credentials",
"apiVersion": "2015-01-01-preview",
"location": "[parameters('regionId')]",
"dependsOn": [
"[concat('Microsoft.Automation/automationAccounts/', parameters('accountName'))]"
],
"tags": { },
"properties": {
"userName": "[parameters('userName')]",
"password": "[parameters('password')]"
"regionId": {
"type": "string",
"allowedValues": [
"Japan East",
"East US 2",
"West Europe",
"Southeast Asia",
"South Central US"
],
"metadata": {
"description": "The region to deploy the Automation account in."
}
},
"credentialName": {
"type": "string",
"defaultValue": "DefaultAzureCredential",
"metadata": {
"description": "DefaultAzureCredential is the name of the Automation credential used in this runbook. This credential allows you to authenticate to Azure. "
}
},
"userName": {
"type": "string",
"metadata": {
"description": "The username for the Azure Automation credential."
}
},
"password": {
"type": "securestring",
"metadata": {
"description": "The password for the Azure Automation credential."
}
},
"jobId": {
"type": "string",
"metadata": {
"description": "The GUID for the runbook job to be started."
}
}
},
"variables": {
"runbookName": "Get-AzureVMTutorial",
"scriptUri": "https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-automation-runbook-getvms/Runbooks/Get-AzureVMTutorial.ps1",
"runbookDescription": "Authenticates to Azure and lists all the Azure V1 VMs",
"sku": "Free"
},
"resources": [
{
"name": "[parameters('accountName')]",
"type": "Microsoft.Automation/automationAccounts",
"apiVersion": "2015-01-01-preview",
"location": "[parameters('regionId')]",
"dependsOn": [],
"tags": {},
"properties": {
"sku": {
"name": "[variables('sku')]"
}
},
{
"name": "[parameters('jobId')]",
"type": "jobs",
"apiVersion": "2015-01-01-preview",
"location": "[parameters('regionId')]",
"dependsOn": [
"[concat('Microsoft.Automation/automationAccounts/', parameters('accountName'))]",
"[concat('Microsoft.Automation/automationAccounts/', parameters('accountName'), '/runbooks/',variables('runbookName'))]"
],
"tags": {
"key": "value"
"resources": [
{
"name": "[variables('runbookName')]",
"type": "runbooks",
"apiVersion": "2015-01-01-preview",
"location": "[parameters('regionId')]",
"dependsOn": [
"[concat('Microsoft.Automation/automationAccounts/', parameters('accountName'))]"
],
"tags": {},
"properties": {
"runbookType": "Script",
"logProgress": "false",
"logVerbose": "false",
"description": "[variables('runbookDescription')]",
"publishContentLink": {
"uri": "[variables('scriptUri')]",
"version": "1.0.0.0"
}
}
},
"properties": {
"runbook": {
"name": "[variables('runbookName')]"
{
"name": "[parameters('credentialName')]",
"type": "credentials",
"apiVersion": "2015-01-01-preview",
"location": "[parameters('regionId')]",
"dependsOn": [
"[concat('Microsoft.Automation/automationAccounts/', parameters('accountName'))]"
],
"tags": {},
"properties": {
"userName": "[parameters('userName')]",
"password": "[parameters('password')]"
}
},
{
"name": "[parameters('jobId')]",
"type": "jobs",
"apiVersion": "2015-01-01-preview",
"location": "[parameters('regionId')]",
"dependsOn": [
"[concat('Microsoft.Automation/automationAccounts/', parameters('accountName'))]",
"[concat('Microsoft.Automation/automationAccounts/', parameters('accountName'), '/runbooks/',variables('runbookName'))]"
],
"tags": {
"key": "value"
},
"properties": {
"runbook": {
"name": "[variables('runbookName')]"
}
}
}
}
]
}

],
"outputs": {}
}
]
}
],
"outputs": {}
}
2 changes: 1 addition & 1 deletion 101-automation-runbook-getvms/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"description": "This template creates an Azure Automation runbook that retrieves Azure V1 VMs and a credential to authenticate to Azure. It then starts the runbook job.",
"summary": "This template creates an Azure Automation runbook and credential. It then starts the runbook job.",
"githubUsername": "elcooper",
"dateUpdated": "2015-06-17"
"dateUpdated": "2015-12-04"
}
10 changes: 5 additions & 5 deletions 101-azure-dns-new-zone/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"contentVersion": "1.0.0.0",
"parameters": {
"newZoneName": {
"type": "String",
"type": "string",
"metadata": {
"description": "The name of the DNS zone to be created."
}
},
"newRecordName": {
"type": "String",
"type": "string",
"defaultValue": "www",
"metadata": {
"description": "The name of the DNS record to be created. The name is relative to the zone, not the FQDN."
Expand All @@ -18,14 +18,14 @@
},
"resources": [
{
"type": "microsoft.network/dnszones",
"type": "Microsoft.Network/dnszones",
"name": "[parameters('newZoneName')]",
"apiVersion": "2015-05-04-preview",
"location": "global",
"properties": {}
},
{
"type": "microsoft.network/dnszones/a",
"type": "Microsoft.Network/dnszones/a",
"name": "[concat(parameters('newZoneName'), concat('/', parameters('newRecordName')))]",
"apiVersion": "2015-05-04-preview",
"location": "global",
Expand All @@ -37,7 +37,7 @@
},
{
"ipv4Address": "1.2.3.5"
}
}
]
},
"dependsOn": [
Expand Down
2 changes: 1 addition & 1 deletion 101-azure-dns-new-zone/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"description": "This template shows how to create a DNS zone within Azure DNS and how to add some record sets to it.",
"summary": "This template creates a DNS zone within the Azure DNS resource provider. It then creates a RecordSet containing two DNS A records within that zone.",
"githubUsername": "GarethBradshawMSFT",
"dateUpdated": "2015-06-12"
"dateUpdated": "2015-12-04"
}
4 changes: 2 additions & 2 deletions 101-backup-protect-iaasvm/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"vaultName": {
"existingBackupVaultName": {
"type": "string",
"metadata": {
"description": "Name of the Existing Backup Vault"
Expand All @@ -23,7 +23,7 @@
},
"resources": [
{
"name": "[concat(parameters('vaultName'), '/', parameters('registeredContainers')[copyIndex()], '/', parameters('registeredContainers')[copyIndex()])]",
"name": "[concat(parameters('existingBackupVaultName'), '/', parameters('registeredContainers')[copyIndex()], '/', parameters('registeredContainers')[copyIndex()])]",
"apiVersion": "2015-03-15",
"type": "Microsoft.Backup/BackupVault/registeredContainers/protectedItems",
"copy": {
Expand Down
16 changes: 11 additions & 5 deletions 101-cdn-with-custom-origin/azuredeploy.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"variables": {
"cdnApiVersion":"2015-06-01"
},
"parameters": {
"profileName": {
"type": "string",
Expand All @@ -24,6 +21,9 @@
}
}
},
"variables": {
"cdnApiVersion": "2015-06-01"
},
"resources": [
{
"name": "[parameters('profileName')]",
Expand All @@ -49,7 +49,13 @@
"isHttpAllowed": true,
"isHttpsAllowed": true,
"queryStringCachingBehavior": "IgnoreQueryString",
"contentTypesToCompress": [ "text/plain","text/html","text/css","application/x-javascript","text/javascript" ],
"contentTypesToCompress": [
"text/plain",
"text/html",
"text/css",
"application/x-javascript",
"text/javascript"
],
"isCompressionEnabled": "True",
"origins": [
{
Expand All @@ -62,4 +68,4 @@
}
}
]
}
}

0 comments on commit d83efb9

Please sign in to comment.