feat: mssql alpha instance (#2)

* fix: remove unused attribute types and functions from backup models

* fix: update API client references to use sqlserverflexalpha package

* fix: update package references to use sqlserverflexalpha and modify user data source model

* fix: add sqlserverflexalpha user data source to provider

* fix: add sqlserverflexalpha user resource and update related functionality

* chore: add stackit_sqlserverflexalpha_user resource and instance_id variable

* fix: refactor sqlserverflexalpha user resource and enhance schema with status and default_database

---------

Co-authored-by: Andre Harms <andre.harms@stackit.cloud>
Co-authored-by: Marcel S. Henselin <marcel.henselin@stackit.cloud>
This commit is contained in:
Marcel S. Henselin 2025-12-19 08:56:46 +01:00 committed by GitHub
parent df25ceffd4
commit 5381516661
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
385 changed files with 1431 additions and 14841 deletions

View file

@ -21,22 +21,6 @@ var _ MappedNullable = &ListBackup{}
types and functions for completionTime
*/
// isAny
type ListBackupGetCompletionTimeAttributeType = any
type ListBackupGetCompletionTimeArgType = any
type ListBackupGetCompletionTimeRetType = any
func getListBackupGetCompletionTimeAttributeTypeOk(arg ListBackupGetCompletionTimeAttributeType) (ret ListBackupGetCompletionTimeRetType, ok bool) {
if arg == nil {
return ret, false
}
return *arg, true
}
func setListBackupGetCompletionTimeAttributeType(arg *ListBackupGetCompletionTimeAttributeType, val ListBackupGetCompletionTimeRetType) {
*arg = &val
}
// isModel
type ListBackupGetCompletionTimeAttributeType = *string
type ListBackupGetCompletionTimeArgType = string
@ -57,22 +41,6 @@ func setListBackupGetCompletionTimeAttributeType(arg *ListBackupGetCompletionTim
types and functions for id
*/
// isAny
type ListBackupGetIdAttributeType = any
type ListBackupGetIdArgType = any
type ListBackupGetIdRetType = any
func getListBackupGetIdAttributeTypeOk(arg ListBackupGetIdAttributeType) (ret ListBackupGetIdRetType, ok bool) {
if arg == nil {
return ret, false
}
return *arg, true
}
func setListBackupGetIdAttributeType(arg *ListBackupGetIdAttributeType, val ListBackupGetIdRetType) {
*arg = &val
}
// isModel
type ListBackupGetIdAttributeType = *int64
type ListBackupGetIdArgType = int64
@ -93,22 +61,6 @@ func setListBackupGetIdAttributeType(arg *ListBackupGetIdAttributeType, val List
types and functions for name
*/
// isAny
type ListBackupGetNameAttributeType = any
type ListBackupGetNameArgType = any
type ListBackupGetNameRetType = any
func getListBackupGetNameAttributeTypeOk(arg ListBackupGetNameAttributeType) (ret ListBackupGetNameRetType, ok bool) {
if arg == nil {
return ret, false
}
return *arg, true
}
func setListBackupGetNameAttributeType(arg *ListBackupGetNameAttributeType, val ListBackupGetNameRetType) {
*arg = &val
}
// isModel
type ListBackupGetNameAttributeType = *string
type ListBackupGetNameArgType = string
@ -129,22 +81,6 @@ func setListBackupGetNameAttributeType(arg *ListBackupGetNameAttributeType, val
types and functions for retainedUntil
*/
// isAny
type ListBackupGetRetainedUntilAttributeType = any
type ListBackupGetRetainedUntilArgType = any
type ListBackupGetRetainedUntilRetType = any
func getListBackupGetRetainedUntilAttributeTypeOk(arg ListBackupGetRetainedUntilAttributeType) (ret ListBackupGetRetainedUntilRetType, ok bool) {
if arg == nil {
return ret, false
}
return *arg, true
}
func setListBackupGetRetainedUntilAttributeType(arg *ListBackupGetRetainedUntilAttributeType, val ListBackupGetRetainedUntilRetType) {
*arg = &val
}
// isModel
type ListBackupGetRetainedUntilAttributeType = *string
type ListBackupGetRetainedUntilArgType = string
@ -161,26 +97,6 @@ func setListBackupGetRetainedUntilAttributeType(arg *ListBackupGetRetainedUntilA
*arg = &val
}
/*
types and functions for size
*/
// isAny
type ListBackupGetSizeAttributeType = any
type ListBackupGetSizeArgType = any
type ListBackupGetSizeRetType = any
func getListBackupGetSizeAttributeTypeOk(arg ListBackupGetSizeAttributeType) (ret ListBackupGetSizeRetType, ok bool) {
if arg == nil {
return ret, false
}
return *arg, true
}
func setListBackupGetSizeAttributeType(arg *ListBackupGetSizeAttributeType, val ListBackupGetSizeRetType) {
*arg = &val
}
// isModel
type ListBackupGetSizeAttributeType = *int64
type ListBackupGetSizeArgType = int64
@ -197,26 +113,6 @@ func setListBackupGetSizeAttributeType(arg *ListBackupGetSizeAttributeType, val
*arg = &val
}
/*
types and functions for type
*/
// isAny
type ListBackupGetTypeAttributeType = any
type ListBackupGetTypeArgType = any
type ListBackupGetTypeRetType = any
func getListBackupGetTypeAttributeTypeOk(arg ListBackupGetTypeAttributeType) (ret ListBackupGetTypeRetType, ok bool) {
if arg == nil {
return ret, false
}
return *arg, true
}
func setListBackupGetTypeAttributeType(arg *ListBackupGetTypeAttributeType, val ListBackupGetTypeRetType) {
*arg = &val
}
// isModel
type ListBackupGetTypeAttributeType = *string
type ListBackupGetTypeArgType = string