你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Get-AzEdgeZonesExtendedZone
获取订阅的 Azure 扩展区域
语法
Get-AzEdgeZonesExtendedZone
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzEdgeZonesExtendedZone
-Name <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzEdgeZonesExtendedZone
-InputObject <IEdgeZonesIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
说明
获取订阅的 Azure 扩展区域
示例
示例 1:列出订阅下的所有 Azure 扩展区域
Get-AzEdgeZonesExtendedZone
Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType ResourceGroupName
---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- -----------------
losangeles
此命令列出订阅下的所有 Azure 扩展区域
示例 2:按名称获取 Azure 扩展区域
Get-AzEdgeZonesExtendedZone -Name losangeles
DisplayName : Los Angeles
Geography : usa
GeographyGroup : US
HomeLocation : westus
Id : /subscriptions/2027ff61-4414-4aa3-bd20-170c46f69b19/providers/Microsoft.EdgeZones/extendedZones/losangeles
Latitude : 34.058414
Longitude : -118.23537
Name : losangeles
ProvisioningState : Succeeded
RegionCategory : Other
RegionType : Physical
RegionalDisplayName : (US) Los Angeles
RegistrationState : NotRegistered
ResourceGroupName :
SystemDataCreatedAt :
SystemDataCreatedBy :
SystemDataCreatedByType :
SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
Type : Microsoft.EdgeZones/extendedZones
此命令按名称获取 Azure 扩展区域
参数
-DefaultProfile
DefaultProfile 参数不起作用。 如果对其他订阅执行 cmdlet,请使用 SubscriptionId 参数。
类型: | PSObject |
别名: | AzureRMContext, AzureCredential |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-InputObject
标识参数
类型: | IEdgeZonesIdentity |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |
-Name
ExtendedZone 的名称
类型: | String |
别名: | ExtendedZoneName |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-SubscriptionId
目标订阅的 ID。 该值必须是 UUID。
类型: | String[] |
Position: | Named |
默认值: | (Get-AzContext).Subscription.Id |
必需: | False |
接受管道输入: | False |
接受通配符: | False |