BaseVirtualMachineProfile interface

Describes the base virtual machine profile for fleet

Properties

applicationProfile

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

capacityReservation

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

diagnosticsProfile

Specifies the boot diagnostic settings state.

extensionProfile

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

hardwareProfile

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

licenseType

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

networkProfile

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

osProfile

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

scheduledEventsProfile

Specifies Scheduled Event related configurations.

securityPostureReference

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

securityProfile

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

serviceArtifactReference

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

Specifies the storage settings for the virtual machine disks.

timeCreated

Specifies the time in which this VM profile for the Virtual Machine Scale Set was created. Minimum API version for this property is 2023-09-01. This value will be added to VMSS Flex VM tags when creating/updating the VMSS VM Profile with minimum api-version 2023-09-01. Examples: "2024-07-01T00:00:01.1234567+00:00"

userData

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.

Property Details

applicationProfile

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

applicationProfile?: ApplicationProfile

Property Value

capacityReservation

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

capacityReservation?: CapacityReservationProfile

Property Value

diagnosticsProfile

Specifies the boot diagnostic settings state.

diagnosticsProfile?: DiagnosticsProfile

Property Value

extensionProfile

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

extensionProfile?: VirtualMachineScaleSetExtensionProfile

Property Value

hardwareProfile

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

hardwareProfile?: VirtualMachineScaleSetHardwareProfile

Property Value

licenseType

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

licenseType?: string

Property Value

string

networkProfile

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

networkProfile?: VirtualMachineScaleSetNetworkProfile

Property Value

osProfile

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

osProfile?: VirtualMachineScaleSetOSProfile

Property Value

scheduledEventsProfile

Specifies Scheduled Event related configurations.

scheduledEventsProfile?: ScheduledEventsProfile

Property Value

securityPostureReference

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

securityPostureReference?: SecurityPostureReference

Property Value

securityProfile

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

securityProfile?: SecurityProfile

Property Value

serviceArtifactReference

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

serviceArtifactReference?: ServiceArtifactReference

Property Value

storageProfile

Specifies the storage settings for the virtual machine disks.

storageProfile?: VirtualMachineScaleSetStorageProfile

Property Value

timeCreated

Specifies the time in which this VM profile for the Virtual Machine Scale Set was created. Minimum API version for this property is 2023-09-01. This value will be added to VMSS Flex VM tags when creating/updating the VMSS VM Profile with minimum api-version 2023-09-01. Examples: "2024-07-01T00:00:01.1234567+00:00"

timeCreated?: Date

Property Value

Date

userData

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.

userData?: string

Property Value

string