Class VirtualMachineScaleSetUpdateOSProfile
java.lang.Object
com.azure.resourcemanager.compute.models.VirtualMachineScaleSetUpdateOSProfile
Describes a virtual machine scale set OS profile.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of VirtualMachineScaleSetUpdateOSProfile class. -
Method Summary
Modifier and TypeMethodDescriptionGet the customData property: A base-64 encoded string of custom data.Get the linuxConfiguration property: The Linux Configuration of the OS profile.secrets()Get the secrets property: The List of certificates for addition to the VM.voidvalidate()Validates the instance.Get the windowsConfiguration property: The Windows Configuration of the OS profile.withCustomData(String customData) Set the customData property: A base-64 encoded string of custom data.withLinuxConfiguration(LinuxConfiguration linuxConfiguration) Set the linuxConfiguration property: The Linux Configuration of the OS profile.withSecrets(List<VaultSecretGroup> secrets) Set the secrets property: The List of certificates for addition to the VM.withWindowsConfiguration(WindowsConfiguration windowsConfiguration) Set the windowsConfiguration property: The Windows Configuration of the OS profile.
-
Constructor Details
-
VirtualMachineScaleSetUpdateOSProfile
public VirtualMachineScaleSetUpdateOSProfile()Creates an instance of VirtualMachineScaleSetUpdateOSProfile class.
-
-
Method Details
-
customData
Get the customData property: A base-64 encoded string of custom data.- Returns:
- the customData value.
-
withCustomData
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
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
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
Get the secrets property: The List of certificates for addition to the VM.- Returns:
- the secrets value.
-
withSecrets
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.
-