PolicyMetadata Class

Definition

Policy metadata resource definition.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PolicyInsights.Models.PolicyMetadataTypeConverter))]
public class PolicyMetadata : Microsoft.Azure.PowerShell.Cmdlets.PolicyInsights.Models.IPolicyMetadata
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PolicyInsights.Models.PolicyMetadataTypeConverter))>]
type PolicyMetadata = class
    interface IPolicyMetadata
    interface IJsonSerializable
Public Class PolicyMetadata
Implements IPolicyMetadata
Inheritance
PolicyMetadata
Attributes
Implements

Constructors

Name Description
PolicyMetadata()

Creates an new PolicyMetadata instance.

Properties

Name Description
AdditionalContentUrl

Url for getting additional content about the resource metadata.

Category

The category of the policy metadata.

Description

The description of the policy metadata.

Id

The ID of the policy metadata.

Metadata

Additional metadata.

MetadataId

The policy metadata identifier.

Name

The name of the policy metadata.

Owner

The owner of the policy metadata.

Requirement

The requirements of the policy metadata.

ResourceGroupName

Gets the resource group name

Title

The title of the policy metadata.

Type

The type of the policy metadata.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PolicyMetadata.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PolicyMetadata.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.PolicyInsights.Models.IPolicyMetadata.

FromJsonString(String)

Creates a new instance of PolicyMetadata, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of PolicyMetadata into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to