Condividi tramite


AuthorizationClient.RemoveRoleDefinition Method

Definition

Overloads

RemoveRoleDefinition(FilterRoleDefinitionOptions)
RemoveRoleDefinition(Guid, String)

Deletes a role definition based on the id.

RemoveRoleDefinition(String, String)

Deletes a role definition based on the name.

RemoveRoleDefinition(FilterRoleDefinitionOptions)

public Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition RemoveRoleDefinition (Microsoft.Azure.Commands.Resources.Models.Authorization.FilterRoleDefinitionOptions options);
member this.RemoveRoleDefinition : Microsoft.Azure.Commands.Resources.Models.Authorization.FilterRoleDefinitionOptions -> Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition
Public Function RemoveRoleDefinition (options As FilterRoleDefinitionOptions) As PSRoleDefinition

Parameters

Returns

Applies to

RemoveRoleDefinition(Guid, String)

Deletes a role definition based on the id.

public Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition RemoveRoleDefinition (Guid roleDefinitionId, string scope);
member this.RemoveRoleDefinition : Guid * string -> Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition
Public Function RemoveRoleDefinition (roleDefinitionId As Guid, scope As String) As PSRoleDefinition

Parameters

roleDefinitionId
Guid

The role definition id to delete

scope
String

The scope of the role definition

Returns

The deleted role definition.

Applies to

RemoveRoleDefinition(String, String)

Deletes a role definition based on the name.

public Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition RemoveRoleDefinition (string roleDefinitionName, string scope);
member this.RemoveRoleDefinition : string * string -> Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition
Public Function RemoveRoleDefinition (roleDefinitionName As String, scope As String) As PSRoleDefinition

Parameters

roleDefinitionName
String

The role definition name.

scope
String

The scope of the role definition

Returns

The deleted role definition.

Applies to