Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForFailoverMode() []string + func ValidateFlexibleServerID(input interface{}, key string) (warnings []string, errors []error) + type FailoverMode string + const FailoverModeForcedFailover + const FailoverModeForcedSwitchover + const FailoverModePlannedFailover + const FailoverModePlannedSwitchover + func (s *FailoverMode) UnmarshalJSON(bytes []byte) error + type FlexibleServerId struct + FlexibleServerName string + ResourceGroupName string + SubscriptionId string + func NewFlexibleServerID(subscriptionId string, resourceGroupName string, flexibleServerName string) FlexibleServerId + func ParseFlexibleServerID(input string) (*FlexibleServerId, error) + func ParseFlexibleServerIDInsensitively(input string) (*FlexibleServerId, error) + func (id *FlexibleServerId) FromParseResult(input resourceids.ParseResult) error + func (id FlexibleServerId) ID() string + func (id FlexibleServerId) Segments() []resourceids.Segment + func (id FlexibleServerId) String() string + type RestartParameter struct + FailoverMode *FailoverMode + RestartWithFailover *bool + type ServerRestartClient struct + Client *resourcemanager.Client + func NewServerRestartClientWithBaseURI(sdkApi sdkEnv.Api) (*ServerRestartClient, error) + func (c ServerRestartClient) ServersRestart(ctx context.Context, id FlexibleServerId, input RestartParameter) (result ServersRestartOperationResponse, err error) + func (c ServerRestartClient) ServersRestartThenPoll(ctx context.Context, id FlexibleServerId, input RestartParameter) error + type ServersRestartOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller