Share via


ScalingHostPoolReference Class

Definition

Scaling plan reference to hostpool.

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

Constructors

Name Description
ScalingHostPoolReference()

Initializes a new instance of ScalingHostPoolReference.

Properties

Name Description
HostPoolId

Arm path of referenced hostpool.

IsScalingPlanEnabled

Is the scaling plan enabled for this hostpool.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ScalingHostPoolReference>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ScalingHostPoolReference>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ScalingHostPoolReference>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ScalingHostPoolReference>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ScalingHostPoolReference>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to