When running: pcs -t remotemonitoring -s basic, an error occurred when do deployment validation.
It returns the following error:
Deployment validation failed:
{
"code": "LocationNotAvailableForResourceType",
"message": "The provided location 'eastus2' is not available for resource type 'Microsoft.TimeSeriesInsights/environme✕ Error: {"code":"LocationNotAvailableForResourceType","message":"The provided location 'eastus2' is not available for resource type 'Microsoft.TimeSeriesInsights/environments'. List of available regions for the resource type is 'chinaeast2,chinanorth2'."}
Steps to reproduce
pcs login -e AzureChinaCloud
pcs -t remotemonitoring -s basic
Expected behavior
Deployment validation succeed and go to the next step
Current behavior
Deployment validation failed and block deployment process
Known workarounds
Change the default Value of 'tsiLocation' from 'eastus2' to 'chinanorth2' in arm template .
Find the 'tsiLocation' definition in basic-static-map.json
Change "defaultValue": "eastus2" to "defaultValue": "chinanorth2"
Remove "allowValues" property
Possible solution
Change the default Value of 'tsiLocation' from 'eastus2' to 'chinanorth2' in arm template
Type of issue
Description
When running: pcs -t remotemonitoring -s basic, an error occurred when do deployment validation. It returns the following error: Deployment validation failed: { "code": "LocationNotAvailableForResourceType", "message": "The provided location 'eastus2' is not available for resource type 'Microsoft.TimeSeriesInsights/environme✕ Error: {"code":"LocationNotAvailableForResourceType","message":"The provided location 'eastus2' is not available for resource type 'Microsoft.TimeSeriesInsights/environments'. List of available regions for the resource type is 'chinaeast2,chinanorth2'."}
Steps to reproduce
Expected behavior
Deployment validation succeed and go to the next step
Current behavior
Deployment validation failed and block deployment process
Known workarounds
Change the default Value of 'tsiLocation' from 'eastus2' to 'chinanorth2' in arm template .
Possible solution
Change the default Value of 'tsiLocation' from 'eastus2' to 'chinanorth2' in arm template
Context and Environment
• Operating System: Win10 1903 • GitHub branch: 51dacd2aa4 • Node.js Runtime: v10.16.0