/// <summary>
 /// Get all resource access rules for a claim permissions
 /// </summary>
 /// <remarks>
 /// Gets all resource access rules for a claim permissions, combining direct
 /// resource access rules and resource access rules from resource access rules
 /// sets
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='claimPermissionsId'>
 /// An identifier uniquely associated with a claim permissions
 /// </param>
 /// <param name='tenantId'>
 /// The tenant within which the request should operate
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IList <ResourceAccessRule> > GetClaimPermissionsResourceAccessRulesAsync(this IClaimsService operations, string claimPermissionsId, string tenantId, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetClaimPermissionsResourceAccessRulesWithHttpMessagesAsync(claimPermissionsId, tenantId, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }