Esempio n. 1
0
 /// <summary>
 /// Get all role definitions.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.Authorization.IRoleDefinitionOperations.
 /// </param>
 /// <returns>
 /// Role definition list operation result.
 /// </returns>
 public static Task <RoleDefinitionListResult> ListAsync(this IRoleDefinitionOperations operations)
 {
     return(operations.ListAsync(CancellationToken.None));
 }
Esempio n. 2
0
 /// <summary>
 /// Get all role definitions that are applicable at scope and above.
 /// Use atScopeAndBelow filter to search below the given scope as well
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.Authorization.IRoleDefinitionOperations.
 /// </param>
 /// <param name='scope'>
 /// Required. Scope
 /// </param>
 /// <param name='parameters'>
 /// Optional. List role definitions filters.
 /// </param>
 /// <returns>
 /// Role definition list operation result.
 /// </returns>
 public static Task <RoleDefinitionListResult> ListAsync(this IRoleDefinitionOperations operations, string scope, ListDefinitionFilterParameters parameters)
 {
     return(operations.ListAsync(scope, parameters, CancellationToken.None));
 }