你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Get-AzEdgeZonesExtendedZone

此 cmdlet 是 预览 模块的一部分。 不建议在生产环境中使用预览版本。 有关详细信息,请参阅 https://aka.ms/azps-refstatus

获取订阅的 Azure 扩展区域

语法

List (默认值)

Get-AzEdgeZonesExtendedZone
    [-SubscriptionId <String[]>]
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

Get

Get-AzEdgeZonesExtendedZone
    -Name <String>
    [-SubscriptionId <String[]>]
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

GetViaIdentity

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
默认值:None
支持通配符:False
不显示:False
别名:AzureRMContext, AzureCredential

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-InputObject

标识参数

参数属性

类型:IEdgeZonesIdentity
默认值:None
支持通配符:False
不显示:False

参数集

GetViaIdentity
Position:Named
必需:True
来自管道的值:True
来自管道的值(按属性名称):False
来自剩余参数的值:False

-Name

ExtendedZone 的名称

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False
别名:ExtendedZoneName

参数集

Get
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-SubscriptionId

目标订阅的 ID。 该值必须是 UUID。

参数属性

类型:

String[]

默认值:(Get-AzContext).Subscription.Id
支持通配符:False
不显示:False

参数集

List
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False
Get
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

CommonParameters

此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters

输入

IEdgeZonesIdentity

输出

IExtendedZone