共用方式為


VirtualMachineScaleSetVMProfile Class

Definition

Describes a virtual machine scale set virtual machine profile.

public class VirtualMachineScaleSetVMProfile
type VirtualMachineScaleSetVMProfile = class
Public Class VirtualMachineScaleSetVMProfile
Inheritance
VirtualMachineScaleSetVMProfile

Constructors

VirtualMachineScaleSetVMProfile()

Initializes a new instance of the VirtualMachineScaleSetVMProfile class.

VirtualMachineScaleSetVMProfile(VirtualMachineScaleSetOSProfile, VirtualMachineScaleSetStorageProfile, VirtualMachineScaleSetNetworkProfile, SecurityProfile, DiagnosticsProfile, VirtualMachineScaleSetExtensionProfile, String, VirtualMachinePriorityTypes, VirtualMachineEvictionPolicyTypes, BillingProfile, ScheduledEventsProfile)

Initializes a new instance of the VirtualMachineScaleSetVMProfile class.

Properties

BillingProfile

Gets or sets specifies the billing related details of a Azure Spot VMSS. <br><br>Minimum api-version: 2019-03-01.

DiagnosticsProfile

Gets or sets specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15.

EvictionPolicy

Gets or sets specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. <br><br>For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. <br><br>For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview. Possible values include: 'Deallocate', 'Delete'

ExtensionProfile

Gets or sets specifies a collection of settings for extensions installed on virtual machines in the scale set.

LicenseType

Gets or sets specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system. <br><br> Possible values are: <br><br> Windows_Client <br><br> Windows_Server <br><br> If this element is included in a request for an update, the value must match the initial value. This value cannot be updated. <br><br> For more information, see Azure Hybrid Use Benefit for Windows Server <br><br> Minimum api-version: 2015-06-15

NetworkProfile

Gets or sets specifies properties of the network interfaces of the virtual machines in the scale set.

OsProfile

Gets or sets specifies the operating system settings for the virtual machines in the scale set.

Priority

Gets or sets specifies the priority for the virtual machines in the scale set. <br><br>Minimum api-version: 2017-10-30-preview. Possible values include: 'Regular', 'Low', 'Spot'

ScheduledEventsProfile

Gets or sets specifies Scheduled Event related configurations.

SecurityProfile

Gets or sets specifies the Security related profile settings for the virtual machines in the scale set.

StorageProfile

Gets or sets specifies the storage settings for the virtual machine disks.

Methods

Validate()

Validate the object.

Applies to