Documentation
¶
Overview ¶
Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead
Index ¶
- Constants
- func DisableServiceWaitHandler(ctx context.Context, a APIClientInstanceInterface, ...) *wait.AsyncActionHandler[serviceenablement.ServiceStatus]deprecated
- func EnableServiceWaitHandler(ctx context.Context, a APIClientInstanceInterface, ...) *wait.AsyncActionHandler[serviceenablement.ServiceStatus]deprecated
- type APIClientInstanceInterface
Constants ¶
View Source
const ( // Deprecated: ServiceStateEnabled is deprecated and will be removed after 14th November 2025. Use [serviceenablement.SERVICESTATUSSTATE_ENABLED] instead. ServiceStateEnabled = "ENABLED" // Deprecated: ServiceStateEnabling is deprecated and will be removed after 14th November 2025. Use [serviceenablement.SERVICESTATUSSTATE_ENABLING] instead. ServiceStateEnabling = "ENABLING" // Deprecated: ServiceStateDisabled is deprecated and will be removed after 14th November 2025. Use [serviceenablement.SERVICESTATUSSTATE_DISABLED] instead. ServiceStateDisabled = "DISABLED" // Deprecated: ServiceStateDisabling is deprecated and will be removed after 14th November 2025. Use [serviceenablement.SERVICESTATUSSTATE_DISABLING] instead. ServiceStateDisabling = "DISABLING" )
Variables ¶
This section is empty.
Functions ¶
func DisableServiceWaitHandler
deprecated
func DisableServiceWaitHandler(ctx context.Context, a APIClientInstanceInterface, region, projectId, serviceId string) *wait.AsyncActionHandler[serviceenablement.ServiceStatus]
Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead
func EnableServiceWaitHandler
deprecated
func EnableServiceWaitHandler(ctx context.Context, a APIClientInstanceInterface, region, projectId, serviceId string) *wait.AsyncActionHandler[serviceenablement.ServiceStatus]
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 {
GetServiceStatusRegionalExecute(ctx context.Context, region, projectId, serviceId string) (*serviceenablement.ServiceStatus, error)
}
Interface needed for tests Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead
Click to show internal directories.
Click to hide internal directories.