共用方式為


VirtualMachineScaleSetPatchProperties Class

Definition

Describes the properties of a Virtual Machine Scale Set.

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

Constructors

VirtualMachineScaleSetPatchProperties()

Initializes a new instance of VirtualMachineScaleSetPatchProperties.

Properties

AdditionalCapabilities

Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.

AutomaticRepairsPolicy

Policy for automatic repairs.

DoNotRunExtensionsOnOverprovisionedVms

When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.

Overprovision

Specifies whether the Virtual Machine Scale Set should be overprovisioned.

PriorityMixPolicy

Specifies the desired targets for mixing Spot and Regular priority VMs within the same VMSS Flex instance.

ProximityPlacementGroupId

Gets or sets Id.

ResiliencyPolicy

Policy for Resiliency.

ScaleInPolicy

Specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set.

SinglePlacementGroup

When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true.

SkuProfile

Specifies the sku profile for the virtual machine scale set.

SpotRestorePolicy

Specifies the Spot Restore properties for the virtual machine scale set.

UpgradePolicy

The upgrade policy.

VirtualMachineProfile

The virtual machine profile.

ZonalPlatformFaultDomainAlignMode

Specifies the align mode between Virtual Machine Scale Set compute and storage Fault Domain count.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<VirtualMachineScaleSetPatchProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VirtualMachineScaleSetPatchProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VirtualMachineScaleSetPatchProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachineScaleSetPatchProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VirtualMachineScaleSetPatchProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to