Get-AzFrontDoor
Gets a Front Door with the specified Front Door name under the specified subscription and resource group.
Syntax
List (Default)
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>]
Description
Gets a Front Door with the specified Front Door name under the specified subscription and resource group.
Examples
Example 1: Get all FrontDoors in the current subscription.
Get-AzFrontDoor
Location Name ResourceGroupName
-------- ---- -----------------
Global {Name0} {rg0}
CentralUs {Name1} {rg1}
Get all FrontDoors in the current subscription.
Example 2: Get all FrontDoors in resource group "rg1" in the current subscription.
Get-AzFrontDoor -ResourceGroupName "rg1"
Global name1 rg1
Global name2 rg1
Get all FrontDoors in resource group "rg1" in the current subscription.
Example 3: Get the FrontDoors in resource group "rg1" with name "frontDoor1" in the current subscription.
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
Get the FrontDoors in resource group "rg1" with name "frontDoor1" in the current subscription.
Parameters
-DefaultProfile
The DefaultProfile parameter is not functional.
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Parameter properties
Type: PSObject
Default value: None
Supports wildcards: False
DontShow: False
Aliases: AzureRMContext, AzureCredential
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Identity Parameter
GetViaIdentity
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
-Name
Name of the Front Door which is globally unique.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Aliases: FrontDoorName
Parameter sets
Get
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ResourceGroupName
Name of the Resource group within the Azure subscription.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
Get
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
List1
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-SubscriptionId
The subscription credentials which uniquely identify the Microsoft Azure subscription.
The subscription ID forms part of the URI for every service call.
Parameter properties
Type: String [ ]
Default value: (Get-AzContext).Subscription.Id
Supports wildcards: False
DontShow: False
Parameter sets
List
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Get
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
List1
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
Outputs