FrontDoorNetworkExperimentProfileCollection.CreateOrUpdate 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 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)

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