RoleDefinitionOperationsExtensions.GetAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get role definition by name (GUID).
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleDefinitionGetResult> GetAsync (this Microsoft.Azure.Management.Authorization.IRoleDefinitionOperations operations, Guid roleDefinitionId, string scope);
static member GetAsync : Microsoft.Azure.Management.Authorization.IRoleDefinitionOperations * Guid * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleDefinitionGetResult>
<Extension()>
Public Function GetAsync (operations As IRoleDefinitionOperations, roleDefinitionId As Guid, scope As String) As Task(Of RoleDefinitionGetResult)
Parameters
- operations
- IRoleDefinitionOperations
Reference to the Microsoft.Azure.Management.Authorization.IRoleDefinitionOperations.
- roleDefinitionId
- Guid
Required. Role definition Id
- scope
- String
Required. Scope
Returns
Role definition get operation result.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET