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
SqlserverFlex flavors data source schema
Example Usage
data "stackit_sqlserverflex_flavors" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
// region taken from provider
}
// example usage with instance
resource "stackit_sqlserverflex_instance" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "example"
flavor_id = one([for f in data.stackit_sqlserverflex_flavors.example.flavors : f.id if f.cpu == 4 && f.memory == 16])
}
Using getSqlserverflexFlavors
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 getSqlserverflexFlavors(args: GetSqlserverflexFlavorsArgs, opts?: InvokeOptions): Promise<GetSqlserverflexFlavorsResult>
function getSqlserverflexFlavorsOutput(args: GetSqlserverflexFlavorsOutputArgs, opts?: InvokeOutputOptions): Output<GetSqlserverflexFlavorsResult>def get_sqlserverflex_flavors(project_id: Optional[str] = None,
region: Optional[str] = None,
timeouts: Optional[GetSqlserverflexFlavorsTimeouts] = None,
opts: Optional[InvokeOptions] = None) -> GetSqlserverflexFlavorsResult
def get_sqlserverflex_flavors_output(project_id: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
timeouts: pulumi.Input[Optional[GetSqlserverflexFlavorsTimeoutsArgs]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetSqlserverflexFlavorsResult]func GetSqlserverflexFlavors(ctx *Context, args *GetSqlserverflexFlavorsArgs, opts ...InvokeOption) (*GetSqlserverflexFlavorsResult, error)
func GetSqlserverflexFlavorsOutput(ctx *Context, args *GetSqlserverflexFlavorsOutputArgs, opts ...InvokeOption) GetSqlserverflexFlavorsResultOutput> Note: This function is named GetSqlserverflexFlavors in the Go SDK.
public static class GetSqlserverflexFlavors
{
public static Task<GetSqlserverflexFlavorsResult> InvokeAsync(GetSqlserverflexFlavorsArgs args, InvokeOptions? opts = null)
public static Output<GetSqlserverflexFlavorsResult> Invoke(GetSqlserverflexFlavorsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetSqlserverflexFlavorsResult> Invoke(GetSqlserverflexFlavorsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetSqlserverflexFlavorsResult> getSqlserverflexFlavors(GetSqlserverflexFlavorsArgs args, InvokeOptions options)
public static Output<GetSqlserverflexFlavorsResult> getSqlserverflexFlavors(GetSqlserverflexFlavorsArgs args, InvokeOptions options)
public static Output<GetSqlserverflexFlavorsResult> getSqlserverflexFlavors(GetSqlserverflexFlavorsArgs args, InvokeOutputOptions options)
fn::invoke:
function: stackit:index/getSqlserverflexFlavors:getSqlserverflexFlavors
arguments:
# arguments dictionarydata "stackit_get_sqlserverflex_flavors" "name" {
# arguments
}The following arguments are supported:
- Project
Id string - The project ID.
- Region string
- SqlserverFlex flavors data source region. If undefined the providers region is used.
- Timeouts
Get
Sqlserverflex Flavors Timeouts
- Project
Id string - The project ID.
- Region string
- SqlserverFlex flavors data source region. If undefined the providers region is used.
- Timeouts
Get
Sqlserverflex Flavors Timeouts
- project_
id string - The project ID.
- region string
- SqlserverFlex flavors data source region. If undefined the providers region is used.
- timeouts object
- project
Id String - The project ID.
- region String
- SqlserverFlex flavors data source region. If undefined the providers region is used.
- timeouts
Get
Sqlserverflex Flavors Timeouts
- project
Id string - The project ID.
- region string
- SqlserverFlex flavors data source region. If undefined the providers region is used.
- timeouts
Get
Sqlserverflex Flavors Timeouts
- project_
id str - The project ID.
- region str
- SqlserverFlex flavors data source region. If undefined the providers region is used.
- timeouts
Get
Sqlserverflex Flavors Timeouts
- project
Id String - The project ID.
- region String
- SqlserverFlex flavors data source region. If undefined the providers region is used.
- timeouts Property Map
getSqlserverflexFlavors Result
The following output properties are available:
- Flavors
List<Get
Sqlserverflex Flavors Flavor> - A list of available flavors.
- Id string
- Terraform's internal data source ID, structured as "
projectId,region" - Project
Id string - The project ID.
- Region string
- SqlserverFlex flavors data source region. If undefined the providers region is used.
- Timeouts
Get
Sqlserverflex Flavors Timeouts
- Flavors
[]Get
Sqlserverflex Flavors Flavor - A list of available flavors.
- Id string
- Terraform's internal data source ID, structured as "
projectId,region" - Project
Id string - The project ID.
- Region string
- SqlserverFlex flavors data source region. If undefined the providers region is used.
- Timeouts
Get
Sqlserverflex Flavors Timeouts
- flavors list(object)
- A list of available flavors.
- id string
- Terraform's internal data source ID, structured as "
projectId,region" - project_
id string - The project ID.
- region string
- SqlserverFlex flavors data source region. If undefined the providers region is used.
- timeouts object
- flavors
List<Get
Sqlserverflex Flavors Flavor> - A list of available flavors.
- id String
- Terraform's internal data source ID, structured as "
projectId,region" - project
Id String - The project ID.
- region String
- SqlserverFlex flavors data source region. If undefined the providers region is used.
- timeouts
Get
Sqlserverflex Flavors Timeouts
- flavors
Get
Sqlserverflex Flavors Flavor[] - A list of available flavors.
- id string
- Terraform's internal data source ID, structured as "
projectId,region" - project
Id string - The project ID.
- region string
- SqlserverFlex flavors data source region. If undefined the providers region is used.
- timeouts
Get
Sqlserverflex Flavors Timeouts
- flavors
Sequence[Get
Sqlserverflex Flavors Flavor] - A list of available flavors.
- id str
- Terraform's internal data source ID, structured as "
projectId,region" - project_
id str - The project ID.
- region str
- SqlserverFlex flavors data source region. If undefined the providers region is used.
- timeouts
Get
Sqlserverflex Flavors Timeouts
- flavors List<Property Map>
- A list of available flavors.
- id String
- Terraform's internal data source ID, structured as "
projectId,region" - project
Id String - The project ID.
- region String
- SqlserverFlex flavors data source region. If undefined the providers region is used.
- timeouts Property Map
Supporting Types
GetSqlserverflexFlavorsFlavor
- Cpu int
- The CPU count of the instance.
- Description string
- Description of the flavor.
- Id string
- ID of the flavor.
- Max
Gb int - Maximum storage, which can be ordered for the flavor in Gigabyte.
- Memory int
- The memory (Gibibyte) of the instance.
- Min
Gb int - Minimum storage, which is required to order in Gigabyte.
- Node
Type string - Defines the node type (either single or HA).
- Storage
Classes List<GetSqlserverflex Flavors Flavor Storage Class> - Storage classes available for the flavor.
- Cpu int
- The CPU count of the instance.
- Description string
- Description of the flavor.
- Id string
- ID of the flavor.
- Max
Gb int - Maximum storage, which can be ordered for the flavor in Gigabyte.
- Memory int
- The memory (Gibibyte) of the instance.
- Min
Gb int - Minimum storage, which is required to order in Gigabyte.
- Node
Type string - Defines the node type (either single or HA).
- Storage
Classes []GetSqlserverflex Flavors Flavor Storage Class - Storage classes available for the flavor.
- cpu number
- The CPU count of the instance.
- description string
- Description of the flavor.
- id string
- ID of the flavor.
- max_
gb number - Maximum storage, which can be ordered for the flavor in Gigabyte.
- memory number
- The memory (Gibibyte) of the instance.
- min_
gb number - Minimum storage, which is required to order in Gigabyte.
- node_
type string - Defines the node type (either single or HA).
- storage_
classes list(object) - Storage classes available for the flavor.
- cpu Integer
- The CPU count of the instance.
- description String
- Description of the flavor.
- id String
- ID of the flavor.
- max
Gb Integer - Maximum storage, which can be ordered for the flavor in Gigabyte.
- memory Integer
- The memory (Gibibyte) of the instance.
- min
Gb Integer - Minimum storage, which is required to order in Gigabyte.
- node
Type String - Defines the node type (either single or HA).
- storage
Classes List<GetSqlserverflex Flavors Flavor Storage Class> - Storage classes available for the flavor.
- cpu number
- The CPU count of the instance.
- description string
- Description of the flavor.
- id string
- ID of the flavor.
- max
Gb number - Maximum storage, which can be ordered for the flavor in Gigabyte.
- memory number
- The memory (Gibibyte) of the instance.
- min
Gb number - Minimum storage, which is required to order in Gigabyte.
- node
Type string - Defines the node type (either single or HA).
- storage
Classes GetSqlserverflex Flavors Flavor Storage Class[] - Storage classes available for the flavor.
- cpu int
- The CPU count of the instance.
- description str
- Description of the flavor.
- id str
- ID of the flavor.
- max_
gb int - Maximum storage, which can be ordered for the flavor in Gigabyte.
- memory int
- The memory (Gibibyte) of the instance.
- min_
gb int - Minimum storage, which is required to order in Gigabyte.
- node_
type str - Defines the node type (either single or HA).
- storage_
classes Sequence[GetSqlserverflex Flavors Flavor Storage Class] - Storage classes available for the flavor.
- cpu Number
- The CPU count of the instance.
- description String
- Description of the flavor.
- id String
- ID of the flavor.
- max
Gb Number - Maximum storage, which can be ordered for the flavor in Gigabyte.
- memory Number
- The memory (Gibibyte) of the instance.
- min
Gb Number - Minimum storage, which is required to order in Gigabyte.
- node
Type String - Defines the node type (either single or HA).
- storage
Classes List<Property Map> - Storage classes available for the flavor.
GetSqlserverflexFlavorsFlavorStorageClass
- Class string
- Class of the instance.
- Max
Io intPer Sec - Maximum I/O per second.
- Max
Through intIn Mb - Maximum throughput in Megabyte.
- Class string
- Class of the instance.
- Max
Io intPer Sec - Maximum I/O per second.
- Max
Through intIn Mb - Maximum throughput in Megabyte.
- class string
- Class of the instance.
- max_
io_ numberper_ sec - Maximum I/O per second.
- max_
through_ numberin_ mb - Maximum throughput in Megabyte.
- class_ String
- Class of the instance.
- max
Io IntegerPer Sec - Maximum I/O per second.
- max
Through IntegerIn Mb - Maximum throughput in Megabyte.
- class string
- Class of the instance.
- max
Io numberPer Sec - Maximum I/O per second.
- max
Through numberIn Mb - Maximum throughput in Megabyte.
- class_ str
- Class of the instance.
- max_
io_ intper_ sec - Maximum I/O per second.
- max_
through_ intin_ mb - Maximum throughput in Megabyte.
- class String
- Class of the instance.
- max
Io NumberPer Sec - Maximum I/O per second.
- max
Through NumberIn Mb - Maximum throughput in Megabyte.
GetSqlserverflexFlavorsTimeouts
- 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