共用方式為


RoleManagementPolicyData Class

Definition

A class representing the RoleManagementPolicy data model. Role management policy

public class RoleManagementPolicyData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Authorization.RoleManagementPolicyData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Authorization.RoleManagementPolicyData>
public class RoleManagementPolicyData : Azure.ResourceManager.Models.ResourceData
type RoleManagementPolicyData = class
    inherit ResourceData
    interface IJsonModel<RoleManagementPolicyData>
    interface IPersistableModel<RoleManagementPolicyData>
type RoleManagementPolicyData = class
    inherit ResourceData
Public Class RoleManagementPolicyData
Inherits ResourceData
Implements IJsonModel(Of RoleManagementPolicyData), IPersistableModel(Of RoleManagementPolicyData)
Public Class RoleManagementPolicyData
Inherits ResourceData
Inheritance
RoleManagementPolicyData
Implements

Constructors

RoleManagementPolicyData()

Initializes a new instance of RoleManagementPolicyData.

Properties

Description

The role management policy description.

DisplayName

The role management policy display name.

EffectiveRules

The readonly computed rule applied to the policy. Please note RoleManagementPolicyRule is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include RoleManagementPolicyApprovalRule, RoleManagementPolicyAuthenticationContextRule, RoleManagementPolicyEnablementRule, RoleManagementPolicyExpirationRule and RoleManagementPolicyNotificationRule.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
IsOrganizationDefault

The role management policy is default policy.

LastModifiedBy

The name of the entity last modified it.

LastModifiedOn

The last modified date time.

Name

The name of the resource.

(Inherited from ResourceData)
PolicyProperties

Additional properties of scope.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
Rules

The rule applied to the policy. Please note RoleManagementPolicyRule is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include RoleManagementPolicyApprovalRule, RoleManagementPolicyAuthenticationContextRule, RoleManagementPolicyEnablementRule, RoleManagementPolicyExpirationRule and RoleManagementPolicyNotificationRule.

Scope

The role management policy scope.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<RoleManagementPolicyData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<RoleManagementPolicyData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RoleManagementPolicyData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RoleManagementPolicyData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<RoleManagementPolicyData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to