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

Get-AzFrontDoorCdnEndpoint

获取具有指定订阅、资源组和配置文件下指定终结点名称的现有 AzureFrontDoor 终结点。

语法

Get-AzFrontDoorCdnEndpoint
   -ProfileName <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzFrontDoorCdnEndpoint
   -EndpointName <String>
   -ProfileName <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzFrontDoorCdnEndpoint
   -InputObject <ICdnIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

说明

获取具有指定订阅、资源组和配置文件下指定终结点名称的现有 AzureFrontDoor 终结点。

示例

示例 1:列出配置文件下的 AzureFrontDoor 终结点

Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6

Location Name   ResourceGroupName
-------- ----   -----------------
Global   end001 testps-rg-da16jm
Global   end002 testps-rg-da16jm

列出配置文件下的 AzureFrontDoor 终结点

示例 2:获取配置文件下的 AzureFrontDoor 终结点

Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001

Location Name   ResourceGroupName
-------- ----   -----------------
Global   end001 testps-rg-da16jm

获取配置文件下的 AzureFrontDoor 终结点

示例 2:通过标识获取配置文件下的 AzureFrontDoor 终结点

New-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end011 -Location Global -EnabledState Enabled 
| Get-AzFrontDoorCdnEndpoint

Location Name   ResourceGroupName
-------- ----   -----------------
Global   end011 testps-rg-da16jm

通过标识获取配置文件下的 AzureFrontDoor 终结点

参数

-DefaultProfile

DefaultProfile 参数不起作用。 如果对其他订阅执行 cmdlet,请使用 SubscriptionId 参数。

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

-EndpointName

全局唯一的配置文件下的终结点的名称。

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

-InputObject

要构造的标识参数,请参阅 INPUTOBJECT 属性的 NOTES 部分并创建哈希表。

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

-ProfileName

Azure Front Door Standard 或 Azure Front Door 高级版配置文件的名称,该配置文件在资源组中是唯一的。

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

-ResourceGroupName

Azure 订阅中的资源组的名称。

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

-SubscriptionId

Azure 订阅 ID。

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

输入

ICdnIdentity

输出

IAfdEndpoint