/// <summary>
 /// Retrieves information about a proximity placement group .
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='proximityPlacementGroupName'>
 /// The name of the proximity placement group.
 /// </param>
 public static ProximityPlacementGroup Get(this IProximityPlacementGroupsOperations operations, string resourceGroupName, string proximityPlacementGroupName)
 {
     return(operations.GetAsync(resourceGroupName, proximityPlacementGroupName).GetAwaiter().GetResult());
 }
Beispiel #2
0
 /// <summary>
 /// Retrieves information about a proximity placement group .
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='proximityPlacementGroupName'>
 /// The name of the proximity placement group.
 /// </param>
 /// <param name='includeColocationStatus'>
 /// includeColocationStatus=true enables fetching the colocation status of all
 /// the resources in the proximity placement group.
 /// </param>
 public static ProximityPlacementGroup Get(this IProximityPlacementGroupsOperations operations, string resourceGroupName, string proximityPlacementGroupName, string includeColocationStatus = default(string))
 {
     return(operations.GetAsync(resourceGroupName, proximityPlacementGroupName, includeColocationStatus).GetAwaiter().GetResult());
 }