Share via


GovernanceRuleMetadata Class

Definition

The governance rule metadata.

public class GovernanceRuleMetadata : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecurityCenter.Models.GovernanceRuleMetadata>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecurityCenter.Models.GovernanceRuleMetadata>
type GovernanceRuleMetadata = class
    interface IJsonModel<GovernanceRuleMetadata>
    interface IPersistableModel<GovernanceRuleMetadata>
Public Class GovernanceRuleMetadata
Implements IJsonModel(Of GovernanceRuleMetadata), IPersistableModel(Of GovernanceRuleMetadata)
Inheritance
GovernanceRuleMetadata
Implements

Constructors

GovernanceRuleMetadata()

Initializes a new instance of GovernanceRuleMetadata.

Properties

CreatedBy

Governance rule Created by object id (GUID).

CreatedOn

Governance rule creation date.

UpdatedBy

Governance rule last updated by object id (GUID).

UpdatedOn

Governance rule last update date.

Explicit Interface Implementations

IJsonModel<GovernanceRuleMetadata>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<GovernanceRuleMetadata>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<GovernanceRuleMetadata>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<GovernanceRuleMetadata>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<GovernanceRuleMetadata>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to