Package version:

Interface SshPublicKeyResource

Specifies information about the SSH public key.

interface SshPublicKeyResource {
    id?: string;
    location: string;
    name?: string;
    publicKey?: string;
    tags?: {
        [propertyName: string]: string;
    };
    type?: string;
}

Hierarchy (view full)

Properties

id?: string

Resource Id NOTE: This property will not be serialized. It can only be populated by the server.

location: string

Resource location

name?: string

Resource name NOTE: This property will not be serialized. It can only be populated by the server.

publicKey?: string

SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format.

tags?: {
    [propertyName: string]: string;
}

Resource tags

type?: string

Resource type NOTE: This property will not be serialized. It can only be populated by the server.