Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud
published on Monday, Aug 17, 2026 by stackitcloud
Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud
published on Monday, Aug 17, 2026 by stackitcloud
Postgres Flex instance data source schema. Must have a region specified in the provider configuration.
Example Usage
data "stackit_postgresflex_instance" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Using getPostgresflexInstance
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 getPostgresflexInstance(args: GetPostgresflexInstanceArgs, opts?: InvokeOptions): Promise<GetPostgresflexInstanceResult>
function getPostgresflexInstanceOutput(args: GetPostgresflexInstanceOutputArgs, opts?: InvokeOutputOptions): Output<GetPostgresflexInstanceResult>def get_postgresflex_instance(instance_id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPostgresflexInstanceResult
def get_postgresflex_instance_output(instance_id: pulumi.Input[Optional[str]] = None,
project_id: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetPostgresflexInstanceResult]func LookupPostgresflexInstance(ctx *Context, args *LookupPostgresflexInstanceArgs, opts ...InvokeOption) (*LookupPostgresflexInstanceResult, error)
func LookupPostgresflexInstanceOutput(ctx *Context, args *LookupPostgresflexInstanceOutputArgs, opts ...InvokeOption) LookupPostgresflexInstanceResultOutput> Note: This function is named LookupPostgresflexInstance in the Go SDK.
public static class GetPostgresflexInstance
{
public static Task<GetPostgresflexInstanceResult> InvokeAsync(GetPostgresflexInstanceArgs args, InvokeOptions? opts = null)
public static Output<GetPostgresflexInstanceResult> Invoke(GetPostgresflexInstanceInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetPostgresflexInstanceResult> Invoke(GetPostgresflexInstanceInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetPostgresflexInstanceResult> getPostgresflexInstance(GetPostgresflexInstanceArgs args, InvokeOptions options)
public static Output<GetPostgresflexInstanceResult> getPostgresflexInstance(GetPostgresflexInstanceArgs args, InvokeOptions options)
public static Output<GetPostgresflexInstanceResult> getPostgresflexInstance(GetPostgresflexInstanceArgs args, InvokeOutputOptions options)
fn::invoke:
function: stackit:index/getPostgresflexInstance:getPostgresflexInstance
arguments:
# arguments dictionarydata "stackit_get_postgresflex_instance" "name" {
# arguments
}The following arguments are supported:
- Instance
Id string - ID of the PostgresFlex instance.
- Project
Id string - STACKIT project ID to which the instance is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Instance
Id string - ID of the PostgresFlex instance.
- Project
Id string - STACKIT project ID to which the instance is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- instance_
id string - ID of the PostgresFlex instance.
- project_
id string - STACKIT project ID to which the instance is associated.
- region string
- The resource region. If not defined, the provider region is used.
- instance
Id String - ID of the PostgresFlex instance.
- project
Id String - STACKIT project ID to which the instance is associated.
- region String
- The resource region. If not defined, the provider region is used.
- instance
Id string - ID of the PostgresFlex instance.
- project
Id string - STACKIT project ID to which the instance is associated.
- region string
- The resource region. If not defined, the provider region is used.
- instance_
id str - ID of the PostgresFlex instance.
- project_
id str - STACKIT project ID to which the instance is associated.
- region str
- The resource region. If not defined, the provider region is used.
- instance
Id String - ID of the PostgresFlex instance.
- project
Id String - STACKIT project ID to which the instance is associated.
- region String
- The resource region. If not defined, the provider region is used.
getPostgresflexInstance Result
The following output properties are available:
- Acls List<string>
- The Access Control List (ACL) for the PostgresFlex instance.
- Backup
Schedule string - The schedule for on what time and how often the database backup will be created. Must be a valid cron expression using numeric minute and hour values, e.g: '0 2 * * *'.
- Connection
Info GetPostgresflex Instance Connection Info - The connection info for the PostgresFlex instance.
- Encryption
Get
Postgresflex Instance Encryption - Flavor
Get
Postgresflex Instance Flavor - Flavor
Id string - Id string
- Terraform's internal data source. ID. It is structured as "
projectId,region,instanceId". - Instance
Id string - ID of the PostgresFlex instance.
- Name string
- Instance name.
- Network
Get
Postgresflex Instance Network - Project
Id string - STACKIT project ID to which the instance is associated.
- Replicas int
- Retention
Days int - Storage
Get
Postgresflex Instance Storage - Version string
- Region string
- The resource region. If not defined, the provider region is used.
- Acls []string
- The Access Control List (ACL) for the PostgresFlex instance.
- Backup
Schedule string - The schedule for on what time and how often the database backup will be created. Must be a valid cron expression using numeric minute and hour values, e.g: '0 2 * * *'.
- Connection
Info GetPostgresflex Instance Connection Info - The connection info for the PostgresFlex instance.
- Encryption
Get
Postgresflex Instance Encryption - Flavor
Get
Postgresflex Instance Flavor - Flavor
Id string - Id string
- Terraform's internal data source. ID. It is structured as "
projectId,region,instanceId". - Instance
Id string - ID of the PostgresFlex instance.
- Name string
- Instance name.
- Network
Get
Postgresflex Instance Network - Project
Id string - STACKIT project ID to which the instance is associated.
- Replicas int
- Retention
Days int - Storage
Get
Postgresflex Instance Storage - Version string
- Region string
- The resource region. If not defined, the provider region is used.
- acls list(string)
- The Access Control List (ACL) for the PostgresFlex instance.
- backup_
schedule string - The schedule for on what time and how often the database backup will be created. Must be a valid cron expression using numeric minute and hour values, e.g: '0 2 * * *'.
- connection_
info object - The connection info for the PostgresFlex instance.
- encryption object
- flavor object
- flavor_
id string - id string
- Terraform's internal data source. ID. It is structured as "
projectId,region,instanceId". - instance_
id string - ID of the PostgresFlex instance.
- name string
- Instance name.
- network object
- project_
id string - STACKIT project ID to which the instance is associated.
- replicas number
- retention_
days number - storage object
- version string
- region string
- The resource region. If not defined, the provider region is used.
- acls List<String>
- The Access Control List (ACL) for the PostgresFlex instance.
- backup
Schedule String - The schedule for on what time and how often the database backup will be created. Must be a valid cron expression using numeric minute and hour values, e.g: '0 2 * * *'.
- connection
Info GetPostgresflex Instance Connection Info - The connection info for the PostgresFlex instance.
- encryption
Get
Postgresflex Instance Encryption - flavor
Get
Postgresflex Instance Flavor - flavor
Id String - id String
- Terraform's internal data source. ID. It is structured as "
projectId,region,instanceId". - instance
Id String - ID of the PostgresFlex instance.
- name String
- Instance name.
- network
Get
Postgresflex Instance Network - project
Id String - STACKIT project ID to which the instance is associated.
- replicas Integer
- retention
Days Integer - storage
Get
Postgresflex Instance Storage - version String
- region String
- The resource region. If not defined, the provider region is used.
- acls string[]
- The Access Control List (ACL) for the PostgresFlex instance.
- backup
Schedule string - The schedule for on what time and how often the database backup will be created. Must be a valid cron expression using numeric minute and hour values, e.g: '0 2 * * *'.
- connection
Info GetPostgresflex Instance Connection Info - The connection info for the PostgresFlex instance.
- encryption
Get
Postgresflex Instance Encryption - flavor
Get
Postgresflex Instance Flavor - flavor
Id string - id string
- Terraform's internal data source. ID. It is structured as "
projectId,region,instanceId". - instance
Id string - ID of the PostgresFlex instance.
- name string
- Instance name.
- network
Get
Postgresflex Instance Network - project
Id string - STACKIT project ID to which the instance is associated.
- replicas number
- retention
Days number - storage
Get
Postgresflex Instance Storage - version string
- region string
- The resource region. If not defined, the provider region is used.
- acls Sequence[str]
- The Access Control List (ACL) for the PostgresFlex instance.
- backup_
schedule str - The schedule for on what time and how often the database backup will be created. Must be a valid cron expression using numeric minute and hour values, e.g: '0 2 * * *'.
- connection_
info GetPostgresflex Instance Connection Info - The connection info for the PostgresFlex instance.
- encryption
Get
Postgresflex Instance Encryption - flavor
Get
Postgresflex Instance Flavor - flavor_
id str - id str
- Terraform's internal data source. ID. It is structured as "
projectId,region,instanceId". - instance_
id str - ID of the PostgresFlex instance.
- name str
- Instance name.
- network
Get
Postgresflex Instance Network - project_
id str - STACKIT project ID to which the instance is associated.
- replicas int
- retention_
days int - storage
Get
Postgresflex Instance Storage - version str
- region str
- The resource region. If not defined, the provider region is used.
- acls List<String>
- The Access Control List (ACL) for the PostgresFlex instance.
- backup
Schedule String - The schedule for on what time and how often the database backup will be created. Must be a valid cron expression using numeric minute and hour values, e.g: '0 2 * * *'.
- connection
Info Property Map - The connection info for the PostgresFlex instance.
- encryption Property Map
- flavor Property Map
- flavor
Id String - id String
- Terraform's internal data source. ID. It is structured as "
projectId,region,instanceId". - instance
Id String - ID of the PostgresFlex instance.
- name String
- Instance name.
- network Property Map
- project
Id String - STACKIT project ID to which the instance is associated.
- replicas Number
- retention
Days Number - storage Property Map
- version String
- region String
- The resource region. If not defined, the provider region is used.
Supporting Types
GetPostgresflexInstanceConnectionInfo
- Write
Get
Postgresflex Instance Connection Info Write - The DNS name and port in the instance overview.
- Write
Get
Postgresflex Instance Connection Info Write - The DNS name and port in the instance overview.
- write
Get
Postgresflex Instance Connection Info Write - The DNS name and port in the instance overview.
- write
Get
Postgresflex Instance Connection Info Write - The DNS name and port in the instance overview.
- write
Get
Postgresflex Instance Connection Info Write - The DNS name and port in the instance overview.
- write Property Map
- The DNS name and port in the instance overview.
GetPostgresflexInstanceConnectionInfoWrite
GetPostgresflexInstanceEncryption
- Kek
Key stringId - Kek
Key stringVersion - Kek
Keyring stringId - Service
Account string
- Kek
Key stringId - Kek
Key stringVersion - Kek
Keyring stringId - Service
Account string
- kek_
key_ stringid - kek_
key_ stringversion - kek_
keyring_ stringid - service_
account string
- kek
Key StringId - kek
Key StringVersion - kek
Keyring StringId - service
Account String
- kek
Key stringId - kek
Key stringVersion - kek
Keyring stringId - service
Account string
- kek_
key_ strid - kek_
key_ strversion - kek_
keyring_ strid - service_
account str
- kek
Key StringId - kek
Key StringVersion - kek
Keyring StringId - service
Account String
GetPostgresflexInstanceFlavor
- Cpu int
- Description string
- Id string
- Node
Type string - Ram int
- Cpu int
- Description string
- Id string
- Node
Type string - Ram int
- cpu number
- description string
- id string
- node_
type string - ram number
- cpu Integer
- description String
- id String
- node
Type String - ram Integer
- cpu number
- description string
- id string
- node
Type string - ram number
- cpu int
- description str
- id str
- node_
type str - ram int
- cpu Number
- description String
- id String
- node
Type String - ram Number
GetPostgresflexInstanceNetwork
- Access
Scope string - The network access scope of the instance. This feature is in private preview. Supplying this object is only permitted for enabled accounts. If your account does not have access, the request will be rejected. Possible values are:
PUBLIC,SNA. - Acls List<string>
- List of IPV4 cidr.
- Instance
Address string - Router
Address string
- Access
Scope string - The network access scope of the instance. This feature is in private preview. Supplying this object is only permitted for enabled accounts. If your account does not have access, the request will be rejected. Possible values are:
PUBLIC,SNA. - Acls []string
- List of IPV4 cidr.
- Instance
Address string - Router
Address string
- access_
scope string - The network access scope of the instance. This feature is in private preview. Supplying this object is only permitted for enabled accounts. If your account does not have access, the request will be rejected. Possible values are:
PUBLIC,SNA. - acls list(string)
- List of IPV4 cidr.
- instance_
address string - router_
address string
- access
Scope String - The network access scope of the instance. This feature is in private preview. Supplying this object is only permitted for enabled accounts. If your account does not have access, the request will be rejected. Possible values are:
PUBLIC,SNA. - acls List<String>
- List of IPV4 cidr.
- instance
Address String - router
Address String
- access
Scope string - The network access scope of the instance. This feature is in private preview. Supplying this object is only permitted for enabled accounts. If your account does not have access, the request will be rejected. Possible values are:
PUBLIC,SNA. - acls string[]
- List of IPV4 cidr.
- instance
Address string - router
Address string
- access_
scope str - The network access scope of the instance. This feature is in private preview. Supplying this object is only permitted for enabled accounts. If your account does not have access, the request will be rejected. Possible values are:
PUBLIC,SNA. - acls Sequence[str]
- List of IPV4 cidr.
- instance_
address str - router_
address str
- access
Scope String - The network access scope of the instance. This feature is in private preview. Supplying this object is only permitted for enabled accounts. If your account does not have access, the request will be rejected. Possible values are:
PUBLIC,SNA. - acls List<String>
- List of IPV4 cidr.
- instance
Address String - router
Address String
GetPostgresflexInstanceStorage
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud
published on Monday, Aug 17, 2026 by stackitcloud