ContainerServiceLinuxProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile

public final class ContainerServiceLinuxProfile

Profile for Linux VMs in the container service cluster.

Constructor Summary

Constructor Description
ContainerServiceLinuxProfile()

Creates an instance of ContainerServiceLinuxProfile class.

Method Summary

Modifier and Type Method and Description
String adminUsername()

Get the adminUsername property: The administrator username to use for Linux VMs.

ContainerServiceSshConfiguration ssh()

Get the ssh property: The SSH configuration for Linux-based VMs running on Azure.

void validate()

Validates the instance.

ContainerServiceLinuxProfile withAdminUsername(String adminUsername)

Set the adminUsername property: The administrator username to use for Linux VMs.

ContainerServiceLinuxProfile withSsh(ContainerServiceSshConfiguration ssh)

Set the ssh property: The SSH configuration for Linux-based VMs running on Azure.

Methods inherited from java.lang.Object

Constructor Details

ContainerServiceLinuxProfile

public ContainerServiceLinuxProfile()

Creates an instance of ContainerServiceLinuxProfile class.

Method Details

adminUsername

public String adminUsername()

Get the adminUsername property: The administrator username to use for Linux VMs.

Returns:

the adminUsername value.

ssh

public ContainerServiceSshConfiguration ssh()

Get the ssh property: The SSH configuration for Linux-based VMs running on Azure.

Returns:

the ssh value.

validate

public void validate()

Validates the instance.

withAdminUsername

public ContainerServiceLinuxProfile withAdminUsername(String adminUsername)

Set the adminUsername property: The administrator username to use for Linux VMs.

Parameters:

adminUsername - the adminUsername value to set.

Returns:

the ContainerServiceLinuxProfile object itself.

withSsh

public ContainerServiceLinuxProfile withSsh(ContainerServiceSshConfiguration ssh)

Set the ssh property: The SSH configuration for Linux-based VMs running on Azure.

Parameters:

ssh - the ssh value to set.

Returns:

the ContainerServiceLinuxProfile object itself.

Applies to