共用方式為


VmRecommendation Class

Definition

Represents a machine that is part of a machine group.

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

Constructors

VmRecommendation()

Initializes a new instance of VmRecommendation.

Properties

ConfigurationStatus

The configuration status of the machines group or machine or rule.

EnforcementSupport

The machine supportability of Enforce feature.

RecommendationAction

The recommendation action of the machine or rule.

ResourceId

The full resource id of the machine.

Explicit Interface Implementations

IJsonModel<VmRecommendation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VmRecommendation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VmRecommendation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VmRecommendation>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VmRecommendation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to