Udostępnij za pośrednictwem


ManagedClustersOperationsExtensions.CreateOrUpdateAsync 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
String

The name of the resource group.

clusterName
String

The name of the cluster resource.

parameters
ManagedCluster

The cluster resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

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

Applies to