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 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?: InvokeOutputOptions): Output<GetSqlserverflexInstanceResult>def get_sqlserverflex_instance(instance_id: Optional[str] = None,
network: Optional[GetSqlserverflexInstanceNetwork] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSqlserverflexInstanceResult
def get_sqlserverflex_instance_output(instance_id: pulumi.Input[Optional[str]] = None,
network: pulumi.Input[Optional[GetSqlserverflexInstanceNetworkArgs]] = None,
project_id: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = 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 Output<GetSqlserverflexInstanceResult> Invoke(GetSqlserverflexInstanceInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetSqlserverflexInstanceResult> getSqlserverflexInstance(GetSqlserverflexInstanceArgs args, InvokeOptions options)
public static Output<GetSqlserverflexInstanceResult> getSqlserverflexInstance(GetSqlserverflexInstanceArgs args, InvokeOptions options)
public static Output<GetSqlserverflexInstanceResult> getSqlserverflexInstance(GetSqlserverflexInstanceArgs args, InvokeOutputOptions options)
fn::invoke:
function: stackit:index/getSqlserverflexInstance:getSqlserverflexInstance
arguments:
# arguments dictionarydata "stackit_get_sqlserverflex_instance" "name" {
# arguments
}The 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.
- Network
Get
Sqlserverflex Instance Network - The network configuration of the instance.
- 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.
- Network
Get
Sqlserverflex Instance Network - The network configuration of the instance.
- 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.
- network object
- The network configuration of the instance.
- 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.
- network
Get
Sqlserverflex Instance Network - The network configuration of the instance.
- 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.
- network
Get
Sqlserverflex Instance Network - The network configuration of the instance.
- 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.
- network
Get
Sqlserverflex Instance Network - The network configuration of the instance.
- 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.
- network Property Map
- The network configuration of the instance.
- 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 * * *").
- Edition string
- Edition of the MSSQL server instance.
- Encryption
Get
Sqlserverflex Instance Encryption - Parameter to define which key to use for storage encryption.
- Flavor
Get
Sqlserverflex Instance Flavor - Flavor
Id string - The flavor ID of the SQLServer Flex instance.
- Id string
- Terraform's internal data source. ID. It is structured as "
projectId,region,instanceId". - 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
- Retention
Days int - The days (30 to 90) for how long the backup files should be stored before cleaned up.
- Storage
Get
Sqlserverflex Instance Storage - Version string
- Network
Get
Sqlserverflex Instance Network - The network configuration of the instance.
- 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 * * *").
- Edition string
- Edition of the MSSQL server instance.
- Encryption
Get
Sqlserverflex Instance Encryption - Parameter to define which key to use for storage encryption.
- Flavor
Get
Sqlserverflex Instance Flavor - Flavor
Id string - The flavor ID of the SQLServer Flex instance.
- Id string
- Terraform's internal data source. ID. It is structured as "
projectId,region,instanceId". - 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
- Retention
Days int - The days (30 to 90) for how long the backup files should be stored before cleaned up.
- Storage
Get
Sqlserverflex Instance Storage - Version string
- Network
Get
Sqlserverflex Instance Network - The network configuration of the instance.
- 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 * * *").
- edition string
- Edition of the MSSQL server instance.
- encryption object
- Parameter to define which key to use for storage encryption.
- flavor object
- flavor_
id string - The flavor ID of the SQLServer Flex instance.
- id string
- Terraform's internal data source. ID. It is structured as "
projectId,region,instanceId". - instance_
id string - ID of the SQLServer Flex instance.
- name string
- Instance name.
- options object
- Custom parameters for the SQLServer Flex instance.
- project_
id string - STACKIT project ID to which the instance is associated.
- replicas number
- retention_
days number - The days (30 to 90) for how long the backup files should be stored before cleaned up.
- storage object
- version string
- network object
- The network configuration of the instance.
- 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 * * *").
- edition String
- Edition of the MSSQL server instance.
- encryption
Get
Sqlserverflex Instance Encryption - Parameter to define which key to use for storage encryption.
- flavor
Get
Sqlserverflex Instance Flavor - flavor
Id String - The flavor ID of the SQLServer Flex instance.
- id String
- Terraform's internal data source. ID. It is structured as "
projectId,region,instanceId". - 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
- retention
Days Integer - The days (30 to 90) for how long the backup files should be stored before cleaned up.
- storage
Get
Sqlserverflex Instance Storage - version String
- network
Get
Sqlserverflex Instance Network - The network configuration of the instance.
- 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 * * *").
- edition string
- Edition of the MSSQL server instance.
- encryption
Get
Sqlserverflex Instance Encryption - Parameter to define which key to use for storage encryption.
- flavor
Get
Sqlserverflex Instance Flavor - flavor
Id string - The flavor ID of the SQLServer Flex instance.
- id string
- Terraform's internal data source. ID. It is structured as "
projectId,region,instanceId". - 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
- retention
Days number - The days (30 to 90) for how long the backup files should be stored before cleaned up.
- storage
Get
Sqlserverflex Instance Storage - version string
- network
Get
Sqlserverflex Instance Network - The network configuration of the instance.
- 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 * * *").
- edition str
- Edition of the MSSQL server instance.
- encryption
Get
Sqlserverflex Instance Encryption - Parameter to define which key to use for storage encryption.
- flavor
Get
Sqlserverflex Instance Flavor - flavor_
id str - The flavor ID of the SQLServer Flex instance.
- id str
- Terraform's internal data source. ID. It is structured as "
projectId,region,instanceId". - 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
- retention_
days int - The days (30 to 90) for how long the backup files should be stored before cleaned up.
- storage
Get
Sqlserverflex Instance Storage - version str
- network
Get
Sqlserverflex Instance Network - The network configuration of the instance.
- 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 * * *").
- edition String
- Edition of the MSSQL server instance.
- encryption Property Map
- Parameter to define which key to use for storage encryption.
- flavor Property Map
- flavor
Id String - The flavor ID of the SQLServer Flex instance.
- id String
- Terraform's internal data source. ID. It is structured as "
projectId,region,instanceId". - 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
- retention
Days Number - The days (30 to 90) for how long the backup files should be stored before cleaned up.
- storage Property Map
- version String
- network Property Map
- The network configuration of the instance.
- region String
- The resource region. If not defined, the provider region is used.
Supporting Types
GetSqlserverflexInstanceEncryption
- Kek
Key stringId - UUID of the key within the STACKIT-KMS to use for the encryption.
- Kek
Key stringVersion - Version of the key within the STACKIT-KMS to use for the encryption.
- Kek
Keyring stringId - UUID of the keyring where the key is located within the STACKTI-KMS.
- Service
Account string - Service-Account linked to the Key within the STACKIT-KMS.
- Kek
Key stringId - UUID of the key within the STACKIT-KMS to use for the encryption.
- Kek
Key stringVersion - Version of the key within the STACKIT-KMS to use for the encryption.
- Kek
Keyring stringId - UUID of the keyring where the key is located within the STACKTI-KMS.
- Service
Account string - Service-Account linked to the Key within the STACKIT-KMS.
- kek_
key_ stringid - UUID of the key within the STACKIT-KMS to use for the encryption.
- kek_
key_ stringversion - Version of the key within the STACKIT-KMS to use for the encryption.
- kek_
keyring_ stringid - UUID of the keyring where the key is located within the STACKTI-KMS.
- service_
account string - Service-Account linked to the Key within the STACKIT-KMS.
- kek
Key StringId - UUID of the key within the STACKIT-KMS to use for the encryption.
- kek
Key StringVersion - Version of the key within the STACKIT-KMS to use for the encryption.
- kek
Keyring StringId - UUID of the keyring where the key is located within the STACKTI-KMS.
- service
Account String - Service-Account linked to the Key within the STACKIT-KMS.
- kek
Key stringId - UUID of the key within the STACKIT-KMS to use for the encryption.
- kek
Key stringVersion - Version of the key within the STACKIT-KMS to use for the encryption.
- kek
Keyring stringId - UUID of the keyring where the key is located within the STACKTI-KMS.
- service
Account string - Service-Account linked to the Key within the STACKIT-KMS.
- kek_
key_ strid - UUID of the key within the STACKIT-KMS to use for the encryption.
- kek_
key_ strversion - Version of the key within the STACKIT-KMS to use for the encryption.
- kek_
keyring_ strid - UUID of the keyring where the key is located within the STACKTI-KMS.
- service_
account str - Service-Account linked to the Key within the STACKIT-KMS.
- kek
Key StringId - UUID of the key within the STACKIT-KMS to use for the encryption.
- kek
Key StringVersion - Version of the key within the STACKIT-KMS to use for the encryption.
- kek
Keyring StringId - UUID of the keyring where the key is located within the STACKTI-KMS.
- service
Account String - Service-Account linked to the Key within the STACKIT-KMS.
GetSqlserverflexInstanceFlavor
- Cpu int
- Description string
- Id string
- Ram int
- Cpu int
- Description string
- Id string
- Ram int
- cpu number
- description string
- id string
- ram number
- 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
GetSqlserverflexInstanceNetwork
- Acls List<string>
- List of IPV4 cidr.
- Instance
Address string - Address of this instance.
- Router
Address string - Address of the router.
- 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.
- Acls []string
- List of IPV4 cidr.
- Instance
Address string - Address of this instance.
- Router
Address string - Address of the router.
- 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.
- acls list(string)
- List of IPV4 cidr.
- instance_
address string - Address of this instance.
- router_
address string - Address of the router.
- 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.
- acls List<String>
- List of IPV4 cidr.
- instance
Address String - Address of this instance.
- router
Address String - Address of the router.
- 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.
- acls string[]
- List of IPV4 cidr.
- instance
Address string - Address of this instance.
- router
Address string - Address of the router.
- 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.
- acls Sequence[str]
- List of IPV4 cidr.
- instance_
address str - Address of this instance.
- router_
address str - Address of the router.
- 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.
- acls List<String>
- List of IPV4 cidr.
- instance
Address String - Address of this instance.
- router
Address String - Address of the router.
- 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.
GetSqlserverflexInstanceOptions
- Edition string
- Retention
Days int
- Edition string
- Retention
Days int
- edition string
- retention_
days number
- 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.
Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud
published on Monday, Aug 17, 2026 by stackitcloud