We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c93e5e commit 5953cadCopy full SHA for 5953cad
src/k8s-extension/azext_k8s_extension/partner_extensions/azuremonitormetrics/deaults.py
@@ -8,7 +8,7 @@
8
def get_default_region(cmd):
9
cloud_name = cmd.cli_ctx.cloud.name
10
if cloud_name.lower() == 'azurechinacloud':
11
- raise CLIError("Azure China Cloud is not supported for the Azure Monitor Metrics addon")
+ return "chinanorth3"
12
if cloud_name.lower() == 'azureusgovernment':
13
return "usgovvirginia"
14
return "eastus"
0 commit comments