Share via


PrivateCloudsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or update a private cloud

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)

Parameters

operations
IPrivateCloudsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

privateCloudName
String

Name of the private cloud

privateCloud
PrivateCloud

The private cloud

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to