Class VirtualMachineScaleSetUpdateOSProfile


  • public final class VirtualMachineScaleSetUpdateOSProfile
    extends Object
    Describes a virtual machine scale set OS profile.
    • Constructor Detail

      • VirtualMachineScaleSetUpdateOSProfile

        public VirtualMachineScaleSetUpdateOSProfile()
    • 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.