Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
Hi Amardeep,
Exercise - Add parameters and outputs to your Azure Resource Manager template
-storageName and -storageSKU are not valid parameters for New-AzResourceGroupDeployment command, so you need to remove them from your command line.
You can put your parameters in a separate json parameter file and refer to it using -TemplateParameterFile or you could create a hash table and use -TemplateParameterObject instead.
For example, you could create a separate file named parameters.json with below contents to supply parameter values:
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"storageName": {
"value": "storageName12369"
},
"storageSKU": {
"value": "Standard_LRS"
}
}
}
and the command would be similar to below:
New-AzResourceGroupDeployment -Name $deploymentName -ResourceGroupName my-resource-group -TemplateFile $templateFile -TemplateParameterFile parameters.json
New-AzResourceGroupDeployment
Please click Accept Answer and upvote if the above was helpful.
Thanks.
-TP