Udostępnij za pośrednictwem


ProximityPlacementGroupsOperationsExtensions.GetAsync Method

Definition

Retrieves information about a proximity placement group .

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.ProximityPlacementGroup> GetAsync (this Microsoft.Azure.Management.Compute.IProximityPlacementGroupsOperations operations, string resourceGroupName, string proximityPlacementGroupName, string includeColocationStatus = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Compute.IProximityPlacementGroupsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.ProximityPlacementGroup>
<Extension()>
Public Function GetAsync (operations As IProximityPlacementGroupsOperations, resourceGroupName As String, proximityPlacementGroupName As String, Optional includeColocationStatus As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ProximityPlacementGroup)

Parameters

operations
IProximityPlacementGroupsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

proximityPlacementGroupName
String

The name of the proximity placement group.

includeColocationStatus
String

includeColocationStatus=true enables fetching the colocation status of all the resources in the proximity placement group.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to