Class ContainerServiceLinuxProfile
java.lang.Object
com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile
Profile for Linux VMs in the container service cluster.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ContainerServiceLinuxProfile class. -
Method Summary
Modifier and TypeMethodDescriptionGet the adminUsername property: The administrator username to use for Linux VMs.ssh()Get the ssh property: The SSH configuration for Linux-based VMs running on Azure.voidvalidate()Validates the instance.withAdminUsername(String adminUsername) Set the adminUsername property: The administrator username to use for Linux VMs.Set the ssh property: The SSH configuration for Linux-based VMs running on Azure.
-
Constructor Details
-
ContainerServiceLinuxProfile
public ContainerServiceLinuxProfile()Creates an instance of ContainerServiceLinuxProfile class.
-
-
Method Details
-
adminUsername
Get the adminUsername property: The administrator username to use for Linux VMs.- Returns:
- the adminUsername value.
-
withAdminUsername
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
Get the ssh property: The SSH configuration for Linux-based VMs running on Azure.- Returns:
- the ssh value.
-
withSsh
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.
-