VirtualMachineScaleSetOSProfile Class

  • java.lang.Object
    • com.microsoft.azure.management.compute.VirtualMachineScaleSetOSProfile

public class VirtualMachineScaleSetOSProfile

Describes a virtual machine scale set OS profile.

Method Summary

Modifier and Type Method and Description
String adminPassword()

Get the adminPassword value.

String adminUsername()

Get the adminUsername value.

String computerNamePrefix()

Get the computerNamePrefix value.

String customData()

Get the customData value.

LinuxConfiguration linuxConfiguration()

Get the linuxConfiguration value.

List<VaultSecretGroup> secrets()

Get the secrets value.

WindowsConfiguration windowsConfiguration()

Get the windowsConfiguration value.

VirtualMachineScaleSetOSProfile withAdminPassword(String adminPassword)

Set the adminPassword value.

VirtualMachineScaleSetOSProfile withAdminUsername(String adminUsername)

Set the adminUsername value.

VirtualMachineScaleSetOSProfile withComputerNamePrefix(String computerNamePrefix)

Set the computerNamePrefix value.

VirtualMachineScaleSetOSProfile withCustomData(String customData)

Set the customData value.

VirtualMachineScaleSetOSProfile withLinuxConfiguration(LinuxConfiguration linuxConfiguration)

Set the linuxConfiguration value.

VirtualMachineScaleSetOSProfile withSecrets(List<VaultSecretGroup> secrets)

Set the secrets value.

VirtualMachineScaleSetOSProfile withWindowsConfiguration(WindowsConfiguration windowsConfiguration)

Set the windowsConfiguration value.

Method Details

adminPassword

public String adminPassword()

Get the adminPassword value.

Returns:

the adminPassword value

adminUsername

public String adminUsername()

Get the adminUsername value.

Returns:

the adminUsername value

computerNamePrefix

public String computerNamePrefix()

Get the computerNamePrefix value.

Returns:

the computerNamePrefix value

customData

public String customData()

Get the customData value.

Returns:

the customData value

linuxConfiguration

public LinuxConfiguration linuxConfiguration()

Get the linuxConfiguration value.

Returns:

the linuxConfiguration value

secrets

public List secrets()

Get the secrets value.

Returns:

the secrets value

windowsConfiguration

public WindowsConfiguration windowsConfiguration()

Get the windowsConfiguration value.

Returns:

the windowsConfiguration value

withAdminPassword

public VirtualMachineScaleSetOSProfile withAdminPassword(String adminPassword)

Set the adminPassword value.

Parameters:

adminPassword - the adminPassword value to set

Returns:

the VirtualMachineScaleSetOSProfile object itself.

withAdminUsername

public VirtualMachineScaleSetOSProfile withAdminUsername(String adminUsername)

Set the adminUsername value.

Parameters:

adminUsername - the adminUsername value to set

Returns:

the VirtualMachineScaleSetOSProfile object itself.

withComputerNamePrefix

public VirtualMachineScaleSetOSProfile withComputerNamePrefix(String computerNamePrefix)

Set the computerNamePrefix value.

Parameters:

computerNamePrefix - the computerNamePrefix value to set

Returns:

the VirtualMachineScaleSetOSProfile object itself.

withCustomData

public VirtualMachineScaleSetOSProfile withCustomData(String customData)

Set the customData value.

Parameters:

customData - the customData value to set

Returns:

the VirtualMachineScaleSetOSProfile object itself.

withLinuxConfiguration

public VirtualMachineScaleSetOSProfile withLinuxConfiguration(LinuxConfiguration linuxConfiguration)

Set the linuxConfiguration value.

Parameters:

linuxConfiguration - the linuxConfiguration value to set

Returns:

the VirtualMachineScaleSetOSProfile object itself.

withSecrets

public VirtualMachineScaleSetOSProfile withSecrets(List secrets)

Set the secrets value.

Parameters:

secrets - the secrets value to set

Returns:

the VirtualMachineScaleSetOSProfile object itself.

withWindowsConfiguration

public VirtualMachineScaleSetOSProfile withWindowsConfiguration(WindowsConfiguration windowsConfiguration)

Set the windowsConfiguration value.

Parameters:

windowsConfiguration - the windowsConfiguration value to set

Returns:

the VirtualMachineScaleSetOSProfile object itself.

Applies to