你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VirtualMachineScaleSetPatch Class

Definition

Describes a Virtual Machine Scale Set.

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

Constructors

VirtualMachineScaleSetPatch()

Initializes a new instance of VirtualMachineScaleSetPatch.

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.

Identity

The identity of the virtual machine scale set, if configured.

Overprovision

Specifies whether the Virtual Machine Scale Set should be overprovisioned.

Plan

The purchase plan when deploying a virtual machine scale set from VM Marketplace images.

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.

Sku

The virtual machine scale set sku.

SkuProfile

Specifies the sku profile for the virtual machine scale set.

SpotRestorePolicy

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

Tags

Resource tags.

(Inherited from ComputeResourcePatch)
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.

Zones

The virtual machine scale set zones.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ComputeResourcePatch)

Explicit Interface Implementations

IJsonModel<ComputeResourcePatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from ComputeResourcePatch)
IJsonModel<ComputeResourcePatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ComputeResourcePatch)
IJsonModel<VirtualMachineScaleSetPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VirtualMachineScaleSetPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComputeResourcePatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ComputeResourcePatch)
IPersistableModel<ComputeResourcePatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from ComputeResourcePatch)
IPersistableModel<ComputeResourcePatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ComputeResourcePatch)
IPersistableModel<VirtualMachineScaleSetPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachineScaleSetPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VirtualMachineScaleSetPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to