共用方式為


VirtualMachineScaleSetConvertToSinglePlacementGroupContent Class

Definition

The VirtualMachineScaleSetConvertToSinglePlacementGroupContent.

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

Constructors

VirtualMachineScaleSetConvertToSinglePlacementGroupContent()

Initializes a new instance of VirtualMachineScaleSetConvertToSinglePlacementGroupContent.

Properties

ActivePlacementGroupId

Id of the placement group in which you want future virtual machine instances to be placed. To query placement group Id, please use Virtual Machine Scale Set VMs - Get API. If not provided, the platform will choose one with maximum number of virtual machine instances.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<VirtualMachineScaleSetConvertToSinglePlacementGroupContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VirtualMachineScaleSetConvertToSinglePlacementGroupContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VirtualMachineScaleSetConvertToSinglePlacementGroupContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachineScaleSetConvertToSinglePlacementGroupContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VirtualMachineScaleSetConvertToSinglePlacementGroupContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to