forked from Azure/azure-quickstart-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added templated for PowerBi and Batch Account
- Loading branch information
Zecharia Kasina (PSP)
committed
Aug 28, 2017
1 parent
54ee6d2
commit 4e2b8d3
Showing
8 changed files
with
170 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Create a Batch Account using a template | ||
|
||
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fazure%2Fazure-quickstart-templates%2Fmaster%2F101-batchaccount-with-storage%2Fazuredeploy.json" target="_blank"> | ||
<img src="http://azuredeploy.net/deploybutton.png"/> | ||
</a> | ||
<a href="http://armviz.io/#/?load=https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-batchaccount-with-storage%2Fazuredeploy.json" target="_blank"> | ||
<img src="http://armviz.io/visualizebutton.png"/> | ||
</a> | ||
|
||
This ARM template creates a batch account resource in Azure. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | ||
"contentVersion": "1.0.0.0", | ||
"parameters": { | ||
"batchAccountName": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "Batch Account Name" | ||
} | ||
}, | ||
"storageAccountsku": { | ||
"type": "string", | ||
"defaultValue": "Standard_LRS", | ||
"allowedValues": [ | ||
"Standard_LRS", | ||
"Standard_GRS", | ||
"Standard_ZRS", | ||
"Premium_LRS" | ||
], | ||
"metadata": { | ||
"description": "Storage Account type" | ||
} | ||
} | ||
}, | ||
"variables": { | ||
"storageAccountName": "[concat(uniqueString(resourceGroup().id),'storage')]" | ||
}, | ||
"resources": [{ | ||
"type": "Microsoft.Storage/storageAccounts", | ||
"name": "[variables('storageAccountname')]", | ||
"apiVersion": "2016-01-01", | ||
"location": "[resourceGroup().location]", | ||
"comments": "This storage account is used to associate to a batch account", | ||
"sku": { | ||
"name": "[parameters('storageAccountsku')]" | ||
}, | ||
"kind": "Storage", | ||
"tags": { | ||
"ObjectName": "[variables('storageAccountName')]" | ||
}, | ||
"properties": {} | ||
}, | ||
{ | ||
"type": "Microsoft.Batch/batchAccounts", | ||
"name": "[parameters('batchAccountName')]", | ||
"apiVersion": "2015-12-01", | ||
"location": "[resourceGroup().location]", | ||
"tags": { | ||
"ObjectName": "[parameters('batchAccountName')]" | ||
}, | ||
"properties": { | ||
"autoStorage": { | ||
"storageAccountId": "[resourceId('Microsoft.Storage/storageAccounts', variables('storageAccountName'))]" | ||
} | ||
}, | ||
"dependsOn": [ | ||
"[resourceId('Microsoft.Storage/storageAccounts', variables('storageAccountName'))]" | ||
] | ||
} | ||
], | ||
"outputs": { | ||
"storageAccountName": { | ||
"type": "string", | ||
"value": "[variables('storageAccountName')]" | ||
}, | ||
"batchAccountName": { | ||
"type": "string", | ||
"value": "[parameters('batchAccountName')]" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", | ||
"contentVersion": "1.0.0.0", | ||
"parameters": { | ||
"batchAccountName": { | ||
"value": "GEN_UNIQUE" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"itemDisplayName": "Create a Batch Account using a template", | ||
"description": "This template creates a Batch Account and a storage account.", | ||
"summary": "Create a Batch Account using a template and s storage account associated with the batch account.", | ||
"githubUsername": "zechariahks", | ||
"dateUpdated": "2017-08-28" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Create a PowerBI Workspace Collection using a template | ||
|
||
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fazure%2Fazure-quickstart-templates%2Fmaster%2F101-powerbi-workspace-create%2Fazuredeploy.json" target="_blank"> | ||
<img src="http://azuredeploy.net/deploybutton.png"/> | ||
</a> | ||
<a href="http://armviz.io/#/?load=https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-powerbi-workspace-create%2Fazuredeploy.json" target="_blank"> | ||
<img src="http://armviz.io/visualizebutton.png"/> | ||
</a> | ||
|
||
This ARM template creates a PowerBI Workspace collection resource in Azure. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | ||
"contentVersion": "1.0.0.0", | ||
"parameters": { | ||
"powerbiWorkspaceName": { | ||
"type": "string", | ||
"minLength": 3, | ||
"maxLength": 63, | ||
"metadata": { | ||
"description": "the name of the PowerBI workspace collection name. It should match with the following regular expression: ^(?:[a-zA-Z0-9]+-?)+$ or it will raise an error. " | ||
} | ||
}, | ||
"sku": { | ||
"type": "string", | ||
"allowedValues": [ | ||
"S1", | ||
"s1" | ||
], | ||
"metadata": { | ||
"description": "provide the sku for powerbi workspace collection." | ||
} | ||
} | ||
}, | ||
"resources": [ | ||
{ | ||
"apiVersion": "2016-01-29", | ||
"type": "Microsoft.PowerBI/workspaceCollections", | ||
"name": "[parameters('powerbiWorkspaceName')]", | ||
"location": "[resourceGroup().location]", | ||
"sku": { | ||
"name": "[parameters('sku')]" | ||
}, | ||
"tags": { | ||
"ObjectName": "[parameters('powerbiWorkspaceName')]" | ||
} | ||
} | ||
], | ||
"outputs": { | ||
"powerbiWorkspaceName": { | ||
"type": "string", | ||
"value": "[parameters('powerbiWorkspaceName')]" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", | ||
"contentVersion": "1.0.0.0", | ||
"parameters": { | ||
"powerbiWorkspaceName": { | ||
"value": "GEN-UNIQUE" | ||
}, | ||
"sku": { | ||
"value": "S1" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"itemDisplayName": "Create a PowerBI Workspace Collection using a template", | ||
"description": "This template creates a PowerBI Workspace Collection", | ||
"summary": "Create a PowerBI Workspace Collection in Azure.", | ||
"githubUsername": "zechariahks", | ||
"dateUpdated": "2017-08-28" | ||
} |