Share via


AvsCloudLinkCollection.CreateOrUpdate Method

Definition

Create or update a cloud link in a private cloud

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

data
AvsCloudLinkData

A cloud link in the private cloud.

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