AvsCloudLinkCollection.CreateOrUpdateAsync Method

Definition

Create a CloudLink

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks/{cloudLinkName}
  • Operation Id: CloudLinks_CreateOrUpdate
  • Default Api Version: 2023-09-01
  • Resource: AvsCloudLinkResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Avs.AvsCloudLinkResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string cloudLinkName, Azure.ResourceManager.Avs.AvsCloudLinkData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Avs.AvsCloudLinkData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Avs.AvsCloudLinkResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Avs.AvsCloudLinkData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Avs.AvsCloudLinkResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, cloudLinkName As String, data As AvsCloudLinkData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of AvsCloudLinkResource))

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.

cloudLinkName
String

Name of the cloud link.

data
AvsCloudLinkData

Resource create parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

cloudLinkName or data is null.

Applies to