README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2017-12-01/configurationsupdate
Documentation
The configurationsupdate
SDK allows for interaction with the Azure Resource Manager Service mysql
(API Version 2017-12-01
).
This readme covers example usages, but further information on using this SDK can be found in the project root.
Import Path
import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2017-12-01/configurationsupdate"
Client Initialization
client := configurationsupdate.NewConfigurationsUpdateClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: ConfigurationsUpdateClient.ServerParametersListUpdateConfigurations
ctx := context.TODO()
id := configurationsupdate.NewServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverValue")
payload := configurationsupdate.ConfigurationListResult{
// ...
}
if err := client.ServerParametersListUpdateConfigurationsThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Documentation ¶
Index ¶
- func ValidateServerID(input interface{}, key string) (warnings []string, errors []error)
- type Configuration
- type ConfigurationListResult
- type ConfigurationProperties
- type ConfigurationsUpdateClient
- func (c ConfigurationsUpdateClient) ServerParametersListUpdateConfigurations(ctx context.Context, id ServerId, input ConfigurationListResult) (result ServerParametersListUpdateConfigurationsOperationResponse, err error)
- func (c ConfigurationsUpdateClient) ServerParametersListUpdateConfigurationsThenPoll(ctx context.Context, id ServerId, input ConfigurationListResult) error
- type ServerId
- type ServerParametersListUpdateConfigurationsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateServerID ¶
ValidateServerID checks that 'input' can be parsed as a Server ID
Types ¶
type Configuration ¶
type Configuration struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ConfigurationProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ConfigurationListResult ¶
type ConfigurationListResult struct {
Value *[]Configuration `json:"value,omitempty"`
}
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"` Source *string `json:"source,omitempty"` Value *string `json:"value,omitempty"` }
type ConfigurationsUpdateClient ¶
type ConfigurationsUpdateClient struct {
Client *resourcemanager.Client
}
func NewConfigurationsUpdateClientWithBaseURI ¶
func NewConfigurationsUpdateClientWithBaseURI(sdkApi sdkEnv.Api) (*ConfigurationsUpdateClient, error)
func (ConfigurationsUpdateClient) ServerParametersListUpdateConfigurations ¶
func (c ConfigurationsUpdateClient) ServerParametersListUpdateConfigurations(ctx context.Context, id ServerId, input ConfigurationListResult) (result ServerParametersListUpdateConfigurationsOperationResponse, err error)
ServerParametersListUpdateConfigurations ...
func (ConfigurationsUpdateClient) ServerParametersListUpdateConfigurationsThenPoll ¶
func (c ConfigurationsUpdateClient) ServerParametersListUpdateConfigurationsThenPoll(ctx context.Context, id ServerId, input ConfigurationListResult) error
ServerParametersListUpdateConfigurationsThenPoll performs ServerParametersListUpdateConfigurations then polls until it's completed
type ServerId ¶
ServerId is a struct representing the Resource ID for a Server
func NewServerID ¶
NewServerID returns a new ServerId struct
func ParseServerID ¶
ParseServerID parses 'input' into a ServerId
func ParseServerIDInsensitively ¶
ParseServerIDInsensitively parses 'input' case-insensitively into a ServerId note: this method should only be used for API response data and not user input
func (*ServerId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ServerId) FromParseResult(input resourceids.ParseResult) error
func (ServerId) Segments ¶
func (id ServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Server ID