@@ -21,29 +21,45 @@ The Get-AzEnvironment cmdlet gets endpoints and metadata for an instance of Azur
21
21
22
22
## EXAMPLES
23
23
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
25
34
```
26
- PS C:\> Get-AzEnvironment AzureCloud
27
35
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
31
45
```
32
46
33
47
This example shows how to get the endpoints and metadata for the AzureCloud (default) environment.
34
48
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
38
52
39
53
Name : AzureChinaCloud
54
+ Type : Built-in
40
55
EnableAdfsAuthentication : False
56
+ OnPremise : False
41
57
ActiveDirectoryServiceEndpointResourceId : 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
45
61
ServiceManagementUrl : https://management.core.chinacloudapi.cn/
46
- PublishSettingsFileUrl : http ://go.microsoft.com/fwlink/?LinkID=301776
62
+ PublishSettingsFileUrl : https ://go.microsoft.com/fwlink/?LinkID=301776
47
63
ResourceManagerUrl : https://management.chinacloudapi.cn/
48
64
SqlDatabaseDnsSuffix : .database.chinacloudapi.cn
49
65
StorageEndpointSuffix : core.chinacloudapi.cn
@@ -52,20 +68,30 @@ GraphUrl : https://graph.chinacloudapi.
52
68
GraphEndpointResourceId : https://graph.chinacloudapi.cn/
53
69
TrafficManagerDnsSuffix : trafficmanager.cn
54
70
AzureKeyVaultDnsSuffix : vault.azure.cn
55
- AzureDataLakeStoreFileSystemEndpointSuffix :
56
- AzureDataLakeAnalyticsCatalogAndJobEndpointSuffix :
71
+ DataLakeEndpointResourceId :
72
+ AzureDataLakeStoreFileSystemEndpointSuffix :
73
+ AzureDataLakeAnalyticsCatalogAndJobEndpointSuffix :
57
74
AzureKeyVaultServiceEndpointResourceId : 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
58
84
```
59
85
60
86
This example shows how to get the endpoints and metadata for the AzureChinaCloud environment.
61
87
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
65
91
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
69
95
```
70
96
71
97
This example shows how to get the endpoints and metadata for the AzureUSGovernment environment.
0 commit comments