Dela via


ReportResourceMetadata Class

Definition

Single resource Id's metadata.

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

Constructors

ReportResourceMetadata(ResourceIdentifier)

Initializes a new instance of ReportResourceMetadata.

Properties

AccountId

Account Id. For example - the AWS account id.

ResourceId

Resource Id - e.g. "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1".

ResourceKind

Resource kind.

ResourceOrigin

Resource Origin.

ResourceType

Resource type. e.g. "Microsoft.Compute/virtualMachines".

Explicit Interface Implementations

IJsonModel<ReportResourceMetadata>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ReportResourceMetadata>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ReportResourceMetadata>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ReportResourceMetadata>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ReportResourceMetadata>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to