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.containerservice; import com.fasterxml.jackson.annotation.JsonProperty;
Profile for Linux VMs in the container service cluster.
/** * Profile for Linux VMs in the container service cluster. */
public class ContainerServiceLinuxProfile {
The administrator username to use for Linux VMs.
/** * The administrator username to use for Linux VMs. */
@JsonProperty(value = "adminUsername", required = true) private String adminUsername;
SSH configuration for Linux-based VMs running on Azure.
/** * SSH configuration for Linux-based VMs running on Azure. */
@JsonProperty(value = "ssh", required = true) private ContainerServiceSshConfiguration ssh;
Get the administrator username to use for Linux VMs.
Returns:the adminUsername value
/** * Get the administrator username to use for Linux VMs. * * @return the adminUsername value */
public String adminUsername() { return this.adminUsername; }
Set the administrator username to use for Linux VMs.
Params:
  • adminUsername – the adminUsername value to set
Returns:the ContainerServiceLinuxProfile object itself.
/** * Set the administrator username to use for Linux VMs. * * @param adminUsername the adminUsername value to set * @return the ContainerServiceLinuxProfile object itself. */
public ContainerServiceLinuxProfile withAdminUsername(String adminUsername) { this.adminUsername = adminUsername; return this; }
Get sSH configuration for Linux-based VMs running on Azure.
Returns:the ssh value
/** * Get sSH configuration for Linux-based VMs running on Azure. * * @return the ssh value */
public ContainerServiceSshConfiguration ssh() { return this.ssh; }
Set sSH configuration for Linux-based VMs running on Azure.
Params:
  • ssh – the ssh value to set
Returns:the ContainerServiceLinuxProfile object itself.
/** * Set sSH configuration for Linux-based VMs running on Azure. * * @param ssh the ssh value to set * @return the ContainerServiceLinuxProfile object itself. */
public ContainerServiceLinuxProfile withSsh(ContainerServiceSshConfiguration ssh) { this.ssh = ssh; return this; } }