VirtualMachineScaleSetVMProfile Class

Describes a virtual machine scale set virtual machine profile.

Inheritance
azure.mgmt.compute._serialization.Model
VirtualMachineScaleSetVMProfile

Constructor

VirtualMachineScaleSetVMProfile(*, os_profile: _models.VirtualMachineScaleSetOSProfile | None = None, storage_profile: _models.VirtualMachineScaleSetStorageProfile | None = None, network_profile: _models.VirtualMachineScaleSetNetworkProfile | None = None, security_profile: _models.SecurityProfile | None = None, diagnostics_profile: _models.DiagnosticsProfile | None = None, extension_profile: _models.VirtualMachineScaleSetExtensionProfile | None = None, license_type: str | None = None, priority: str | _models.VirtualMachinePriorityTypes | None = None, eviction_policy: str | _models.VirtualMachineEvictionPolicyTypes | None = None, billing_profile: _models.BillingProfile | None = None, scheduled_events_profile: _models.ScheduledEventsProfile | None = None, user_data: str | None = None, capacity_reservation: _models.CapacityReservationProfile | None = None, application_profile: _models.ApplicationProfile | None = None, hardware_profile: _models.VirtualMachineScaleSetHardwareProfile | None = None, service_artifact_reference: _models.ServiceArtifactReference | None = None, security_posture_reference: _models.SecurityPostureReference | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
os_profile

Specifies the operating system settings for the virtual machines in the scale set.

storage_profile

Specifies the storage settings for the virtual machine disks.

network_profile

Specifies properties of the network interfaces of the virtual machines in the scale set.

security_profile

Specifies the Security related profile settings for the virtual machines in the scale set.

diagnostics_profile

Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.

extension_profile

Specifies a collection of settings for extensions installed on virtual machines in the scale set.

license_type
str

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.

priority

Specifies the priority for the virtual machines in the scale set. Minimum api-version: 2017-10-30-preview. Known values are: "Regular", "Low", and "Spot".

eviction_policy

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. Known values are: "Deallocate" and "Delete".

billing_profile

Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.

scheduled_events_profile

Specifies Scheduled Event related configurations.

user_data
str

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.

capacity_reservation

Specifies the capacity reservation related details of a scale set. Minimum api-version: 2021-04-01.

application_profile

Specifies the gallery applications that should be made available to the VM/VMSS.

hardware_profile

Specifies the hardware profile related details of a scale set. Minimum api-version: 2021-11-01.

service_artifact_reference

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.

security_posture_reference

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

Variables

Name Description
os_profile

Specifies the operating system settings for the virtual machines in the scale set.

storage_profile

Specifies the storage settings for the virtual machine disks.

network_profile

Specifies properties of the network interfaces of the virtual machines in the scale set.

security_profile

Specifies the Security related profile settings for the virtual machines in the scale set.

diagnostics_profile

Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.

extension_profile

Specifies a collection of settings for extensions installed on virtual machines in the scale set.

license_type
str

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.

priority

Specifies the priority for the virtual machines in the scale set. Minimum api-version: 2017-10-30-preview. Known values are: "Regular", "Low", and "Spot".

eviction_policy

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. Known values are: "Deallocate" and "Delete".

billing_profile

Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.

scheduled_events_profile

Specifies Scheduled Event related configurations.

user_data
str

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.

capacity_reservation

Specifies the capacity reservation related details of a scale set. Minimum api-version: 2021-04-01.

application_profile

Specifies the gallery applications that should be made available to the VM/VMSS.

hardware_profile

Specifies the hardware profile related details of a scale set. Minimum api-version: 2021-11-01.

service_artifact_reference

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.

security_posture_reference

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