{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-virtual-machines/json-schema/microsoft-azure-virtual-machines-ssh-public-key-generate-key-pair-result-schema.json",
  "title": "SshPublicKeyGenerateKeyPairResult",
  "description": "Response from generation of an SSH key pair.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-virtual-machines-sshpublickeys-api-openapi.yml#/components/schemas/SshPublicKeyGenerateKeyPairResult",
  "type": "object",
  "properties": {
    "privateKey": {
      "type": "string",
      "description": "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."
    },
    "publicKey": {
      "type": "string",
      "description": "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": {
      "type": "string",
      "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{SshPublicKeyName}"
    }
  },
  "required": [
    "privateKey",
    "publicKey",
    "id"
  ]
}