gcorelabs 0.3.63 published on Monday, Apr 14, 2025 by g-core
gcorelabs.getStorageSftpKey
Explore with Pulumi AI
Represent storage key resource. https://storage.gcorelabs.com/ssh-key/list
Using getStorageSftpKey
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getStorageSftpKey(args: GetStorageSftpKeyArgs, opts?: InvokeOptions): Promise<GetStorageSftpKeyResult>
function getStorageSftpKeyOutput(args: GetStorageSftpKeyOutputArgs, opts?: InvokeOptions): Output<GetStorageSftpKeyResult>
def get_storage_sftp_key(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetStorageSftpKeyResult
def get_storage_sftp_key_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetStorageSftpKeyResult]
func LookupStorageSftpKey(ctx *Context, args *LookupStorageSftpKeyArgs, opts ...InvokeOption) (*LookupStorageSftpKeyResult, error)
func LookupStorageSftpKeyOutput(ctx *Context, args *LookupStorageSftpKeyOutputArgs, opts ...InvokeOption) LookupStorageSftpKeyResultOutput
> Note: This function is named LookupStorageSftpKey
in the Go SDK.
public static class GetStorageSftpKey
{
public static Task<GetStorageSftpKeyResult> InvokeAsync(GetStorageSftpKeyArgs args, InvokeOptions? opts = null)
public static Output<GetStorageSftpKeyResult> Invoke(GetStorageSftpKeyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetStorageSftpKeyResult> getStorageSftpKey(GetStorageSftpKeyArgs args, InvokeOptions options)
public static Output<GetStorageSftpKeyResult> getStorageSftpKey(GetStorageSftpKeyArgs args, InvokeOptions options)
fn::invoke:
function: gcorelabs:index/getStorageSftpKey:getStorageSftpKey
arguments:
# arguments dictionary
The following arguments are supported:
getStorageSftpKey Result
The following output properties are available:
Package Details
- Repository
- gcorelabs g-core/terraform-provider-gcorelabs
- License
- Notes
- This Pulumi package is based on the
gcorelabs
Terraform Provider.