共用方式為


AssignmentReportResourceInfo Class

Definition

The guest configuration assignment resource.

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

Constructors

AssignmentReportResourceInfo()

Initializes a new instance of AssignmentReportResourceInfo.

Properties

AssignmentResourceSettingName

Name of the guest configuration assignment resource setting.

ComplianceStatus

A value indicating compliance status of the machine for the assigned guest configuration.

Properties

Properties of a guest configuration assignment resource.

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" }.

Reasons

Compliance reason and reason code for a resource.

Explicit Interface Implementations

IJsonModel<AssignmentReportResourceInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AssignmentReportResourceInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AssignmentReportResourceInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AssignmentReportResourceInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AssignmentReportResourceInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to