Sprog

ExternalClusterCollection.CreateOrUpdate Method

Definition

Create or update the specified External Cluster

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/externalClusters/{externalClusterName}.
  • Operation Id. : ExternalClusters_CreateOrUpdate.
  • Default Api Version. : 2026-08-15-preview.
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.NetApp.ExternalClusterResource> CreateOrUpdate(Azure.WaitUntil waitUntil, string externalClusterName, Azure.ResourceManager.NetApp.ExternalClusterData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.NetApp.ExternalClusterData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.NetApp.ExternalClusterResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.NetApp.ExternalClusterData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.NetApp.ExternalClusterResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, externalClusterName As String, data As ExternalClusterData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of ExternalClusterResource)

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.

externalClusterName
String

The name of the ExternalCluster.

data
ExternalClusterData

Resource create parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

externalClusterName or data is null.

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

Applies to