Share via


HcxEnterpriseSitesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or update an HCX Enterprise Site in a private cloud

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

Parameters

operations
IHcxEnterpriseSitesOperations

The operations group for this extension method.

resourceGroupName
String

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

privateCloudName
String

The name of the private cloud.

hcxEnterpriseSiteName
String

Name of the HCX Enterprise Site in the private cloud

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to