ManagedClustersOperationsExtensions.CreateOrUpdateAsync(IManagedClustersOperations, String, String, ManagedCluster, CancellationToken) Method

Definition

Creates or updates a Service Fabric managed cluster resource.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceFabric.Models.ManagedCluster> CreateOrUpdateAsync (this Microsoft.Azure.Management.ServiceFabric.IManagedClustersOperations operations, string resourceGroupName, string clusterName, Microsoft.Azure.Management.ServiceFabric.Models.ManagedCluster parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ServiceFabric.IManagedClustersOperations * string * string * Microsoft.Azure.Management.ServiceFabric.Models.ManagedCluster * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceFabric.Models.ManagedCluster>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IManagedClustersOperations, resourceGroupName As String, clusterName As String, parameters As ManagedCluster, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ManagedCluster)

Parameters

operations
IManagedClustersOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group.

clusterName
System.String

The name of the cluster resource.

parameters
ManagedCluster

The cluster resource.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<ManagedCluster>

Remarks

Create or update a Service Fabric managed cluster resource with the specified name.

Applies to