You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What are you trying to do? Can you provide more information? Are you running a specific command and it doesn't behavior the way you expect? What JSON file and folder are you referencing?
Here is what I am doing,
by reference of the readme file in this folder <\AzureStack-Tools-master\TemplateValidator>, it tells me (below quoted from readme file) there should be a file <.\AzureStackCapabilities_TP3.json> under the same folder.
Looks like you are just missing the first instruction:
Generate the Cloud capabilities json by Get-AzureRMCloudCapability cmdlet under module .\CloudCapabilities\AzureRM.CloudCapabilities.psm1 based on your environment.
So it seems you use that command to generate the JSON file that describe the capabilities of the target cloud. It is setup this way because different Azure Stack environments may be on different versions, etc. and may not support some capabilities that other environments do.
Activity
keystroke commentedon Apr 7, 2020
What are you trying to do? Can you provide more information? Are you running a specific command and it doesn't behavior the way you expect? What JSON file and folder are you referencing?
derekdai1978 commentedon Apr 7, 2020
Here is what I am doing,
by reference of the readme file in this folder <\AzureStack-Tools-master\TemplateValidator>, it tells me (below quoted from readme file) there should be a file <.\AzureStackCapabilities_TP3.json> under the same folder.
```powershell
$TemplatePath = "<Provide Template(s) Path>"
$CapabilitiesPath = ".\AzureStackCapabilities_TP3.json"
Test-AzureRMTemplate -TemplatePath $TemplatePath -CapabilitiesPath $CapabilitiesPath -Verbose #-IncludeComputeCapabilities -IncludeStorageCapabilities
keystroke commentedon Apr 7, 2020
Looks like you are just missing the first instruction:
So it seems you use that command to generate the JSON file that describe the capabilities of the target cloud. It is setup this way because different Azure Stack environments may be on different versions, etc. and may not support some capabilities that other environments do.
alexsmithMSFT commentedon Sep 30, 2021
It would be best us use Get-AzureRMCloudCapability to generate a fresh AzureCloudCapabilities.Json from the target Azure Stack Hub environment.
But we should still remove references to the sample AzureStackCapabilities_TP3.json file mentioned here-https://github.com/Azure/AzureStack-Tools/tree/master/TemplateValidator#prerequisites
Which is no longer available in the specified repos- https://github.com/Azure/AzureStack-QuickStart-Templates/search?q=AzureStackCapabilities_TP3.json