Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.compute; import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty;
Describes a virtual machine scale set OS profile.
/** * Describes a virtual machine scale set OS profile. */
public class VirtualMachineScaleSetUpdateOSProfile {
A base-64 encoded string of custom data.
/** * A base-64 encoded string of custom data. */
@JsonProperty(value = "customData") private String customData;
The Windows Configuration of the OS profile.
/** * The Windows Configuration of the OS profile. */
@JsonProperty(value = "windowsConfiguration") private WindowsConfiguration windowsConfiguration;
The Linux Configuration of the OS profile.
/** * The Linux Configuration of the OS profile. */
@JsonProperty(value = "linuxConfiguration") private LinuxConfiguration linuxConfiguration;
The List of certificates for addition to the VM.
/** * The List of certificates for addition to the VM. */
@JsonProperty(value = "secrets") private List<VaultSecretGroup> secrets;
Get a base-64 encoded string of custom data.
Returns:the customData value
/** * Get a base-64 encoded string of custom data. * * @return the customData value */
public String customData() { return this.customData; }
Set a base-64 encoded string of custom data.
Params:
  • customData – the customData value to set
Returns:the VirtualMachineScaleSetUpdateOSProfile object itself.
/** * Set a base-64 encoded string of custom data. * * @param customData the customData value to set * @return the VirtualMachineScaleSetUpdateOSProfile object itself. */
public VirtualMachineScaleSetUpdateOSProfile withCustomData(String customData) { this.customData = customData; return this; }
Get the Windows Configuration of the OS profile.
Returns:the windowsConfiguration value
/** * Get the Windows Configuration of the OS profile. * * @return the windowsConfiguration value */
public WindowsConfiguration windowsConfiguration() { return this.windowsConfiguration; }
Set the Windows Configuration of the OS profile.
Params:
  • windowsConfiguration – the windowsConfiguration value to set
Returns:the VirtualMachineScaleSetUpdateOSProfile object itself.
/** * Set the Windows Configuration of the OS profile. * * @param windowsConfiguration the windowsConfiguration value to set * @return the VirtualMachineScaleSetUpdateOSProfile object itself. */
public VirtualMachineScaleSetUpdateOSProfile withWindowsConfiguration(WindowsConfiguration windowsConfiguration) { this.windowsConfiguration = windowsConfiguration; return this; }
Get the Linux Configuration of the OS profile.
Returns:the linuxConfiguration value
/** * Get the Linux Configuration of the OS profile. * * @return the linuxConfiguration value */
public LinuxConfiguration linuxConfiguration() { return this.linuxConfiguration; }
Set the Linux Configuration of the OS profile.
Params:
  • linuxConfiguration – the linuxConfiguration value to set
Returns:the VirtualMachineScaleSetUpdateOSProfile object itself.
/** * Set the Linux Configuration of the OS profile. * * @param linuxConfiguration the linuxConfiguration value to set * @return the VirtualMachineScaleSetUpdateOSProfile object itself. */
public VirtualMachineScaleSetUpdateOSProfile withLinuxConfiguration(LinuxConfiguration linuxConfiguration) { this.linuxConfiguration = linuxConfiguration; return this; }
Get the List of certificates for addition to the VM.
Returns:the secrets value
/** * Get the List of certificates for addition to the VM. * * @return the secrets value */
public List<VaultSecretGroup> secrets() { return this.secrets; }
Set the List of certificates for addition to the VM.
Params:
  • secrets – the secrets value to set
Returns:the VirtualMachineScaleSetUpdateOSProfile object itself.
/** * Set the List of certificates for addition to the VM. * * @param secrets the secrets value to set * @return the VirtualMachineScaleSetUpdateOSProfile object itself. */
public VirtualMachineScaleSetUpdateOSProfile withSecrets(List<VaultSecretGroup> secrets) { this.secrets = secrets; return this; } }