PolicyMetadataData Class

Definition

Policy metadata resource definition.

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

Properties

Name Description
AdditionalContentUri

Url for getting additional content about the resource metadata.

Category

The category of the policy metadata.

Description

The description of the policy metadata.

Id

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

(Inherited from ResourceData)
Metadata

Additional metadata.

MetadataId

The policy metadata identifier.

Name

The name of the resource.

(Inherited from ResourceData)
Owner

The owner of the policy metadata.

Requirements

The requirements of the policy metadata.

ResourceType

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

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Title

The title of the policy metadata.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<PolicyMetadataData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PolicyMetadataData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PolicyMetadataData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PolicyMetadataData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PolicyMetadataData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to