SshPublicKeyGenerateKeyPairResult Class
Response from generation of an SSH key pair.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.compute._serialization.ModelSshPublicKeyGenerateKeyPairResult
Constructor
SshPublicKeyGenerateKeyPairResult(*, private_key: str, public_key: str, id: str, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
private_key
|
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. Required. |
public_key
|
Public key portion of the key pair used to authenticate to a virtual machine through ssh. The public key is in ssh-rsa format. Required. |
id
|
The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{SshPublicKeyName}. # pylint: disable=line-too-long Required. |
Variables
Name | Description |
---|---|
private_key
|
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. Required. |
public_key
|
Public key portion of the key pair used to authenticate to a virtual machine through ssh. The public key is in ssh-rsa format. Required. |
id
|
The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{SshPublicKeyName}. # pylint: disable=line-too-long Required. |
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應