stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
SQLServer Flex instance data source schema. Must have a region specified in the provider configuration.
Example Usage
data "stackit_sqlserverflex_instance" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Using getSqlserverflexInstance
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 getSqlserverflexInstance(args: GetSqlserverflexInstanceArgs, opts?: InvokeOptions): Promise<GetSqlserverflexInstanceResult>
function getSqlserverflexInstanceOutput(args: GetSqlserverflexInstanceOutputArgs, opts?: InvokeOptions): Output<GetSqlserverflexInstanceResult>def get_sqlserverflex_instance(instance_id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSqlserverflexInstanceResult
def get_sqlserverflex_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[GetSqlserverflexInstanceResult]func LookupSqlserverflexInstance(ctx *Context, args *LookupSqlserverflexInstanceArgs, opts ...InvokeOption) (*LookupSqlserverflexInstanceResult, error)
func LookupSqlserverflexInstanceOutput(ctx *Context, args *LookupSqlserverflexInstanceOutputArgs, opts ...InvokeOption) LookupSqlserverflexInstanceResultOutput> Note: This function is named LookupSqlserverflexInstance in the Go SDK.
public static class GetSqlserverflexInstance
{
public static Task<GetSqlserverflexInstanceResult> InvokeAsync(GetSqlserverflexInstanceArgs args, InvokeOptions? opts = null)
public static Output<GetSqlserverflexInstanceResult> Invoke(GetSqlserverflexInstanceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSqlserverflexInstanceResult> getSqlserverflexInstance(GetSqlserverflexInstanceArgs args, InvokeOptions options)
public static Output<GetSqlserverflexInstanceResult> getSqlserverflexInstance(GetSqlserverflexInstanceArgs args, InvokeOptions options)
fn::invoke:
function: stackit:index/getSqlserverflexInstance:getSqlserverflexInstance
arguments:
# arguments dictionaryThe following arguments are supported:
- Instance
Id string - ID of the SQLServer Flex 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 SQLServer Flex 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 SQLServer Flex 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 SQLServer Flex 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 SQLServer Flex 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 SQLServer Flex 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.
getSqlserverflexInstance Result
The following output properties are available:
- Acls List<string>
- The Access Control List (ACL) for the SQLServer Flex instance.
- Backup
Schedule string - The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *").
- Flavor
Get
Sqlserverflex Instance Flavor - Id string
- Instance
Id string - ID of the SQLServer Flex instance.
- Name string
- Instance name.
- Options
Get
Sqlserverflex Instance Options - Custom parameters for the SQLServer Flex instance.
- Project
Id string - STACKIT project ID to which the instance is associated.
- Replicas int
- Storage
Get
Sqlserverflex 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 SQLServer Flex instance.
- Backup
Schedule string - The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *").
- Flavor
Get
Sqlserverflex Instance Flavor - Id string
- Instance
Id string - ID of the SQLServer Flex instance.
- Name string
- Instance name.
- Options
Get
Sqlserverflex Instance Options - Custom parameters for the SQLServer Flex instance.
- Project
Id string - STACKIT project ID to which the instance is associated.
- Replicas int
- Storage
Get
Sqlserverflex 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 SQLServer Flex instance.
- backup
Schedule String - The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *").
- flavor
Get
Sqlserverflex Instance Flavor - id String
- instance
Id String - ID of the SQLServer Flex instance.
- name String
- Instance name.
- options
Get
Sqlserverflex Instance Options - Custom parameters for the SQLServer Flex instance.
- project
Id String - STACKIT project ID to which the instance is associated.
- replicas Integer
- storage
Get
Sqlserverflex 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 SQLServer Flex instance.
- backup
Schedule string - The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *").
- flavor
Get
Sqlserverflex Instance Flavor - id string
- instance
Id string - ID of the SQLServer Flex instance.
- name string
- Instance name.
- options
Get
Sqlserverflex Instance Options - Custom parameters for the SQLServer Flex instance.
- project
Id string - STACKIT project ID to which the instance is associated.
- replicas number
- storage
Get
Sqlserverflex 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 SQLServer Flex instance.
- backup_
schedule str - The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *").
- flavor
Get
Sqlserverflex Instance Flavor - id str
- instance_
id str - ID of the SQLServer Flex instance.
- name str
- Instance name.
- options
Get
Sqlserverflex Instance Options - Custom parameters for the SQLServer Flex instance.
- project_
id str - STACKIT project ID to which the instance is associated.
- replicas int
- storage
Get
Sqlserverflex 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 SQLServer Flex instance.
- backup
Schedule String - The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *").
- flavor Property Map
- id String
- instance
Id String - ID of the SQLServer Flex instance.
- name String
- Instance name.
- options Property Map
- Custom parameters for the SQLServer Flex instance.
- 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
GetSqlserverflexInstanceFlavor
- 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
GetSqlserverflexInstanceOptions
- Edition string
- Retention
Days int
- Edition string
- Retention
Days int
- edition String
- retention
Days Integer
- edition string
- retention
Days number
- edition str
- retention_
days int
- edition String
- retention
Days Number
GetSqlserverflexInstanceStorage
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
