Class VirtualMachineScaleSetVMProfile
java.lang.Object
com.microsoft.azure.management.compute.VirtualMachineScaleSetVMProfile
Describes a virtual machine scale set virtual machine profile.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet specifies the billing related details of a Azure Spot VMSS.Get specifies the boot diagnostic settings state.Get specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.Get specifies a collection of settings for extensions installed on virtual machines in the scale set.Get specifies that the image or disk that is being used was licensed on-premises.Get specifies properties of the network interfaces of the virtual machines in the scale set.Get specifies the operating system settings for the virtual machines in the scale set.priority()
Get specifies the priority for the virtual machines in the scale set.Get specifies Scheduled Event related configurations.Get specifies the Security related profile settings for the virtual machines in the scale set.Get specifies the storage settings for the virtual machine disks.withBillingProfile
(BillingProfile billingProfile) Set specifies the billing related details of a Azure Spot VMSS.withDiagnosticsProfile
(DiagnosticsProfile diagnosticsProfile) Set specifies the boot diagnostic settings state.withEvictionPolicy
(VirtualMachineEvictionPolicyTypes evictionPolicy) Set specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.withExtensionProfile
(VirtualMachineScaleSetExtensionProfile extensionProfile) Set specifies a collection of settings for extensions installed on virtual machines in the scale set.withLicenseType
(String licenseType) Set specifies that the image or disk that is being used was licensed on-premises.withNetworkProfile
(VirtualMachineScaleSetNetworkProfile networkProfile) Set specifies properties of the network interfaces of the virtual machines in the scale set.withOsProfile
(VirtualMachineScaleSetOSProfile osProfile) Set specifies the operating system settings for the virtual machines in the scale set.withPriority
(VirtualMachinePriorityTypes priority) Set specifies the priority for the virtual machines in the scale set.withScheduledEventsProfile
(ScheduledEventsProfile scheduledEventsProfile) Set specifies Scheduled Event related configurations.withSecurityProfile
(SecurityProfile securityProfile) Set specifies the Security related profile settings for the virtual machines in the scale set.withStorageProfile
(VirtualMachineScaleSetStorageProfile storageProfile) Set specifies the storage settings for the virtual machine disks.
-
Constructor Details
-
VirtualMachineScaleSetVMProfile
public VirtualMachineScaleSetVMProfile()
-
-
Method Details
-
osProfile
Get specifies the operating system settings for the virtual machines in the scale set.- Returns:
- the osProfile value
-
withOsProfile
Set specifies the operating system settings for the virtual machines in the scale set.- Parameters:
osProfile
- the osProfile value to set- Returns:
- the VirtualMachineScaleSetVMProfile object itself.
-
storageProfile
Get specifies the storage settings for the virtual machine disks.- Returns:
- the storageProfile value
-
withStorageProfile
public VirtualMachineScaleSetVMProfile withStorageProfile(VirtualMachineScaleSetStorageProfile storageProfile) Set specifies the storage settings for the virtual machine disks.- Parameters:
storageProfile
- the storageProfile value to set- Returns:
- the VirtualMachineScaleSetVMProfile object itself.
-
networkProfile
Get specifies properties of the network interfaces of the virtual machines in the scale set.- Returns:
- the networkProfile value
-
withNetworkProfile
public VirtualMachineScaleSetVMProfile withNetworkProfile(VirtualMachineScaleSetNetworkProfile networkProfile) Set specifies properties of the network interfaces of the virtual machines in the scale set.- Parameters:
networkProfile
- the networkProfile value to set- Returns:
- the VirtualMachineScaleSetVMProfile object itself.
-
securityProfile
Get specifies the Security related profile settings for the virtual machines in the scale set.- Returns:
- the securityProfile value
-
withSecurityProfile
Set specifies the Security related profile settings for the virtual machines in the scale set.- Parameters:
securityProfile
- the securityProfile value to set- Returns:
- the VirtualMachineScaleSetVMProfile object itself.
-
diagnosticsProfile
Get specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15.- Returns:
- the diagnosticsProfile value
-
withDiagnosticsProfile
public VirtualMachineScaleSetVMProfile withDiagnosticsProfile(DiagnosticsProfile diagnosticsProfile) Set specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15.- Parameters:
diagnosticsProfile
- the diagnosticsProfile value to set- Returns:
- the VirtualMachineScaleSetVMProfile object itself.
-
extensionProfile
Get specifies a collection of settings for extensions installed on virtual machines in the scale set.- Returns:
- the extensionProfile value
-
withExtensionProfile
public VirtualMachineScaleSetVMProfile withExtensionProfile(VirtualMachineScaleSetExtensionProfile extensionProfile) Set specifies a collection of settings for extensions installed on virtual machines in the scale set.- Parameters:
extensionProfile
- the extensionProfile value to set- Returns:
- the VirtualMachineScaleSetVMProfile object itself.
-
licenseType
Get 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](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing) <br><br> [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux) <br><br> Minimum api-version: 2015-06-15.- Returns:
- the licenseType value
-
withLicenseType
Set 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](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing) <br><br> [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux) <br><br> Minimum api-version: 2015-06-15.- Parameters:
licenseType
- the licenseType value to set- Returns:
- the VirtualMachineScaleSetVMProfile object itself.
-
priority
Get 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'.- Returns:
- the priority value
-
withPriority
Set 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'.- Parameters:
priority
- the priority value to set- Returns:
- the VirtualMachineScaleSetVMProfile object itself.
-
evictionPolicy
Get 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'.- Returns:
- the evictionPolicy value
-
withEvictionPolicy
public VirtualMachineScaleSetVMProfile withEvictionPolicy(VirtualMachineEvictionPolicyTypes evictionPolicy) Set 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'.- Parameters:
evictionPolicy
- the evictionPolicy value to set- Returns:
- the VirtualMachineScaleSetVMProfile object itself.
-
billingProfile
Get specifies the billing related details of a Azure Spot VMSS. <br><br>Minimum api-version: 2019-03-01.- Returns:
- the billingProfile value
-
withBillingProfile
Set specifies the billing related details of a Azure Spot VMSS. <br><br>Minimum api-version: 2019-03-01.- Parameters:
billingProfile
- the billingProfile value to set- Returns:
- the VirtualMachineScaleSetVMProfile object itself.
-
scheduledEventsProfile
Get specifies Scheduled Event related configurations.- Returns:
- the scheduledEventsProfile value
-
withScheduledEventsProfile
public VirtualMachineScaleSetVMProfile withScheduledEventsProfile(ScheduledEventsProfile scheduledEventsProfile) Set specifies Scheduled Event related configurations.- Parameters:
scheduledEventsProfile
- the scheduledEventsProfile value to set- Returns:
- the VirtualMachineScaleSetVMProfile object itself.
-