ContainerServiceLinuxProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ContainerServiceLinuxProfile
- com.
Implements
public final class ContainerServiceLinuxProfile
implements JsonSerializable<ContainerServiceLinuxProfile>
Profile for Linux VMs in the container service cluster.
Constructor Summary
Constructor | Description |
---|---|
ContainerServiceLinuxProfile() |
Creates an instance of Container |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
adminUsername()
Get the admin |
static
Container |
fromJson(JsonReader jsonReader)
Reads an instance of Container |
Container |
ssh()
Get the ssh property: The SSH configuration for Linux-based VMs running on Azure. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Container |
withAdminUsername(String adminUsername)
Set the admin |
Container |
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:
fromJson
public static ContainerServiceLinuxProfile fromJson(JsonReader jsonReader)
Reads an instance of ContainerServiceLinuxProfile from the JsonReader.
Parameters:
Returns:
Throws:
ssh
public ContainerServiceSshConfiguration ssh()
Get the ssh property: The SSH configuration for Linux-based VMs running on Azure.
Returns:
toJson
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:
Returns:
withSsh
public ContainerServiceLinuxProfile withSsh(ContainerServiceSshConfiguration ssh)
Set the ssh property: The SSH configuration for Linux-based VMs running on Azure.
Parameters:
Returns:
Applies to
Azure SDK for Java