Freigeben über


FrontDoorNetworkExperimentProfileCollection.CreateOrUpdate Methode

Definition

Erstellt ein NetworkExperiment-Profil

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/NetworkExperimentProfiles/{profileName}
  • Vorgang IdNetworkExperimentProfiles_CreateOrUpdate
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.FrontDoor.FrontDoorNetworkExperimentProfileResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string profileName, Azure.ResourceManager.FrontDoor.FrontDoorNetworkExperimentProfileData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.FrontDoor.FrontDoorNetworkExperimentProfileData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.FrontDoor.FrontDoorNetworkExperimentProfileResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.FrontDoor.FrontDoorNetworkExperimentProfileData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.FrontDoor.FrontDoorNetworkExperimentProfileResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, profileName As String, data As FrontDoorNetworkExperimentProfileData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of FrontDoorNetworkExperimentProfileResource)

Parameter

waitUntil
WaitUntil

Completed , wenn die Methode auf die Rückgabe warten soll, bis der lange ausgeführte Vorgang für den Dienst abgeschlossen ist; Started , wenn es nach dem Starten des Vorgangs zurückgegeben werden soll. Weitere Informationen zu Vorgängen mit langer Ausführung finden Sie unter Beispiele für Azure.Core-Long-Running-Vorgänge.

profileName
String

Der Profilbezeichner, der dem Mandanten und partner zugeordnet ist.

data
FrontDoorNetworkExperimentProfileData

Ein Netzwerkexperimentprofil.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

profileName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

profileName oder data ist NULL.

Gilt für: