New-AzFrontDoorCdnEndpoint

在指定的訂用帳戶、資源群組和配置檔下,建立具有指定端點名稱的新 AzureFrontDoor 端點。

語法

CreateExpanded (預設值)

New-AzFrontDoorCdnEndpoint
    -EndpointName <String>
    -ProfileName <String>
    -ResourceGroupName <String>
    -Location <String>
    [-SubscriptionId <String>]
    [-AutoGeneratedDomainNameLabelScope <String>]
    [-EnabledState <String>]
    [-EnforceMtl <String>]
    [-Tag <Hashtable>]
    [-DefaultProfile <PSObject>]
    [-AsJob]
    [-NoWait]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

CreateViaJsonString

New-AzFrontDoorCdnEndpoint
    -EndpointName <String>
    -ProfileName <String>
    -ResourceGroupName <String>
    -JsonString <String>
    [-SubscriptionId <String>]
    [-DefaultProfile <PSObject>]
    [-AsJob]
    [-NoWait]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

CreateViaJsonFilePath

New-AzFrontDoorCdnEndpoint
    -EndpointName <String>
    -ProfileName <String>
    -ResourceGroupName <String>
    -JsonFilePath <String>
    [-SubscriptionId <String>]
    [-DefaultProfile <PSObject>]
    [-AsJob]
    [-NoWait]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

CreateViaIdentityProfileExpanded

New-AzFrontDoorCdnEndpoint
    -EndpointName <String>
    -ProfileInputObject <ICdnIdentity>
    -Location <String>
    [-AutoGeneratedDomainNameLabelScope <String>]
    [-EnabledState <String>]
    [-EnforceMtl <String>]
    [-Tag <Hashtable>]
    [-DefaultProfile <PSObject>]
    [-AsJob]
    [-NoWait]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

CreateViaIdentityProfile

New-AzFrontDoorCdnEndpoint
    -EndpointName <String>
    -ProfileInputObject <ICdnIdentity>
    -Endpoint <IAfdEndpoint>
    [-DefaultProfile <PSObject>]
    [-AsJob]
    [-NoWait]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

在指定的訂用帳戶、資源群組和配置檔下,建立具有指定端點名稱的新 AzureFrontDoor 端點。

範例

範例 1:在 AzureFrontDoor 設定檔下建立 AzureFrontDoor 端點

New-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Location Global -EnabledState Enabled
Location Name   ResourceGroupName
-------- ----   -----------------
Global   end001 testps-rg-da16jm

在 AzureFrontDoor 設定檔下建立 AzureFrontDoor 端點

參數

-AsJob

以作業身分執行命令

參數屬性

類型:SwitchParameter
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-AutoGeneratedDomainNameLabelScope

表示端點名稱重複使用範圍。 預設值為 TenantReuse。

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

CreateExpanded
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False
CreateViaIdentityProfileExpanded
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-Confirm

在執行 Cmdlet 之前,提示您進行確認。

參數屬性

類型:SwitchParameter
預設值:None
支援萬用字元:False
不要顯示:False
別名:CF

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-DefaultProfile

DefaultProfile 參數無法運作。 如果針對不同的訂用帳戶執行 Cmdlet,請使用 SubscriptionId 參數。

參數屬性

類型:PSObject
預設值:None
支援萬用字元:False
不要顯示:False
別名:AzureRMContext, AzureCredential

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-EnabledState

是否要啟用此規則的使用。 允許的值為 'Enabled' 或 'Disabled'

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

CreateExpanded
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False
CreateViaIdentityProfileExpanded
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-Endpoint

Azure Front Door 端點是 Azure Front Door 配置檔內的實體,其中包含設定資訊,例如來源、通訊協定、內容快取和傳遞行為。 AzureFrontDoor 端點會使用 URL 格式 <endpointname.azureedge.net>。

參數屬性

類型:IAfdEndpoint
預設值:None
支援萬用字元:False
不要顯示:False

參數集

CreateViaIdentityProfile
Position:Named
必要:True
來自管線的值:True
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-EndpointName

配置檔底下唯一的端點名稱。

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-EnforceMtl

默認設定為 [停用]。 如果設定為已啟用,則只能將已啟用 mTLS 的自訂網域新增至子路由資源。

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

CreateExpanded
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False
CreateViaIdentityProfileExpanded
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-JsonFilePath

提供給建立作業的 Json 檔案路徑

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

CreateViaJsonFilePath
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-JsonString

提供給建立作業的 Json 字串

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

CreateViaJsonString
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-Location

資源所在的地理位置

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

CreateExpanded
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False
CreateViaIdentityProfileExpanded
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-NoWait

以異步方式執行命令

參數屬性

類型:SwitchParameter
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-ProfileInputObject

Identity 參數

參數屬性

類型:ICdnIdentity
預設值:None
支援萬用字元:False
不要顯示:False

參數集

CreateViaIdentityProfileExpanded
Position:Named
必要:True
來自管線的值:True
來自管線按屬性名稱的值:False
來自剩餘引數的值:False
CreateViaIdentityProfile
Position:Named
必要:True
來自管線的值:True
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-ProfileName

該名稱為 Azure Front Door Standard 或 Azure Front Door Premium 或 CDN profile,該設定檔在資源群組中獨一無二。

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

CreateExpanded
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False
CreateViaJsonString
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False
CreateViaJsonFilePath
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-ResourceGroupName

資源群組的名稱。 名稱不區分大小寫。

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

CreateExpanded
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False
CreateViaJsonString
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False
CreateViaJsonFilePath
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-SubscriptionId

目標訂用帳戶的標識碼。 此值必須是 UUID。

參數屬性

類型:String
預設值:(Get-AzContext).Subscription.Id
支援萬用字元:False
不要顯示:False

參數集

CreateExpanded
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False
CreateViaJsonString
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False
CreateViaJsonFilePath
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-Tag

資源標籤。

參數屬性

類型:Hashtable
預設值:None
支援萬用字元:False
不要顯示:False

參數集

CreateExpanded
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False
CreateViaIdentityProfileExpanded
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-WhatIf

顯示 Cmdlet 執行時會發生什麼事。 指令未執行。

參數屬性

類型:SwitchParameter
預設值:None
支援萬用字元:False
不要顯示:False
別名:WI

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

CommonParameters

此 Cmdlet 支援常見參數: -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 如需詳細資訊,請參閱 about_CommonParameters。

輸入

IAfdEndpoint

ICdnIdentity

輸出

IAfdEndpoint