你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SshPublicKeyGenerateKeyPairResult interface
Response from generation of an SSH key pair.
Properties
id | The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{SshPublicKeyName} |
private |
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 |
Public key portion of the key pair used to authenticate to a virtual machine through ssh. The public key is in ssh-rsa format. |
Property Details
id
The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{SshPublicKeyName}
id: string
Property Value
string
privateKey
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.
privateKey: string
Property Value
string
publicKey
Public key portion of the key pair used to authenticate to a virtual machine through ssh. The public key is in ssh-rsa format.
publicKey: string
Property Value
string