RoleAssignmentsOperationsExtensions.DeleteById 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.
Delete a role assignment by ID.
public static Microsoft.Azure.Management.Authorization.Models.RoleAssignment DeleteById (this Microsoft.Azure.Management.Authorization.IRoleAssignmentsOperations operations, string roleAssignmentId, string tenantId = default);
static member DeleteById : Microsoft.Azure.Management.Authorization.IRoleAssignmentsOperations * string * string -> Microsoft.Azure.Management.Authorization.Models.RoleAssignment
<Extension()>
Public Function DeleteById (operations As IRoleAssignmentsOperations, roleAssignmentId As String, Optional tenantId As String = Nothing) As RoleAssignment
Parameters
- operations
- IRoleAssignmentsOperations
The operations group for this extension method.
- roleAssignmentId
- String
The fully qualified ID of the role assignment including scope, resource name, and resource type. Format: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: /subscriptions/<SUB_ID>/resourcegroups/<RESOURCE_GROUP>/providers/Microsoft.Authorization/roleAssignments/<ROLE_ASSIGNMENT_NAME>
- tenantId
- String
Tenant ID for cross-tenant request
Returns
Applies to
Azure SDK for .NET