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
SQLServer Flex database data source schema.
Example Usage
data "stackit_sqlserverflex_database" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "example-database"
}
Using getSqlserverflexDatabase
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 getSqlserverflexDatabase(args: GetSqlserverflexDatabaseArgs, opts?: InvokeOptions): Promise<GetSqlserverflexDatabaseResult>
function getSqlserverflexDatabaseOutput(args: GetSqlserverflexDatabaseOutputArgs, opts?: InvokeOutputOptions): Output<GetSqlserverflexDatabaseResult>def get_sqlserverflex_database(instance_id: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
timeouts: Optional[GetSqlserverflexDatabaseTimeouts] = None,
opts: Optional[InvokeOptions] = None) -> GetSqlserverflexDatabaseResult
def get_sqlserverflex_database_output(instance_id: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
project_id: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
timeouts: pulumi.Input[Optional[GetSqlserverflexDatabaseTimeoutsArgs]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetSqlserverflexDatabaseResult]func LookupSqlserverflexDatabase(ctx *Context, args *LookupSqlserverflexDatabaseArgs, opts ...InvokeOption) (*LookupSqlserverflexDatabaseResult, error)
func LookupSqlserverflexDatabaseOutput(ctx *Context, args *LookupSqlserverflexDatabaseOutputArgs, opts ...InvokeOption) LookupSqlserverflexDatabaseResultOutput> Note: This function is named LookupSqlserverflexDatabase in the Go SDK.
public static class GetSqlserverflexDatabase
{
public static Task<GetSqlserverflexDatabaseResult> InvokeAsync(GetSqlserverflexDatabaseArgs args, InvokeOptions? opts = null)
public static Output<GetSqlserverflexDatabaseResult> Invoke(GetSqlserverflexDatabaseInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetSqlserverflexDatabaseResult> Invoke(GetSqlserverflexDatabaseInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetSqlserverflexDatabaseResult> getSqlserverflexDatabase(GetSqlserverflexDatabaseArgs args, InvokeOptions options)
public static Output<GetSqlserverflexDatabaseResult> getSqlserverflexDatabase(GetSqlserverflexDatabaseArgs args, InvokeOptions options)
public static Output<GetSqlserverflexDatabaseResult> getSqlserverflexDatabase(GetSqlserverflexDatabaseArgs args, InvokeOutputOptions options)
fn::invoke:
function: stackit:index/getSqlserverflexDatabase:getSqlserverflexDatabase
arguments:
# arguments dictionarydata "stackit_get_sqlserverflex_database" "name" {
# arguments
}The following arguments are supported:
- Instance
Id string - ID of the SQLServer Flex instance.
- Name string
- Name of the database.
- Project
Id string - STACKIT project ID.
- Region string
- The resource region. If not defined, the provider region is used.
- Timeouts
Get
Sqlserverflex Database Timeouts
- Instance
Id string - ID of the SQLServer Flex instance.
- Name string
- Name of the database.
- Project
Id string - STACKIT project ID.
- Region string
- The resource region. If not defined, the provider region is used.
- Timeouts
Get
Sqlserverflex Database Timeouts
- instance_
id string - ID of the SQLServer Flex instance.
- name string
- Name of the database.
- project_
id string - STACKIT project ID.
- region string
- The resource region. If not defined, the provider region is used.
- timeouts object
- instance
Id String - ID of the SQLServer Flex instance.
- name String
- Name of the database.
- project
Id String - STACKIT project ID.
- region String
- The resource region. If not defined, the provider region is used.
- timeouts
Get
Sqlserverflex Database Timeouts
- instance
Id string - ID of the SQLServer Flex instance.
- name string
- Name of the database.
- project
Id string - STACKIT project ID.
- region string
- The resource region. If not defined, the provider region is used.
- timeouts
Get
Sqlserverflex Database Timeouts
- instance_
id str - ID of the SQLServer Flex instance.
- name str
- Name of the database.
- project_
id str - STACKIT project ID.
- region str
- The resource region. If not defined, the provider region is used.
- timeouts
Get
Sqlserverflex Database Timeouts
- instance
Id String - ID of the SQLServer Flex instance.
- name String
- Name of the database.
- project
Id String - STACKIT project ID.
- region String
- The resource region. If not defined, the provider region is used.
- timeouts Property Map
getSqlserverflexDatabase Result
The following output properties are available:
- Collation string
- The collation of the database.
- Compatibility int
- Compatibility level of the database.
- Database
Id int - The id of the database.
- Id string
- Terraform internal ID, structured as "
projectId,region,instanceId,name" - Instance
Id string - ID of the SQLServer Flex instance.
- Name string
- Name of the database.
- Owner string
- The owner of the database.
- Project
Id string - STACKIT project ID.
- Region string
- The resource region. If not defined, the provider region is used.
- Timeouts
Get
Sqlserverflex Database Timeouts
- Collation string
- The collation of the database.
- Compatibility int
- Compatibility level of the database.
- Database
Id int - The id of the database.
- Id string
- Terraform internal ID, structured as "
projectId,region,instanceId,name" - Instance
Id string - ID of the SQLServer Flex instance.
- Name string
- Name of the database.
- Owner string
- The owner of the database.
- Project
Id string - STACKIT project ID.
- Region string
- The resource region. If not defined, the provider region is used.
- Timeouts
Get
Sqlserverflex Database Timeouts
- collation string
- The collation of the database.
- compatibility number
- Compatibility level of the database.
- database_
id number - The id of the database.
- id string
- Terraform internal ID, structured as "
projectId,region,instanceId,name" - instance_
id string - ID of the SQLServer Flex instance.
- name string
- Name of the database.
- owner string
- The owner of the database.
- project_
id string - STACKIT project ID.
- region string
- The resource region. If not defined, the provider region is used.
- timeouts object
- collation String
- The collation of the database.
- compatibility Integer
- Compatibility level of the database.
- database
Id Integer - The id of the database.
- id String
- Terraform internal ID, structured as "
projectId,region,instanceId,name" - instance
Id String - ID of the SQLServer Flex instance.
- name String
- Name of the database.
- owner String
- The owner of the database.
- project
Id String - STACKIT project ID.
- region String
- The resource region. If not defined, the provider region is used.
- timeouts
Get
Sqlserverflex Database Timeouts
- collation string
- The collation of the database.
- compatibility number
- Compatibility level of the database.
- database
Id number - The id of the database.
- id string
- Terraform internal ID, structured as "
projectId,region,instanceId,name" - instance
Id string - ID of the SQLServer Flex instance.
- name string
- Name of the database.
- owner string
- The owner of the database.
- project
Id string - STACKIT project ID.
- region string
- The resource region. If not defined, the provider region is used.
- timeouts
Get
Sqlserverflex Database Timeouts
- collation str
- The collation of the database.
- compatibility int
- Compatibility level of the database.
- database_
id int - The id of the database.
- id str
- Terraform internal ID, structured as "
projectId,region,instanceId,name" - instance_
id str - ID of the SQLServer Flex instance.
- name str
- Name of the database.
- owner str
- The owner of the database.
- project_
id str - STACKIT project ID.
- region str
- The resource region. If not defined, the provider region is used.
- timeouts
Get
Sqlserverflex Database Timeouts
- collation String
- The collation of the database.
- compatibility Number
- Compatibility level of the database.
- database
Id Number - The id of the database.
- id String
- Terraform internal ID, structured as "
projectId,region,instanceId,name" - instance
Id String - ID of the SQLServer Flex instance.
- name String
- Name of the database.
- owner String
- The owner of the database.
- project
Id String - STACKIT project ID.
- region String
- The resource region. If not defined, the provider region is used.
- timeouts Property Map
Supporting Types
GetSqlserverflexDatabaseTimeouts
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
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