共用方式為


PolicyAssignmentProperties Class

Definition

Expanded info of resource scope, role definition and policy.

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

Properties

Id

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

(Inherited from ResourceData)
LastModifiedBy

The name of the entity last modified it.

LastModifiedOn

The last modified date time.

Name

The name of the resource.

(Inherited from ResourceData)
PolicyId

Id of the policy.

ResourceType

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

(Inherited from ResourceData)
RoleDefinitionDisplayName

Display name of the role definition.

RoleDefinitionId

Id of the role definition.

RoleType

The role type.

ScopeDisplayName

Display name of the resource.

ScopeId

Scope id of the resource.

ScopeType

Type of the 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<PolicyAssignmentProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PolicyAssignmentProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PolicyAssignmentProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PolicyAssignmentProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PolicyAssignmentProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to