1. Registry
  2. Packages
  3. stackit
  4. API Docs
  5. getSqlserverflexFlavors
Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.7
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 dictionary
    data "stackit_get_sqlserverflex_flavors" "name" {
        # arguments
    }

    The following arguments are supported:

    ProjectId string
    The project ID.
    Region string
    SqlserverFlex flavors data source region. If undefined the providers region is used.
    Timeouts GetSqlserverflexFlavorsTimeouts
    ProjectId string
    The project ID.
    Region string
    SqlserverFlex flavors data source region. If undefined the providers region is used.
    Timeouts GetSqlserverflexFlavorsTimeouts
    project_id string
    The project ID.
    region string
    SqlserverFlex flavors data source region. If undefined the providers region is used.
    timeouts object
    projectId String
    The project ID.
    region String
    SqlserverFlex flavors data source region. If undefined the providers region is used.
    timeouts GetSqlserverflexFlavorsTimeouts
    projectId string
    The project ID.
    region string
    SqlserverFlex flavors data source region. If undefined the providers region is used.
    timeouts GetSqlserverflexFlavorsTimeouts
    project_id str
    The project ID.
    region str
    SqlserverFlex flavors data source region. If undefined the providers region is used.
    timeouts GetSqlserverflexFlavorsTimeouts
    projectId 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<GetSqlserverflexFlavorsFlavor>
    A list of available flavors.
    Id string
    Terraform's internal data source ID, structured as "projectId,region"
    ProjectId string
    The project ID.
    Region string
    SqlserverFlex flavors data source region. If undefined the providers region is used.
    Timeouts GetSqlserverflexFlavorsTimeouts
    Flavors []GetSqlserverflexFlavorsFlavor
    A list of available flavors.
    Id string
    Terraform's internal data source ID, structured as "projectId,region"
    ProjectId string
    The project ID.
    Region string
    SqlserverFlex flavors data source region. If undefined the providers region is used.
    Timeouts GetSqlserverflexFlavorsTimeouts
    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<GetSqlserverflexFlavorsFlavor>
    A list of available flavors.
    id String
    Terraform's internal data source ID, structured as "projectId,region"
    projectId String
    The project ID.
    region String
    SqlserverFlex flavors data source region. If undefined the providers region is used.
    timeouts GetSqlserverflexFlavorsTimeouts
    flavors GetSqlserverflexFlavorsFlavor[]
    A list of available flavors.
    id string
    Terraform's internal data source ID, structured as "projectId,region"
    projectId string
    The project ID.
    region string
    SqlserverFlex flavors data source region. If undefined the providers region is used.
    timeouts GetSqlserverflexFlavorsTimeouts
    flavors Sequence[GetSqlserverflexFlavorsFlavor]
    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 GetSqlserverflexFlavorsTimeouts
    flavors List<Property Map>
    A list of available flavors.
    id String
    Terraform's internal data source ID, structured as "projectId,region"
    projectId 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.
    MaxGb int
    Maximum storage, which can be ordered for the flavor in Gigabyte.
    Memory int
    The memory (Gibibyte) of the instance.
    MinGb int
    Minimum storage, which is required to order in Gigabyte.
    NodeType string
    Defines the node type (either single or HA).
    StorageClasses List<GetSqlserverflexFlavorsFlavorStorageClass>
    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.
    MaxGb int
    Maximum storage, which can be ordered for the flavor in Gigabyte.
    Memory int
    The memory (Gibibyte) of the instance.
    MinGb int
    Minimum storage, which is required to order in Gigabyte.
    NodeType string
    Defines the node type (either single or HA).
    StorageClasses []GetSqlserverflexFlavorsFlavorStorageClass
    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.
    maxGb Integer
    Maximum storage, which can be ordered for the flavor in Gigabyte.
    memory Integer
    The memory (Gibibyte) of the instance.
    minGb Integer
    Minimum storage, which is required to order in Gigabyte.
    nodeType String
    Defines the node type (either single or HA).
    storageClasses List<GetSqlserverflexFlavorsFlavorStorageClass>
    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.
    maxGb number
    Maximum storage, which can be ordered for the flavor in Gigabyte.
    memory number
    The memory (Gibibyte) of the instance.
    minGb number
    Minimum storage, which is required to order in Gigabyte.
    nodeType string
    Defines the node type (either single or HA).
    storageClasses GetSqlserverflexFlavorsFlavorStorageClass[]
    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[GetSqlserverflexFlavorsFlavorStorageClass]
    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.
    maxGb Number
    Maximum storage, which can be ordered for the flavor in Gigabyte.
    memory Number
    The memory (Gibibyte) of the instance.
    minGb Number
    Minimum storage, which is required to order in Gigabyte.
    nodeType String
    Defines the node type (either single or HA).
    storageClasses List<Property Map>
    Storage classes available for the flavor.

    GetSqlserverflexFlavorsFlavorStorageClass

    Class string
    Class of the instance.
    MaxIoPerSec int
    Maximum I/O per second.
    MaxThroughInMb int
    Maximum throughput in Megabyte.
    Class string
    Class of the instance.
    MaxIoPerSec int
    Maximum I/O per second.
    MaxThroughInMb int
    Maximum throughput in Megabyte.
    class string
    Class of the instance.
    max_io_per_sec number
    Maximum I/O per second.
    max_through_in_mb number
    Maximum throughput in Megabyte.
    class_ String
    Class of the instance.
    maxIoPerSec Integer
    Maximum I/O per second.
    maxThroughInMb Integer
    Maximum throughput in Megabyte.
    class string
    Class of the instance.
    maxIoPerSec number
    Maximum I/O per second.
    maxThroughInMb number
    Maximum throughput in Megabyte.
    class_ str
    Class of the instance.
    max_io_per_sec int
    Maximum I/O per second.
    max_through_in_mb int
    Maximum throughput in Megabyte.
    class String
    Class of the instance.
    maxIoPerSec Number
    Maximum I/O per second.
    maxThroughInMb Number
    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 stackit Terraform Provider.
    stackit logo
    Viewing docs for stackit v0.0.7
    published on Monday, Aug 17, 2026 by stackitcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial