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

PrivateCloudsOperationsExtensions.CreateOrUpdateAsync 方法

定义

创建或更新私有云

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.PrivateCloud> CreateOrUpdateAsync (this Microsoft.Azure.Management.Avs.IPrivateCloudsOperations operations, string resourceGroupName, string privateCloudName, Microsoft.Azure.Management.Avs.Models.PrivateCloud privateCloud, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Avs.IPrivateCloudsOperations * string * string * Microsoft.Azure.Management.Avs.Models.PrivateCloud * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.PrivateCloud>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IPrivateCloudsOperations, resourceGroupName As String, privateCloudName As String, privateCloud As PrivateCloud, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PrivateCloud)

参数

operations
IPrivateCloudsOperations

此扩展方法的操作组。

resourceGroupName
String

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

privateCloudName
String

私有云的名称

privateCloud
PrivateCloud

私有云

cancellationToken
CancellationToken

取消标记。

返回

适用于