Share via


ManagedClustersOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a managed cluster.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Models.ManagedCluster> CreateOrUpdateAsync (this Microsoft.Azure.Management.ContainerService.IManagedClustersOperations operations, string resourceGroupName, string resourceName, Microsoft.Azure.Management.ContainerService.Models.ManagedCluster parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ContainerService.IManagedClustersOperations * string * string * Microsoft.Azure.Management.ContainerService.Models.ManagedCluster * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Models.ManagedCluster>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IManagedClustersOperations, resourceGroupName As String, resourceName 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. The name is case insensitive.

resourceName
String

The name of the managed cluster resource.

parameters
ManagedCluster
cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to