public class OSProfile extends Object
| Constructor and Description |
|---|
OSProfile() |
| Modifier and Type | Method and Description |
|---|---|
String |
adminPassword()
Get specifies the password of the administrator account.
|
String |
adminUsername()
Get specifies the name of the administrator account.
|
Boolean |
allowExtensionOperations()
Get specifies whether extension operations should be allowed on the virtual machine.
|
String |
computerName()
Get specifies the host OS name of the virtual machine.
|
String |
customData()
Get specifies a base-64 encoded string of custom data.
|
LinuxConfiguration |
linuxConfiguration()
Get specifies the Linux operating system settings on the virtual machine.
|
List<VaultSecretGroup> |
secrets()
Get specifies set of certificates that should be installed onto the virtual machine.
|
WindowsConfiguration |
windowsConfiguration()
Get specifies Windows operating system settings on the virtual machine.
|
OSProfile |
withAdminPassword(String adminPassword)
Set specifies the password of the administrator account.
|
OSProfile |
withAdminUsername(String adminUsername)
Set specifies the name of the administrator account.
|
OSProfile |
withAllowExtensionOperations(Boolean allowExtensionOperations)
Set specifies whether extension operations should be allowed on the virtual machine.
|
OSProfile |
withComputerName(String computerName)
Set specifies the host OS name of the virtual machine.
|
OSProfile |
withCustomData(String customData)
Set specifies a base-64 encoded string of custom data.
|
OSProfile |
withLinuxConfiguration(LinuxConfiguration linuxConfiguration)
Set specifies the Linux operating system settings on the virtual machine.
|
OSProfile |
withSecrets(List<VaultSecretGroup> secrets)
Set specifies set of certificates that should be installed onto the virtual machine.
|
OSProfile |
withWindowsConfiguration(WindowsConfiguration windowsConfiguration)
Set specifies Windows operating system settings on the virtual machine.
|
public String computerName()
public OSProfile withComputerName(String computerName)
computerName - the computerName value to setpublic String adminUsername()
public OSProfile withAdminUsername(String adminUsername)
adminUsername - the adminUsername value to setpublic String adminPassword()
public OSProfile withAdminPassword(String adminPassword)
adminPassword - the adminPassword value to setpublic String customData()
public OSProfile withCustomData(String customData)
customData - the customData value to setpublic WindowsConfiguration windowsConfiguration()
public OSProfile withWindowsConfiguration(WindowsConfiguration windowsConfiguration)
windowsConfiguration - the windowsConfiguration value to setpublic LinuxConfiguration linuxConfiguration()
public OSProfile withLinuxConfiguration(LinuxConfiguration linuxConfiguration)
linuxConfiguration - the linuxConfiguration value to setpublic List<VaultSecretGroup> secrets()
public OSProfile withSecrets(List<VaultSecretGroup> secrets)
secrets - the secrets value to setpublic Boolean allowExtensionOperations()
public OSProfile withAllowExtensionOperations(Boolean allowExtensionOperations)
allowExtensionOperations - the allowExtensionOperations value to setCopyright © 2019. All rights reserved.