共用方式為


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

取消語彙基元。

傳回

適用於