Documentation ¶
Index ¶
- func PossibleValuesForAutomaticTuningOptionModeActual() []string
- func PossibleValuesForAutomaticTuningOptionModeDesired() []string
- func PossibleValuesForAutomaticTuningServerMode() []string
- func PossibleValuesForAutomaticTuningServerReason() []string
- type AutomaticTuningOptionModeActual
- type AutomaticTuningOptionModeDesired
- type AutomaticTuningServerMode
- type AutomaticTuningServerOptions
- type AutomaticTuningServerProperties
- type AutomaticTuningServerReason
- type GetOperationResponse
- type ServerAutomaticTuning
- type ServerAutomaticTuningClient
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAutomaticTuningOptionModeActual ¶
func PossibleValuesForAutomaticTuningOptionModeActual() []string
func PossibleValuesForAutomaticTuningOptionModeDesired ¶
func PossibleValuesForAutomaticTuningOptionModeDesired() []string
func PossibleValuesForAutomaticTuningServerMode ¶
func PossibleValuesForAutomaticTuningServerMode() []string
func PossibleValuesForAutomaticTuningServerReason ¶
func PossibleValuesForAutomaticTuningServerReason() []string
Types ¶
type AutomaticTuningOptionModeActual ¶
type AutomaticTuningOptionModeActual string
const ( AutomaticTuningOptionModeActualOff AutomaticTuningOptionModeActual = "Off" AutomaticTuningOptionModeActualOn AutomaticTuningOptionModeActual = "On" )
func (*AutomaticTuningOptionModeActual) UnmarshalJSON ¶
func (s *AutomaticTuningOptionModeActual) UnmarshalJSON(bytes []byte) error
type AutomaticTuningOptionModeDesired ¶
type AutomaticTuningOptionModeDesired string
const ( AutomaticTuningOptionModeDesiredDefault AutomaticTuningOptionModeDesired = "Default" AutomaticTuningOptionModeDesiredOff AutomaticTuningOptionModeDesired = "Off" AutomaticTuningOptionModeDesiredOn AutomaticTuningOptionModeDesired = "On" )
func (*AutomaticTuningOptionModeDesired) UnmarshalJSON ¶
func (s *AutomaticTuningOptionModeDesired) UnmarshalJSON(bytes []byte) error
type AutomaticTuningServerMode ¶
type AutomaticTuningServerMode string
const ( AutomaticTuningServerModeAuto AutomaticTuningServerMode = "Auto" AutomaticTuningServerModeCustom AutomaticTuningServerMode = "Custom" AutomaticTuningServerModeUnspecified AutomaticTuningServerMode = "Unspecified" )
func (*AutomaticTuningServerMode) UnmarshalJSON ¶
func (s *AutomaticTuningServerMode) UnmarshalJSON(bytes []byte) error
type AutomaticTuningServerOptions ¶
type AutomaticTuningServerOptions struct { ActualState *AutomaticTuningOptionModeActual `json:"actualState,omitempty"` DesiredState *AutomaticTuningOptionModeDesired `json:"desiredState,omitempty"` ReasonCode *int64 `json:"reasonCode,omitempty"` ReasonDesc *AutomaticTuningServerReason `json:"reasonDesc,omitempty"` }
type AutomaticTuningServerProperties ¶
type AutomaticTuningServerProperties struct { ActualState *AutomaticTuningServerMode `json:"actualState,omitempty"` DesiredState *AutomaticTuningServerMode `json:"desiredState,omitempty"` Options *map[string]AutomaticTuningServerOptions `json:"options,omitempty"` }
type AutomaticTuningServerReason ¶
type AutomaticTuningServerReason string
const ( AutomaticTuningServerReasonAutoConfigured AutomaticTuningServerReason = "AutoConfigured" AutomaticTuningServerReasonDefault AutomaticTuningServerReason = "Default" AutomaticTuningServerReasonDisabled AutomaticTuningServerReason = "Disabled" )
func (*AutomaticTuningServerReason) UnmarshalJSON ¶
func (s *AutomaticTuningServerReason) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ServerAutomaticTuning }
type ServerAutomaticTuning ¶
type ServerAutomaticTuning struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AutomaticTuningServerProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ServerAutomaticTuningClient ¶
type ServerAutomaticTuningClient struct {
Client *resourcemanager.Client
}
func NewServerAutomaticTuningClientWithBaseURI ¶
func NewServerAutomaticTuningClientWithBaseURI(sdkApi sdkEnv.Api) (*ServerAutomaticTuningClient, error)
func (ServerAutomaticTuningClient) Get ¶
func (c ServerAutomaticTuningClient) Get(ctx context.Context, id commonids.SqlServerId) (result GetOperationResponse, err error)
Get ...
func (ServerAutomaticTuningClient) Update ¶
func (c ServerAutomaticTuningClient) Update(ctx context.Context, id commonids.SqlServerId, input ServerAutomaticTuning) (result UpdateOperationResponse, err error)
Update ...
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ServerAutomaticTuning }
Click to show internal directories.
Click to hide internal directories.