ContainerServiceSshConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ContainerServiceSshConfiguration
- com.
Implements
public final class ContainerServiceSshConfiguration
implements JsonSerializable<ContainerServiceSshConfiguration>
SSH configuration for Linux-based VMs running on Azure.
Constructor Summary
Constructor | Description |
---|---|
ContainerServiceSshConfiguration() |
Creates an instance of Container |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Container |
fromJson(JsonReader jsonReader)
Reads an instance of Container |
List<Container |
publicKeys()
Get the public |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Container |
withPublicKeys(List<ContainerServiceSshPublicKey> publicKeys)
Set the public |
Methods inherited from java.lang.Object
Constructor Details
ContainerServiceSshConfiguration
public ContainerServiceSshConfiguration()
Creates an instance of ContainerServiceSshConfiguration class.
Method Details
fromJson
public static ContainerServiceSshConfiguration fromJson(JsonReader jsonReader)
Reads an instance of ContainerServiceSshConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
publicKeys
public List
Get the publicKeys property: The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified.
Returns:
toJson
validate
public void validate()
Validates the instance.
withPublicKeys
public ContainerServiceSshConfiguration withPublicKeys(List
Set the publicKeys property: The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified.
Parameters:
Returns:
Applies to
Azure SDK for Java