SshPublicKeyUpdateResource Class

Specifies information about the SSH public key.

Inheritance
azure.mgmt.compute.v2021_04_01.models._models_py3.UpdateResource
SshPublicKeyUpdateResource

Constructor

SshPublicKeyUpdateResource(*, tags: Optional[Dict[str, str]] = None, public_key: Optional[str] = None, **kwargs)

Parameters

tags
dict[str, str]
Required

A set of tags. Resource tags.

public_key
str
Required

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.