Viewing docs for gcore 2.0.0-alpha.8
published on Wednesday, May 20, 2026 by g-core
published on Wednesday, May 20, 2026 by g-core
Viewing docs for gcore 2.0.0-alpha.8
published on Wednesday, May 20, 2026 by g-core
published on Wednesday, May 20, 2026 by g-core
SFTP storages provide file transfer protocol access for securely uploading, downloading, and managing files over SSH.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcore from "@pulumi/gcore";
const exampleStorageSftp = gcore.getStorageSftp({
storageId: 0,
});
import pulumi
import pulumi_gcore as gcore
example_storage_sftp = gcore.get_storage_sftp(storage_id=0)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/v2/gcore"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := gcore.LookupStorageSftp(ctx, &gcore.LookupStorageSftpArgs{
StorageId: pulumi.Float64Ref(0),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcore = Pulumi.Gcore;
return await Deployment.RunAsync(() =>
{
var exampleStorageSftp = Gcore.GetStorageSftp.Invoke(new()
{
StorageId = 0,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcore.GcoreFunctions;
import com.pulumi.gcore.inputs.GetStorageSftpArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var exampleStorageSftp = GcoreFunctions.getStorageSftp(GetStorageSftpArgs.builder()
.storageId(0)
.build());
}
}
variables:
exampleStorageSftp:
fn::invoke:
function: gcore:getStorageSftp
arguments:
storageId: 0
Example coming soon!
Using getStorageSftp
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 getStorageSftp(args: GetStorageSftpArgs, opts?: InvokeOptions): Promise<GetStorageSftpResult>
function getStorageSftpOutput(args: GetStorageSftpOutputArgs, opts?: InvokeOptions): Output<GetStorageSftpResult>def get_storage_sftp(find_one_by: Optional[GetStorageSftpFindOneBy] = None,
storage_id: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetStorageSftpResult
def get_storage_sftp_output(find_one_by: pulumi.Input[Optional[GetStorageSftpFindOneByArgs]] = None,
storage_id: pulumi.Input[Optional[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetStorageSftpResult]func LookupStorageSftp(ctx *Context, args *LookupStorageSftpArgs, opts ...InvokeOption) (*LookupStorageSftpResult, error)
func LookupStorageSftpOutput(ctx *Context, args *LookupStorageSftpOutputArgs, opts ...InvokeOption) LookupStorageSftpResultOutput> Note: This function is named LookupStorageSftp in the Go SDK.
public static class GetStorageSftp
{
public static Task<GetStorageSftpResult> InvokeAsync(GetStorageSftpArgs args, InvokeOptions? opts = null)
public static Output<GetStorageSftpResult> Invoke(GetStorageSftpInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetStorageSftpResult> getStorageSftp(GetStorageSftpArgs args, InvokeOptions options)
public static Output<GetStorageSftpResult> getStorageSftp(GetStorageSftpArgs args, InvokeOptions options)
fn::invoke:
function: gcore:index/getStorageSftp:getStorageSftp
arguments:
# arguments dictionarydata "gcore_getstoragesftp" "name" {
# arguments
}The following arguments are supported:
- find_
one_ objectby - storage_
id number
- find
One Property MapBy - storage
Id Number
getStorageSftp Result
The following output properties are available:
- Address string
- Full hostname/address for accessing the storage endpoint
- Created
At string - ISO 8601 timestamp when the storage was created
- Expires string
- Duration when the storage will expire. Null if no expiration is set.
- Full
Name string - Read-only internal full name of the storage, composed as "{
client_id}-{name}". Used by the SFTP backend as the login username. Clients should use this value when connecting but should continue to identify the storage bynamein their own configuration. - Has
Custom boolConfig File - Whether this storage uses a custom configuration file
- Has
Password bool - Whether password authentication is configured for this storage
- Id double
- The ID of this resource.
- Is
Http boolDisabled - Whether HTTP access is disabled for this storage (HTTPS only)
- Location
Name string - Geographic location code where the storage is provisioned
- Name string
- User-defined name for the storage instance, as supplied at creation time.
- Password string
- SFTP password. Only returned when newly generated or set (create/patch). Omitted in GET/list responses.
- Provisioning
Status string - Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
- Server
Alias string - Custom domain alias for accessing the storage. Null if no alias is configured.
- Ssh
Key List<double>Ids - IDs of SSH keys associated with this SFTP storage
- Find
One GetBy Storage Sftp Find One By - Storage
Id double
- Address string
- Full hostname/address for accessing the storage endpoint
- Created
At string - ISO 8601 timestamp when the storage was created
- Expires string
- Duration when the storage will expire. Null if no expiration is set.
- Full
Name string - Read-only internal full name of the storage, composed as "{
client_id}-{name}". Used by the SFTP backend as the login username. Clients should use this value when connecting but should continue to identify the storage bynamein their own configuration. - Has
Custom boolConfig File - Whether this storage uses a custom configuration file
- Has
Password bool - Whether password authentication is configured for this storage
- Id float64
- The ID of this resource.
- Is
Http boolDisabled - Whether HTTP access is disabled for this storage (HTTPS only)
- Location
Name string - Geographic location code where the storage is provisioned
- Name string
- User-defined name for the storage instance, as supplied at creation time.
- Password string
- SFTP password. Only returned when newly generated or set (create/patch). Omitted in GET/list responses.
- Provisioning
Status string - Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
- Server
Alias string - Custom domain alias for accessing the storage. Null if no alias is configured.
- Ssh
Key []float64Ids - IDs of SSH keys associated with this SFTP storage
- Find
One GetBy Storage Sftp Find One By - Storage
Id float64
- address string
- Full hostname/address for accessing the storage endpoint
- created_
at string - ISO 8601 timestamp when the storage was created
- expires string
- Duration when the storage will expire. Null if no expiration is set.
- full_
name string - Read-only internal full name of the storage, composed as "{
client_id}-{name}". Used by the SFTP backend as the login username. Clients should use this value when connecting but should continue to identify the storage bynamein their own configuration. - has_
custom_ boolconfig_ file - Whether this storage uses a custom configuration file
- has_
password bool - Whether password authentication is configured for this storage
- id number
- The ID of this resource.
- is_
http_ booldisabled - Whether HTTP access is disabled for this storage (HTTPS only)
- location_
name string - Geographic location code where the storage is provisioned
- name string
- User-defined name for the storage instance, as supplied at creation time.
- password string
- SFTP password. Only returned when newly generated or set (create/patch). Omitted in GET/list responses.
- provisioning_
status string - Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
- server_
alias string - Custom domain alias for accessing the storage. Null if no alias is configured.
- ssh_
key_ list(number)ids - IDs of SSH keys associated with this SFTP storage
- find_
one_ objectby - storage_
id number
- address String
- Full hostname/address for accessing the storage endpoint
- created
At String - ISO 8601 timestamp when the storage was created
- expires String
- Duration when the storage will expire. Null if no expiration is set.
- full
Name String - Read-only internal full name of the storage, composed as "{
client_id}-{name}". Used by the SFTP backend as the login username. Clients should use this value when connecting but should continue to identify the storage bynamein their own configuration. - has
Custom BooleanConfig File - Whether this storage uses a custom configuration file
- has
Password Boolean - Whether password authentication is configured for this storage
- id Double
- The ID of this resource.
- is
Http BooleanDisabled - Whether HTTP access is disabled for this storage (HTTPS only)
- location
Name String - Geographic location code where the storage is provisioned
- name String
- User-defined name for the storage instance, as supplied at creation time.
- password String
- SFTP password. Only returned when newly generated or set (create/patch). Omitted in GET/list responses.
- provisioning
Status String - Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
- server
Alias String - Custom domain alias for accessing the storage. Null if no alias is configured.
- ssh
Key List<Double>Ids - IDs of SSH keys associated with this SFTP storage
- find
One GetBy Storage Sftp Find One By - storage
Id Double
- address string
- Full hostname/address for accessing the storage endpoint
- created
At string - ISO 8601 timestamp when the storage was created
- expires string
- Duration when the storage will expire. Null if no expiration is set.
- full
Name string - Read-only internal full name of the storage, composed as "{
client_id}-{name}". Used by the SFTP backend as the login username. Clients should use this value when connecting but should continue to identify the storage bynamein their own configuration. - has
Custom booleanConfig File - Whether this storage uses a custom configuration file
- has
Password boolean - Whether password authentication is configured for this storage
- id number
- The ID of this resource.
- is
Http booleanDisabled - Whether HTTP access is disabled for this storage (HTTPS only)
- location
Name string - Geographic location code where the storage is provisioned
- name string
- User-defined name for the storage instance, as supplied at creation time.
- password string
- SFTP password. Only returned when newly generated or set (create/patch). Omitted in GET/list responses.
- provisioning
Status string - Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
- server
Alias string - Custom domain alias for accessing the storage. Null if no alias is configured.
- ssh
Key number[]Ids - IDs of SSH keys associated with this SFTP storage
- find
One GetBy Storage Sftp Find One By - storage
Id number
- address str
- Full hostname/address for accessing the storage endpoint
- created_
at str - ISO 8601 timestamp when the storage was created
- expires str
- Duration when the storage will expire. Null if no expiration is set.
- full_
name str - Read-only internal full name of the storage, composed as "{
client_id}-{name}". Used by the SFTP backend as the login username. Clients should use this value when connecting but should continue to identify the storage bynamein their own configuration. - has_
custom_ boolconfig_ file - Whether this storage uses a custom configuration file
- has_
password bool - Whether password authentication is configured for this storage
- id float
- The ID of this resource.
- is_
http_ booldisabled - Whether HTTP access is disabled for this storage (HTTPS only)
- location_
name str - Geographic location code where the storage is provisioned
- name str
- User-defined name for the storage instance, as supplied at creation time.
- password str
- SFTP password. Only returned when newly generated or set (create/patch). Omitted in GET/list responses.
- provisioning_
status str - Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
- server_
alias str - Custom domain alias for accessing the storage. Null if no alias is configured.
- ssh_
key_ Sequence[float]ids - IDs of SSH keys associated with this SFTP storage
- find_
one_ Getby Storage Sftp Find One By - storage_
id float
- address String
- Full hostname/address for accessing the storage endpoint
- created
At String - ISO 8601 timestamp when the storage was created
- expires String
- Duration when the storage will expire. Null if no expiration is set.
- full
Name String - Read-only internal full name of the storage, composed as "{
client_id}-{name}". Used by the SFTP backend as the login username. Clients should use this value when connecting but should continue to identify the storage bynamein their own configuration. - has
Custom BooleanConfig File - Whether this storage uses a custom configuration file
- has
Password Boolean - Whether password authentication is configured for this storage
- id Number
- The ID of this resource.
- is
Http BooleanDisabled - Whether HTTP access is disabled for this storage (HTTPS only)
- location
Name String - Geographic location code where the storage is provisioned
- name String
- User-defined name for the storage instance, as supplied at creation time.
- password String
- SFTP password. Only returned when newly generated or set (create/patch). Omitted in GET/list responses.
- provisioning
Status String - Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
- server
Alias String - Custom domain alias for accessing the storage. Null if no alias is configured.
- ssh
Key List<Number>Ids - IDs of SSH keys associated with this SFTP storage
- find
One Property MapBy - storage
Id Number
Supporting Types
GetStorageSftpFindOneBy
- Order
By string - Id string
- Filter by storage ID
- Location
Name string - Filter by storage location/region
- Name string
- Filter by storage name
- Provisioning
Status string - Filter by provisioning status Available values: "active", "creating", "updating", "deleting", "deleted".
- Show
Deleted bool - Include deleted storages
- Order
By string - Id string
- Filter by storage ID
- Location
Name string - Filter by storage location/region
- Name string
- Filter by storage name
- Provisioning
Status string - Filter by provisioning status Available values: "active", "creating", "updating", "deleting", "deleted".
- Show
Deleted bool - Include deleted storages
- order_
by string - id string
- Filter by storage ID
- location_
name string - Filter by storage location/region
- name string
- Filter by storage name
- provisioning_
status string - Filter by provisioning status Available values: "active", "creating", "updating", "deleting", "deleted".
- show_
deleted bool - Include deleted storages
- order
By String - id String
- Filter by storage ID
- location
Name String - Filter by storage location/region
- name String
- Filter by storage name
- provisioning
Status String - Filter by provisioning status Available values: "active", "creating", "updating", "deleting", "deleted".
- show
Deleted Boolean - Include deleted storages
- order
By string - id string
- Filter by storage ID
- location
Name string - Filter by storage location/region
- name string
- Filter by storage name
- provisioning
Status string - Filter by provisioning status Available values: "active", "creating", "updating", "deleting", "deleted".
- show
Deleted boolean - Include deleted storages
- order_
by str - id str
- Filter by storage ID
- location_
name str - Filter by storage location/region
- name str
- Filter by storage name
- provisioning_
status str - Filter by provisioning status Available values: "active", "creating", "updating", "deleting", "deleted".
- show_
deleted bool - Include deleted storages
- order
By String - id String
- Filter by storage ID
- location
Name String - Filter by storage location/region
- name String
- Filter by storage name
- provisioning
Status String - Filter by provisioning status Available values: "active", "creating", "updating", "deleting", "deleted".
- show
Deleted Boolean - Include deleted storages
Package Details
- Repository
- gcore g-core/terraform-provider-gcore
- License
- Notes
- This Pulumi package is based on the
gcoreTerraform Provider.
Viewing docs for gcore 2.0.0-alpha.8
published on Wednesday, May 20, 2026 by g-core
published on Wednesday, May 20, 2026 by g-core