Class GetSshKey
Inheritance
System.Object
GetSshKey
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Linode
Assembly: Pulumi.Linode.dll
Syntax
public static class GetSshKey
Methods
View SourceInvokeAsync(GetSshKeyArgs, InvokeOptions)
linode..SshKey provides access to a specifically labeled SSH Key in the Profile of the User identified by the access token.
{{% examples %}}
Example Usage
{{% example %}}
The following example shows how the resource might be used to obtain the name of the SSH Key configured on the Linode user profile.
using Pulumi;
using Linode = Pulumi.Linode;
class MyStack : Stack
{
public MyStack()
{
var foo = Output.Create(Linode.GetSshKey.InvokeAsync(new Linode.GetSshKeyArgs
{
Label = "foo",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetSshKeyResult> InvokeAsync(GetSshKeyArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetSshKeyArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetSshKeyResult> |