1. Packages
  2. Gcorelabs Provider
  3. API Docs
  4. getStorageSftpKey
gcorelabs 0.3.63 published on Monday, Apr 14, 2025 by g-core

gcorelabs.getStorageSftpKey

Explore with Pulumi AI

gcorelabs logo
gcorelabs 0.3.63 published on Monday, Apr 14, 2025 by g-core

    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:

    Name string
    A name of storage key resource.
    Id string
    The ID of this resource.
    Name string
    A name of storage key resource.
    Id string
    The ID of this resource.
    name String
    A name of storage key resource.
    id String
    The ID of this resource.
    name string
    A name of storage key resource.
    id string
    The ID of this resource.
    name str
    A name of storage key resource.
    id str
    The ID of this resource.
    name String
    A name of storage key resource.
    id String
    The ID of this resource.

    getStorageSftpKey Result

    The following output properties are available:

    Id string
    The ID of this resource.
    KeyId double
    An id of of storage key resource.
    Name string
    A name of storage key resource.
    Id string
    The ID of this resource.
    KeyId float64
    An id of of storage key resource.
    Name string
    A name of storage key resource.
    id String
    The ID of this resource.
    keyId Double
    An id of of storage key resource.
    name String
    A name of storage key resource.
    id string
    The ID of this resource.
    keyId number
    An id of of storage key resource.
    name string
    A name of storage key resource.
    id str
    The ID of this resource.
    key_id float
    An id of of storage key resource.
    name str
    A name of storage key resource.
    id String
    The ID of this resource.
    keyId Number
    An id of of storage key resource.
    name String
    A name of storage key resource.

    Package Details

    Repository
    gcorelabs g-core/terraform-provider-gcorelabs
    License
    Notes
    This Pulumi package is based on the gcorelabs Terraform Provider.
    gcorelabs logo
    gcorelabs 0.3.63 published on Monday, Apr 14, 2025 by g-core