Share via


RoleManagementPolicy Class

Definition

Role management policy

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.RoleManagementPolicyTypeConverter))]
public class RoleManagementPolicy : Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicy
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.RoleManagementPolicyTypeConverter))>]
type RoleManagementPolicy = class
    interface IRoleManagementPolicy
    interface IJsonSerializable
Public Class RoleManagementPolicy
Implements IRoleManagementPolicy
Inheritance
RoleManagementPolicy
Attributes
Implements

Constructors

RoleManagementPolicy()

Creates an new RoleManagementPolicy instance.

Properties

Description

The role management policy description.

DisplayName

The role management policy display name.

EffectiveRule

The readonly computed rule applied to the policy.

Id

The role management policy Id.

IsOrganizationDefault

The role management policy is default policy.

LastModifiedByDisplayName

The name of the principal made changes

LastModifiedByEmail

Email of principal

LastModifiedById

The id of the principal made changes

LastModifiedByType

Type of principal such as user , group etc

LastModifiedDateTime

The last modified date time.

Name

The role management policy name.

ResourceGroupName

Gets the resource group name

Rule

The rule applied to the policy.

Scope

The role management policy scope.

ScopeDisplayName

Display name of the resource

ScopeId

Scope id of the resource

ScopeType

Type of the resource

Type

The role management policy type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RoleManagementPolicy.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RoleManagementPolicy.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicy.

FromJsonString(String)

Creates a new instance of RoleManagementPolicy, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of RoleManagementPolicy into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to