public final class VirtualMachineScaleSetOSProfile extends Object
Constructor and Description |
---|
VirtualMachineScaleSetOSProfile() |
Modifier and Type | Method and Description |
---|---|
String |
adminPassword()
Get the adminPassword property: Specifies the password of the administrator account.
|
String |
adminUsername()
Get the adminUsername property: Specifies the name of the administrator account.
|
String |
computerNamePrefix()
Get the computerNamePrefix property: Specifies the computer name prefix for all of the virtual machines in the
scale set.
|
String |
customData()
Get the customData property: Specifies a base-64 encoded string of custom data.
|
LinuxConfiguration |
linuxConfiguration()
Get the linuxConfiguration property: Specifies the Linux operating system settings on the virtual machine.
|
List<VaultSecretGroup> |
secrets()
Get the secrets property: Specifies set of certificates that should be installed onto the virtual machines in the
scale set.
|
void |
validate()
Validates the instance.
|
WindowsConfiguration |
windowsConfiguration()
Get the windowsConfiguration property: Specifies Windows operating system settings on the virtual machine.
|
VirtualMachineScaleSetOSProfile |
withAdminPassword(String adminPassword)
Set the adminPassword property: Specifies the password of the administrator account.
|
VirtualMachineScaleSetOSProfile |
withAdminUsername(String adminUsername)
Set the adminUsername property: Specifies the name of the administrator account.
|
VirtualMachineScaleSetOSProfile |
withComputerNamePrefix(String computerNamePrefix)
Set the computerNamePrefix property: Specifies the computer name prefix for all of the virtual machines in the
scale set.
|
VirtualMachineScaleSetOSProfile |
withCustomData(String customData)
Set the customData property: Specifies a base-64 encoded string of custom data.
|
VirtualMachineScaleSetOSProfile |
withLinuxConfiguration(LinuxConfiguration linuxConfiguration)
Set the linuxConfiguration property: Specifies the Linux operating system settings on the virtual machine.
|
VirtualMachineScaleSetOSProfile |
withSecrets(List<VaultSecretGroup> secrets)
Set the secrets property: Specifies set of certificates that should be installed onto the virtual machines in the
scale set.
|
VirtualMachineScaleSetOSProfile |
withWindowsConfiguration(WindowsConfiguration windowsConfiguration)
Set the windowsConfiguration property: Specifies Windows operating system settings on the virtual machine.
|
public String computerNamePrefix()
public VirtualMachineScaleSetOSProfile withComputerNamePrefix(String computerNamePrefix)
computerNamePrefix
- the computerNamePrefix value to set.public String adminUsername()
public VirtualMachineScaleSetOSProfile withAdminUsername(String adminUsername)
adminUsername
- the adminUsername value to set.public String adminPassword()
public VirtualMachineScaleSetOSProfile withAdminPassword(String adminPassword)
adminPassword
- the adminPassword value to set.public String customData()
public VirtualMachineScaleSetOSProfile withCustomData(String customData)
customData
- the customData value to set.public WindowsConfiguration windowsConfiguration()
public VirtualMachineScaleSetOSProfile withWindowsConfiguration(WindowsConfiguration windowsConfiguration)
windowsConfiguration
- the windowsConfiguration value to set.public LinuxConfiguration linuxConfiguration()
public VirtualMachineScaleSetOSProfile withLinuxConfiguration(LinuxConfiguration linuxConfiguration)
linuxConfiguration
- the linuxConfiguration value to set.public List<VaultSecretGroup> secrets()
public VirtualMachineScaleSetOSProfile withSecrets(List<VaultSecretGroup> secrets)
secrets
- the secrets value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.