Feat: alpha sqlserver user (#12)
* 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 * chore: remove not needed service files * chore: cleanup import in utils * fix: provider name change * fix: clone missing doc files * fix: docs adjustments * fix: docs CI scripts * fix: docs naming * fix: remove guides from docs * fix: adjust examples * fix: remove obsolete doc templates * fix: docs adjustments * fix: add missing doc file * fix: temp rename file --------- Co-authored-by: Andre Harms <andre.harms@stackit.cloud> Co-authored-by: Marcel S. Henselin <marcel.henselin@stackit.cloud>
This commit is contained in:
parent
c9193e0237
commit
99f2853ae5
51 changed files with 669 additions and 267 deletions
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) STACKIT
|
||||
|
||||
/*
|
||||
STACKIT MSSQL Service API
|
||||
|
||||
|
|
|
|||
|
|
@ -21,22 +21,6 @@ var _ MappedNullable = &GetBackupResponse{}
|
|||
types and functions for completionTime
|
||||
*/
|
||||
|
||||
//// isAny
|
||||
//type GetBackupResponseGetCompletionTimeAttributeType = any
|
||||
//type GetBackupResponseGetCompletionTimeArgType = any
|
||||
//type GetBackupResponseGetCompletionTimeRetType = any
|
||||
//
|
||||
//func getGetBackupResponseGetCompletionTimeAttributeTypeOk(arg GetBackupResponseGetCompletionTimeAttributeType) (ret GetBackupResponseGetCompletionTimeRetType, ok bool) {
|
||||
// if arg == nil {
|
||||
// return ret, false
|
||||
// }
|
||||
// return *arg, true
|
||||
//}
|
||||
//
|
||||
//func setGetBackupResponseGetCompletionTimeAttributeType(arg *GetBackupResponseGetCompletionTimeAttributeType, val GetBackupResponseGetCompletionTimeRetType) {
|
||||
// *arg = &val
|
||||
//}
|
||||
|
||||
// isModel
|
||||
type GetBackupResponseGetCompletionTimeAttributeType = *string
|
||||
type GetBackupResponseGetCompletionTimeArgType = string
|
||||
|
|
@ -57,22 +41,6 @@ func setGetBackupResponseGetCompletionTimeAttributeType(arg *GetBackupResponseGe
|
|||
types and functions for id
|
||||
*/
|
||||
|
||||
//// isAny
|
||||
//type GetBackupResponseGetIdAttributeType = any
|
||||
//type GetBackupResponseGetIdArgType = any
|
||||
//type GetBackupResponseGetIdRetType = any
|
||||
//
|
||||
//func getGetBackupResponseGetIdAttributeTypeOk(arg GetBackupResponseGetIdAttributeType) (ret GetBackupResponseGetIdRetType, ok bool) {
|
||||
// if arg == nil {
|
||||
// return ret, false
|
||||
// }
|
||||
// return *arg, true
|
||||
//}
|
||||
//
|
||||
//func setGetBackupResponseGetIdAttributeType(arg *GetBackupResponseGetIdAttributeType, val GetBackupResponseGetIdRetType) {
|
||||
// *arg = &val
|
||||
//}
|
||||
|
||||
// isModel
|
||||
type GetBackupResponseGetIdAttributeType = *int64
|
||||
type GetBackupResponseGetIdArgType = int64
|
||||
|
|
@ -92,23 +60,6 @@ func setGetBackupResponseGetIdAttributeType(arg *GetBackupResponseGetIdAttribute
|
|||
/*
|
||||
types and functions for name
|
||||
*/
|
||||
|
||||
//// isAny
|
||||
//type GetBackupResponseGetNameAttributeType = any
|
||||
//type GetBackupResponseGetNameArgType = any
|
||||
//type GetBackupResponseGetNameRetType = any
|
||||
//
|
||||
//func getGetBackupResponseGetNameAttributeTypeOk(arg GetBackupResponseGetNameAttributeType) (ret GetBackupResponseGetNameRetType, ok bool) {
|
||||
// if arg == nil {
|
||||
// return ret, false
|
||||
// }
|
||||
// return *arg, true
|
||||
//}
|
||||
//
|
||||
//func setGetBackupResponseGetNameAttributeType(arg *GetBackupResponseGetNameAttributeType, val GetBackupResponseGetNameRetType) {
|
||||
// *arg = &val
|
||||
//}
|
||||
|
||||
// isModel
|
||||
type GetBackupResponseGetNameAttributeType = *string
|
||||
type GetBackupResponseGetNameArgType = string
|
||||
|
|
@ -129,22 +80,6 @@ func setGetBackupResponseGetNameAttributeType(arg *GetBackupResponseGetNameAttri
|
|||
types and functions for retainedUntil
|
||||
*/
|
||||
|
||||
//// isAny
|
||||
//type GetBackupResponseGetRetainedUntilAttributeType = any
|
||||
//type GetBackupResponseGetRetainedUntilArgType = any
|
||||
//type GetBackupResponseGetRetainedUntilRetType = any
|
||||
//
|
||||
//func getGetBackupResponseGetRetainedUntilAttributeTypeOk(arg GetBackupResponseGetRetainedUntilAttributeType) (ret GetBackupResponseGetRetainedUntilRetType, ok bool) {
|
||||
// if arg == nil {
|
||||
// return ret, false
|
||||
// }
|
||||
// return *arg, true
|
||||
//}
|
||||
//
|
||||
//func setGetBackupResponseGetRetainedUntilAttributeType(arg *GetBackupResponseGetRetainedUntilAttributeType, val GetBackupResponseGetRetainedUntilRetType) {
|
||||
// *arg = &val
|
||||
//}
|
||||
|
||||
// isModel
|
||||
type GetBackupResponseGetRetainedUntilAttributeType = *string
|
||||
type GetBackupResponseGetRetainedUntilArgType = string
|
||||
|
|
@ -165,22 +100,6 @@ func setGetBackupResponseGetRetainedUntilAttributeType(arg *GetBackupResponseGet
|
|||
types and functions for size
|
||||
*/
|
||||
|
||||
//// isAny
|
||||
//type GetBackupResponseGetSizeAttributeType = any
|
||||
//type GetBackupResponseGetSizeArgType = any
|
||||
//type GetBackupResponseGetSizeRetType = any
|
||||
//
|
||||
//func getGetBackupResponseGetSizeAttributeTypeOk(arg GetBackupResponseGetSizeAttributeType) (ret GetBackupResponseGetSizeRetType, ok bool) {
|
||||
// if arg == nil {
|
||||
// return ret, false
|
||||
// }
|
||||
// return *arg, true
|
||||
//}
|
||||
//
|
||||
//func setGetBackupResponseGetSizeAttributeType(arg *GetBackupResponseGetSizeAttributeType, val GetBackupResponseGetSizeRetType) {
|
||||
// *arg = &val
|
||||
//}
|
||||
|
||||
// isModel
|
||||
type GetBackupResponseGetSizeAttributeType = *int64
|
||||
type GetBackupResponseGetSizeArgType = int64
|
||||
|
|
@ -201,22 +120,6 @@ func setGetBackupResponseGetSizeAttributeType(arg *GetBackupResponseGetSizeAttri
|
|||
types and functions for type
|
||||
*/
|
||||
|
||||
//// isAny
|
||||
//type GetBackupResponseGetTypeAttributeType = any
|
||||
//type GetBackupResponseGetTypeArgType = any
|
||||
//type GetBackupResponseGetTypeRetType = any
|
||||
//
|
||||
//func getGetBackupResponseGetTypeAttributeTypeOk(arg GetBackupResponseGetTypeAttributeType) (ret GetBackupResponseGetTypeRetType, ok bool) {
|
||||
// if arg == nil {
|
||||
// return ret, false
|
||||
// }
|
||||
// return *arg, true
|
||||
//}
|
||||
//
|
||||
//func setGetBackupResponseGetTypeAttributeType(arg *GetBackupResponseGetTypeAttributeType, val GetBackupResponseGetTypeRetType) {
|
||||
// *arg = &val
|
||||
//}
|
||||
|
||||
// isModel
|
||||
type GetBackupResponseGetTypeAttributeType = *string
|
||||
type GetBackupResponseGetTypeArgType = string
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) STACKIT
|
||||
|
||||
package wait
|
||||
|
||||
import (
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) STACKIT
|
||||
|
||||
package wait
|
||||
|
||||
import (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue