Bearbeiten

Freigeben über


Get-AzFrontDoorCdnProfile

Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.

Syntax

Get-AzFrontDoorCdnProfile
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzFrontDoorCdnProfile
   [-SubscriptionId <String[]>]
   -ResourceGroupName <String>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzFrontDoorCdnProfile
   [-SubscriptionId <String[]>]
   -Name <String>
   -ResourceGroupName <String>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzFrontDoorCdnProfile
   -InputObject <ICdnIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.

Examples

Example 1: List AzureFrontDoor profiles under the subscription

Get-AzFrontDoorCdnProfile

Location Name       Kind      ResourceGroupName
-------- ----       ----      -----------------
Global   fdp-v542q6 frontdoor testps-rg-da16jm
Global   fdp-a345e9 frontdoor testps-rg-da16jm
Global   fdp-t0jfb9 frontdoor testps-rg-zvt8sy

List AzureFrontDoor profiles under the subscription

Example 2: List AzureFrontDoor profiles under the resource group

Get-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm

Location Name       Kind      ResourceGroupName
-------- ----       ----      -----------------
Global   fdp-v542q6 frontdoor testps-rg-da16jm
Global   fdp-a345e9 frontdoor testps-rg-da16jm

List AzureFrontDoor profiles under the resource group

Example 3: Get an AzureFrontDoor profile under the resource group

Get-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6

Location Name       Kind      ResourceGroupName
-------- ----       ----      -----------------
Global   fdp-v542q6 frontdoor testps-rg-da16jm

Get an AzureFrontDoor profile under the resource group

Example 4: Get an AzureFrontDoor profile under the resource group via identity

New-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q7 -SkuName Standard_AzureFrontDoor -Location Global | Get-AzFrontDoorCdnProfile

Location Name       Kind      ResourceGroupName
-------- ----       ----      -----------------
Global   fdp-v542q7 frontdoor testps-rg-da16jm

Get an AzureFrontDoor profile under the resource group via identity

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Type:ICdnIdentity
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Name

Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.

Type:String
Aliases:ProfileName
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

Name of the Resource group within the Azure subscription.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-SubscriptionId

Azure Subscription ID.

Type:String[]
Position:Named
Default value:(Get-AzContext).Subscription.Id
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

ICdnIdentity

Outputs

IProfile