Expand description
Manages a SSH Public Key.
§Example Usage
resources:
example:
type: azure:compute:SshPublicKey
properties:
name: example
resourceGroupName: example
location: West Europe
publicKey:
fn::invoke:
function: std:file
arguments:
input: ~/.ssh/id_rsa.pub
return: result
§Import
SSH Public Keys can be imported using the resource id
, e.g.
$ pulumi import azure:compute/sshPublicKey:SshPublicKey example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Compute/sshPublicKeys/mySshPublicKeyName1
Structs§
- Use builder syntax to set the inputs and finish with
build_struct()
.
Functions§
- Registers a new resource with the given unique name and arguments