@@ -21,29 +21,45 @@ The Get-AzEnvironment cmdlet gets endpoints and metadata for an instance of Azur
2121
2222## EXAMPLES
2323
24- ### Example 1: Getting the AzureCloud environment
24+ ### Example 1: Getting all Azure environments
25+ ``` powershell
26+ PS C:\> Get-AzEnvironment
27+
28+ Name Resource Manager Url ActiveDirectory Authority Type
29+ ---- -------------------- ------------------------- ----
30+ AzureUSGovernment https://management.usgovcloudapi.net/ https://login.microsoftonline.us/ Built-in
31+ AzureGermanCloud https://management.microsoftazure.de/ https://login.microsoftonline.de/ Built-in
32+ AzureCloud https://management.azure.com/ https://login.microsoftonline.com/ Built-in
33+ AzureChinaCloud https://management.chinacloudapi.cn/ https://login.chinacloudapi.cn/ Built-in
2534```
26- PS C:\> Get-AzEnvironment AzureCloud
2735
28- Name Resource Manager Url ActiveDirectory Authority
29- ---- -------------------- -------------------------
30- AzureCloud https://management.azure.com/ https://login.microsoftonline.com/
36+ This example shows how to get the endpoints and metadata for the AzureCloud (default) environment.
37+
38+ ### Example 2: Getting the AzureCloud environment
39+ ``` powershell
40+ PS C:\> Get-AzEnvironment -Name AzureCloud
41+
42+ Name Resource Manager Url ActiveDirectory Authority Type
43+ ---- -------------------- ------------------------- ----
44+ AzureCloud https://management.azure.com/ https://login.microsoftonline.com/ Built-in
3145```
3246
3347This example shows how to get the endpoints and metadata for the AzureCloud (default) environment.
3448
35- ### Example 2 : Getting the AzureChinaCloud environment
36- ```
37- PS C:\> Get-AzEnvironment AzureChinaCloud | Format-List
49+ ### Example 3 : Getting the AzureChinaCloud environment
50+ ``` powershell
51+ PS C:\> Get-AzEnvironment -Name AzureChinaCloud | Format-List
3852
3953Name : AzureChinaCloud
54+ Type : Built-in
4055EnableAdfsAuthentication : False
56+ OnPremise : False
4157ActiveDirectoryServiceEndpointResourceId : https://management.core.chinacloudapi.cn/
42- AdTenant :
43- GalleryUrl : https://gallery.chinacloudapi.cn /
44- ManagementPortalUrl : http ://go.microsoft.com/fwlink/?LinkId=301902
58+ AdTenant : Common
59+ GalleryUrl : https://gallery.azure.com /
60+ ManagementPortalUrl : https ://go.microsoft.com/fwlink/?LinkId=301902
4561ServiceManagementUrl : https://management.core.chinacloudapi.cn/
46- PublishSettingsFileUrl : http ://go.microsoft.com/fwlink/?LinkID=301776
62+ PublishSettingsFileUrl : https ://go.microsoft.com/fwlink/?LinkID=301776
4763ResourceManagerUrl : https://management.chinacloudapi.cn/
4864SqlDatabaseDnsSuffix : .database.chinacloudapi.cn
4965StorageEndpointSuffix : core.chinacloudapi.cn
@@ -52,20 +68,30 @@ GraphUrl : https://graph.chinacloudapi.
5268GraphEndpointResourceId : https://graph.chinacloudapi.cn/
5369TrafficManagerDnsSuffix : trafficmanager.cn
5470AzureKeyVaultDnsSuffix : vault.azure.cn
55- AzureDataLakeStoreFileSystemEndpointSuffix :
56- AzureDataLakeAnalyticsCatalogAndJobEndpointSuffix :
71+ DataLakeEndpointResourceId :
72+ AzureDataLakeStoreFileSystemEndpointSuffix :
73+ AzureDataLakeAnalyticsCatalogAndJobEndpointSuffix :
5774AzureKeyVaultServiceEndpointResourceId : https://vault.azure.cn
75+ ContainerRegistryEndpointSuffix : azurecr.cn
76+ AzureOperationalInsightsEndpointResourceId :
77+ AzureOperationalInsightsEndpoint :
78+ AzureAnalysisServicesEndpointSuffix : asazure.chinacloudapi.cn
79+ AnalysisServicesEndpointResourceId : https://region.asazure.chinacloudapi.cn
80+ AzureAttestationServiceEndpointSuffix :
81+ AzureAttestationServiceEndpointResourceId :
82+ AzureSynapseAnalyticsEndpointSuffix : dev.azuresynapse.azure.cn
83+ AzureSynapseAnalyticsEndpointResourceId : https://dev.azuresynapse.azure.cn
5884```
5985
6086This example shows how to get the endpoints and metadata for the AzureChinaCloud environment.
6187
62- ### Example 3 : Getting the AzureUSGovernment environment
63- ```
64- PS C:\> Get-AzEnvironment AzureUSGovernment
88+ ### Example 4 : Getting the AzureUSGovernment environment
89+ ``` powershell
90+ PS C:\> Get-AzEnvironment -Name AzureUSGovernment
6591
66- Name Resource Manager Url ActiveDirectory Authority
67- ---- -------------------- -------------------------
68- AzureUSGovernment https://management.usgovcloudapi.net/ https://login.microsoftonline.us/
92+ Name Resource Manager Url ActiveDirectory Authority Type
93+ ---- -------------------- ------------------------- ----
94+ AzureUSGovernment https://management.usgovcloudapi.net/ https://login.microsoftonline.us/ Built-in
6995```
7096
7197This example shows how to get the endpoints and metadata for the AzureUSGovernment environment.
0 commit comments