Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

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

-InputObject

Identity Parameter

Parameter properties

Type:IFrontDoorIdentity
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-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

-ResourceGroupName

The name of the resource group. The name is case insensitive.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-SubscriptionId

The ID of the target subscription.

Parameter properties

Type:

String[]

Default value:(Get-AzContext).Subscription.Id
Supports wildcards:False
DontShow:False

Parameter sets

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.

Inputs

IFrontDoorIdentity

Outputs

IFrontDoor


Feedback

Was this page helpful?