AdministratorConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. models. AdministratorConfiguration
- com.
Implements
public final class AdministratorConfiguration
implements JsonSerializable<AdministratorConfiguration>
AdministratorConfiguration represents the administrative credentials that will be applied to the control plane and agent pool nodes in Kubernetes clusters.
Constructor Summary
| Constructor | Description |
|---|---|
| AdministratorConfiguration() |
Creates an instance of Administrator |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
adminUsername()
Get the admin |
|
static
Administrator |
fromJson(JsonReader jsonReader)
Reads an instance of Administrator |
|
List<Ssh |
sshPublicKeys()
Get the ssh |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Administrator |
withAdminUsername(String adminUsername)
Set the admin |
|
Administrator |
withSshPublicKeys(List<SshPublicKey> sshPublicKeys)
Set the ssh |
Methods inherited from java.lang.Object
Constructor Details
AdministratorConfiguration
public AdministratorConfiguration()
Creates an instance of AdministratorConfiguration class.
Method Details
adminUsername
public String adminUsername()
Get the adminUsername property: The user name for the administrator that will be applied to the operating systems that run Kubernetes nodes. If not supplied, a user name will be chosen by the service.
Returns:
fromJson
public static AdministratorConfiguration fromJson(JsonReader jsonReader)
Reads an instance of AdministratorConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
sshPublicKeys
public List<SshPublicKey> sshPublicKeys()
Get the sshPublicKeys property: The SSH configuration for the operating systems that run the nodes in the Kubernetes cluster. In some cases, specification of public keys may be required to produce a working environment.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdminUsername
public AdministratorConfiguration withAdminUsername(String adminUsername)
Set the adminUsername property: The user name for the administrator that will be applied to the operating systems that run Kubernetes nodes. If not supplied, a user name will be chosen by the service.
Parameters:
Returns:
withSshPublicKeys
public AdministratorConfiguration withSshPublicKeys(List<SshPublicKey> sshPublicKeys)
Set the sshPublicKeys property: The SSH configuration for the operating systems that run the nodes in the Kubernetes cluster. In some cases, specification of public keys may be required to produce a working environment.
Parameters:
Returns: