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 user data source schema. Must have a region specified in the provider configuration.
Example Usage
data "stackit_sqlserverflex_user" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
user_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Using getSqlserverflexUser
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 getSqlserverflexUser(args: GetSqlserverflexUserArgs, opts?: InvokeOptions): Promise<GetSqlserverflexUserResult>
function getSqlserverflexUserOutput(args: GetSqlserverflexUserOutputArgs, opts?: InvokeOptions): Output<GetSqlserverflexUserResult>def get_sqlserverflex_user(instance_id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
user_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSqlserverflexUserResult
def get_sqlserverflex_user_output(instance_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
user_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSqlserverflexUserResult]func LookupSqlserverflexUser(ctx *Context, args *LookupSqlserverflexUserArgs, opts ...InvokeOption) (*LookupSqlserverflexUserResult, error)
func LookupSqlserverflexUserOutput(ctx *Context, args *LookupSqlserverflexUserOutputArgs, opts ...InvokeOption) LookupSqlserverflexUserResultOutput> Note: This function is named LookupSqlserverflexUser in the Go SDK.
public static class GetSqlserverflexUser
{
public static Task<GetSqlserverflexUserResult> InvokeAsync(GetSqlserverflexUserArgs args, InvokeOptions? opts = null)
public static Output<GetSqlserverflexUserResult> Invoke(GetSqlserverflexUserInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSqlserverflexUserResult> getSqlserverflexUser(GetSqlserverflexUserArgs args, InvokeOptions options)
public static Output<GetSqlserverflexUserResult> getSqlserverflexUser(GetSqlserverflexUserArgs args, InvokeOptions options)
fn::invoke:
function: stackit:index/getSqlserverflexUser:getSqlserverflexUser
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.
- User
Id string - User ID.
- 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.
- User
Id string - User ID.
- 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.
- user
Id String - User ID.
- 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.
- user
Id string - User ID.
- 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.
- user_
id str - User ID.
- 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.
- user
Id String - User ID.
- region String
- The resource region. If not defined, the provider region is used.
getSqlserverflexUser Result
The following output properties are available:
- Host string
- Id string
- Instance
Id string - ID of the SQLServer Flex instance.
- Port int
- Project
Id string - STACKIT project ID to which the instance is associated.
- Roles List<string>
- Database access levels for the user.
- User
Id string - User ID.
- Username string
- Username of the SQLServer Flex instance.
- Region string
- The resource region. If not defined, the provider region is used.
- Host string
- Id string
- Instance
Id string - ID of the SQLServer Flex instance.
- Port int
- Project
Id string - STACKIT project ID to which the instance is associated.
- Roles []string
- Database access levels for the user.
- User
Id string - User ID.
- Username string
- Username of the SQLServer Flex instance.
- Region string
- The resource region. If not defined, the provider region is used.
- host String
- id String
- instance
Id String - ID of the SQLServer Flex instance.
- port Integer
- project
Id String - STACKIT project ID to which the instance is associated.
- roles List<String>
- Database access levels for the user.
- user
Id String - User ID.
- username String
- Username of the SQLServer Flex instance.
- region String
- The resource region. If not defined, the provider region is used.
- host string
- id string
- instance
Id string - ID of the SQLServer Flex instance.
- port number
- project
Id string - STACKIT project ID to which the instance is associated.
- roles string[]
- Database access levels for the user.
- user
Id string - User ID.
- username string
- Username of the SQLServer Flex instance.
- region string
- The resource region. If not defined, the provider region is used.
- host str
- id str
- instance_
id str - ID of the SQLServer Flex instance.
- port int
- project_
id str - STACKIT project ID to which the instance is associated.
- roles Sequence[str]
- Database access levels for the user.
- user_
id str - User ID.
- username str
- Username of the SQLServer Flex instance.
- region str
- The resource region. If not defined, the provider region is used.
- host String
- id String
- instance
Id String - ID of the SQLServer Flex instance.
- port Number
- project
Id String - STACKIT project ID to which the instance is associated.
- roles List<String>
- Database access levels for the user.
- user
Id String - User ID.
- username String
- Username of the SQLServer Flex instance.
- region String
- The resource region. If not defined, the provider region is used.
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
