Class VirtualMachineScaleSetUpdateVMProfile
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.VirtualMachineScaleSetUpdateVMProfile
-
public final class VirtualMachineScaleSetUpdateVMProfile extends Object
Describes a virtual machine scale set virtual machine profile.
-
-
Constructor Summary
Constructors Constructor Description VirtualMachineScaleSetUpdateVMProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BillingProfilebillingProfile()Get the billingProfile property: Specifies the billing related details of a Azure Spot VMSS.DiagnosticsProfilediagnosticsProfile()Get the diagnosticsProfile property: The virtual machine scale set diagnostics profile.VirtualMachineScaleSetExtensionProfileextensionProfile()Get the extensionProfile property: The virtual machine scale set extension profile.StringlicenseType()Get the licenseType property: The license type, which is for bring your own license scenario.VirtualMachineScaleSetUpdateNetworkProfilenetworkProfile()Get the networkProfile property: The virtual machine scale set network profile.VirtualMachineScaleSetUpdateOSProfileosProfile()Get the osProfile property: The virtual machine scale set OS profile.ScheduledEventsProfilescheduledEventsProfile()Get the scheduledEventsProfile property: Specifies Scheduled Event related configurations.SecurityProfilesecurityProfile()Get the securityProfile property: The virtual machine scale set Security profile.VirtualMachineScaleSetUpdateStorageProfilestorageProfile()Get the storageProfile property: The virtual machine scale set storage profile.StringuserData()Get the userData property: UserData for the VM, which must be base-64 encoded.voidvalidate()Validates the instance.VirtualMachineScaleSetUpdateVMProfilewithBillingProfile(BillingProfile billingProfile)Set the billingProfile property: Specifies the billing related details of a Azure Spot VMSS.VirtualMachineScaleSetUpdateVMProfilewithDiagnosticsProfile(DiagnosticsProfile diagnosticsProfile)Set the diagnosticsProfile property: The virtual machine scale set diagnostics profile.VirtualMachineScaleSetUpdateVMProfilewithExtensionProfile(VirtualMachineScaleSetExtensionProfile extensionProfile)Set the extensionProfile property: The virtual machine scale set extension profile.VirtualMachineScaleSetUpdateVMProfilewithLicenseType(String licenseType)Set the licenseType property: The license type, which is for bring your own license scenario.VirtualMachineScaleSetUpdateVMProfilewithNetworkProfile(VirtualMachineScaleSetUpdateNetworkProfile networkProfile)Set the networkProfile property: The virtual machine scale set network profile.VirtualMachineScaleSetUpdateVMProfilewithOsProfile(VirtualMachineScaleSetUpdateOSProfile osProfile)Set the osProfile property: The virtual machine scale set OS profile.VirtualMachineScaleSetUpdateVMProfilewithScheduledEventsProfile(ScheduledEventsProfile scheduledEventsProfile)Set the scheduledEventsProfile property: Specifies Scheduled Event related configurations.VirtualMachineScaleSetUpdateVMProfilewithSecurityProfile(SecurityProfile securityProfile)Set the securityProfile property: The virtual machine scale set Security profile.VirtualMachineScaleSetUpdateVMProfilewithStorageProfile(VirtualMachineScaleSetUpdateStorageProfile storageProfile)Set the storageProfile property: The virtual machine scale set storage profile.VirtualMachineScaleSetUpdateVMProfilewithUserData(String userData)Set the userData property: UserData for the VM, which must be base-64 encoded.
-
-
-
Method Detail
-
osProfile
public VirtualMachineScaleSetUpdateOSProfile osProfile()
Get the osProfile property: The virtual machine scale set OS profile.- Returns:
- the osProfile value.
-
withOsProfile
public VirtualMachineScaleSetUpdateVMProfile withOsProfile(VirtualMachineScaleSetUpdateOSProfile osProfile)
Set the osProfile property: The virtual machine scale set OS profile.- Parameters:
osProfile- the osProfile value to set.- Returns:
- the VirtualMachineScaleSetUpdateVMProfile object itself.
-
storageProfile
public VirtualMachineScaleSetUpdateStorageProfile storageProfile()
Get the storageProfile property: The virtual machine scale set storage profile.- Returns:
- the storageProfile value.
-
withStorageProfile
public VirtualMachineScaleSetUpdateVMProfile withStorageProfile(VirtualMachineScaleSetUpdateStorageProfile storageProfile)
Set the storageProfile property: The virtual machine scale set storage profile.- Parameters:
storageProfile- the storageProfile value to set.- Returns:
- the VirtualMachineScaleSetUpdateVMProfile object itself.
-
networkProfile
public VirtualMachineScaleSetUpdateNetworkProfile networkProfile()
Get the networkProfile property: The virtual machine scale set network profile.- Returns:
- the networkProfile value.
-
withNetworkProfile
public VirtualMachineScaleSetUpdateVMProfile withNetworkProfile(VirtualMachineScaleSetUpdateNetworkProfile networkProfile)
Set the networkProfile property: The virtual machine scale set network profile.- Parameters:
networkProfile- the networkProfile value to set.- Returns:
- the VirtualMachineScaleSetUpdateVMProfile object itself.
-
securityProfile
public SecurityProfile securityProfile()
Get the securityProfile property: The virtual machine scale set Security profile.- Returns:
- the securityProfile value.
-
withSecurityProfile
public VirtualMachineScaleSetUpdateVMProfile withSecurityProfile(SecurityProfile securityProfile)
Set the securityProfile property: The virtual machine scale set Security profile.- Parameters:
securityProfile- the securityProfile value to set.- Returns:
- the VirtualMachineScaleSetUpdateVMProfile object itself.
-
diagnosticsProfile
public DiagnosticsProfile diagnosticsProfile()
Get the diagnosticsProfile property: The virtual machine scale set diagnostics profile.- Returns:
- the diagnosticsProfile value.
-
withDiagnosticsProfile
public VirtualMachineScaleSetUpdateVMProfile withDiagnosticsProfile(DiagnosticsProfile diagnosticsProfile)
Set the diagnosticsProfile property: The virtual machine scale set diagnostics profile.- Parameters:
diagnosticsProfile- the diagnosticsProfile value to set.- Returns:
- the VirtualMachineScaleSetUpdateVMProfile object itself.
-
extensionProfile
public VirtualMachineScaleSetExtensionProfile extensionProfile()
Get the extensionProfile property: The virtual machine scale set extension profile.- Returns:
- the extensionProfile value.
-
withExtensionProfile
public VirtualMachineScaleSetUpdateVMProfile withExtensionProfile(VirtualMachineScaleSetExtensionProfile extensionProfile)
Set the extensionProfile property: The virtual machine scale set extension profile.- Parameters:
extensionProfile- the extensionProfile value to set.- Returns:
- the VirtualMachineScaleSetUpdateVMProfile object itself.
-
licenseType
public String licenseType()
Get the licenseType property: The license type, which is for bring your own license scenario.- Returns:
- the licenseType value.
-
withLicenseType
public VirtualMachineScaleSetUpdateVMProfile withLicenseType(String licenseType)
Set the licenseType property: The license type, which is for bring your own license scenario.- Parameters:
licenseType- the licenseType value to set.- Returns:
- the VirtualMachineScaleSetUpdateVMProfile object itself.
-
billingProfile
public BillingProfile billingProfile()
Get the billingProfile property: Specifies the billing related details of a Azure Spot VMSS. <br><br>Minimum api-version: 2019-03-01.- Returns:
- the billingProfile value.
-
withBillingProfile
public VirtualMachineScaleSetUpdateVMProfile withBillingProfile(BillingProfile billingProfile)
Set the billingProfile property: 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 VirtualMachineScaleSetUpdateVMProfile object itself.
-
scheduledEventsProfile
public ScheduledEventsProfile scheduledEventsProfile()
Get the scheduledEventsProfile property: Specifies Scheduled Event related configurations.- Returns:
- the scheduledEventsProfile value.
-
withScheduledEventsProfile
public VirtualMachineScaleSetUpdateVMProfile withScheduledEventsProfile(ScheduledEventsProfile scheduledEventsProfile)
Set the scheduledEventsProfile property: Specifies Scheduled Event related configurations.- Parameters:
scheduledEventsProfile- the scheduledEventsProfile value to set.- Returns:
- the VirtualMachineScaleSetUpdateVMProfile object itself.
-
userData
public String userData()
Get the userData property: UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. <br><br>Minimum api-version: 2021-03-01.- Returns:
- the userData value.
-
withUserData
public VirtualMachineScaleSetUpdateVMProfile withUserData(String userData)
Set the userData property: UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. <br><br>Minimum api-version: 2021-03-01.- Parameters:
userData- the userData value to set.- Returns:
- the VirtualMachineScaleSetUpdateVMProfile object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-