Megosztás a következőn keresztül:


FrontDoorNetworkExperimentProfileCollection.CreateOrUpdateAsync Method

Definition

Creates an NetworkExperiment Profile

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/NetworkExperimentProfiles/{profileName}
  • Operation Id: NetworkExperimentProfiles_CreateOrUpdate
  • Default Api Version: 2019-11-01
  • Resource: FrontDoorNetworkExperimentProfileResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.FrontDoor.FrontDoorNetworkExperimentProfileResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string profileName, Azure.ResourceManager.FrontDoor.FrontDoorNetworkExperimentProfileData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.FrontDoor.FrontDoorNetworkExperimentProfileData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.FrontDoor.FrontDoorNetworkExperimentProfileResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.FrontDoor.FrontDoorNetworkExperimentProfileData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.FrontDoor.FrontDoorNetworkExperimentProfileResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, profileName As String, data As FrontDoorNetworkExperimentProfileData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of FrontDoorNetworkExperimentProfileResource))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

profileName
String

The Profile identifier associated with the Tenant and Partner.

data
FrontDoorNetworkExperimentProfileData

An Network Experiment Profile.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

profileName is an empty string, and was expected to be non-empty.

profileName or data is null.

Applies to