다음을 통해 공유


ManagedClustersOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a Service Fabric managed cluster resource.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ManagedCluster> CreateOrUpdateAsync (this Microsoft.Azure.Management.ServiceFabricManagedClusters.IManagedClustersOperations operations, string resourceGroupName, string clusterName, Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ManagedCluster parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ServiceFabricManagedClusters.IManagedClustersOperations * string * string * Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ManagedCluster * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceFabricManagedClusters.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