Skip to main content

ssh_public_keys

Overview

Namessh_public_keys
TypeResource
Idazure.compute.ssh_public_keys

Fields

NameDatatypeDescription
idstringResource Id
namestringResource name
locationstringResource location
propertiesobjectProperties of the SSH public key.
tagsobjectResource tags
typestringResource type

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, sshPublicKeyName, subscriptionIdRetrieves information about an SSH public key.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdLists all of the SSH public keys in the specified resource group. Use the nextLink property in the response to get the next page of SSH public keys.
list_by_subscriptionSELECTsubscriptionIdLists all of the SSH public keys in the subscription. Use the nextLink property in the response to get the next page of SSH public keys.
createINSERTresourceGroupName, sshPublicKeyName, subscriptionIdCreates a new SSH public key resource.
deleteDELETEresourceGroupName, sshPublicKeyName, subscriptionIdDelete an SSH public key.
_list_by_resource_groupEXECresourceGroupName, subscriptionIdLists all of the SSH public keys in the specified resource group. Use the nextLink property in the response to get the next page of SSH public keys.
_list_by_subscriptionEXECsubscriptionIdLists all of the SSH public keys in the subscription. Use the nextLink property in the response to get the next page of SSH public keys.
generate_key_pairEXECresourceGroupName, sshPublicKeyName, subscriptionIdGenerates and returns a public/private key pair and populates the SSH public key resource with the public key. The length of the key will be 3072 bits. This operation can only be performed once per SSH public key resource.
updateEXECresourceGroupName, sshPublicKeyName, subscriptionIdUpdates a new SSH public key resource.