SshPublicKeyGenerateKeyPairResult Class
Response from generation of an SSH key pair.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
SshPublicKeyGenerateKeyPairResult
Constructor
SshPublicKeyGenerateKeyPairResult(*, private_key: str, public_key: str, id: str, **kwargs)
Parameters
- private_key
- str
Required. Private key portion of the key pair used to authenticate to a virtual machine through ssh. The private key is returned in RFC3447 format and should be treated as a secret.
- public_key
- str
Required. Public key portion of the key pair used to authenticate to a virtual machine through ssh. The public key is in ssh-rsa format.
- id
- str
Required. The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{SshPublicKeyName}.
Feedback
Submit and view feedback for