VirtualMachineScaleSetVMProfile Class
Describes a virtual machine scale set virtual machine profile.
Constructor
VirtualMachineScaleSetVMProfile(*args: Any, **kwargs: Any)
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
|
Specifies that the image or disk that is being used was licensed
on-premises. |
|
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
|
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 in the scale set. Minimum api-version: 2023-03-01. |
|
time_created
|
Specifies the time in which this VM profile for the Virtual Machine Scale Set was created. This value will be added to VMSS Flex VM tags when creating/updating the VMSS VM Profile. Minimum API version for this property is 2023-09-01. |
Attributes
application_profile
Specifies the gallery applications that should be made available to the VM/VMSS.
application_profile: _models.ApplicationProfile | None
billing_profile
2019-03-01.
billing_profile: _models.BillingProfile | None
capacity_reservation
Specifies the capacity reservation related details of a scale set. Minimum api-version: 2021-04-01.
capacity_reservation: _models.CapacityReservationProfile | None
diagnostics_profile
2015-06-15.
diagnostics_profile: _models.DiagnosticsProfile | None
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".
eviction_policy: str | _models.VirtualMachineEvictionPolicyTypes | None
extension_profile
Specifies a collection of settings for extensions installed on virtual machines in the scale set.
extension_profile: _models.VirtualMachineScaleSetExtensionProfile | None
hardware_profile
2021-11-01.
hardware_profile: _models.VirtualMachineScaleSetHardwareProfile | None
license_type
Specifies that the image or disk that is being used was licensed on-premises.
Possible
values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see Azure Hybrid Use Benefit for
Windows Server
Azure Hybrid Use Benefit for Linux Server
Minimum api-version: 2015-06-15.
license_type: str | None
network_profile
Specifies properties of the network interfaces of the virtual machines in the scale set.
network_profile: _models.VirtualMachineScaleSetNetworkProfile | None
os_profile
Specifies the operating system settings for the virtual machines in the scale set.
os_profile: _models.VirtualMachineScaleSetOSProfile | None
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".
priority: str | _models.VirtualMachinePriorityTypes | None
scheduled_events_profile
Specifies Scheduled Event related configurations.
scheduled_events_profile: _models.ScheduledEventsProfile | None
security_posture_reference
2023-03-01.
security_posture_reference: _models.SecurityPostureReference | None
security_profile
Specifies the Security related profile settings for the virtual machines in the scale set.
security_profile: _models.SecurityProfile | None
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.
service_artifact_reference: _models.ServiceArtifactReference | None
storage_profile
Specifies the storage settings for the virtual machine disks.
storage_profile: _models.VirtualMachineScaleSetStorageProfile | None
time_created
Specifies the time in which this VM profile for the Virtual Machine Scale Set was created. This value will be added to VMSS Flex VM tags when creating/updating the VMSS VM Profile. Minimum API version for this property is 2023-09-01.
time_created: datetime | None
user_data
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.
user_data: str | None