Dela via


ManagedClustersOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Creates or updates a Service Fabric managed cluster resource.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceFabric.Models.ManagedCluster> BeginCreateOrUpdateAsync (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 BeginCreateOrUpdateAsync : 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 BeginCreateOrUpdateAsync (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