SshConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. SshConfiguration
- com.
Implements
public final class SshConfiguration
implements JsonSerializable<SshConfiguration>
SSH configuration for Linux based VMs running on Azure.
Constructor Summary
| Constructor | Description |
|---|---|
| SshConfiguration() |
Creates an instance of Ssh |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Ssh |
fromJson(JsonReader jsonReader)
Reads an instance of Ssh |
|
List<Ssh |
publicKeys()
Get the public |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Ssh |
withPublicKeys(List<SshPublicKey> publicKeys)
Set the public |
Methods inherited from java.lang.Object
Constructor Details
SshConfiguration
public SshConfiguration()
Creates an instance of SshConfiguration class.
Method Details
fromJson
public static SshConfiguration fromJson(JsonReader jsonReader)
Reads an instance of SshConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
publicKeys
public List<SshPublicKey> publicKeys()
Get the publicKeys property: The list of SSH public keys used to authenticate with linux based VMs.
Returns:
toJson
validate
public void validate()
Validates the instance.
withPublicKeys
public SshConfiguration withPublicKeys(List<SshPublicKey> publicKeys)
Set the publicKeys property: The list of SSH public keys used to authenticate with linux based VMs.
Parameters:
Returns: