示例#1
0
 /// <summary>
 /// Get the details of consent group managed by the subscription
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='subscriptionId'>
 /// The subscription which owns the consent group
 /// </param>
 /// <param name='consentGroupId'>
 /// The consent group to fetch
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ConsentGroupResponse> GetConsentGroupAsync(this IInternalClient operations, System.Guid subscriptionId, System.Guid consentGroupId, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetConsentGroupWithHttpMessagesAsync(subscriptionId, consentGroupId, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }