class Azure::Compute::Mgmt::V2019_12_01::Models::SshPublicKeyGenerateKeyPairResult
Response from generation of an SSH key pair.
Attributes
id[RW]
@return [String] The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{SshPublicKeyName}
private_key[RW]
@return [String] 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[RW]
@return [String] Public key portion of the key pair used to authenticate to a virtual machine through ssh. The public key is in ssh-rsa format.
Public Class Methods
mapper()
click to toggle source
Mapper for SshPublicKeyGenerateKeyPairResult
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-12-01/generated/azure_mgmt_compute/models/ssh_public_key_generate_key_pair_result.rb, line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SshPublicKeyGenerateKeyPairResult', type: { name: 'Composite', class_name: 'SshPublicKeyGenerateKeyPairResult', model_properties: { private_key: { client_side_validation: true, required: true, serialized_name: 'privateKey', type: { name: 'String' } }, public_key: { client_side_validation: true, required: true, serialized_name: 'publicKey', type: { name: 'String' } }, id: { client_side_validation: true, required: true, serialized_name: 'id', type: { name: 'String' } } } } } end