Freigeben über


New-AzFrontDoorCdnProfile

Erstellt ein neues Azure Front Door Standard- oder Azure Front Door Premium- oder CDN-Profil mit einem Profilnamen unter dem angegebenen Abonnement und der angegebenen Ressourcengruppe.

Syntax

New-AzFrontDoorCdnProfile
   -Name <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String>]
   -Location <String>
   [-OriginResponseTimeoutSecond <Int32>]
   [-SkuName <SkuName>]
   [-Tag <Hashtable>]
   [-IdentityType <ManagedServiceIdentityType>]
   [-IdentityUserAssignedIdentity <Hashtable>]
   [-LogScrubbingRule <IProfileScrubbingRules[]>]
   [-LogScrubbingState <ProfileScrubbingState>]
   [-DefaultProfile <PSObject>]
   [-AsJob]
   [-NoWait]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Beschreibung

Erstellt ein neues Azure Front Door Standard- oder Azure Front Door Premium- oder CDN-Profil mit einem Profilnamen unter dem angegebenen Abonnement und der angegebenen Ressourcengruppe.

Beispiele

Beispiel 1: Erstellen eines AzureFrontDoor-Profils unter der Ressourcengruppe

New-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -SkuName Standard_AzureFrontDoor -Location Global

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

Erstellen eines AzureFrontDoor-Profils unter der Ressourcengruppe

Beispiel 2: Erstellen eines AzureFrontDoor-Profils unter der Ressourcengruppe mit "ProfileScrubbingRule"

$rule = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Enabled
New-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -SkuName Standard_AzureFrontDoor -Location Global -LogScrubbingRule $rule -LogScrubbingState Enabled

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

Erstellen eines AzureFrontDoor-Profils unter der Ressourcengruppe mit "ProfileScrubbingRule"

Parameter

-AsJob

Ausführen des Befehls als Auftrag

Typ:SwitchParameter
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Hiermit werden Sie vor der Ausführung des Cmdlets zur Bestätigung aufgefordert.

Typ:SwitchParameter
Aliases:cf
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

Anmeldeinformationen, Konto, Mandant und Abonnement für die Kommunikation mit Azure

Typ:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

-IdentityType

Typ der verwalteten Dienstidentität (wobei systemAssigned- und UserAssigned-Typen zulässig sind).

Typ:ManagedServiceIdentityType
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

-IdentityUserAssignedIdentity

Die Gruppe der benutzerzuweisungen Identitäten, die der Ressource zugeordnet sind. Die Wörterbuchschlüssel "userAssignedIdentities" sind ARM-Ressourcen-IDs im Formular: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. Die Wörterbuchwerte können leere Objekte ({}) in Anforderungen sein.

Typ:Hashtable
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

-Location

Resourcenstandort:

Typ:String
Position:Named
Standardwert:None
Erforderlich:True
Accept pipeline input:False
Accept wildcard characters:False

-LogScrubbingRule

Liste der Protokollbereinigungsregeln, die auf die Azure Front Door-Profilprotokolle angewendet werden. Informationen zum Erstellen finden Sie im ABSCHNITT "NOTES" für LOGSCRUBBINGRULE-Eigenschaften und erstellen eine Hashtabelle.

Typ:IProfileScrubbingRules[]
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

-LogScrubbingState

Status der Protokollbereinigungskonfiguration. Der Standardwert ist aktiviert.

Typ:ProfileScrubbingState
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

Name des Azure Front Door Standard- oder Azure Front Door Premium- oder CDN-Profils, das innerhalb der Ressourcengruppe eindeutig ist.

Typ:String
Aliases:ProfileName
Position:Named
Standardwert:None
Erforderlich:True
Accept pipeline input:False
Accept wildcard characters:False

-NoWait

Asynchrones Ausführen des Befehls

Typ:SwitchParameter
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

-OriginResponseTimeoutSecond

Timeout beim Senden und Empfangen bei Weiterleitungsanforderung an den Ursprung. Wenn timeout erreicht ist, schlägt die Anforderung fehl und gibt diese zurück.

Typ:Int32
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

Name der Ressourcengruppe innerhalb des Azure-Abonnements.

Typ:String
Position:Named
Standardwert:None
Erforderlich:True
Accept pipeline input:False
Accept wildcard characters:False

-SkuName

Name des Preisniveaus.

Typ:SkuName
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

-SubscriptionId

Die Azure-Abonnement-ID.

Typ:String
Position:Named
Standardwert:(Get-AzContext).Subscription.Id
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

-Tag

Ressourcentags.

Typ:Hashtable
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Zeigt, was geschieht, wenn das Cmdlet ausgeführt wird. Das Cmdlet wird nicht ausgeführt.

Typ:SwitchParameter
Aliases:wi
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

Ausgaben

IProfile