Share via


PolicyMetadataData Class

Definition

A class representing the PolicyMetadata data model. Policy metadata resource definition.

public class PolicyMetadataData : Azure.ResourceManager.Models.ResourceData
type PolicyMetadataData = class
    inherit ResourceData
Public Class PolicyMetadataData
Inherits ResourceData
Inheritance
PolicyMetadataData

Properties

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.

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

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

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Applies to