SlimPolicyMetadata Class

Definition

Slim version of policy metadata resource definition, excluding properties with large strings.

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

Properties

Name Description
AdditionalContentUri

Url for getting additional content about the resource metadata.

Category

The category 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.

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<SlimPolicyMetadata>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SlimPolicyMetadata>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SlimPolicyMetadata>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SlimPolicyMetadata>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SlimPolicyMetadata>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to