Documentation ¶
Index ¶
- func PossibleValuesForConfigurationSource() []string
- func PossibleValuesForIsConfigPendingRestart() []string
- func PossibleValuesForIsDynamicConfig() []string
- func PossibleValuesForIsReadOnly() []string
- func PossibleValuesForResetAllToDefault() []string
- func ValidateConfigurationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateFlexibleServerID(input interface{}, key string) (warnings []string, errors []error)
- type BatchUpdateOperationResponse
- type Configuration
- type ConfigurationForBatchUpdate
- type ConfigurationForBatchUpdateProperties
- type ConfigurationId
- type ConfigurationListForBatchUpdate
- type ConfigurationListResult
- type ConfigurationOperationPredicate
- type ConfigurationProperties
- type ConfigurationSource
- type ConfigurationsClient
- func (c ConfigurationsClient) BatchUpdate(ctx context.Context, id FlexibleServerId, ...) (result BatchUpdateOperationResponse, err error)
- func (c ConfigurationsClient) BatchUpdateThenPoll(ctx context.Context, id FlexibleServerId, ...) error
- func (c ConfigurationsClient) Get(ctx context.Context, id ConfigurationId) (result GetOperationResponse, err error)
- func (c ConfigurationsClient) ListByServer(ctx context.Context, id FlexibleServerId, options ListByServerOperationOptions) (resp ListByServerOperationResponse, err error)
- func (c ConfigurationsClient) ListByServerComplete(ctx context.Context, id FlexibleServerId, options ListByServerOperationOptions) (ListByServerCompleteResult, error)
- func (c ConfigurationsClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id FlexibleServerId, options ListByServerOperationOptions, ...) (resp ListByServerCompleteResult, err error)
- func (c ConfigurationsClient) Update(ctx context.Context, id ConfigurationId, input Configuration) (result UpdateOperationResponse, err error)
- func (c ConfigurationsClient) UpdateThenPoll(ctx context.Context, id ConfigurationId, input Configuration) error
- type FlexibleServerId
- type GetOperationResponse
- type IsConfigPendingRestart
- type IsDynamicConfig
- type IsReadOnly
- type ListByServerCompleteResult
- type ListByServerOperationOptions
- type ListByServerOperationResponse
- type ResetAllToDefault
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForConfigurationSource ¶
func PossibleValuesForConfigurationSource() []string
func PossibleValuesForIsConfigPendingRestart ¶
func PossibleValuesForIsConfigPendingRestart() []string
func PossibleValuesForIsDynamicConfig ¶
func PossibleValuesForIsDynamicConfig() []string
func PossibleValuesForIsReadOnly ¶
func PossibleValuesForIsReadOnly() []string
func PossibleValuesForResetAllToDefault ¶
func PossibleValuesForResetAllToDefault() []string
func ValidateConfigurationID ¶
ValidateConfigurationID checks that 'input' can be parsed as a Configuration ID
func ValidateFlexibleServerID ¶
ValidateFlexibleServerID checks that 'input' can be parsed as a Flexible Server ID
Types ¶
type BatchUpdateOperationResponse ¶
type BatchUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type Configuration ¶
type Configuration struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ConfigurationProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ConfigurationForBatchUpdate ¶
type ConfigurationForBatchUpdate struct { Name *string `json:"name,omitempty"` Properties *ConfigurationForBatchUpdateProperties `json:"properties,omitempty"` }
type ConfigurationId ¶
type ConfigurationId struct { SubscriptionId string ResourceGroupName string ServerName string ConfigurationName string }
ConfigurationId is a struct representing the Resource ID for a Configuration
func NewConfigurationID ¶
func NewConfigurationID(subscriptionId string, resourceGroupName string, serverName string, configurationName string) ConfigurationId
NewConfigurationID returns a new ConfigurationId struct
func ParseConfigurationID ¶
func ParseConfigurationID(input string) (*ConfigurationId, error)
ParseConfigurationID parses 'input' into a ConfigurationId
func ParseConfigurationIDInsensitively ¶
func ParseConfigurationIDInsensitively(input string) (*ConfigurationId, error)
ParseConfigurationIDInsensitively parses 'input' case-insensitively into a ConfigurationId note: this method should only be used for API response data and not user input
func (ConfigurationId) ID ¶
func (id ConfigurationId) ID() string
ID returns the formatted Configuration ID
func (ConfigurationId) Segments ¶
func (id ConfigurationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Configuration ID
func (ConfigurationId) String ¶
func (id ConfigurationId) String() string
String returns a human-readable description of this Configuration ID
type ConfigurationListForBatchUpdate ¶
type ConfigurationListForBatchUpdate struct { ResetAllToDefault *ResetAllToDefault `json:"resetAllToDefault,omitempty"` Value *[]ConfigurationForBatchUpdate `json:"value,omitempty"` }
type ConfigurationListResult ¶
type ConfigurationListResult struct { NextLink *string `json:"nextLink,omitempty"` Value *[]Configuration `json:"value,omitempty"` }
type ConfigurationOperationPredicate ¶
func (ConfigurationOperationPredicate) Matches ¶
func (p ConfigurationOperationPredicate) Matches(input Configuration) bool
type ConfigurationProperties ¶
type ConfigurationProperties struct { AllowedValues *string `json:"allowedValues,omitempty"` DataType *string `json:"dataType,omitempty"` DefaultValue *string `json:"defaultValue,omitempty"` Description *string `json:"description,omitempty"` IsConfigPendingRestart *IsConfigPendingRestart `json:"isConfigPendingRestart,omitempty"` IsDynamicConfig *IsDynamicConfig `json:"isDynamicConfig,omitempty"` IsReadOnly *IsReadOnly `json:"isReadOnly,omitempty"` Source *ConfigurationSource `json:"source,omitempty"` Value *string `json:"value,omitempty"` }
type ConfigurationSource ¶
type ConfigurationSource string
const ( ConfigurationSourceSystemNegativedefault ConfigurationSource = "system-default" ConfigurationSourceUserNegativeoverride ConfigurationSource = "user-override" )
type ConfigurationsClient ¶
type ConfigurationsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewConfigurationsClientWithBaseURI ¶
func NewConfigurationsClientWithBaseURI(endpoint string) ConfigurationsClient
func (ConfigurationsClient) BatchUpdate ¶
func (c ConfigurationsClient) BatchUpdate(ctx context.Context, id FlexibleServerId, input ConfigurationListForBatchUpdate) (result BatchUpdateOperationResponse, err error)
BatchUpdate ...
func (ConfigurationsClient) BatchUpdateThenPoll ¶
func (c ConfigurationsClient) BatchUpdateThenPoll(ctx context.Context, id FlexibleServerId, input ConfigurationListForBatchUpdate) error
BatchUpdateThenPoll performs BatchUpdate then polls until it's completed
func (ConfigurationsClient) Get ¶
func (c ConfigurationsClient) Get(ctx context.Context, id ConfigurationId) (result GetOperationResponse, err error)
Get ...
func (ConfigurationsClient) ListByServer ¶
func (c ConfigurationsClient) ListByServer(ctx context.Context, id FlexibleServerId, options ListByServerOperationOptions) (resp ListByServerOperationResponse, err error)
ListByServer ...
func (ConfigurationsClient) ListByServerComplete ¶
func (c ConfigurationsClient) ListByServerComplete(ctx context.Context, id FlexibleServerId, options ListByServerOperationOptions) (ListByServerCompleteResult, error)
ListByServerComplete retrieves all of the results into a single object
func (ConfigurationsClient) ListByServerCompleteMatchingPredicate ¶
func (c ConfigurationsClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id FlexibleServerId, options ListByServerOperationOptions, predicate ConfigurationOperationPredicate) (resp ListByServerCompleteResult, err error)
ListByServerCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ConfigurationsClient) Update ¶
func (c ConfigurationsClient) Update(ctx context.Context, id ConfigurationId, input Configuration) (result UpdateOperationResponse, err error)
Update ...
func (ConfigurationsClient) UpdateThenPoll ¶
func (c ConfigurationsClient) UpdateThenPoll(ctx context.Context, id ConfigurationId, input Configuration) error
UpdateThenPoll performs Update then polls until it's completed
type FlexibleServerId ¶
FlexibleServerId is a struct representing the Resource ID for a Flexible Server
func NewFlexibleServerID ¶
func NewFlexibleServerID(subscriptionId string, resourceGroupName string, serverName string) FlexibleServerId
NewFlexibleServerID returns a new FlexibleServerId struct
func ParseFlexibleServerID ¶
func ParseFlexibleServerID(input string) (*FlexibleServerId, error)
ParseFlexibleServerID parses 'input' into a FlexibleServerId
func ParseFlexibleServerIDInsensitively ¶
func ParseFlexibleServerIDInsensitively(input string) (*FlexibleServerId, error)
ParseFlexibleServerIDInsensitively parses 'input' case-insensitively into a FlexibleServerId note: this method should only be used for API response data and not user input
func (FlexibleServerId) ID ¶
func (id FlexibleServerId) ID() string
ID returns the formatted Flexible Server ID
func (FlexibleServerId) Segments ¶
func (id FlexibleServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Flexible Server ID
func (FlexibleServerId) String ¶
func (id FlexibleServerId) String() string
String returns a human-readable description of this Flexible Server ID
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *Configuration }
type IsConfigPendingRestart ¶
type IsConfigPendingRestart string
const ( IsConfigPendingRestartFalse IsConfigPendingRestart = "False" IsConfigPendingRestartTrue IsConfigPendingRestart = "True" )
type IsDynamicConfig ¶
type IsDynamicConfig string
const ( IsDynamicConfigFalse IsDynamicConfig = "False" IsDynamicConfigTrue IsDynamicConfig = "True" )
type IsReadOnly ¶
type IsReadOnly string
const ( IsReadOnlyFalse IsReadOnly = "False" IsReadOnlyTrue IsReadOnly = "True" )
type ListByServerCompleteResult ¶
type ListByServerCompleteResult struct {
Items []Configuration
}
type ListByServerOperationOptions ¶
type ListByServerOperationOptions struct { Keyword *string Page *int64 PageSize *int64 Tags *string }
func DefaultListByServerOperationOptions ¶
func DefaultListByServerOperationOptions() ListByServerOperationOptions
type ListByServerOperationResponse ¶
type ListByServerOperationResponse struct { HttpResponse *http.Response Model *[]Configuration // contains filtered or unexported fields }
func (ListByServerOperationResponse) HasMore ¶
func (r ListByServerOperationResponse) HasMore() bool
func (ListByServerOperationResponse) LoadMore ¶
func (r ListByServerOperationResponse) LoadMore(ctx context.Context) (resp ListByServerOperationResponse, err error)
type ResetAllToDefault ¶
type ResetAllToDefault string
const ( ResetAllToDefaultFalse ResetAllToDefault = "False" ResetAllToDefaultTrue ResetAllToDefault = "True" )
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
Source Files ¶
- client.go
- constants.go
- id_configuration.go
- id_flexibleserver.go
- method_batchupdate_autorest.go
- method_get_autorest.go
- method_listbyserver_autorest.go
- method_update_autorest.go
- model_configuration.go
- model_configurationforbatchupdate.go
- model_configurationforbatchupdateproperties.go
- model_configurationlistforbatchupdate.go
- model_configurationlistresult.go
- model_configurationproperties.go
- predicates.go
- version.go