Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 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?: InvokeOptions): 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: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = 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 CompletableFuture<GetPostgresflexInstanceResult> getPostgresflexInstance(GetPostgresflexInstanceArgs args, InvokeOptions options)
public static Output<GetPostgresflexInstanceResult> getPostgresflexInstance(GetPostgresflexInstanceArgs args, InvokeOptions options)
fn::invoke:
function: stackit:index/getPostgresflexInstance:getPostgresflexInstance
arguments:
# arguments dictionaryThe 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 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 - Flavor
Get
Postgresflex Instance Flavor - Id string
- Instance
Id string - ID of the PostgresFlex instance.
- Name string
- Instance name.
- Project
Id string - STACKIT project ID to which the instance is associated.
- Replicas 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 - Flavor
Get
Postgresflex Instance Flavor - Id string
- Instance
Id string - ID of the PostgresFlex instance.
- Name string
- Instance name.
- Project
Id string - STACKIT project ID to which the instance is associated.
- Replicas 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 - flavor
Get
Postgresflex Instance Flavor - id String
- instance
Id String - ID of the PostgresFlex instance.
- name String
- Instance name.
- project
Id String - STACKIT project ID to which the instance is associated.
- replicas 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 - flavor
Get
Postgresflex Instance Flavor - id string
- instance
Id string - ID of the PostgresFlex instance.
- name string
- Instance name.
- project
Id string - STACKIT project ID to which the instance is associated.
- replicas 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 - flavor
Get
Postgresflex Instance Flavor - id str
- instance_
id str - ID of the PostgresFlex instance.
- name str
- Instance name.
- project_
id str - STACKIT project ID to which the instance is associated.
- replicas 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 - flavor Property Map
- id String
- instance
Id String - ID of the PostgresFlex instance.
- name String
- Instance name.
- project
Id String - STACKIT project ID to which the instance is associated.
- replicas Number
- storage Property Map
- version String
- region String
- The resource region. If not defined, the provider region is used.
Supporting Types
GetPostgresflexInstanceFlavor
- Cpu int
- Description string
- Id string
- Ram int
- Cpu int
- Description string
- Id string
- Ram int
- cpu Integer
- description String
- id String
- ram Integer
- cpu number
- description string
- id string
- ram number
- cpu int
- description str
- id str
- ram int
- cpu Number
- description String
- id String
- ram Number
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.4
published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
