Aracılığıyla paylaş


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, String, String, BillingProfile, ScheduledEventsProfile, String, CapacityReservationProfile, ApplicationProfile, VirtualMachineScaleSetHardwareProfile, ServiceArtifactReference, SecurityPostureReference)

Initializes a new instance of the VirtualMachineScaleSetVMProfile class.

Properties

ApplicationProfile

Gets or sets specifies the gallery applications that should be made available to the VM/VMSS

BillingProfile

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

CapacityReservation

Gets or sets specifies the capacity reservation related details of a scale set. Minimum api-version: 2021-04-01.

DiagnosticsProfile

Gets or sets specifies the boot diagnostic settings state. 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. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. 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.

HardwareProfile

Gets or sets specifies the hardware profile related details of a scale set. Minimum api-version: 2021-11-01.

LicenseType

Gets or sets specifies that the image or disk that is being used was licensed on-premises. <br><br> Possible values for Windows Server operating system are: <br><br> Windows_Client <br><br> Windows_Server <br><br> Possible values for Linux Server operating system are: <br><br> RHEL_BYOS (for RHEL) <br><br> SLES_BYOS (for SUSE) <br><br> For more information, see Azure Hybrid Use Benefit for Windows Server <br><br> Azure Hybrid Use Benefit for Linux 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. Minimum api-version: 2017-10-30-preview. Possible values include: 'Regular', 'Low', 'Spot'

ScheduledEventsProfile

Gets or sets specifies Scheduled Event related configurations.

SecurityPostureReference

Gets or sets specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01

SecurityProfile

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

ServiceArtifactReference

Gets or sets specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01

StorageProfile

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

UserData

Gets or sets userData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01.

Methods

Validate()

Validate the object.

Applies to