Class ContainerServiceLinuxProfile
- java.lang.Object
-
- com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile
-
public final class ContainerServiceLinuxProfile extends Object
Profile for Linux VMs in the container service cluster.
-
-
Constructor Summary
Constructors Constructor Description ContainerServiceLinuxProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringadminUsername()Get the adminUsername property: The administrator username to use for Linux VMs.ContainerServiceSshConfigurationssh()Get the ssh property: The SSH configuration for Linux-based VMs running on Azure.voidvalidate()Validates the instance.ContainerServiceLinuxProfilewithAdminUsername(String adminUsername)Set the adminUsername property: The administrator username to use for Linux VMs.ContainerServiceLinuxProfilewithSsh(ContainerServiceSshConfiguration ssh)Set the ssh property: The SSH configuration for Linux-based VMs running on Azure.
-
-
-
Method Detail
-
adminUsername
public String adminUsername()
Get the adminUsername property: The administrator username to use for Linux VMs.- Returns:
- the adminUsername value.
-
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.
-
ssh
public ContainerServiceSshConfiguration ssh()
Get the ssh property: The SSH configuration for Linux-based VMs running on Azure.- Returns:
- the ssh value.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-