Bagikan melalui


PSVirtualMachineScaleSet Class

Definition

public class PSVirtualMachineScaleSet
public class PSVirtualMachineScaleSet : Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSet
type PSVirtualMachineScaleSet = class
type PSVirtualMachineScaleSet = class
    inherit VirtualMachineScaleSet
Public Class PSVirtualMachineScaleSet
Public Class PSVirtualMachineScaleSet
Inherits VirtualMachineScaleSet
Inheritance
PSVirtualMachineScaleSet
Inheritance
PSVirtualMachineScaleSet
Derived

Constructors

PSVirtualMachineScaleSet()

Properties

AdditionalCapabilities
AdditionalCapabilities

Gets or sets 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.

(Inherited from VirtualMachineScaleSet)
AutomaticRepairsPolicy
AutomaticRepairsPolicy

Gets or sets policy for automatic repairs.

(Inherited from VirtualMachineScaleSet)
ConstrainedMaximumCapacity

Gets or sets optional property which must either be set to True or omitted.

(Inherited from VirtualMachineScaleSet)
DoNotRunExtensionsOnOverprovisionedVMs
DoNotRunExtensionsOnOverprovisionedVMs

Gets or sets 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.

(Inherited from VirtualMachineScaleSet)
Etag
Etag

Gets etag is property returned in Create/Update/Get response of the VMSS, so that customer can supply it in the header to ensure optimistic updates

(Inherited from VirtualMachineScaleSet)
ExtendedLocation
ExtendedLocation

Gets or sets the extended location of the Virtual Machine Scale Set.

(Inherited from VirtualMachineScaleSet)
FullyQualifiedDomainName
HostGroup
HostGroup

Gets or sets specifies information about the dedicated host group that the virtual machine scale set resides in. Minimum api-version: 2020-06-01.

(Inherited from VirtualMachineScaleSet)
Id
Id

Gets resource Id

(Inherited from Resource)
Identity
Identity

Gets or sets the identity of the virtual machine scale set, if configured.

(Inherited from VirtualMachineScaleSet)
Location
Location

Gets or sets resource location

(Inherited from Resource)
Name
Name

Gets resource name

(Inherited from Resource)
OrchestrationMode
OrchestrationMode

Gets or sets specifies the orchestration mode for the virtual machine scale set. Possible values include: 'Uniform', 'Flexible'

(Inherited from VirtualMachineScaleSet)
Overprovision
Overprovision

Gets or sets specifies whether the Virtual Machine Scale Set should be overprovisioned.

(Inherited from VirtualMachineScaleSet)
Plan
Plan

Gets or sets specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save.

(Inherited from VirtualMachineScaleSet)
PlatformFaultDomainCount
PlatformFaultDomainCount

Gets or sets fault Domain count for each placement group.

(Inherited from VirtualMachineScaleSet)
PriorityMixPolicy
PriorityMixPolicy

Gets or sets specifies the desired targets for mixing Spot and Regular priority VMs within the same VMSS Flex instance.

(Inherited from VirtualMachineScaleSet)
ProvisioningState
ProvisioningState

Gets the provisioning state, which only appears in the response.

(Inherited from VirtualMachineScaleSet)
ProximityPlacementGroup
ProximityPlacementGroup

Gets or sets specifies information about the proximity placement group that the virtual machine scale set should be assigned to. Minimum api-version: 2018-04-01.

(Inherited from VirtualMachineScaleSet)
ResiliencyPolicy
ResiliencyPolicy

Gets or sets policy for Resiliency

(Inherited from VirtualMachineScaleSet)
ResourceGroupName
ScaleInPolicy
ScaleInPolicy

Gets or sets specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set.

(Inherited from VirtualMachineScaleSet)
ScheduledEventsPolicy

Gets or sets the ScheduledEventsPolicy.

(Inherited from VirtualMachineScaleSet)
SinglePlacementGroup
SinglePlacementGroup

Gets or sets 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.

(Inherited from VirtualMachineScaleSet)
Sku
Sku

Gets or sets the virtual machine scale set sku.

(Inherited from VirtualMachineScaleSet)
SkuProfile
SkuProfile

Gets or sets specifies the sku profile for the virtual machine scale set.

(Inherited from VirtualMachineScaleSet)
SpotRestorePolicy
SpotRestorePolicy

Gets or sets specifies the Spot Restore properties for the virtual machine scale set.

(Inherited from VirtualMachineScaleSet)
Tags
Tags

Gets or sets resource tags

(Inherited from Resource)
TimeCreated
TimeCreated

Gets specifies the time at which the Virtual Machine Scale Set resource was created. Minimum api-version: 2021-11-01.

(Inherited from VirtualMachineScaleSet)
Type
Type

Gets resource type

(Inherited from Resource)
UniqueId
UniqueId

Gets specifies the ID which uniquely identifies a Virtual Machine Scale Set.

(Inherited from VirtualMachineScaleSet)
UpgradePolicy
UpgradePolicy

Gets or sets the upgrade policy.

(Inherited from VirtualMachineScaleSet)
VirtualMachineProfile
VirtualMachineProfile

Gets or sets the virtual machine profile.

(Inherited from VirtualMachineScaleSet)
ZonalPlatformFaultDomainAlignMode

Gets or sets specifies the align mode between Virtual Machine Scale Set compute and storage Fault Domain count. Possible values include: 'Aligned', 'Unaligned'

(Inherited from VirtualMachineScaleSet)
ZoneBalance
ZoneBalance

Gets or sets whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set.

(Inherited from VirtualMachineScaleSet)
Zones
Zones

Gets or sets the virtual machine scale set zones.

(Inherited from VirtualMachineScaleSet)

Methods

Validate()

Validate the object.

(Inherited from VirtualMachineScaleSet)

Applies to