Documentation
¶
Overview ¶
Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead
Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead
Index ¶
- Constants
- func CreateInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, ...) *wait.AsyncActionHandler[sqlserverflex.GetInstanceResponse]
- func DeleteInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, ...) *wait.AsyncActionHandler[struct{}]
- func PartialUpdateInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, ...) *wait.AsyncActionHandler[sqlserverflex.GetInstanceResponse]
- func UpdateInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, ...) *wait.AsyncActionHandler[sqlserverflex.GetInstanceResponse]
- type APIClientInstanceInterface
Constants ¶
const ( // Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead InstanceStateEmpty = "" // Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead InstanceStateProcessing = "Progressing" // Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead InstanceStateUnknown = "Unknown" // Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead InstanceStateSuccess = "Ready" // Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead InstanceStateFailed = "Failed" )
Variables ¶
This section is empty.
Functions ¶
func CreateInstanceWaitHandler ¶
func CreateInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, projectId, instanceId, region string) *wait.AsyncActionHandler[sqlserverflex.GetInstanceResponse]
CreateInstanceWaitHandler will wait for instance creation Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead
func DeleteInstanceWaitHandler ¶
func DeleteInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, projectId, instanceId, region string) *wait.AsyncActionHandler[struct{}]
DeleteInstanceWaitHandler will wait for instance deletion Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead
func PartialUpdateInstanceWaitHandler ¶
func PartialUpdateInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, projectId, instanceId, region string) *wait.AsyncActionHandler[sqlserverflex.GetInstanceResponse]
PartialUpdateInstanceWaitHandler will wait for instance update Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead
func UpdateInstanceWaitHandler ¶
func UpdateInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, projectId, instanceId, region string) *wait.AsyncActionHandler[sqlserverflex.GetInstanceResponse]
UpdateInstanceWaitHandler will wait for instance update Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead
Types ¶
type APIClientInstanceInterface ¶
type APIClientInstanceInterface interface {
GetInstanceExecute(ctx context.Context, projectId, instanceId, region string) (*sqlserverflex.GetInstanceResponse, error)
}
Interface needed for tests Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead