你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ContainerServicesOperationsExtensions.BeginCreateOrUpdateAsync 方法

定义

创建或更新容器服务。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.ContainerServiceInner> BeginCreateOrUpdateAsync(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 BeginCreateOrUpdateAsync : 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 BeginCreateOrUpdateAsync (operations As IContainerServicesOperations, resourceGroupName As String, containerServiceName As String, parameters As ContainerServiceInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ContainerServiceInner)

参数

operations
IContainerServicesOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

containerServiceName
String

指定订阅和资源组中容器服务的名称。

parameters
ContainerServiceInner

提供给“创建或更新容器服务”操作的参数。

cancellationToken
CancellationToken

取消标记。

返回

注解

使用业务流程协调程序、主机和代理的指定配置创建或更新容器服务。

适用于