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

CassandraDataCentersOperationsExtensions.CreateUpdateAsync 方法

定义

创建或更新托管的 Cassandra 数据中心。 更新时,覆盖所有属性。 若要仅更新某些属性,请使用 PATCH。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Models.DataCenterResource> CreateUpdateAsync (this Microsoft.Azure.Management.CosmosDB.ICassandraDataCentersOperations operations, string resourceGroupName, string clusterName, string dataCenterName, Microsoft.Azure.Management.CosmosDB.Models.DataCenterResource body, System.Threading.CancellationToken cancellationToken = default);
static member CreateUpdateAsync : Microsoft.Azure.Management.CosmosDB.ICassandraDataCentersOperations * string * string * string * Microsoft.Azure.Management.CosmosDB.Models.DataCenterResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Models.DataCenterResource>
<Extension()>
Public Function CreateUpdateAsync (operations As ICassandraDataCentersOperations, resourceGroupName As String, clusterName As String, dataCenterName As String, body As DataCenterResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DataCenterResource)

参数

operations
ICassandraDataCentersOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。 此名称不区分大小写。

clusterName
String

托管 Cassandra 群集名称。

dataCenterName
String

托管 Cassandra 群集中的数据中心名称。

body
DataCenterResource

指定托管 Cassandra 数据中心的参数。

cancellationToken
CancellationToken

取消标记。

返回

适用于