/// <summary>
 /// Details of a specific Compliance.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='scope'>
 /// Scope of the query, can be subscription
 /// (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group
 /// (/providers/Microsoft.Management/managementGroups/mgName).
 /// </param>
 /// <param name='complianceName'>
 /// name of the Compliance
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task<Compliance> GetAsync(this ICompliancesOperations operations, string scope, string complianceName, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetWithHttpMessagesAsync(scope, complianceName, null, cancellationToken).ConfigureAwait(false))
     {
         return _result.Body;
     }
 }
 /// <summary>
 /// The Compliance scores of the specific management group.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextPageLink'>
 /// The NextLink from the previous successful call to List operation.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task<IPage<Compliance>> ListNextAsync(this ICompliancesOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false))
     {
         return _result.Body;
     }
 }
 /// <summary>
 /// Details of a specific Compliance.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='scope'>
 /// Scope of the query, can be subscription
 /// (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group
 /// (/providers/Microsoft.Management/managementGroups/mgName).
 /// </param>
 /// <param name='complianceName'>
 /// name of the Compliance
 /// </param>
 public static Compliance Get(this ICompliancesOperations operations, string scope, string complianceName)
 {
     return operations.GetAsync(scope, complianceName).GetAwaiter().GetResult();
 }
 /// <summary>
 /// The Compliance scores of the specific management group.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='scope'>
 /// Scope of the query, can be subscription
 /// (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group
 /// (/providers/Microsoft.Management/managementGroups/mgName).
 /// </param>
 public static IPage<Compliance> List(this ICompliancesOperations operations, string scope)
 {
     return operations.ListAsync(scope).GetAwaiter().GetResult();
 }
 /// <summary>
 /// The Compliance scores of the specific management group.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextPageLink'>
 /// The NextLink from the previous successful call to List operation.
 /// </param>
 public static IPage<Compliance> ListNext(this ICompliancesOperations operations, string nextPageLink)
 {
     return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult();
 }