RoleAssignmentOperationsExtensions.CreateByIdAsync 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.
Create role assignment by Id.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleAssignmentCreateResult> CreateByIdAsync (this Microsoft.Azure.Management.Authorization.IRoleAssignmentOperations operations, string roleAssignmentId, Microsoft.Azure.Management.Authorization.Models.RoleAssignmentCreateParameters parameters);
static member CreateByIdAsync : Microsoft.Azure.Management.Authorization.IRoleAssignmentOperations * string * Microsoft.Azure.Management.Authorization.Models.RoleAssignmentCreateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleAssignmentCreateResult>
<Extension()>
Public Function CreateByIdAsync (operations As IRoleAssignmentOperations, roleAssignmentId As String, parameters As RoleAssignmentCreateParameters) As Task(Of RoleAssignmentCreateResult)
Parameters
- operations
- IRoleAssignmentOperations
Reference to the Microsoft.Azure.Management.Authorization.IRoleAssignmentOperations.
- roleAssignmentId
- String
Required. Role assignment Id
- parameters
- RoleAssignmentCreateParameters
Required. Role assignment.
Returns
Role assignments creation results
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