Regional code names and endpoints
Region code name
When the location parameter is used in a command or request, you need to provide the region code name as the location value. To get the code name of the region that your account is in and that your call should be routed to, you can run the following line in Azure CLI.
az account list-locations
Once you run the line shown above, you get a list of all Azure regions. Navigate to the Azure region that has the displayName you are looking for, and use its name value for the location parameter.
For example, for the Azure region China East (displayed below), you will use "chinaeast" for the location parameter.
{
"displayName": "China East",
"id": "/subscriptions/00000000-23da-4fce-b59c-f6fb9513eeeb/locations/chinaeast",
"latitude": "31.3209",
"longitude": "121.5891",
"name": "chinaeast",
"subscriptionId": null
}
Endpoints
The following endpoints are important to know when connecting to Media Services accounts.
Azure China 21Vianet
Service | Endpoint |
---|---|
Azure Resource Manager | https://management.chinacloudapi.cn/ |
Authentication | https://login.chinacloudapi.cn/ |
Token audience | https://management.core.chinacloudapi.cn/ |