Get-AzFrontDoor
在指定的订阅和资源组下获取具有指定 Front Door 名称的 Front Door。
语法
List (默认值)
Get-AzFrontDoor
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get
Get-AzFrontDoor
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
List1
Get-AzFrontDoor
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentity
Get-AzFrontDoor
-InputObject <IFrontDoorIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
说明
在指定的订阅和资源组下获取具有指定 Front Door 名称的 Front Door。
示例
示例 1:获取当前订阅中的所有 FrontDoors。
Get-AzFrontDoor
Location Name ResourceGroupName
-------- ---- -----------------
Global {Name0} {rg0}
CentralUs {Name1} {rg1}
获取当前订阅中的所有 FrontDoors。
示例 2:获取当前订阅中资源组“rg1”中的所有 FrontDoors。
Get-AzFrontDoor -ResourceGroupName "rg1"
Global name1 rg1
Global name2 rg1
获取当前订阅中资源组“rg1”中的所有 FrontDoors。
示例 3:获取资源组“rg1”中的 FrontDoors,并在当前订阅中命名为“frontDoor1”。
Get-AzFrontDoor -ResourceGroupName "rg1" -Name "frontDoor1"
BackendPool : {BackendPool0}
BackendPoolsSetting : {
"enforceCertificateNameCheck": "Enabled",
"sendRecvTimeoutSeconds": 30
}
Cname :
EnabledState : Disabled
ExtendedProperty : {
"MigratedTo": {link0}
}
FriendlyName : frontDoor1
FrontdoorId : {guid0}
FrontendEndpoint : {Endpoint0}
HealthProbeSetting : {HealthProbeSetting0}
Id : /subscriptions/{guid}/resourcegroups/rg1/providers/M
icrosoft.Network/frontdoors/frontdoor1
LoadBalancingSetting : {LoadBalancingSetting0}
Location : Global
Name : frontDoor1
ProvisioningState : Succeeded
ResourceGroupName : {rg1}
ResourceState : Migrated
RoutingRule : {RoutingRule0,RoutingRule1}
RulesEngine : {RulesEngine0,RulesEngine1}
Tag : {
}
Type : Microsoft.Network/frontdoors
获取资源组“rg1”中的 FrontDoors,并在当前订阅中命名为“frontDoor1”。
参数
-DefaultProfile
DefaultProfile 参数不起作用。
如果对其他订阅执行 cmdlet,请使用 SubscriptionId 参数。
参数属性
| 类型: | PSObject
|
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
| 别名: | AzureRMContext, AzureCredential |
参数集
(All)
| Position: | Named |
| 必需: | False |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
标识参数
GetViaIdentity
| Position: | Named |
| 必需: | True |
| 来自管道的值: | True |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-Name
全局唯一的前门的名称。
参数属性
| 类型: | String
|
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
| 别名: | FrontDoorName |
参数集
Get
| Position: | Named |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-ResourceGroupName
Azure 订阅中的资源组的名称。
参数属性
| 类型: | String
|
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
Get
| Position: | Named |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
List1
| Position: | Named |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-SubscriptionId
唯一标识 Azure 订阅Microsoft的订阅凭据。
订阅 ID 构成了每个服务调用的 URI 的一部分。
参数属性
| 类型: | String[]
|
| 默认值: | (Get-AzContext).Subscription.Id |
| 支持通配符: | False |
| 不显示: | False |
参数集
List
| Position: | Named |
| 必需: | False |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
Get
| Position: | Named |
| 必需: | False |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
List1
| Position: | Named |
| 必需: | False |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
CommonParameters
此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters。
输出