public final class VirtualMachineScaleSetUpdateOSProfile extends Object
Constructor and Description |
---|
VirtualMachineScaleSetUpdateOSProfile() |
Modifier and Type | Method and Description |
---|---|
String |
customData()
Get the customData property: A base-64 encoded string of custom data.
|
LinuxConfiguration |
linuxConfiguration()
Get the linuxConfiguration property: The Linux Configuration of the OS profile.
|
List<VaultSecretGroup> |
secrets()
Get the secrets property: The List of certificates for addition to the VM.
|
void |
validate()
Validates the instance.
|
WindowsConfiguration |
windowsConfiguration()
Get the windowsConfiguration property: The Windows Configuration of the OS profile.
|
VirtualMachineScaleSetUpdateOSProfile |
withCustomData(String customData)
Set the customData property: A base-64 encoded string of custom data.
|
VirtualMachineScaleSetUpdateOSProfile |
withLinuxConfiguration(LinuxConfiguration linuxConfiguration)
Set the linuxConfiguration property: The Linux Configuration of the OS profile.
|
VirtualMachineScaleSetUpdateOSProfile |
withSecrets(List<VaultSecretGroup> secrets)
Set the secrets property: The List of certificates for addition to the VM.
|
VirtualMachineScaleSetUpdateOSProfile |
withWindowsConfiguration(WindowsConfiguration windowsConfiguration)
Set the windowsConfiguration property: The Windows Configuration of the OS profile.
|
public VirtualMachineScaleSetUpdateOSProfile()
public String customData()
public VirtualMachineScaleSetUpdateOSProfile withCustomData(String customData)
customData
- the customData value to set.public WindowsConfiguration windowsConfiguration()
public VirtualMachineScaleSetUpdateOSProfile withWindowsConfiguration(WindowsConfiguration windowsConfiguration)
windowsConfiguration
- the windowsConfiguration value to set.public LinuxConfiguration linuxConfiguration()
public VirtualMachineScaleSetUpdateOSProfile withLinuxConfiguration(LinuxConfiguration linuxConfiguration)
linuxConfiguration
- the linuxConfiguration value to set.public List<VaultSecretGroup> secrets()
public VirtualMachineScaleSetUpdateOSProfile 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.