RoleAssignmentsOperationsExtensions.DeleteById 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
依識別碼刪除角色指派。
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
參數
- operations
- IRoleAssignmentsOperations
這個擴充方法的作業群組。
- roleAssignmentId
- String
角色指派的完整識別碼,包括範圍、資源名稱和資源類型。 格式:/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}。 範例:/subscriptions/ < SUB_ID > /resourcegroups/ < RESOURCE_GROUP > /providers/Microsoft.Authorization/roleAssignments/ < ROLE_ASSIGNMENT_NAME>
- tenantId
- String
跨租使用者要求的租使用者識別碼