Class VirtualMachineScaleSetUpdateOSProfile
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.VirtualMachineScaleSetUpdateOSProfile
-
public final class VirtualMachineScaleSetUpdateOSProfile extends Object
Describes a virtual machine scale set OS profile.
-
-
Constructor Summary
Constructors Constructor Description VirtualMachineScaleSetUpdateOSProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcustomData()Get the customData property: A base-64 encoded string of custom data.LinuxConfigurationlinuxConfiguration()Get the linuxConfiguration property: The Linux Configuration of the OS profile.List<VaultSecretGroup>secrets()Get the secrets property: The List of certificates for addition to the VM.voidvalidate()Validates the instance.WindowsConfigurationwindowsConfiguration()Get the windowsConfiguration property: The Windows Configuration of the OS profile.VirtualMachineScaleSetUpdateOSProfilewithCustomData(String customData)Set the customData property: A base-64 encoded string of custom data.VirtualMachineScaleSetUpdateOSProfilewithLinuxConfiguration(LinuxConfiguration linuxConfiguration)Set the linuxConfiguration property: The Linux Configuration of the OS profile.VirtualMachineScaleSetUpdateOSProfilewithSecrets(List<VaultSecretGroup> secrets)Set the secrets property: The List of certificates for addition to the VM.VirtualMachineScaleSetUpdateOSProfilewithWindowsConfiguration(WindowsConfiguration windowsConfiguration)Set the windowsConfiguration property: The Windows Configuration of the OS profile.
-
-
-
Method Detail
-
customData
public String customData()
Get the customData property: A base-64 encoded string of custom data.- Returns:
- the customData value.
-
withCustomData
public VirtualMachineScaleSetUpdateOSProfile withCustomData(String customData)
Set the customData property: A base-64 encoded string of custom data.- Parameters:
customData- the customData value to set.- Returns:
- the VirtualMachineScaleSetUpdateOSProfile object itself.
-
windowsConfiguration
public WindowsConfiguration windowsConfiguration()
Get the windowsConfiguration property: The Windows Configuration of the OS profile.- Returns:
- the windowsConfiguration value.
-
withWindowsConfiguration
public VirtualMachineScaleSetUpdateOSProfile withWindowsConfiguration(WindowsConfiguration windowsConfiguration)
Set the windowsConfiguration property: The Windows Configuration of the OS profile.- Parameters:
windowsConfiguration- the windowsConfiguration value to set.- Returns:
- the VirtualMachineScaleSetUpdateOSProfile object itself.
-
linuxConfiguration
public LinuxConfiguration linuxConfiguration()
Get the linuxConfiguration property: The Linux Configuration of the OS profile.- Returns:
- the linuxConfiguration value.
-
withLinuxConfiguration
public VirtualMachineScaleSetUpdateOSProfile withLinuxConfiguration(LinuxConfiguration linuxConfiguration)
Set the linuxConfiguration property: The Linux Configuration of the OS profile.- Parameters:
linuxConfiguration- the linuxConfiguration value to set.- Returns:
- the VirtualMachineScaleSetUpdateOSProfile object itself.
-
secrets
public List<VaultSecretGroup> secrets()
Get the secrets property: The List of certificates for addition to the VM.- Returns:
- the secrets value.
-
withSecrets
public VirtualMachineScaleSetUpdateOSProfile withSecrets(List<VaultSecretGroup> secrets)
Set the secrets property: The List of certificates for addition to the VM.- Parameters:
secrets- the secrets value to set.- Returns:
- the VirtualMachineScaleSetUpdateOSProfile object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-