共用方式為


ContainerServicesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a container service.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.ContainerServiceInner> CreateOrUpdateAsync (this Microsoft.Azure.Management.Compute.Fluent.IContainerServicesOperations operations, string resourceGroupName, string containerServiceName, Microsoft.Azure.Management.Compute.Fluent.Models.ContainerServiceInner parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Compute.Fluent.IContainerServicesOperations * string * string * Microsoft.Azure.Management.Compute.Fluent.Models.ContainerServiceInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.ContainerServiceInner>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IContainerServicesOperations, resourceGroupName As String, containerServiceName As String, parameters As ContainerServiceInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ContainerServiceInner)

Parameters

operations
IContainerServicesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

containerServiceName
String

The name of the container service in the specified subscription and resource group.

parameters
ContainerServiceInner

Parameters supplied to the Create or Update a Container Service operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Creates or updates a container service with the specified configuration of orchestrator, masters, and agents.

Applies to