Share via


HcxEnterpriseSitesOperationsExtensions.GetAsync Method

Definition

Get an HCX Enterprise Site by name in a private cloud

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.HcxEnterpriseSite> GetAsync (this Microsoft.Azure.Management.Avs.IHcxEnterpriseSitesOperations operations, string resourceGroupName, string privateCloudName, string hcxEnterpriseSiteName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Avs.IHcxEnterpriseSitesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.HcxEnterpriseSite>
<Extension()>
Public Function GetAsync (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

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