ManagedClustersOperationsExtensions.CreateOrUpdateAsync Method

Definition

Overloads

CreateOrUpdateAsync(IManagedClustersOperations, String, String, ManagedCluster, CancellationToken)

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

CreateOrUpdateAsync(IManagedClustersOperations, String, String, ManagedCluster, String, String, CancellationToken)

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, string ifMatch = default, string ifNoneMatch = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ContainerService.IManagedClustersOperations * string * string * Microsoft.Azure.Management.ContainerService.Models.ManagedCluster * string * string * 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 ifMatch As String = Nothing, Optional ifNoneMatch As String = Nothing, 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
ifMatch
String

The request should only proceed if an entity matches this string.

ifNoneMatch
String

The request should only proceed if no entity matches this string.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to