Udostępnij za pośrednictwem


ManagedClustersOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Creates or updates a managed cluster.

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

Parameters

operations
IManagedClustersOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

resourceName
String

The name of the managed cluster resource.

parameters
ManagedClusterInner

Parameters supplied to the Create or Update a Managed Cluster operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Creates or updates a managed cluster with the specified configuration for agents and Kubernetes version.

Applies to