SshGenerateKeyPairInputParameters Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. SshGenerateKeyPairInputParameters
- com.
Implements
public final class SshGenerateKeyPairInputParameters
implements JsonSerializable<SshGenerateKeyPairInputParameters>
Parameters for GenerateSshKeyPair.
Constructor Summary
| Constructor | Description |
|---|---|
| SshGenerateKeyPairInputParameters() |
Creates an instance of Ssh |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Ssh |
encryptionType()
Get the encryption |
|
static
Ssh |
fromJson(JsonReader jsonReader)
Reads an instance of Ssh |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Ssh |
withEncryptionType(SshEncryptionTypes encryptionType)
Set the encryption |
Methods inherited from java.lang.Object
Constructor Details
SshGenerateKeyPairInputParameters
public SshGenerateKeyPairInputParameters()
Creates an instance of SshGenerateKeyPairInputParameters class.
Method Details
encryptionType
public SshEncryptionTypes encryptionType()
Get the encryptionType property: The encryption type of the SSH keys to be generated. See SshEncryptionTypes for possible set of values. If not provided, will default to RSA.
Returns:
fromJson
public static SshGenerateKeyPairInputParameters fromJson(JsonReader jsonReader)
Reads an instance of SshGenerateKeyPairInputParameters from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withEncryptionType
public SshGenerateKeyPairInputParameters withEncryptionType(SshEncryptionTypes encryptionType)
Set the encryptionType property: The encryption type of the SSH keys to be generated. See SshEncryptionTypes for possible set of values. If not provided, will default to RSA.
Parameters:
Returns: