azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb Index | Files | Directories

package mariadb

import "github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb"

Package mariadb implements the Azure ARM Mariadb service API version 2018-06-01.

MariaDB Client

Index

Package Files

advisors.go checknameavailability.go client.go configurations.go databases.go firewallrules.go locationbasedperformancetier.go locationbasedrecommendedactionsessionsoperationstatus.go locationbasedrecommendedactionsessionsresult.go logfiles.go models.go operations.go privateendpointconnections.go privatelinkresources.go querytexts.go recommendedactions.go replicas.go servers.go serversecurityalertpolicies.go topquerystatistics.go version.go virtualnetworkrules.go waitstatistics.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Mariadb
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent Uses

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version Uses

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type Advisor Uses

type Advisor struct {
    autorest.Response `json:"-"`
    // Properties - The properties of a recommendation action advisor.
    Properties interface{} `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

Advisor represents a recommendation action advisor.

type AdvisorsClient Uses

type AdvisorsClient struct {
    BaseClient
}

AdvisorsClient is the mariaDB Client

func NewAdvisorsClient Uses

func NewAdvisorsClient(subscriptionID string) AdvisorsClient

NewAdvisorsClient creates an instance of the AdvisorsClient client.

func NewAdvisorsClientWithBaseURI Uses

func NewAdvisorsClientWithBaseURI(baseURI string, subscriptionID string) AdvisorsClient

NewAdvisorsClientWithBaseURI creates an instance of the AdvisorsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AdvisorsClient) Get Uses

func (client AdvisorsClient) Get(ctx context.Context, resourceGroupName string, serverName string, advisorName string) (result Advisor, err error)

Get get a recommendation action advisor. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. advisorName - the advisor name for recommendation action.

func (AdvisorsClient) GetPreparer Uses

func (client AdvisorsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, advisorName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AdvisorsClient) GetResponder Uses

func (client AdvisorsClient) GetResponder(resp *http.Response) (result Advisor, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AdvisorsClient) GetSender Uses

func (client AdvisorsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AdvisorsClient) ListByServer Uses

func (client AdvisorsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result AdvisorsResultListPage, err error)

ListByServer list recommendation action advisors. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server.

func (AdvisorsClient) ListByServerComplete Uses

func (client AdvisorsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result AdvisorsResultListIterator, err error)

ListByServerComplete enumerates all values, automatically crossing page boundaries as required.

func (AdvisorsClient) ListByServerPreparer Uses

func (client AdvisorsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)

ListByServerPreparer prepares the ListByServer request.

func (AdvisorsClient) ListByServerResponder Uses

func (client AdvisorsClient) ListByServerResponder(resp *http.Response) (result AdvisorsResultList, err error)

ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.

func (AdvisorsClient) ListByServerSender Uses

func (client AdvisorsClient) ListByServerSender(req *http.Request) (*http.Response, error)

ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.

type AdvisorsResultList Uses

type AdvisorsResultList struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; The list of recommendation action advisors.
    Value *[]Advisor `json:"value,omitempty"`
    // NextLink - READ-ONLY; Link to retrieve next page of results.
    NextLink *string `json:"nextLink,omitempty"`
}

AdvisorsResultList a list of query statistics.

func (AdvisorsResultList) IsEmpty Uses

func (arl AdvisorsResultList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AdvisorsResultListIterator Uses

type AdvisorsResultListIterator struct {
    // contains filtered or unexported fields
}

AdvisorsResultListIterator provides access to a complete listing of Advisor values.

func NewAdvisorsResultListIterator Uses

func NewAdvisorsResultListIterator(page AdvisorsResultListPage) AdvisorsResultListIterator

Creates a new instance of the AdvisorsResultListIterator type.

func (*AdvisorsResultListIterator) Next Uses

func (iter *AdvisorsResultListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AdvisorsResultListIterator) NextWithContext Uses

func (iter *AdvisorsResultListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AdvisorsResultListIterator) NotDone Uses

func (iter AdvisorsResultListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AdvisorsResultListIterator) Response Uses

func (iter AdvisorsResultListIterator) Response() AdvisorsResultList

Response returns the raw server response from the last page request.

func (AdvisorsResultListIterator) Value Uses

func (iter AdvisorsResultListIterator) Value() Advisor

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AdvisorsResultListPage Uses

type AdvisorsResultListPage struct {
    // contains filtered or unexported fields
}

AdvisorsResultListPage contains a page of Advisor values.

func NewAdvisorsResultListPage Uses

func NewAdvisorsResultListPage(getNextPage func(context.Context, AdvisorsResultList) (AdvisorsResultList, error)) AdvisorsResultListPage

Creates a new instance of the AdvisorsResultListPage type.

func (*AdvisorsResultListPage) Next Uses

func (page *AdvisorsResultListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AdvisorsResultListPage) NextWithContext Uses

func (page *AdvisorsResultListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AdvisorsResultListPage) NotDone Uses

func (page AdvisorsResultListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AdvisorsResultListPage) Response Uses

func (page AdvisorsResultListPage) Response() AdvisorsResultList

Response returns the raw server response from the last page request.

func (AdvisorsResultListPage) Values Uses

func (page AdvisorsResultListPage) Values() []Advisor

Values returns the slice of values for the current page or nil if there are no values.

type AzureEntityResource Uses

type AzureEntityResource struct {
    // Etag - READ-ONLY; Resource Etag.
    Etag *string `json:"etag,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

AzureEntityResource the resource model definition for a Azure Resource Manager resource with an etag.

type BaseClient Uses

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

BaseClient is the base client for Mariadb.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (BaseClient) CreateRecommendedActionSession Uses

func (client BaseClient) CreateRecommendedActionSession(ctx context.Context, resourceGroupName string, serverName string, advisorName string, databaseName string) (result CreateRecommendedActionSessionFuture, err error)

CreateRecommendedActionSession create recommendation action session for the advisor. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. advisorName - the advisor name for recommendation action. databaseName - the name of the database.

func (BaseClient) CreateRecommendedActionSessionPreparer Uses

func (client BaseClient) CreateRecommendedActionSessionPreparer(ctx context.Context, resourceGroupName string, serverName string, advisorName string, databaseName string) (*http.Request, error)

CreateRecommendedActionSessionPreparer prepares the CreateRecommendedActionSession request.

func (BaseClient) CreateRecommendedActionSessionResponder Uses

func (client BaseClient) CreateRecommendedActionSessionResponder(resp *http.Response) (result autorest.Response, err error)

CreateRecommendedActionSessionResponder handles the response to the CreateRecommendedActionSession request. The method always closes the http.Response Body.

func (BaseClient) CreateRecommendedActionSessionSender Uses

func (client BaseClient) CreateRecommendedActionSessionSender(req *http.Request) (future CreateRecommendedActionSessionFuture, err error)

CreateRecommendedActionSessionSender sends the CreateRecommendedActionSession request. The method will close the http.Response Body if it receives an error.

type BasicServerPropertiesForCreate Uses

type BasicServerPropertiesForCreate interface {
    AsServerPropertiesForDefaultCreate() (*ServerPropertiesForDefaultCreate, bool)
    AsServerPropertiesForRestore() (*ServerPropertiesForRestore, bool)
    AsServerPropertiesForGeoRestore() (*ServerPropertiesForGeoRestore, bool)
    AsServerPropertiesForReplica() (*ServerPropertiesForReplica, bool)
    AsServerPropertiesForCreate() (*ServerPropertiesForCreate, bool)
}

BasicServerPropertiesForCreate the properties used to create a new server.

type CheckNameAvailabilityClient Uses

type CheckNameAvailabilityClient struct {
    BaseClient
}

CheckNameAvailabilityClient is the mariaDB Client

func NewCheckNameAvailabilityClient Uses

func NewCheckNameAvailabilityClient(subscriptionID string) CheckNameAvailabilityClient

NewCheckNameAvailabilityClient creates an instance of the CheckNameAvailabilityClient client.

func NewCheckNameAvailabilityClientWithBaseURI Uses

func NewCheckNameAvailabilityClientWithBaseURI(baseURI string, subscriptionID string) CheckNameAvailabilityClient

NewCheckNameAvailabilityClientWithBaseURI creates an instance of the CheckNameAvailabilityClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (CheckNameAvailabilityClient) Execute Uses

func (client CheckNameAvailabilityClient) Execute(ctx context.Context, nameAvailabilityRequest NameAvailabilityRequest) (result NameAvailability, err error)

Execute check the availability of name for resource Parameters: nameAvailabilityRequest - the required parameters for checking if resource name is available.

func (CheckNameAvailabilityClient) ExecutePreparer Uses

func (client CheckNameAvailabilityClient) ExecutePreparer(ctx context.Context, nameAvailabilityRequest NameAvailabilityRequest) (*http.Request, error)

ExecutePreparer prepares the Execute request.

func (CheckNameAvailabilityClient) ExecuteResponder Uses

func (client CheckNameAvailabilityClient) ExecuteResponder(resp *http.Response) (result NameAvailability, err error)

ExecuteResponder handles the response to the Execute request. The method always closes the http.Response Body.

func (CheckNameAvailabilityClient) ExecuteSender Uses

func (client CheckNameAvailabilityClient) ExecuteSender(req *http.Request) (*http.Response, error)

ExecuteSender sends the Execute request. The method will close the http.Response Body if it receives an error.

type CloudError Uses

type CloudError struct {
    Error *ErrorResponse `json:"error,omitempty"`
}

CloudError an error response from the Batch service.

type Configuration Uses

type Configuration struct {
    autorest.Response `json:"-"`
    // ConfigurationProperties - The properties of a configuration.
    *ConfigurationProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

Configuration represents a Configuration.

func (Configuration) MarshalJSON Uses

func (c Configuration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Configuration.

func (*Configuration) UnmarshalJSON Uses

func (c *Configuration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Configuration struct.

type ConfigurationListResult Uses

type ConfigurationListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of server configurations.
    Value *[]Configuration `json:"value,omitempty"`
}

ConfigurationListResult a list of server configurations.

type ConfigurationProperties Uses

type ConfigurationProperties struct {
    // Value - Value of the configuration.
    Value *string `json:"value,omitempty"`
    // Description - READ-ONLY; Description of the configuration.
    Description *string `json:"description,omitempty"`
    // DefaultValue - READ-ONLY; Default value of the configuration.
    DefaultValue *string `json:"defaultValue,omitempty"`
    // DataType - READ-ONLY; Data type of the configuration.
    DataType *string `json:"dataType,omitempty"`
    // AllowedValues - READ-ONLY; Allowed values of the configuration.
    AllowedValues *string `json:"allowedValues,omitempty"`
    // Source - Source of the configuration.
    Source *string `json:"source,omitempty"`
}

ConfigurationProperties the properties of a configuration.

type ConfigurationsClient Uses

type ConfigurationsClient struct {
    BaseClient
}

ConfigurationsClient is the mariaDB Client

func NewConfigurationsClient Uses

func NewConfigurationsClient(subscriptionID string) ConfigurationsClient

NewConfigurationsClient creates an instance of the ConfigurationsClient client.

func NewConfigurationsClientWithBaseURI Uses

func NewConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) ConfigurationsClient

NewConfigurationsClientWithBaseURI creates an instance of the ConfigurationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ConfigurationsClient) CreateOrUpdate Uses

func (client ConfigurationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, configurationName string, parameters Configuration) (result ConfigurationsCreateOrUpdateFuture, err error)

CreateOrUpdate updates a configuration of a server. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. configurationName - the name of the server configuration. parameters - the required parameters for updating a server configuration.

func (ConfigurationsClient) CreateOrUpdatePreparer Uses

func (client ConfigurationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, configurationName string, parameters Configuration) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ConfigurationsClient) CreateOrUpdateResponder Uses

func (client ConfigurationsClient) CreateOrUpdateResponder(resp *http.Response) (result Configuration, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ConfigurationsClient) CreateOrUpdateSender Uses

func (client ConfigurationsClient) CreateOrUpdateSender(req *http.Request) (future ConfigurationsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ConfigurationsClient) Get Uses

func (client ConfigurationsClient) Get(ctx context.Context, resourceGroupName string, serverName string, configurationName string) (result Configuration, err error)

Get gets information about a configuration of server. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. configurationName - the name of the server configuration.

func (ConfigurationsClient) GetPreparer Uses

func (client ConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, configurationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ConfigurationsClient) GetResponder Uses

func (client ConfigurationsClient) GetResponder(resp *http.Response) (result Configuration, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ConfigurationsClient) GetSender Uses

func (client ConfigurationsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ConfigurationsClient) ListByServer Uses

func (client ConfigurationsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result ConfigurationListResult, err error)

ListByServer list all the configurations in a given server. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server.

func (ConfigurationsClient) ListByServerPreparer Uses

func (client ConfigurationsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)

ListByServerPreparer prepares the ListByServer request.

func (ConfigurationsClient) ListByServerResponder Uses

func (client ConfigurationsClient) ListByServerResponder(resp *http.Response) (result ConfigurationListResult, err error)

ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.

func (ConfigurationsClient) ListByServerSender Uses

func (client ConfigurationsClient) ListByServerSender(req *http.Request) (*http.Response, error)

ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.

type ConfigurationsCreateOrUpdateFuture Uses

type ConfigurationsCreateOrUpdateFuture struct {
    azure.Future
}

ConfigurationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ConfigurationsCreateOrUpdateFuture) Result Uses

func (future *ConfigurationsCreateOrUpdateFuture) Result(client ConfigurationsClient) (c Configuration, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type CreateMode Uses

type CreateMode string

CreateMode enumerates the values for create mode.

const (
    // CreateModeDefault ...
    CreateModeDefault CreateMode = "Default"
    // CreateModeGeoRestore ...
    CreateModeGeoRestore CreateMode = "GeoRestore"
    // CreateModePointInTimeRestore ...
    CreateModePointInTimeRestore CreateMode = "PointInTimeRestore"
    // CreateModeReplica ...
    CreateModeReplica CreateMode = "Replica"
    // CreateModeServerPropertiesForCreate ...
    CreateModeServerPropertiesForCreate CreateMode = "ServerPropertiesForCreate"
)

func PossibleCreateModeValues Uses

func PossibleCreateModeValues() []CreateMode

PossibleCreateModeValues returns an array of possible values for the CreateMode const type.

type CreateRecommendedActionSessionFuture Uses

type CreateRecommendedActionSessionFuture struct {
    azure.Future
}

CreateRecommendedActionSessionFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*CreateRecommendedActionSessionFuture) Result Uses

func (future *CreateRecommendedActionSessionFuture) Result(client BaseClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type Database Uses

type Database struct {
    autorest.Response `json:"-"`
    // DatabaseProperties - The properties of a database.
    *DatabaseProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

Database represents a Database.

func (Database) MarshalJSON Uses

func (d Database) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Database.

func (*Database) UnmarshalJSON Uses

func (d *Database) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Database struct.

type DatabaseListResult Uses

type DatabaseListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of databases housed in a server
    Value *[]Database `json:"value,omitempty"`
}

DatabaseListResult a List of databases.

type DatabaseProperties Uses

type DatabaseProperties struct {
    // Charset - The charset of the database.
    Charset *string `json:"charset,omitempty"`
    // Collation - The collation of the database.
    Collation *string `json:"collation,omitempty"`
}

DatabaseProperties the properties of a database.

type DatabasesClient Uses

type DatabasesClient struct {
    BaseClient
}

DatabasesClient is the mariaDB Client

func NewDatabasesClient Uses

func NewDatabasesClient(subscriptionID string) DatabasesClient

NewDatabasesClient creates an instance of the DatabasesClient client.

func NewDatabasesClientWithBaseURI Uses

func NewDatabasesClientWithBaseURI(baseURI string, subscriptionID string) DatabasesClient

NewDatabasesClientWithBaseURI creates an instance of the DatabasesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DatabasesClient) CreateOrUpdate Uses

func (client DatabasesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters Database) (result DatabasesCreateOrUpdateFuture, err error)

CreateOrUpdate creates a new database or updates an existing database. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. databaseName - the name of the database. parameters - the required parameters for creating or updating a database.

func (DatabasesClient) CreateOrUpdatePreparer Uses

func (client DatabasesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters Database) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DatabasesClient) CreateOrUpdateResponder Uses

func (client DatabasesClient) CreateOrUpdateResponder(resp *http.Response) (result Database, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (DatabasesClient) CreateOrUpdateSender Uses

func (client DatabasesClient) CreateOrUpdateSender(req *http.Request) (future DatabasesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (DatabasesClient) Delete Uses

func (client DatabasesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result DatabasesDeleteFuture, err error)

Delete deletes a database. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. databaseName - the name of the database.

func (DatabasesClient) DeletePreparer Uses

func (client DatabasesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DatabasesClient) DeleteResponder Uses

func (client DatabasesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (DatabasesClient) DeleteSender Uses

func (client DatabasesClient) DeleteSender(req *http.Request) (future DatabasesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (DatabasesClient) Get Uses

func (client DatabasesClient) Get(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result Database, err error)

Get gets information about a database. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. databaseName - the name of the database.

func (DatabasesClient) GetPreparer Uses

func (client DatabasesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DatabasesClient) GetResponder Uses

func (client DatabasesClient) GetResponder(resp *http.Response) (result Database, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DatabasesClient) GetSender Uses

func (client DatabasesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DatabasesClient) ListByServer Uses

func (client DatabasesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result DatabaseListResult, err error)

ListByServer list all the databases in a given server. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server.

func (DatabasesClient) ListByServerPreparer Uses

func (client DatabasesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)

ListByServerPreparer prepares the ListByServer request.

func (DatabasesClient) ListByServerResponder Uses

func (client DatabasesClient) ListByServerResponder(resp *http.Response) (result DatabaseListResult, err error)

ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.

func (DatabasesClient) ListByServerSender Uses

func (client DatabasesClient) ListByServerSender(req *http.Request) (*http.Response, error)

ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.

type DatabasesCreateOrUpdateFuture Uses

type DatabasesCreateOrUpdateFuture struct {
    azure.Future
}

DatabasesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabasesCreateOrUpdateFuture) Result Uses

func (future *DatabasesCreateOrUpdateFuture) Result(client DatabasesClient) (d Database, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabasesDeleteFuture Uses

type DatabasesDeleteFuture struct {
    azure.Future
}

DatabasesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabasesDeleteFuture) Result Uses

func (future *DatabasesDeleteFuture) Result(client DatabasesClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ErrorAdditionalInfo Uses

type ErrorAdditionalInfo struct {
    // Type - READ-ONLY; The additional info type.
    Type *string `json:"type,omitempty"`
    // Info - READ-ONLY; The additional info.
    Info interface{} `json:"info,omitempty"`
}

ErrorAdditionalInfo the resource management error additional info.

type ErrorResponse Uses

type ErrorResponse struct {
    // Code - READ-ONLY; The error code.
    Code *string `json:"code,omitempty"`
    // Message - READ-ONLY; The error message.
    Message *string `json:"message,omitempty"`
    // Target - READ-ONLY; The error target.
    Target *string `json:"target,omitempty"`
    // Details - READ-ONLY; The error details.
    Details *[]ErrorResponse `json:"details,omitempty"`
    // AdditionalInfo - READ-ONLY; The error additional info.
    AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"`
}

ErrorResponse the resource management error response.

type FirewallRule Uses

type FirewallRule struct {
    autorest.Response `json:"-"`
    // FirewallRuleProperties - The properties of a firewall rule.
    *FirewallRuleProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

FirewallRule represents a server firewall rule.

func (FirewallRule) MarshalJSON Uses

func (fr FirewallRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FirewallRule.

func (*FirewallRule) UnmarshalJSON Uses

func (fr *FirewallRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for FirewallRule struct.

type FirewallRuleListResult Uses

type FirewallRuleListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of firewall rules in a server.
    Value *[]FirewallRule `json:"value,omitempty"`
}

FirewallRuleListResult a list of firewall rules.

type FirewallRuleProperties Uses

type FirewallRuleProperties struct {
    // StartIPAddress - The start IP address of the server firewall rule. Must be IPv4 format.
    StartIPAddress *string `json:"startIpAddress,omitempty"`
    // EndIPAddress - The end IP address of the server firewall rule. Must be IPv4 format.
    EndIPAddress *string `json:"endIpAddress,omitempty"`
}

FirewallRuleProperties the properties of a server firewall rule.

type FirewallRulesClient Uses

type FirewallRulesClient struct {
    BaseClient
}

FirewallRulesClient is the mariaDB Client

func NewFirewallRulesClient Uses

func NewFirewallRulesClient(subscriptionID string) FirewallRulesClient

NewFirewallRulesClient creates an instance of the FirewallRulesClient client.

func NewFirewallRulesClientWithBaseURI Uses

func NewFirewallRulesClientWithBaseURI(baseURI string, subscriptionID string) FirewallRulesClient

NewFirewallRulesClientWithBaseURI creates an instance of the FirewallRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (FirewallRulesClient) CreateOrUpdate Uses

func (client FirewallRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string, parameters FirewallRule) (result FirewallRulesCreateOrUpdateFuture, err error)

CreateOrUpdate creates a new firewall rule or updates an existing firewall rule. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. firewallRuleName - the name of the server firewall rule. parameters - the required parameters for creating or updating a firewall rule.

func (FirewallRulesClient) CreateOrUpdatePreparer Uses

func (client FirewallRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string, parameters FirewallRule) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (FirewallRulesClient) CreateOrUpdateResponder Uses

func (client FirewallRulesClient) CreateOrUpdateResponder(resp *http.Response) (result FirewallRule, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (FirewallRulesClient) CreateOrUpdateSender Uses

func (client FirewallRulesClient) CreateOrUpdateSender(req *http.Request) (future FirewallRulesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (FirewallRulesClient) Delete Uses

func (client FirewallRulesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string) (result FirewallRulesDeleteFuture, err error)

Delete deletes a server firewall rule. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. firewallRuleName - the name of the server firewall rule.

func (FirewallRulesClient) DeletePreparer Uses

func (client FirewallRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (FirewallRulesClient) DeleteResponder Uses

func (client FirewallRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (FirewallRulesClient) DeleteSender Uses

func (client FirewallRulesClient) DeleteSender(req *http.Request) (future FirewallRulesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (FirewallRulesClient) Get Uses

func (client FirewallRulesClient) Get(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string) (result FirewallRule, err error)

Get gets information about a server firewall rule. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. firewallRuleName - the name of the server firewall rule.

func (FirewallRulesClient) GetPreparer Uses

func (client FirewallRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (FirewallRulesClient) GetResponder Uses

func (client FirewallRulesClient) GetResponder(resp *http.Response) (result FirewallRule, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (FirewallRulesClient) GetSender Uses

func (client FirewallRulesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (FirewallRulesClient) ListByServer Uses

func (client FirewallRulesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result FirewallRuleListResult, err error)

ListByServer list all the firewall rules in a given server. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server.

func (FirewallRulesClient) ListByServerPreparer Uses

func (client FirewallRulesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)

ListByServerPreparer prepares the ListByServer request.

func (FirewallRulesClient) ListByServerResponder Uses

func (client FirewallRulesClient) ListByServerResponder(resp *http.Response) (result FirewallRuleListResult, err error)

ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.

func (FirewallRulesClient) ListByServerSender Uses

func (client FirewallRulesClient) ListByServerSender(req *http.Request) (*http.Response, error)

ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.

type FirewallRulesCreateOrUpdateFuture Uses

type FirewallRulesCreateOrUpdateFuture struct {
    azure.Future
}

FirewallRulesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*FirewallRulesCreateOrUpdateFuture) Result Uses

func (future *FirewallRulesCreateOrUpdateFuture) Result(client FirewallRulesClient) (fr FirewallRule, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type FirewallRulesDeleteFuture Uses

type FirewallRulesDeleteFuture struct {
    azure.Future
}

FirewallRulesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*FirewallRulesDeleteFuture) Result Uses

func (future *FirewallRulesDeleteFuture) Result(client FirewallRulesClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type GeoRedundantBackup Uses

type GeoRedundantBackup string

GeoRedundantBackup enumerates the values for geo redundant backup.

const (
    // Disabled ...
    Disabled GeoRedundantBackup = "Disabled"
    // Enabled ...
    Enabled GeoRedundantBackup = "Enabled"
)

func PossibleGeoRedundantBackupValues Uses

func PossibleGeoRedundantBackupValues() []GeoRedundantBackup

PossibleGeoRedundantBackupValues returns an array of possible values for the GeoRedundantBackup const type.

type LocationBasedPerformanceTierClient Uses

type LocationBasedPerformanceTierClient struct {
    BaseClient
}

LocationBasedPerformanceTierClient is the mariaDB Client

func NewLocationBasedPerformanceTierClient Uses

func NewLocationBasedPerformanceTierClient(subscriptionID string) LocationBasedPerformanceTierClient

NewLocationBasedPerformanceTierClient creates an instance of the LocationBasedPerformanceTierClient client.

func NewLocationBasedPerformanceTierClientWithBaseURI Uses

func NewLocationBasedPerformanceTierClientWithBaseURI(baseURI string, subscriptionID string) LocationBasedPerformanceTierClient

NewLocationBasedPerformanceTierClientWithBaseURI creates an instance of the LocationBasedPerformanceTierClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (LocationBasedPerformanceTierClient) List Uses

func (client LocationBasedPerformanceTierClient) List(ctx context.Context, locationName string) (result PerformanceTierListResult, err error)

List list all the performance tiers at specified location in a given subscription. Parameters: locationName - the name of the location.

func (LocationBasedPerformanceTierClient) ListPreparer Uses

func (client LocationBasedPerformanceTierClient) ListPreparer(ctx context.Context, locationName string) (*http.Request, error)

ListPreparer prepares the List request.

func (LocationBasedPerformanceTierClient) ListResponder Uses

func (client LocationBasedPerformanceTierClient) ListResponder(resp *http.Response) (result PerformanceTierListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (LocationBasedPerformanceTierClient) ListSender Uses

func (client LocationBasedPerformanceTierClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type LocationBasedRecommendedActionSessionsOperationStatusClient Uses

type LocationBasedRecommendedActionSessionsOperationStatusClient struct {
    BaseClient
}

LocationBasedRecommendedActionSessionsOperationStatusClient is the mariaDB Client

func NewLocationBasedRecommendedActionSessionsOperationStatusClient Uses

func NewLocationBasedRecommendedActionSessionsOperationStatusClient(subscriptionID string) LocationBasedRecommendedActionSessionsOperationStatusClient

NewLocationBasedRecommendedActionSessionsOperationStatusClient creates an instance of the LocationBasedRecommendedActionSessionsOperationStatusClient client.

func NewLocationBasedRecommendedActionSessionsOperationStatusClientWithBaseURI Uses

func NewLocationBasedRecommendedActionSessionsOperationStatusClientWithBaseURI(baseURI string, subscriptionID string) LocationBasedRecommendedActionSessionsOperationStatusClient

NewLocationBasedRecommendedActionSessionsOperationStatusClientWithBaseURI creates an instance of the LocationBasedRecommendedActionSessionsOperationStatusClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (LocationBasedRecommendedActionSessionsOperationStatusClient) Get Uses

func (client LocationBasedRecommendedActionSessionsOperationStatusClient) Get(ctx context.Context, locationName string, operationID string) (result RecommendedActionSessionsOperationStatus, err error)

Get recommendation action session operation status. Parameters: locationName - the name of the location. operationID - the operation identifier.

func (LocationBasedRecommendedActionSessionsOperationStatusClient) GetPreparer Uses

func (client LocationBasedRecommendedActionSessionsOperationStatusClient) GetPreparer(ctx context.Context, locationName string, operationID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (LocationBasedRecommendedActionSessionsOperationStatusClient) GetResponder Uses

func (client LocationBasedRecommendedActionSessionsOperationStatusClient) GetResponder(resp *http.Response) (result RecommendedActionSessionsOperationStatus, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (LocationBasedRecommendedActionSessionsOperationStatusClient) GetSender Uses

func (client LocationBasedRecommendedActionSessionsOperationStatusClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type LocationBasedRecommendedActionSessionsResultClient Uses

type LocationBasedRecommendedActionSessionsResultClient struct {
    BaseClient
}

LocationBasedRecommendedActionSessionsResultClient is the mariaDB Client

func NewLocationBasedRecommendedActionSessionsResultClient Uses

func NewLocationBasedRecommendedActionSessionsResultClient(subscriptionID string) LocationBasedRecommendedActionSessionsResultClient

NewLocationBasedRecommendedActionSessionsResultClient creates an instance of the LocationBasedRecommendedActionSessionsResultClient client.

func NewLocationBasedRecommendedActionSessionsResultClientWithBaseURI Uses

func NewLocationBasedRecommendedActionSessionsResultClientWithBaseURI(baseURI string, subscriptionID string) LocationBasedRecommendedActionSessionsResultClient

NewLocationBasedRecommendedActionSessionsResultClientWithBaseURI creates an instance of the LocationBasedRecommendedActionSessionsResultClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (LocationBasedRecommendedActionSessionsResultClient) List Uses

func (client LocationBasedRecommendedActionSessionsResultClient) List(ctx context.Context, locationName string, operationID string) (result RecommendationActionsResultListPage, err error)

List recommendation action session operation result. Parameters: locationName - the name of the location. operationID - the operation identifier.

func (LocationBasedRecommendedActionSessionsResultClient) ListComplete Uses

func (client LocationBasedRecommendedActionSessionsResultClient) ListComplete(ctx context.Context, locationName string, operationID string) (result RecommendationActionsResultListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (LocationBasedRecommendedActionSessionsResultClient) ListPreparer Uses

func (client LocationBasedRecommendedActionSessionsResultClient) ListPreparer(ctx context.Context, locationName string, operationID string) (*http.Request, error)

ListPreparer prepares the List request.

func (LocationBasedRecommendedActionSessionsResultClient) ListResponder Uses

func (client LocationBasedRecommendedActionSessionsResultClient) ListResponder(resp *http.Response) (result RecommendationActionsResultList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (LocationBasedRecommendedActionSessionsResultClient) ListSender Uses

func (client LocationBasedRecommendedActionSessionsResultClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type LogFile Uses

type LogFile struct {
    // LogFileProperties - The properties of the log file.
    *LogFileProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

LogFile represents a log file.

func (LogFile) MarshalJSON Uses

func (lf LogFile) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LogFile.

func (*LogFile) UnmarshalJSON Uses

func (lf *LogFile) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LogFile struct.

type LogFileListResult Uses

type LogFileListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of log files.
    Value *[]LogFile `json:"value,omitempty"`
}

LogFileListResult a list of log files.

type LogFileProperties Uses

type LogFileProperties struct {
    // SizeInKB - Size of the log file.
    SizeInKB *int64 `json:"sizeInKB,omitempty"`
    // CreatedTime - READ-ONLY; Creation timestamp of the log file.
    CreatedTime *date.Time `json:"createdTime,omitempty"`
    // LastModifiedTime - READ-ONLY; Last modified timestamp of the log file.
    LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
    // Type - Type of the log file.
    Type *string `json:"type,omitempty"`
    // URL - READ-ONLY; The url to download the log file from.
    URL *string `json:"url,omitempty"`
}

LogFileProperties the properties of a log file.

type LogFilesClient Uses

type LogFilesClient struct {
    BaseClient
}

LogFilesClient is the mariaDB Client

func NewLogFilesClient Uses

func NewLogFilesClient(subscriptionID string) LogFilesClient

NewLogFilesClient creates an instance of the LogFilesClient client.

func NewLogFilesClientWithBaseURI Uses

func NewLogFilesClientWithBaseURI(baseURI string, subscriptionID string) LogFilesClient

NewLogFilesClientWithBaseURI creates an instance of the LogFilesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (LogFilesClient) ListByServer Uses

func (client LogFilesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result LogFileListResult, err error)

ListByServer list all the log files in a given server. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server.

func (LogFilesClient) ListByServerPreparer Uses

func (client LogFilesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)

ListByServerPreparer prepares the ListByServer request.

func (LogFilesClient) ListByServerResponder Uses

func (client LogFilesClient) ListByServerResponder(resp *http.Response) (result LogFileListResult, err error)

ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.

func (LogFilesClient) ListByServerSender Uses

func (client LogFilesClient) ListByServerSender(req *http.Request) (*http.Response, error)

ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.

type NameAvailability Uses

type NameAvailability struct {
    autorest.Response `json:"-"`
    // Message - Error Message.
    Message *string `json:"message,omitempty"`
    // NameAvailable - Indicates whether the resource name is available.
    NameAvailable *bool `json:"nameAvailable,omitempty"`
    // Reason - Reason for name being unavailable.
    Reason *string `json:"reason,omitempty"`
}

NameAvailability represents a resource name availability.

type NameAvailabilityRequest Uses

type NameAvailabilityRequest struct {
    // Name - Resource name to verify.
    Name *string `json:"name,omitempty"`
    // Type - Resource type used for verification.
    Type *string `json:"type,omitempty"`
}

NameAvailabilityRequest request from client to check resource name availability.

type Operation Uses

type Operation struct {
    // Name - READ-ONLY; The name of the operation being performed on this particular object.
    Name *string `json:"name,omitempty"`
    // Display - READ-ONLY; The localized display information for this particular operation or action.
    Display *OperationDisplay `json:"display,omitempty"`
    // Origin - READ-ONLY; The intended executor of the operation. Possible values include: 'NotSpecified', 'User', 'System'
    Origin OperationOrigin `json:"origin,omitempty"`
    // Properties - READ-ONLY; Additional descriptions for the operation.
    Properties map[string]interface{} `json:"properties"`
}

Operation REST API operation definition.

func (Operation) MarshalJSON Uses

func (o Operation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Operation.

type OperationDisplay Uses

type OperationDisplay struct {
    // Provider - READ-ONLY; Operation resource provider name.
    Provider *string `json:"provider,omitempty"`
    // Resource - READ-ONLY; Resource on which the operation is performed.
    Resource *string `json:"resource,omitempty"`
    // Operation - READ-ONLY; Localized friendly name for the operation.
    Operation *string `json:"operation,omitempty"`
    // Description - READ-ONLY; Operation description.
    Description *string `json:"description,omitempty"`
}

OperationDisplay display metadata associated with the operation.

type OperationListResult Uses

type OperationListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of resource provider operations.
    Value *[]Operation `json:"value,omitempty"`
}

OperationListResult a list of resource provider operations.

type OperationOrigin Uses

type OperationOrigin string

OperationOrigin enumerates the values for operation origin.

const (
    // NotSpecified ...
    NotSpecified OperationOrigin = "NotSpecified"
    // System ...
    System OperationOrigin = "system"
    // User ...
    User OperationOrigin = "user"
)

func PossibleOperationOriginValues Uses

func PossibleOperationOriginValues() []OperationOrigin

PossibleOperationOriginValues returns an array of possible values for the OperationOrigin const type.

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the mariaDB Client

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List Uses

func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)

List lists all of the available REST API operations.

func (OperationsClient) ListPreparer Uses

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender Uses

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type PerformanceTierListResult Uses

type PerformanceTierListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of performance tiers
    Value *[]PerformanceTierProperties `json:"value,omitempty"`
}

PerformanceTierListResult a list of performance tiers.

type PerformanceTierProperties Uses

type PerformanceTierProperties struct {
    // ID - ID of the performance tier.
    ID  *string `json:"id,omitempty"`
    // ServiceLevelObjectives - Service level objectives associated with the performance tier
    ServiceLevelObjectives *[]PerformanceTierServiceLevelObjectives `json:"serviceLevelObjectives,omitempty"`
}

PerformanceTierProperties performance tier properties

type PerformanceTierServiceLevelObjectives Uses

type PerformanceTierServiceLevelObjectives struct {
    // ID - ID for the service level objective.
    ID  *string `json:"id,omitempty"`
    // Edition - Edition of the performance tier.
    Edition *string `json:"edition,omitempty"`
    // VCore - vCore associated with the service level objective
    VCore *int32 `json:"vCore,omitempty"`
    // HardwareGeneration - Hardware generation associated with the service level objective
    HardwareGeneration *string `json:"hardwareGeneration,omitempty"`
    // MaxBackupRetentionDays - Maximum Backup retention in days for the performance tier edition
    MaxBackupRetentionDays *int32 `json:"maxBackupRetentionDays,omitempty"`
    // MinBackupRetentionDays - Minimum Backup retention in days for the performance tier edition
    MinBackupRetentionDays *int32 `json:"minBackupRetentionDays,omitempty"`
    // MaxStorageMB - Max storage allowed for a server.
    MaxStorageMB *int32 `json:"maxStorageMB,omitempty"`
    // MinStorageMB - Max storage allowed for a server.
    MinStorageMB *int32 `json:"minStorageMB,omitempty"`
}

PerformanceTierServiceLevelObjectives service level objectives for performance tier.

type PrivateEndpointConnection Uses

type PrivateEndpointConnection struct {
    autorest.Response `json:"-"`
    // PrivateEndpointConnectionProperties - Resource properties.
    *PrivateEndpointConnectionProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

PrivateEndpointConnection a private endpoint connection

func (PrivateEndpointConnection) MarshalJSON Uses

func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpointConnection.

func (*PrivateEndpointConnection) UnmarshalJSON Uses

func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateEndpointConnection struct.

type PrivateEndpointConnectionListResult Uses

type PrivateEndpointConnectionListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; Array of results.
    Value *[]PrivateEndpointConnection `json:"value,omitempty"`
    // NextLink - READ-ONLY; Link to retrieve next page of results.
    NextLink *string `json:"nextLink,omitempty"`
}

PrivateEndpointConnectionListResult a list of private endpoint connections.

func (PrivateEndpointConnectionListResult) IsEmpty Uses

func (peclr PrivateEndpointConnectionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PrivateEndpointConnectionListResultIterator Uses

type PrivateEndpointConnectionListResultIterator struct {
    // contains filtered or unexported fields
}

PrivateEndpointConnectionListResultIterator provides access to a complete listing of PrivateEndpointConnection values.

func NewPrivateEndpointConnectionListResultIterator Uses

func NewPrivateEndpointConnectionListResultIterator(page PrivateEndpointConnectionListResultPage) PrivateEndpointConnectionListResultIterator

Creates a new instance of the PrivateEndpointConnectionListResultIterator type.

func (*PrivateEndpointConnectionListResultIterator) Next Uses

func (iter *PrivateEndpointConnectionListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateEndpointConnectionListResultIterator) NextWithContext Uses

func (iter *PrivateEndpointConnectionListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PrivateEndpointConnectionListResultIterator) NotDone Uses

func (iter PrivateEndpointConnectionListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (PrivateEndpointConnectionListResultIterator) Response Uses

func (iter PrivateEndpointConnectionListResultIterator) Response() PrivateEndpointConnectionListResult

Response returns the raw server response from the last page request.

func (PrivateEndpointConnectionListResultIterator) Value Uses

func (iter PrivateEndpointConnectionListResultIterator) Value() PrivateEndpointConnection

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PrivateEndpointConnectionListResultPage Uses

type PrivateEndpointConnectionListResultPage struct {
    // contains filtered or unexported fields
}

PrivateEndpointConnectionListResultPage contains a page of PrivateEndpointConnection values.

func NewPrivateEndpointConnectionListResultPage Uses

func NewPrivateEndpointConnectionListResultPage(getNextPage func(context.Context, PrivateEndpointConnectionListResult) (PrivateEndpointConnectionListResult, error)) PrivateEndpointConnectionListResultPage

Creates a new instance of the PrivateEndpointConnectionListResultPage type.

func (*PrivateEndpointConnectionListResultPage) Next Uses

func (page *PrivateEndpointConnectionListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateEndpointConnectionListResultPage) NextWithContext Uses

func (page *PrivateEndpointConnectionListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PrivateEndpointConnectionListResultPage) NotDone Uses

func (page PrivateEndpointConnectionListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PrivateEndpointConnectionListResultPage) Response Uses

func (page PrivateEndpointConnectionListResultPage) Response() PrivateEndpointConnectionListResult

Response returns the raw server response from the last page request.

func (PrivateEndpointConnectionListResultPage) Values Uses

func (page PrivateEndpointConnectionListResultPage) Values() []PrivateEndpointConnection

Values returns the slice of values for the current page or nil if there are no values.

type PrivateEndpointConnectionProperties Uses

type PrivateEndpointConnectionProperties struct {
    // PrivateEndpoint - Private endpoint which the connection belongs to.
    PrivateEndpoint *PrivateEndpointProperty `json:"privateEndpoint,omitempty"`
    // PrivateLinkServiceConnectionState - Connection state of the private endpoint connection.
    PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionStateProperty `json:"privateLinkServiceConnectionState,omitempty"`
    // ProvisioningState - READ-ONLY; State of the private endpoint connection.
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

PrivateEndpointConnectionProperties properties of a private endpoint connection.

type PrivateEndpointConnectionsClient Uses

type PrivateEndpointConnectionsClient struct {
    BaseClient
}

PrivateEndpointConnectionsClient is the mariaDB Client

func NewPrivateEndpointConnectionsClient Uses

func NewPrivateEndpointConnectionsClient(subscriptionID string) PrivateEndpointConnectionsClient

NewPrivateEndpointConnectionsClient creates an instance of the PrivateEndpointConnectionsClient client.

func NewPrivateEndpointConnectionsClientWithBaseURI Uses

func NewPrivateEndpointConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointConnectionsClient

NewPrivateEndpointConnectionsClientWithBaseURI creates an instance of the PrivateEndpointConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PrivateEndpointConnectionsClient) CreateOrUpdate Uses

func (client PrivateEndpointConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string, parameters PrivateEndpointConnection) (result PrivateEndpointConnectionsCreateOrUpdateFuture, err error)

CreateOrUpdate approve or reject a private endpoint connection with a given name. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server.

func (PrivateEndpointConnectionsClient) CreateOrUpdatePreparer Uses

func (client PrivateEndpointConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string, parameters PrivateEndpointConnection) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PrivateEndpointConnectionsClient) CreateOrUpdateResponder Uses

func (client PrivateEndpointConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateEndpointConnection, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) CreateOrUpdateSender Uses

func (client PrivateEndpointConnectionsClient) CreateOrUpdateSender(req *http.Request) (future PrivateEndpointConnectionsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) Delete Uses

func (client PrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string) (result PrivateEndpointConnectionsDeleteFuture, err error)

Delete deletes a private endpoint connection with a given name. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server.

func (PrivateEndpointConnectionsClient) DeletePreparer Uses

func (client PrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PrivateEndpointConnectionsClient) DeleteResponder Uses

func (client PrivateEndpointConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) DeleteSender Uses

func (client PrivateEndpointConnectionsClient) DeleteSender(req *http.Request) (future PrivateEndpointConnectionsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) Get Uses

func (client PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string) (result PrivateEndpointConnection, err error)

Get gets a private endpoint connection. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. privateEndpointConnectionName - the name of the private endpoint connection.

func (PrivateEndpointConnectionsClient) GetPreparer Uses

func (client PrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PrivateEndpointConnectionsClient) GetResponder Uses

func (client PrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result PrivateEndpointConnection, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) GetSender Uses

func (client PrivateEndpointConnectionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) ListByServer Uses

func (client PrivateEndpointConnectionsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result PrivateEndpointConnectionListResultPage, err error)

ListByServer gets all private endpoint connections on a server. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server.

func (PrivateEndpointConnectionsClient) ListByServerComplete Uses

func (client PrivateEndpointConnectionsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result PrivateEndpointConnectionListResultIterator, err error)

ListByServerComplete enumerates all values, automatically crossing page boundaries as required.

func (PrivateEndpointConnectionsClient) ListByServerPreparer Uses

func (client PrivateEndpointConnectionsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)

ListByServerPreparer prepares the ListByServer request.

func (PrivateEndpointConnectionsClient) ListByServerResponder Uses

func (client PrivateEndpointConnectionsClient) ListByServerResponder(resp *http.Response) (result PrivateEndpointConnectionListResult, err error)

ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) ListByServerSender Uses

func (client PrivateEndpointConnectionsClient) ListByServerSender(req *http.Request) (*http.Response, error)

ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) UpdateTags Uses

func (client PrivateEndpointConnectionsClient) UpdateTags(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string, parameters TagsObject) (result PrivateEndpointConnectionsUpdateTagsFuture, err error)

UpdateTags updates private endpoint connection with the specified tags. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. parameters - parameters supplied to the Update private endpoint connection Tags operation.

func (PrivateEndpointConnectionsClient) UpdateTagsPreparer Uses

func (client PrivateEndpointConnectionsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (PrivateEndpointConnectionsClient) UpdateTagsResponder Uses

func (client PrivateEndpointConnectionsClient) UpdateTagsResponder(resp *http.Response) (result PrivateEndpointConnection, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) UpdateTagsSender Uses

func (client PrivateEndpointConnectionsClient) UpdateTagsSender(req *http.Request) (future PrivateEndpointConnectionsUpdateTagsFuture, err error)

UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.

type PrivateEndpointConnectionsCreateOrUpdateFuture Uses

type PrivateEndpointConnectionsCreateOrUpdateFuture struct {
    azure.Future
}

PrivateEndpointConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PrivateEndpointConnectionsCreateOrUpdateFuture) Result Uses

func (future *PrivateEndpointConnectionsCreateOrUpdateFuture) Result(client PrivateEndpointConnectionsClient) (pec PrivateEndpointConnection, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PrivateEndpointConnectionsDeleteFuture Uses

type PrivateEndpointConnectionsDeleteFuture struct {
    azure.Future
}

PrivateEndpointConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PrivateEndpointConnectionsDeleteFuture) Result Uses

func (future *PrivateEndpointConnectionsDeleteFuture) Result(client PrivateEndpointConnectionsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PrivateEndpointConnectionsUpdateTagsFuture Uses

type PrivateEndpointConnectionsUpdateTagsFuture struct {
    azure.Future
}

PrivateEndpointConnectionsUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PrivateEndpointConnectionsUpdateTagsFuture) Result Uses

func (future *PrivateEndpointConnectionsUpdateTagsFuture) Result(client PrivateEndpointConnectionsClient) (pec PrivateEndpointConnection, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PrivateEndpointProperty Uses

type PrivateEndpointProperty struct {
    // ID - Resource id of the private endpoint.
    ID *string `json:"id,omitempty"`
}

PrivateEndpointProperty ...

type PrivateLinkResource Uses

type PrivateLinkResource struct {
    autorest.Response `json:"-"`
    // Properties - READ-ONLY; The private link resource group id.
    Properties *PrivateLinkResourceProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

PrivateLinkResource a private link resource

type PrivateLinkResourceListResult Uses

type PrivateLinkResourceListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; Array of results.
    Value *[]PrivateLinkResource `json:"value,omitempty"`
    // NextLink - READ-ONLY; Link to retrieve next page of results.
    NextLink *string `json:"nextLink,omitempty"`
}

PrivateLinkResourceListResult a list of private link resources

func (PrivateLinkResourceListResult) IsEmpty Uses

func (plrlr PrivateLinkResourceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PrivateLinkResourceListResultIterator Uses

type PrivateLinkResourceListResultIterator struct {
    // contains filtered or unexported fields
}

PrivateLinkResourceListResultIterator provides access to a complete listing of PrivateLinkResource values.

func NewPrivateLinkResourceListResultIterator Uses

func NewPrivateLinkResourceListResultIterator(page PrivateLinkResourceListResultPage) PrivateLinkResourceListResultIterator

Creates a new instance of the PrivateLinkResourceListResultIterator type.

func (*PrivateLinkResourceListResultIterator) Next Uses

func (iter *PrivateLinkResourceListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateLinkResourceListResultIterator) NextWithContext Uses

func (iter *PrivateLinkResourceListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PrivateLinkResourceListResultIterator) NotDone Uses

func (iter PrivateLinkResourceListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (PrivateLinkResourceListResultIterator) Response Uses

func (iter PrivateLinkResourceListResultIterator) Response() PrivateLinkResourceListResult

Response returns the raw server response from the last page request.

func (PrivateLinkResourceListResultIterator) Value Uses

func (iter PrivateLinkResourceListResultIterator) Value() PrivateLinkResource

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PrivateLinkResourceListResultPage Uses

type PrivateLinkResourceListResultPage struct {
    // contains filtered or unexported fields
}

PrivateLinkResourceListResultPage contains a page of PrivateLinkResource values.

func NewPrivateLinkResourceListResultPage Uses

func NewPrivateLinkResourceListResultPage(getNextPage func(context.Context, PrivateLinkResourceListResult) (PrivateLinkResourceListResult, error)) PrivateLinkResourceListResultPage

Creates a new instance of the PrivateLinkResourceListResultPage type.

func (*PrivateLinkResourceListResultPage) Next Uses

func (page *PrivateLinkResourceListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateLinkResourceListResultPage) NextWithContext Uses

func (page *PrivateLinkResourceListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PrivateLinkResourceListResultPage) NotDone Uses

func (page PrivateLinkResourceListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PrivateLinkResourceListResultPage) Response Uses

func (page PrivateLinkResourceListResultPage) Response() PrivateLinkResourceListResult

Response returns the raw server response from the last page request.

func (PrivateLinkResourceListResultPage) Values Uses

func (page PrivateLinkResourceListResultPage) Values() []PrivateLinkResource

Values returns the slice of values for the current page or nil if there are no values.

type PrivateLinkResourceProperties Uses

type PrivateLinkResourceProperties struct {
    // GroupID - READ-ONLY; The private link resource group id.
    GroupID *string `json:"groupId,omitempty"`
    // RequiredMembers - READ-ONLY; The private link resource required member names.
    RequiredMembers *[]string `json:"requiredMembers,omitempty"`
}

PrivateLinkResourceProperties properties of a private link resource.

type PrivateLinkResourcesClient Uses

type PrivateLinkResourcesClient struct {
    BaseClient
}

PrivateLinkResourcesClient is the mariaDB Client

func NewPrivateLinkResourcesClient Uses

func NewPrivateLinkResourcesClient(subscriptionID string) PrivateLinkResourcesClient

NewPrivateLinkResourcesClient creates an instance of the PrivateLinkResourcesClient client.

func NewPrivateLinkResourcesClientWithBaseURI Uses

func NewPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkResourcesClient

NewPrivateLinkResourcesClientWithBaseURI creates an instance of the PrivateLinkResourcesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PrivateLinkResourcesClient) Get Uses

func (client PrivateLinkResourcesClient) Get(ctx context.Context, resourceGroupName string, serverName string, groupName string) (result PrivateLinkResource, err error)

Get gets a private link resource for MariaDB server. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. groupName - the name of the private link resource.

func (PrivateLinkResourcesClient) GetPreparer Uses

func (client PrivateLinkResourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, groupName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PrivateLinkResourcesClient) GetResponder Uses

func (client PrivateLinkResourcesClient) GetResponder(resp *http.Response) (result PrivateLinkResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PrivateLinkResourcesClient) GetSender Uses

func (client PrivateLinkResourcesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PrivateLinkResourcesClient) ListByServer Uses

func (client PrivateLinkResourcesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result PrivateLinkResourceListResultPage, err error)

ListByServer gets the private link resources for MariaDB server. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server.

func (PrivateLinkResourcesClient) ListByServerComplete Uses

func (client PrivateLinkResourcesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result PrivateLinkResourceListResultIterator, err error)

ListByServerComplete enumerates all values, automatically crossing page boundaries as required.

func (PrivateLinkResourcesClient) ListByServerPreparer Uses

func (client PrivateLinkResourcesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)

ListByServerPreparer prepares the ListByServer request.

func (PrivateLinkResourcesClient) ListByServerResponder Uses

func (client PrivateLinkResourcesClient) ListByServerResponder(resp *http.Response) (result PrivateLinkResourceListResult, err error)

ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.

func (PrivateLinkResourcesClient) ListByServerSender Uses

func (client PrivateLinkResourcesClient) ListByServerSender(req *http.Request) (*http.Response, error)

ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.

type PrivateLinkServiceConnectionStateProperty Uses

type PrivateLinkServiceConnectionStateProperty struct {
    // Status - The private link service connection status.
    Status *string `json:"status,omitempty"`
    // Description - The private link service connection description.
    Description *string `json:"description,omitempty"`
    // ActionsRequired - READ-ONLY; The actions required for private link service connection.
    ActionsRequired *string `json:"actionsRequired,omitempty"`
}

PrivateLinkServiceConnectionStateProperty ...

type ProxyResource Uses

type ProxyResource struct {
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

ProxyResource the resource model definition for a ARM proxy resource. It will have everything other than required location and tags

type QueryStatistic Uses

type QueryStatistic struct {
    autorest.Response `json:"-"`
    // QueryStatisticProperties - The properties of a query statistic.
    *QueryStatisticProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

QueryStatistic represents a Query Statistic.

func (QueryStatistic) MarshalJSON Uses

func (qs QueryStatistic) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for QueryStatistic.

func (*QueryStatistic) UnmarshalJSON Uses

func (qs *QueryStatistic) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for QueryStatistic struct.

type QueryStatisticProperties Uses

type QueryStatisticProperties struct {
    // QueryID - Database query identifier.
    QueryID *string `json:"queryId,omitempty"`
    // StartTime - Observation start time.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - Observation end time.
    EndTime *date.Time `json:"endTime,omitempty"`
    // AggregationFunction - Aggregation function name.
    AggregationFunction *string `json:"aggregationFunction,omitempty"`
    // DatabaseNames - The list of database names.
    DatabaseNames *[]string `json:"databaseNames,omitempty"`
    // QueryExecutionCount - Number of query executions in this time interval.
    QueryExecutionCount *int64 `json:"queryExecutionCount,omitempty"`
    // MetricName - Metric name.
    MetricName *string `json:"metricName,omitempty"`
    // MetricDisplayName - Metric display name.
    MetricDisplayName *string `json:"metricDisplayName,omitempty"`
    // MetricValue - Metric value.
    MetricValue *float64 `json:"metricValue,omitempty"`
    // MetricValueUnit - Metric value unit.
    MetricValueUnit *string `json:"metricValueUnit,omitempty"`
}

QueryStatisticProperties the properties of a query statistic.

type QueryText Uses

type QueryText struct {
    autorest.Response `json:"-"`
    // QueryTextProperties - The properties of a query text.
    *QueryTextProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

QueryText represents a Query Text.

func (QueryText) MarshalJSON Uses

func (qt QueryText) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for QueryText.

func (*QueryText) UnmarshalJSON Uses

func (qt *QueryText) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for QueryText struct.

type QueryTextProperties Uses

type QueryTextProperties struct {
    // QueryID - Query identifier unique to the server.
    QueryID *string `json:"queryId,omitempty"`
    // QueryText - Query text.
    QueryText *string `json:"queryText,omitempty"`
}

QueryTextProperties the properties of a query text.

type QueryTextsClient Uses

type QueryTextsClient struct {
    BaseClient
}

QueryTextsClient is the mariaDB Client

func NewQueryTextsClient Uses

func NewQueryTextsClient(subscriptionID string) QueryTextsClient

NewQueryTextsClient creates an instance of the QueryTextsClient client.

func NewQueryTextsClientWithBaseURI Uses

func NewQueryTextsClientWithBaseURI(baseURI string, subscriptionID string) QueryTextsClient

NewQueryTextsClientWithBaseURI creates an instance of the QueryTextsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (QueryTextsClient) Get Uses

func (client QueryTextsClient) Get(ctx context.Context, resourceGroupName string, serverName string, queryID string) (result QueryText, err error)

Get retrieve the Query-Store query texts for the queryId. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. queryID - the Query-Store query identifier.

func (QueryTextsClient) GetPreparer Uses

func (client QueryTextsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, queryID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (QueryTextsClient) GetResponder Uses

func (client QueryTextsClient) GetResponder(resp *http.Response) (result QueryText, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (QueryTextsClient) GetSender Uses

func (client QueryTextsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (QueryTextsClient) ListByServer Uses

func (client QueryTextsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string, queryIds []string) (result QueryTextsResultListPage, err error)

ListByServer retrieve the Query-Store query texts for specified queryIds. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. queryIds - the query identifiers

func (QueryTextsClient) ListByServerComplete Uses

func (client QueryTextsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string, queryIds []string) (result QueryTextsResultListIterator, err error)

ListByServerComplete enumerates all values, automatically crossing page boundaries as required.

func (QueryTextsClient) ListByServerPreparer Uses

func (client QueryTextsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string, queryIds []string) (*http.Request, error)

ListByServerPreparer prepares the ListByServer request.

func (QueryTextsClient) ListByServerResponder Uses

func (client QueryTextsClient) ListByServerResponder(resp *http.Response) (result QueryTextsResultList, err error)

ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.

func (QueryTextsClient) ListByServerSender Uses

func (client QueryTextsClient) ListByServerSender(req *http.Request) (*http.Response, error)

ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.

type QueryTextsResultList Uses

type QueryTextsResultList struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; The list of query texts.
    Value *[]QueryText `json:"value,omitempty"`
    // NextLink - READ-ONLY; Link to retrieve next page of results.
    NextLink *string `json:"nextLink,omitempty"`
}

QueryTextsResultList a list of query texts.

func (QueryTextsResultList) IsEmpty Uses

func (qtrl QueryTextsResultList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type QueryTextsResultListIterator Uses

type QueryTextsResultListIterator struct {
    // contains filtered or unexported fields
}

QueryTextsResultListIterator provides access to a complete listing of QueryText values.

func NewQueryTextsResultListIterator Uses

func NewQueryTextsResultListIterator(page QueryTextsResultListPage) QueryTextsResultListIterator

Creates a new instance of the QueryTextsResultListIterator type.

func (*QueryTextsResultListIterator) Next Uses

func (iter *QueryTextsResultListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*QueryTextsResultListIterator) NextWithContext Uses

func (iter *QueryTextsResultListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (QueryTextsResultListIterator) NotDone Uses

func (iter QueryTextsResultListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (QueryTextsResultListIterator) Response Uses

func (iter QueryTextsResultListIterator) Response() QueryTextsResultList

Response returns the raw server response from the last page request.

func (QueryTextsResultListIterator) Value Uses

func (iter QueryTextsResultListIterator) Value() QueryText

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type QueryTextsResultListPage Uses

type QueryTextsResultListPage struct {
    // contains filtered or unexported fields
}

QueryTextsResultListPage contains a page of QueryText values.

func NewQueryTextsResultListPage Uses

func NewQueryTextsResultListPage(getNextPage func(context.Context, QueryTextsResultList) (QueryTextsResultList, error)) QueryTextsResultListPage

Creates a new instance of the QueryTextsResultListPage type.

func (*QueryTextsResultListPage) Next Uses

func (page *QueryTextsResultListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*QueryTextsResultListPage) NextWithContext Uses

func (page *QueryTextsResultListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (QueryTextsResultListPage) NotDone Uses

func (page QueryTextsResultListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (QueryTextsResultListPage) Response Uses

func (page QueryTextsResultListPage) Response() QueryTextsResultList

Response returns the raw server response from the last page request.

func (QueryTextsResultListPage) Values Uses

func (page QueryTextsResultListPage) Values() []QueryText

Values returns the slice of values for the current page or nil if there are no values.

type RecommendationAction Uses

type RecommendationAction struct {
    autorest.Response `json:"-"`
    // RecommendationActionProperties - The properties of a recommendation action.
    *RecommendationActionProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

RecommendationAction represents a Recommendation Action.

func (RecommendationAction) MarshalJSON Uses

func (ra RecommendationAction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RecommendationAction.

func (*RecommendationAction) UnmarshalJSON Uses

func (ra *RecommendationAction) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RecommendationAction struct.

type RecommendationActionProperties Uses

type RecommendationActionProperties struct {
    // AdvisorName - Advisor name.
    AdvisorName *string `json:"advisorName,omitempty"`
    // SessionID - Recommendation action session identifier.
    SessionID *string `json:"sessionId,omitempty"`
    // ActionID - Recommendation action identifier.
    ActionID *int32 `json:"actionId,omitempty"`
    // CreatedTime - Recommendation action creation time.
    CreatedTime *date.Time `json:"createdTime,omitempty"`
    // ExpirationTime - Recommendation action expiration time.
    ExpirationTime *date.Time `json:"expirationTime,omitempty"`
    // Reason - Recommendation action reason.
    Reason *string `json:"reason,omitempty"`
    // RecommendationType - Recommendation action type.
    RecommendationType *string `json:"recommendationType,omitempty"`
    // Details - Recommendation action details.
    Details map[string]*string `json:"details"`
}

RecommendationActionProperties the properties of a recommendation action.

func (RecommendationActionProperties) MarshalJSON Uses

func (rap RecommendationActionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RecommendationActionProperties.

type RecommendationActionsResultList Uses

type RecommendationActionsResultList struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; The list of recommendation action advisors.
    Value *[]RecommendationAction `json:"value,omitempty"`
    // NextLink - READ-ONLY; Link to retrieve next page of results.
    NextLink *string `json:"nextLink,omitempty"`
}

RecommendationActionsResultList a list of recommendation actions.

func (RecommendationActionsResultList) IsEmpty Uses

func (rarl RecommendationActionsResultList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RecommendationActionsResultListIterator Uses

type RecommendationActionsResultListIterator struct {
    // contains filtered or unexported fields
}

RecommendationActionsResultListIterator provides access to a complete listing of RecommendationAction values.

func NewRecommendationActionsResultListIterator Uses

func NewRecommendationActionsResultListIterator(page RecommendationActionsResultListPage) RecommendationActionsResultListIterator

Creates a new instance of the RecommendationActionsResultListIterator type.

func (*RecommendationActionsResultListIterator) Next Uses

func (iter *RecommendationActionsResultListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RecommendationActionsResultListIterator) NextWithContext Uses

func (iter *RecommendationActionsResultListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (RecommendationActionsResultListIterator) NotDone Uses

func (iter RecommendationActionsResultListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (RecommendationActionsResultListIterator) Response Uses

func (iter RecommendationActionsResultListIterator) Response() RecommendationActionsResultList

Response returns the raw server response from the last page request.

func (RecommendationActionsResultListIterator) Value Uses

func (iter RecommendationActionsResultListIterator) Value() RecommendationAction

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type RecommendationActionsResultListPage Uses

type RecommendationActionsResultListPage struct {
    // contains filtered or unexported fields
}

RecommendationActionsResultListPage contains a page of RecommendationAction values.

func NewRecommendationActionsResultListPage Uses

func NewRecommendationActionsResultListPage(getNextPage func(context.Context, RecommendationActionsResultList) (RecommendationActionsResultList, error)) RecommendationActionsResultListPage

Creates a new instance of the RecommendationActionsResultListPage type.

func (*RecommendationActionsResultListPage) Next Uses

func (page *RecommendationActionsResultListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RecommendationActionsResultListPage) NextWithContext Uses

func (page *RecommendationActionsResultListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (RecommendationActionsResultListPage) NotDone Uses

func (page RecommendationActionsResultListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (RecommendationActionsResultListPage) Response Uses

func (page RecommendationActionsResultListPage) Response() RecommendationActionsResultList

Response returns the raw server response from the last page request.

func (RecommendationActionsResultListPage) Values Uses

func (page RecommendationActionsResultListPage) Values() []RecommendationAction

Values returns the slice of values for the current page or nil if there are no values.

type RecommendedActionSessionsOperationStatus Uses

type RecommendedActionSessionsOperationStatus struct {
    autorest.Response `json:"-"`
    // Name - Operation identifier.
    Name *string `json:"name,omitempty"`
    // StartTime - Operation start time.
    StartTime *date.Time `json:"startTime,omitempty"`
    // Status - Operation status.
    Status *string `json:"status,omitempty"`
}

RecommendedActionSessionsOperationStatus recommendation action session operation status.

type RecommendedActionsClient Uses

type RecommendedActionsClient struct {
    BaseClient
}

RecommendedActionsClient is the mariaDB Client

func NewRecommendedActionsClient Uses

func NewRecommendedActionsClient(subscriptionID string) RecommendedActionsClient

NewRecommendedActionsClient creates an instance of the RecommendedActionsClient client.

func NewRecommendedActionsClientWithBaseURI Uses

func NewRecommendedActionsClientWithBaseURI(baseURI string, subscriptionID string) RecommendedActionsClient

NewRecommendedActionsClientWithBaseURI creates an instance of the RecommendedActionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RecommendedActionsClient) Get Uses

func (client RecommendedActionsClient) Get(ctx context.Context, resourceGroupName string, serverName string, advisorName string, recommendedActionName string) (result RecommendationAction, err error)

Get retrieve recommended actions from the advisor. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. advisorName - the advisor name for recommendation action. recommendedActionName - the recommended action name.

func (RecommendedActionsClient) GetPreparer Uses

func (client RecommendedActionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, advisorName string, recommendedActionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RecommendedActionsClient) GetResponder Uses

func (client RecommendedActionsClient) GetResponder(resp *http.Response) (result RecommendationAction, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (RecommendedActionsClient) GetSender Uses

func (client RecommendedActionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (RecommendedActionsClient) ListByServer Uses

func (client RecommendedActionsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string, advisorName string, sessionID string) (result RecommendationActionsResultListPage, err error)

ListByServer retrieve recommended actions from the advisor. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. advisorName - the advisor name for recommendation action. sessionID - the recommendation action session identifier.

func (RecommendedActionsClient) ListByServerComplete Uses

func (client RecommendedActionsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string, advisorName string, sessionID string) (result RecommendationActionsResultListIterator, err error)

ListByServerComplete enumerates all values, automatically crossing page boundaries as required.

func (RecommendedActionsClient) ListByServerPreparer Uses

func (client RecommendedActionsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string, advisorName string, sessionID string) (*http.Request, error)

ListByServerPreparer prepares the ListByServer request.

func (RecommendedActionsClient) ListByServerResponder Uses

func (client RecommendedActionsClient) ListByServerResponder(resp *http.Response) (result RecommendationActionsResultList, err error)

ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.

func (RecommendedActionsClient) ListByServerSender Uses

func (client RecommendedActionsClient) ListByServerSender(req *http.Request) (*http.Response, error)

ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.

type ReplicasClient Uses

type ReplicasClient struct {
    BaseClient
}

ReplicasClient is the mariaDB Client

func NewReplicasClient Uses

func NewReplicasClient(subscriptionID string) ReplicasClient

NewReplicasClient creates an instance of the ReplicasClient client.

func NewReplicasClientWithBaseURI Uses

func NewReplicasClientWithBaseURI(baseURI string, subscriptionID string) ReplicasClient

NewReplicasClientWithBaseURI creates an instance of the ReplicasClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ReplicasClient) ListByServer Uses

func (client ReplicasClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result ServerListResult, err error)

ListByServer list all the replicas for a given server. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server.

func (ReplicasClient) ListByServerPreparer Uses

func (client ReplicasClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)

ListByServerPreparer prepares the ListByServer request.

func (ReplicasClient) ListByServerResponder Uses

func (client ReplicasClient) ListByServerResponder(resp *http.Response) (result ServerListResult, err error)

ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.

func (ReplicasClient) ListByServerSender Uses

func (client ReplicasClient) ListByServerSender(req *http.Request) (*http.Response, error)

ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.

type Resource Uses

type Resource struct {
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

Resource ...

type SecurityAlertPolicyProperties Uses

type SecurityAlertPolicyProperties struct {
    // State - Specifies the state of the policy, whether it is enabled or disabled. Possible values include: 'ServerSecurityAlertPolicyStateEnabled', 'ServerSecurityAlertPolicyStateDisabled'
    State ServerSecurityAlertPolicyState `json:"state,omitempty"`
    // DisabledAlerts - Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly
    DisabledAlerts *[]string `json:"disabledAlerts,omitempty"`
    // EmailAddresses - Specifies an array of e-mail addresses to which the alert is sent.
    EmailAddresses *[]string `json:"emailAddresses,omitempty"`
    // EmailAccountAdmins - Specifies that the alert is sent to the account administrators.
    EmailAccountAdmins *bool `json:"emailAccountAdmins,omitempty"`
    // StorageEndpoint - Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.
    StorageEndpoint *string `json:"storageEndpoint,omitempty"`
    // StorageAccountAccessKey - Specifies the identifier key of the Threat Detection audit storage account.
    StorageAccountAccessKey *string `json:"storageAccountAccessKey,omitempty"`
    // RetentionDays - Specifies the number of days to keep in the Threat Detection audit logs.
    RetentionDays *int32 `json:"retentionDays,omitempty"`
}

SecurityAlertPolicyProperties properties of a security alert policy.

type Server Uses

type Server struct {
    autorest.Response `json:"-"`
    // Sku - The SKU (pricing tier) of the server.
    Sku *Sku `json:"sku,omitempty"`
    // ServerProperties - Properties of the server.
    *ServerProperties `json:"properties,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // Location - The geo-location where the resource lives
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

Server represents a server.

func (Server) MarshalJSON Uses

func (s Server) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Server.

func (*Server) UnmarshalJSON Uses

func (s *Server) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Server struct.

type ServerForCreate Uses

type ServerForCreate struct {
    // Sku - The SKU (pricing tier) of the server.
    Sku *Sku `json:"sku,omitempty"`
    // Properties - Properties of the server.
    Properties BasicServerPropertiesForCreate `json:"properties,omitempty"`
    // Location - The location the resource resides in.
    Location *string `json:"location,omitempty"`
    // Tags - Application-specific metadata in the form of key-value pairs.
    Tags map[string]*string `json:"tags"`
}

ServerForCreate represents a server to be created.

func (ServerForCreate) MarshalJSON Uses

func (sfc ServerForCreate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServerForCreate.

func (*ServerForCreate) UnmarshalJSON Uses

func (sfc *ServerForCreate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ServerForCreate struct.

type ServerListResult Uses

type ServerListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of servers
    Value *[]Server `json:"value,omitempty"`
}

ServerListResult a list of servers.

type ServerProperties Uses

type ServerProperties struct {
    // AdministratorLogin - The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
    AdministratorLogin *string `json:"administratorLogin,omitempty"`
    // Version - Server version. Possible values include: 'FiveFullStopSix', 'FiveFullStopSeven'
    Version ServerVersion `json:"version,omitempty"`
    // SslEnforcement - Enable ssl enforcement or not when connect to server. Possible values include: 'SslEnforcementEnumEnabled', 'SslEnforcementEnumDisabled'
    SslEnforcement SslEnforcementEnum `json:"sslEnforcement,omitempty"`
    // UserVisibleState - A state of a server that is visible to user. Possible values include: 'ServerStateReady', 'ServerStateDropping', 'ServerStateDisabled'
    UserVisibleState ServerState `json:"userVisibleState,omitempty"`
    // FullyQualifiedDomainName - The fully qualified domain name of a server.
    FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty"`
    // EarliestRestoreDate - Earliest restore point creation time (ISO8601 format)
    EarliestRestoreDate *date.Time `json:"earliestRestoreDate,omitempty"`
    // StorageProfile - Storage profile of a server.
    StorageProfile *StorageProfile `json:"storageProfile,omitempty"`
    // ReplicationRole - The replication role of the server.
    ReplicationRole *string `json:"replicationRole,omitempty"`
    // MasterServerID - The master server id of a replica server.
    MasterServerID *string `json:"masterServerId,omitempty"`
    // ReplicaCapacity - The maximum number of replicas that a master server can have.
    ReplicaCapacity *int32 `json:"replicaCapacity,omitempty"`
}

ServerProperties the properties of a server.

type ServerPropertiesForCreate Uses

type ServerPropertiesForCreate struct {
    // Version - Server version. Possible values include: 'FiveFullStopSix', 'FiveFullStopSeven'
    Version ServerVersion `json:"version,omitempty"`
    // SslEnforcement - Enable ssl enforcement or not when connect to server. Possible values include: 'SslEnforcementEnumEnabled', 'SslEnforcementEnumDisabled'
    SslEnforcement SslEnforcementEnum `json:"sslEnforcement,omitempty"`
    // StorageProfile - Storage profile of a server.
    StorageProfile *StorageProfile `json:"storageProfile,omitempty"`
    // CreateMode - Possible values include: 'CreateModeServerPropertiesForCreate', 'CreateModeDefault', 'CreateModePointInTimeRestore', 'CreateModeGeoRestore', 'CreateModeReplica'
    CreateMode CreateMode `json:"createMode,omitempty"`
}

ServerPropertiesForCreate the properties used to create a new server.

func (ServerPropertiesForCreate) AsBasicServerPropertiesForCreate Uses

func (spfc ServerPropertiesForCreate) AsBasicServerPropertiesForCreate() (BasicServerPropertiesForCreate, bool)

AsBasicServerPropertiesForCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForCreate.

func (ServerPropertiesForCreate) AsServerPropertiesForCreate Uses

func (spfc ServerPropertiesForCreate) AsServerPropertiesForCreate() (*ServerPropertiesForCreate, bool)

AsServerPropertiesForCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForCreate.

func (ServerPropertiesForCreate) AsServerPropertiesForDefaultCreate Uses

func (spfc ServerPropertiesForCreate) AsServerPropertiesForDefaultCreate() (*ServerPropertiesForDefaultCreate, bool)

AsServerPropertiesForDefaultCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForCreate.

func (ServerPropertiesForCreate) AsServerPropertiesForGeoRestore Uses

func (spfc ServerPropertiesForCreate) AsServerPropertiesForGeoRestore() (*ServerPropertiesForGeoRestore, bool)

AsServerPropertiesForGeoRestore is the BasicServerPropertiesForCreate implementation for ServerPropertiesForCreate.

func (ServerPropertiesForCreate) AsServerPropertiesForReplica Uses

func (spfc ServerPropertiesForCreate) AsServerPropertiesForReplica() (*ServerPropertiesForReplica, bool)

AsServerPropertiesForReplica is the BasicServerPropertiesForCreate implementation for ServerPropertiesForCreate.

func (ServerPropertiesForCreate) AsServerPropertiesForRestore Uses

func (spfc ServerPropertiesForCreate) AsServerPropertiesForRestore() (*ServerPropertiesForRestore, bool)

AsServerPropertiesForRestore is the BasicServerPropertiesForCreate implementation for ServerPropertiesForCreate.

func (ServerPropertiesForCreate) MarshalJSON Uses

func (spfc ServerPropertiesForCreate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServerPropertiesForCreate.

type ServerPropertiesForDefaultCreate Uses

type ServerPropertiesForDefaultCreate struct {
    // AdministratorLogin - The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
    AdministratorLogin *string `json:"administratorLogin,omitempty"`
    // AdministratorLoginPassword - The password of the administrator login.
    AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"`
    // Version - Server version. Possible values include: 'FiveFullStopSix', 'FiveFullStopSeven'
    Version ServerVersion `json:"version,omitempty"`
    // SslEnforcement - Enable ssl enforcement or not when connect to server. Possible values include: 'SslEnforcementEnumEnabled', 'SslEnforcementEnumDisabled'
    SslEnforcement SslEnforcementEnum `json:"sslEnforcement,omitempty"`
    // StorageProfile - Storage profile of a server.
    StorageProfile *StorageProfile `json:"storageProfile,omitempty"`
    // CreateMode - Possible values include: 'CreateModeServerPropertiesForCreate', 'CreateModeDefault', 'CreateModePointInTimeRestore', 'CreateModeGeoRestore', 'CreateModeReplica'
    CreateMode CreateMode `json:"createMode,omitempty"`
}

ServerPropertiesForDefaultCreate the properties used to create a new server.

func (ServerPropertiesForDefaultCreate) AsBasicServerPropertiesForCreate Uses

func (spfdc ServerPropertiesForDefaultCreate) AsBasicServerPropertiesForCreate() (BasicServerPropertiesForCreate, bool)

AsBasicServerPropertiesForCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForDefaultCreate.

func (ServerPropertiesForDefaultCreate) AsServerPropertiesForCreate Uses

func (spfdc ServerPropertiesForDefaultCreate) AsServerPropertiesForCreate() (*ServerPropertiesForCreate, bool)

AsServerPropertiesForCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForDefaultCreate.

func (ServerPropertiesForDefaultCreate) AsServerPropertiesForDefaultCreate Uses

func (spfdc ServerPropertiesForDefaultCreate) AsServerPropertiesForDefaultCreate() (*ServerPropertiesForDefaultCreate, bool)

AsServerPropertiesForDefaultCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForDefaultCreate.

func (ServerPropertiesForDefaultCreate) AsServerPropertiesForGeoRestore Uses

func (spfdc ServerPropertiesForDefaultCreate) AsServerPropertiesForGeoRestore() (*ServerPropertiesForGeoRestore, bool)

AsServerPropertiesForGeoRestore is the BasicServerPropertiesForCreate implementation for ServerPropertiesForDefaultCreate.

func (ServerPropertiesForDefaultCreate) AsServerPropertiesForReplica Uses

func (spfdc ServerPropertiesForDefaultCreate) AsServerPropertiesForReplica() (*ServerPropertiesForReplica, bool)

AsServerPropertiesForReplica is the BasicServerPropertiesForCreate implementation for ServerPropertiesForDefaultCreate.

func (ServerPropertiesForDefaultCreate) AsServerPropertiesForRestore Uses

func (spfdc ServerPropertiesForDefaultCreate) AsServerPropertiesForRestore() (*ServerPropertiesForRestore, bool)

AsServerPropertiesForRestore is the BasicServerPropertiesForCreate implementation for ServerPropertiesForDefaultCreate.

func (ServerPropertiesForDefaultCreate) MarshalJSON Uses

func (spfdc ServerPropertiesForDefaultCreate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServerPropertiesForDefaultCreate.

type ServerPropertiesForGeoRestore Uses

type ServerPropertiesForGeoRestore struct {
    // SourceServerID - The source server id to restore from.
    SourceServerID *string `json:"sourceServerId,omitempty"`
    // Version - Server version. Possible values include: 'FiveFullStopSix', 'FiveFullStopSeven'
    Version ServerVersion `json:"version,omitempty"`
    // SslEnforcement - Enable ssl enforcement or not when connect to server. Possible values include: 'SslEnforcementEnumEnabled', 'SslEnforcementEnumDisabled'
    SslEnforcement SslEnforcementEnum `json:"sslEnforcement,omitempty"`
    // StorageProfile - Storage profile of a server.
    StorageProfile *StorageProfile `json:"storageProfile,omitempty"`
    // CreateMode - Possible values include: 'CreateModeServerPropertiesForCreate', 'CreateModeDefault', 'CreateModePointInTimeRestore', 'CreateModeGeoRestore', 'CreateModeReplica'
    CreateMode CreateMode `json:"createMode,omitempty"`
}

ServerPropertiesForGeoRestore the properties used to create a new server by restoring to a different region from a geo replicated backup.

func (ServerPropertiesForGeoRestore) AsBasicServerPropertiesForCreate Uses

func (spfgr ServerPropertiesForGeoRestore) AsBasicServerPropertiesForCreate() (BasicServerPropertiesForCreate, bool)

AsBasicServerPropertiesForCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForGeoRestore.

func (ServerPropertiesForGeoRestore) AsServerPropertiesForCreate Uses

func (spfgr ServerPropertiesForGeoRestore) AsServerPropertiesForCreate() (*ServerPropertiesForCreate, bool)

AsServerPropertiesForCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForGeoRestore.

func (ServerPropertiesForGeoRestore) AsServerPropertiesForDefaultCreate Uses

func (spfgr ServerPropertiesForGeoRestore) AsServerPropertiesForDefaultCreate() (*ServerPropertiesForDefaultCreate, bool)

AsServerPropertiesForDefaultCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForGeoRestore.

func (ServerPropertiesForGeoRestore) AsServerPropertiesForGeoRestore Uses

func (spfgr ServerPropertiesForGeoRestore) AsServerPropertiesForGeoRestore() (*ServerPropertiesForGeoRestore, bool)

AsServerPropertiesForGeoRestore is the BasicServerPropertiesForCreate implementation for ServerPropertiesForGeoRestore.

func (ServerPropertiesForGeoRestore) AsServerPropertiesForReplica Uses

func (spfgr ServerPropertiesForGeoRestore) AsServerPropertiesForReplica() (*ServerPropertiesForReplica, bool)

AsServerPropertiesForReplica is the BasicServerPropertiesForCreate implementation for ServerPropertiesForGeoRestore.

func (ServerPropertiesForGeoRestore) AsServerPropertiesForRestore Uses

func (spfgr ServerPropertiesForGeoRestore) AsServerPropertiesForRestore() (*ServerPropertiesForRestore, bool)

AsServerPropertiesForRestore is the BasicServerPropertiesForCreate implementation for ServerPropertiesForGeoRestore.

func (ServerPropertiesForGeoRestore) MarshalJSON Uses

func (spfgr ServerPropertiesForGeoRestore) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServerPropertiesForGeoRestore.

type ServerPropertiesForReplica Uses

type ServerPropertiesForReplica struct {
    // SourceServerID - The master server id to create replica from.
    SourceServerID *string `json:"sourceServerId,omitempty"`
    // Version - Server version. Possible values include: 'FiveFullStopSix', 'FiveFullStopSeven'
    Version ServerVersion `json:"version,omitempty"`
    // SslEnforcement - Enable ssl enforcement or not when connect to server. Possible values include: 'SslEnforcementEnumEnabled', 'SslEnforcementEnumDisabled'
    SslEnforcement SslEnforcementEnum `json:"sslEnforcement,omitempty"`
    // StorageProfile - Storage profile of a server.
    StorageProfile *StorageProfile `json:"storageProfile,omitempty"`
    // CreateMode - Possible values include: 'CreateModeServerPropertiesForCreate', 'CreateModeDefault', 'CreateModePointInTimeRestore', 'CreateModeGeoRestore', 'CreateModeReplica'
    CreateMode CreateMode `json:"createMode,omitempty"`
}

ServerPropertiesForReplica the properties to create a new replica.

func (ServerPropertiesForReplica) AsBasicServerPropertiesForCreate Uses

func (spfr ServerPropertiesForReplica) AsBasicServerPropertiesForCreate() (BasicServerPropertiesForCreate, bool)

AsBasicServerPropertiesForCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForReplica.

func (ServerPropertiesForReplica) AsServerPropertiesForCreate Uses

func (spfr ServerPropertiesForReplica) AsServerPropertiesForCreate() (*ServerPropertiesForCreate, bool)

AsServerPropertiesForCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForReplica.

func (ServerPropertiesForReplica) AsServerPropertiesForDefaultCreate Uses

func (spfr ServerPropertiesForReplica) AsServerPropertiesForDefaultCreate() (*ServerPropertiesForDefaultCreate, bool)

AsServerPropertiesForDefaultCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForReplica.

func (ServerPropertiesForReplica) AsServerPropertiesForGeoRestore Uses

func (spfr ServerPropertiesForReplica) AsServerPropertiesForGeoRestore() (*ServerPropertiesForGeoRestore, bool)

AsServerPropertiesForGeoRestore is the BasicServerPropertiesForCreate implementation for ServerPropertiesForReplica.

func (ServerPropertiesForReplica) AsServerPropertiesForReplica Uses

func (spfr ServerPropertiesForReplica) AsServerPropertiesForReplica() (*ServerPropertiesForReplica, bool)

AsServerPropertiesForReplica is the BasicServerPropertiesForCreate implementation for ServerPropertiesForReplica.

func (ServerPropertiesForReplica) AsServerPropertiesForRestore Uses

func (spfr ServerPropertiesForReplica) AsServerPropertiesForRestore() (*ServerPropertiesForRestore, bool)

AsServerPropertiesForRestore is the BasicServerPropertiesForCreate implementation for ServerPropertiesForReplica.

func (ServerPropertiesForReplica) MarshalJSON Uses

func (spfr ServerPropertiesForReplica) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServerPropertiesForReplica.

type ServerPropertiesForRestore Uses

type ServerPropertiesForRestore struct {
    // SourceServerID - The source server id to restore from.
    SourceServerID *string `json:"sourceServerId,omitempty"`
    // RestorePointInTime - Restore point creation time (ISO8601 format), specifying the time to restore from.
    RestorePointInTime *date.Time `json:"restorePointInTime,omitempty"`
    // Version - Server version. Possible values include: 'FiveFullStopSix', 'FiveFullStopSeven'
    Version ServerVersion `json:"version,omitempty"`
    // SslEnforcement - Enable ssl enforcement or not when connect to server. Possible values include: 'SslEnforcementEnumEnabled', 'SslEnforcementEnumDisabled'
    SslEnforcement SslEnforcementEnum `json:"sslEnforcement,omitempty"`
    // StorageProfile - Storage profile of a server.
    StorageProfile *StorageProfile `json:"storageProfile,omitempty"`
    // CreateMode - Possible values include: 'CreateModeServerPropertiesForCreate', 'CreateModeDefault', 'CreateModePointInTimeRestore', 'CreateModeGeoRestore', 'CreateModeReplica'
    CreateMode CreateMode `json:"createMode,omitempty"`
}

ServerPropertiesForRestore the properties used to create a new server by restoring from a backup.

func (ServerPropertiesForRestore) AsBasicServerPropertiesForCreate Uses

func (spfr ServerPropertiesForRestore) AsBasicServerPropertiesForCreate() (BasicServerPropertiesForCreate, bool)

AsBasicServerPropertiesForCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForRestore.

func (ServerPropertiesForRestore) AsServerPropertiesForCreate Uses

func (spfr ServerPropertiesForRestore) AsServerPropertiesForCreate() (*ServerPropertiesForCreate, bool)

AsServerPropertiesForCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForRestore.

func (ServerPropertiesForRestore) AsServerPropertiesForDefaultCreate Uses

func (spfr ServerPropertiesForRestore) AsServerPropertiesForDefaultCreate() (*ServerPropertiesForDefaultCreate, bool)

AsServerPropertiesForDefaultCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForRestore.

func (ServerPropertiesForRestore) AsServerPropertiesForGeoRestore Uses

func (spfr ServerPropertiesForRestore) AsServerPropertiesForGeoRestore() (*ServerPropertiesForGeoRestore, bool)

AsServerPropertiesForGeoRestore is the BasicServerPropertiesForCreate implementation for ServerPropertiesForRestore.

func (ServerPropertiesForRestore) AsServerPropertiesForReplica Uses

func (spfr ServerPropertiesForRestore) AsServerPropertiesForReplica() (*ServerPropertiesForReplica, bool)

AsServerPropertiesForReplica is the BasicServerPropertiesForCreate implementation for ServerPropertiesForRestore.

func (ServerPropertiesForRestore) AsServerPropertiesForRestore Uses

func (spfr ServerPropertiesForRestore) AsServerPropertiesForRestore() (*ServerPropertiesForRestore, bool)

AsServerPropertiesForRestore is the BasicServerPropertiesForCreate implementation for ServerPropertiesForRestore.

func (ServerPropertiesForRestore) MarshalJSON Uses

func (spfr ServerPropertiesForRestore) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServerPropertiesForRestore.

type ServerSecurityAlertPoliciesClient Uses

type ServerSecurityAlertPoliciesClient struct {
    BaseClient
}

ServerSecurityAlertPoliciesClient is the mariaDB Client

func NewServerSecurityAlertPoliciesClient Uses

func NewServerSecurityAlertPoliciesClient(subscriptionID string) ServerSecurityAlertPoliciesClient

NewServerSecurityAlertPoliciesClient creates an instance of the ServerSecurityAlertPoliciesClient client.

func NewServerSecurityAlertPoliciesClientWithBaseURI Uses

func NewServerSecurityAlertPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ServerSecurityAlertPoliciesClient

NewServerSecurityAlertPoliciesClientWithBaseURI creates an instance of the ServerSecurityAlertPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ServerSecurityAlertPoliciesClient) CreateOrUpdate Uses

func (client ServerSecurityAlertPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, parameters ServerSecurityAlertPolicy) (result ServerSecurityAlertPoliciesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a threat detection policy. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. parameters - the server security alert policy.

func (ServerSecurityAlertPoliciesClient) CreateOrUpdatePreparer Uses

func (client ServerSecurityAlertPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, parameters ServerSecurityAlertPolicy) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ServerSecurityAlertPoliciesClient) CreateOrUpdateResponder Uses

func (client ServerSecurityAlertPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ServerSecurityAlertPolicy, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ServerSecurityAlertPoliciesClient) CreateOrUpdateSender Uses

func (client ServerSecurityAlertPoliciesClient) CreateOrUpdateSender(req *http.Request) (future ServerSecurityAlertPoliciesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ServerSecurityAlertPoliciesClient) Get Uses

func (client ServerSecurityAlertPoliciesClient) Get(ctx context.Context, resourceGroupName string, serverName string) (result ServerSecurityAlertPolicy, err error)

Get get a server's security alert policy. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server.

func (ServerSecurityAlertPoliciesClient) GetPreparer Uses

func (client ServerSecurityAlertPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ServerSecurityAlertPoliciesClient) GetResponder Uses

func (client ServerSecurityAlertPoliciesClient) GetResponder(resp *http.Response) (result ServerSecurityAlertPolicy, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ServerSecurityAlertPoliciesClient) GetSender Uses

func (client ServerSecurityAlertPoliciesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type ServerSecurityAlertPoliciesCreateOrUpdateFuture Uses

type ServerSecurityAlertPoliciesCreateOrUpdateFuture struct {
    azure.Future
}

ServerSecurityAlertPoliciesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServerSecurityAlertPoliciesCreateOrUpdateFuture) Result Uses

func (future *ServerSecurityAlertPoliciesCreateOrUpdateFuture) Result(client ServerSecurityAlertPoliciesClient) (ssap ServerSecurityAlertPolicy, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ServerSecurityAlertPolicy Uses

type ServerSecurityAlertPolicy struct {
    autorest.Response `json:"-"`
    // SecurityAlertPolicyProperties - Resource properties.
    *SecurityAlertPolicyProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

ServerSecurityAlertPolicy a server security alert policy.

func (ServerSecurityAlertPolicy) MarshalJSON Uses

func (ssap ServerSecurityAlertPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServerSecurityAlertPolicy.

func (*ServerSecurityAlertPolicy) UnmarshalJSON Uses

func (ssap *ServerSecurityAlertPolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ServerSecurityAlertPolicy struct.

type ServerSecurityAlertPolicyState Uses

type ServerSecurityAlertPolicyState string

ServerSecurityAlertPolicyState enumerates the values for server security alert policy state.

const (
    // ServerSecurityAlertPolicyStateDisabled ...
    ServerSecurityAlertPolicyStateDisabled ServerSecurityAlertPolicyState = "Disabled"
    // ServerSecurityAlertPolicyStateEnabled ...
    ServerSecurityAlertPolicyStateEnabled ServerSecurityAlertPolicyState = "Enabled"
)

func PossibleServerSecurityAlertPolicyStateValues Uses

func PossibleServerSecurityAlertPolicyStateValues() []ServerSecurityAlertPolicyState

PossibleServerSecurityAlertPolicyStateValues returns an array of possible values for the ServerSecurityAlertPolicyState const type.

type ServerState Uses

type ServerState string

ServerState enumerates the values for server state.

const (
    // ServerStateDisabled ...
    ServerStateDisabled ServerState = "Disabled"
    // ServerStateDropping ...
    ServerStateDropping ServerState = "Dropping"
    // ServerStateReady ...
    ServerStateReady ServerState = "Ready"
)

func PossibleServerStateValues Uses

func PossibleServerStateValues() []ServerState

PossibleServerStateValues returns an array of possible values for the ServerState const type.

type ServerUpdateParameters Uses

type ServerUpdateParameters struct {
    // Sku - The SKU (pricing tier) of the server.
    Sku *Sku `json:"sku,omitempty"`
    // ServerUpdateParametersProperties - The properties that can be updated for a server.
    *ServerUpdateParametersProperties `json:"properties,omitempty"`
    // Tags - Application-specific metadata in the form of key-value pairs.
    Tags map[string]*string `json:"tags"`
}

ServerUpdateParameters parameters allowed to update for a server.

func (ServerUpdateParameters) MarshalJSON Uses

func (sup ServerUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServerUpdateParameters.

func (*ServerUpdateParameters) UnmarshalJSON Uses

func (sup *ServerUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ServerUpdateParameters struct.

type ServerUpdateParametersProperties Uses

type ServerUpdateParametersProperties struct {
    // StorageProfile - Storage profile of a server.
    StorageProfile *StorageProfile `json:"storageProfile,omitempty"`
    // AdministratorLoginPassword - The password of the administrator login.
    AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"`
    // Version - The version of a server. Possible values include: 'FiveFullStopSix', 'FiveFullStopSeven'
    Version ServerVersion `json:"version,omitempty"`
    // SslEnforcement - Enable ssl enforcement or not when connect to server. Possible values include: 'SslEnforcementEnumEnabled', 'SslEnforcementEnumDisabled'
    SslEnforcement SslEnforcementEnum `json:"sslEnforcement,omitempty"`
    // ReplicationRole - The replication role of the server.
    ReplicationRole *string `json:"replicationRole,omitempty"`
}

ServerUpdateParametersProperties the properties that can be updated for a server.

type ServerVersion Uses

type ServerVersion string

ServerVersion enumerates the values for server version.

const (
    // FiveFullStopSeven ...
    FiveFullStopSeven ServerVersion = "5.7"
    // FiveFullStopSix ...
    FiveFullStopSix ServerVersion = "5.6"
)

func PossibleServerVersionValues Uses

func PossibleServerVersionValues() []ServerVersion

PossibleServerVersionValues returns an array of possible values for the ServerVersion const type.

type ServersClient Uses

type ServersClient struct {
    BaseClient
}

ServersClient is the mariaDB Client

func NewServersClient Uses

func NewServersClient(subscriptionID string) ServersClient

NewServersClient creates an instance of the ServersClient client.

func NewServersClientWithBaseURI Uses

func NewServersClientWithBaseURI(baseURI string, subscriptionID string) ServersClient

NewServersClientWithBaseURI creates an instance of the ServersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ServersClient) Create Uses

func (client ServersClient) Create(ctx context.Context, resourceGroupName string, serverName string, parameters ServerForCreate) (result ServersCreateFuture, err error)

Create creates a new server or updates an existing server. The update action will overwrite the existing server. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. parameters - the required parameters for creating or updating a server.

func (ServersClient) CreatePreparer Uses

func (client ServersClient) CreatePreparer(ctx context.Context, resourceGroupName string, serverName string, parameters ServerForCreate) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ServersClient) CreateResponder Uses

func (client ServersClient) CreateResponder(resp *http.Response) (result Server, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ServersClient) CreateSender Uses

func (client ServersClient) CreateSender(req *http.Request) (future ServersCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ServersClient) Delete Uses

func (client ServersClient) Delete(ctx context.Context, resourceGroupName string, serverName string) (result ServersDeleteFuture, err error)

Delete deletes a server. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server.

func (ServersClient) DeletePreparer Uses

func (client ServersClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ServersClient) DeleteResponder Uses

func (client ServersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ServersClient) DeleteSender Uses

func (client ServersClient) DeleteSender(req *http.Request) (future ServersDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ServersClient) Get Uses

func (client ServersClient) Get(ctx context.Context, resourceGroupName string, serverName string) (result Server, err error)

Get gets information about a server. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server.

func (ServersClient) GetPreparer Uses

func (client ServersClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ServersClient) GetResponder Uses

func (client ServersClient) GetResponder(resp *http.Response) (result Server, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ServersClient) GetSender Uses

func (client ServersClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ServersClient) List Uses

func (client ServersClient) List(ctx context.Context) (result ServerListResult, err error)

List list all the servers in a given subscription.

func (ServersClient) ListByResourceGroup Uses

func (client ServersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ServerListResult, err error)

ListByResourceGroup list all the servers in a given resource group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (ServersClient) ListByResourceGroupPreparer Uses

func (client ServersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ServersClient) ListByResourceGroupResponder Uses

func (client ServersClient) ListByResourceGroupResponder(resp *http.Response) (result ServerListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ServersClient) ListByResourceGroupSender Uses

func (client ServersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (ServersClient) ListPreparer Uses

func (client ServersClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ServersClient) ListResponder Uses

func (client ServersClient) ListResponder(resp *http.Response) (result ServerListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ServersClient) ListSender Uses

func (client ServersClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ServersClient) Restart Uses

func (client ServersClient) Restart(ctx context.Context, resourceGroupName string, serverName string) (result ServersRestartFuture, err error)

Restart restarts a server. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server.

func (ServersClient) RestartPreparer Uses

func (client ServersClient) RestartPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)

RestartPreparer prepares the Restart request.

func (ServersClient) RestartResponder Uses

func (client ServersClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)

RestartResponder handles the response to the Restart request. The method always closes the http.Response Body.

func (ServersClient) RestartSender Uses

func (client ServersClient) RestartSender(req *http.Request) (future ServersRestartFuture, err error)

RestartSender sends the Restart request. The method will close the http.Response Body if it receives an error.

func (ServersClient) Update Uses

func (client ServersClient) Update(ctx context.Context, resourceGroupName string, serverName string, parameters ServerUpdateParameters) (result ServersUpdateFuture, err error)

Update updates an existing server. The request body can contain one to many of the properties present in the normal server definition. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. parameters - the required parameters for updating a server.

func (ServersClient) UpdatePreparer Uses

func (client ServersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, parameters ServerUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ServersClient) UpdateResponder Uses

func (client ServersClient) UpdateResponder(resp *http.Response) (result Server, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ServersClient) UpdateSender Uses

func (client ServersClient) UpdateSender(req *http.Request) (future ServersUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ServersCreateFuture Uses

type ServersCreateFuture struct {
    azure.Future
}

ServersCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServersCreateFuture) Result Uses

func (future *ServersCreateFuture) Result(client ServersClient) (s Server, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ServersDeleteFuture Uses

type ServersDeleteFuture struct {
    azure.Future
}

ServersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServersDeleteFuture) Result Uses

func (future *ServersDeleteFuture) Result(client ServersClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ServersRestartFuture Uses

type ServersRestartFuture struct {
    azure.Future
}

ServersRestartFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServersRestartFuture) Result Uses

func (future *ServersRestartFuture) Result(client ServersClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ServersUpdateFuture Uses

type ServersUpdateFuture struct {
    azure.Future
}

ServersUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServersUpdateFuture) Result Uses

func (future *ServersUpdateFuture) Result(client ServersClient) (s Server, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type Sku Uses

type Sku struct {
    // Name - The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.
    Name *string `json:"name,omitempty"`
    // Tier - The tier of the particular SKU, e.g. Basic. Possible values include: 'Basic', 'GeneralPurpose', 'MemoryOptimized'
    Tier SkuTier `json:"tier,omitempty"`
    // Capacity - The scale up/out capacity, representing server's compute units.
    Capacity *int32 `json:"capacity,omitempty"`
    // Size - The size code, to be interpreted by resource as appropriate.
    Size *string `json:"size,omitempty"`
    // Family - The family of hardware.
    Family *string `json:"family,omitempty"`
}

Sku billing information related properties of a server.

type SkuTier Uses

type SkuTier string

SkuTier enumerates the values for sku tier.

const (
    // Basic ...
    Basic SkuTier = "Basic"
    // GeneralPurpose ...
    GeneralPurpose SkuTier = "GeneralPurpose"
    // MemoryOptimized ...
    MemoryOptimized SkuTier = "MemoryOptimized"
)

func PossibleSkuTierValues Uses

func PossibleSkuTierValues() []SkuTier

PossibleSkuTierValues returns an array of possible values for the SkuTier const type.

type SslEnforcementEnum Uses

type SslEnforcementEnum string

SslEnforcementEnum enumerates the values for ssl enforcement enum.

const (
    // SslEnforcementEnumDisabled ...
    SslEnforcementEnumDisabled SslEnforcementEnum = "Disabled"
    // SslEnforcementEnumEnabled ...
    SslEnforcementEnumEnabled SslEnforcementEnum = "Enabled"
)

func PossibleSslEnforcementEnumValues Uses

func PossibleSslEnforcementEnumValues() []SslEnforcementEnum

PossibleSslEnforcementEnumValues returns an array of possible values for the SslEnforcementEnum const type.

type StorageAutogrow Uses

type StorageAutogrow string

StorageAutogrow enumerates the values for storage autogrow.

const (
    // StorageAutogrowDisabled ...
    StorageAutogrowDisabled StorageAutogrow = "Disabled"
    // StorageAutogrowEnabled ...
    StorageAutogrowEnabled StorageAutogrow = "Enabled"
)

func PossibleStorageAutogrowValues Uses

func PossibleStorageAutogrowValues() []StorageAutogrow

PossibleStorageAutogrowValues returns an array of possible values for the StorageAutogrow const type.

type StorageProfile Uses

type StorageProfile struct {
    // BackupRetentionDays - Backup retention days for the server.
    BackupRetentionDays *int32 `json:"backupRetentionDays,omitempty"`
    // GeoRedundantBackup - Enable Geo-redundant or not for server backup. Possible values include: 'Enabled', 'Disabled'
    GeoRedundantBackup GeoRedundantBackup `json:"geoRedundantBackup,omitempty"`
    // StorageMB - Max storage allowed for a server.
    StorageMB *int32 `json:"storageMB,omitempty"`
    // StorageAutogrow - Enable Storage Auto Grow. Possible values include: 'StorageAutogrowEnabled', 'StorageAutogrowDisabled'
    StorageAutogrow StorageAutogrow `json:"storageAutogrow,omitempty"`
}

StorageProfile storage Profile properties of a server

type TagsObject Uses

type TagsObject struct {
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
}

TagsObject tags object for patch operations.

func (TagsObject) MarshalJSON Uses

func (toVar TagsObject) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TagsObject.

type TopQueryStatisticsClient Uses

type TopQueryStatisticsClient struct {
    BaseClient
}

TopQueryStatisticsClient is the mariaDB Client

func NewTopQueryStatisticsClient Uses

func NewTopQueryStatisticsClient(subscriptionID string) TopQueryStatisticsClient

NewTopQueryStatisticsClient creates an instance of the TopQueryStatisticsClient client.

func NewTopQueryStatisticsClientWithBaseURI Uses

func NewTopQueryStatisticsClientWithBaseURI(baseURI string, subscriptionID string) TopQueryStatisticsClient

NewTopQueryStatisticsClientWithBaseURI creates an instance of the TopQueryStatisticsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (TopQueryStatisticsClient) Get Uses

func (client TopQueryStatisticsClient) Get(ctx context.Context, resourceGroupName string, serverName string, queryStatisticID string) (result QueryStatistic, err error)

Get retrieve the query statistic for specified identifier. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. queryStatisticID - the Query Statistic identifier.

func (TopQueryStatisticsClient) GetPreparer Uses

func (client TopQueryStatisticsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, queryStatisticID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (TopQueryStatisticsClient) GetResponder Uses

func (client TopQueryStatisticsClient) GetResponder(resp *http.Response) (result QueryStatistic, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (TopQueryStatisticsClient) GetSender Uses

func (client TopQueryStatisticsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (TopQueryStatisticsClient) ListByServer Uses

func (client TopQueryStatisticsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string, parameters TopQueryStatisticsInput) (result TopQueryStatisticsResultListPage, err error)

ListByServer retrieve the Query-Store top queries for specified metric and aggregation. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. parameters - the required parameters for retrieving top query statistics.

func (TopQueryStatisticsClient) ListByServerComplete Uses

func (client TopQueryStatisticsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string, parameters TopQueryStatisticsInput) (result TopQueryStatisticsResultListIterator, err error)

ListByServerComplete enumerates all values, automatically crossing page boundaries as required.

func (TopQueryStatisticsClient) ListByServerPreparer Uses

func (client TopQueryStatisticsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string, parameters TopQueryStatisticsInput) (*http.Request, error)

ListByServerPreparer prepares the ListByServer request.

func (TopQueryStatisticsClient) ListByServerResponder Uses

func (client TopQueryStatisticsClient) ListByServerResponder(resp *http.Response) (result TopQueryStatisticsResultList, err error)

ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.

func (TopQueryStatisticsClient) ListByServerSender Uses

func (client TopQueryStatisticsClient) ListByServerSender(req *http.Request) (*http.Response, error)

ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.

type TopQueryStatisticsInput Uses

type TopQueryStatisticsInput struct {
    // TopQueryStatisticsInputProperties - The properties of a wait statistics input.
    *TopQueryStatisticsInputProperties `json:"properties,omitempty"`
}

TopQueryStatisticsInput input to get top query statistics

func (TopQueryStatisticsInput) MarshalJSON Uses

func (tqsi TopQueryStatisticsInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TopQueryStatisticsInput.

func (*TopQueryStatisticsInput) UnmarshalJSON Uses

func (tqsi *TopQueryStatisticsInput) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for TopQueryStatisticsInput struct.

type TopQueryStatisticsInputProperties Uses

type TopQueryStatisticsInputProperties struct {
    // NumberOfTopQueries - Max number of top queries to return.
    NumberOfTopQueries *int32 `json:"numberOfTopQueries,omitempty"`
    // AggregationFunction - Aggregation function name.
    AggregationFunction *string `json:"aggregationFunction,omitempty"`
    // ObservedMetric - Observed metric name.
    ObservedMetric *string `json:"observedMetric,omitempty"`
    // ObservationStartTime - Observation start time.
    ObservationStartTime *date.Time `json:"observationStartTime,omitempty"`
    // ObservationEndTime - Observation end time.
    ObservationEndTime *date.Time `json:"observationEndTime,omitempty"`
    // AggregationWindow - Aggregation interval type in ISO 8601 format.
    AggregationWindow *string `json:"aggregationWindow,omitempty"`
}

TopQueryStatisticsInputProperties the properties for input to get top query statistics

type TopQueryStatisticsResultList Uses

type TopQueryStatisticsResultList struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; The list of top query statistics.
    Value *[]QueryStatistic `json:"value,omitempty"`
    // NextLink - READ-ONLY; Link to retrieve next page of results.
    NextLink *string `json:"nextLink,omitempty"`
}

TopQueryStatisticsResultList a list of query statistics.

func (TopQueryStatisticsResultList) IsEmpty Uses

func (tqsrl TopQueryStatisticsResultList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type TopQueryStatisticsResultListIterator Uses

type TopQueryStatisticsResultListIterator struct {
    // contains filtered or unexported fields
}

TopQueryStatisticsResultListIterator provides access to a complete listing of QueryStatistic values.

func NewTopQueryStatisticsResultListIterator Uses

func NewTopQueryStatisticsResultListIterator(page TopQueryStatisticsResultListPage) TopQueryStatisticsResultListIterator

Creates a new instance of the TopQueryStatisticsResultListIterator type.

func (*TopQueryStatisticsResultListIterator) Next Uses

func (iter *TopQueryStatisticsResultListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*TopQueryStatisticsResultListIterator) NextWithContext Uses

func (iter *TopQueryStatisticsResultListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (TopQueryStatisticsResultListIterator) NotDone Uses

func (iter TopQueryStatisticsResultListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (TopQueryStatisticsResultListIterator) Response Uses

func (iter TopQueryStatisticsResultListIterator) Response() TopQueryStatisticsResultList

Response returns the raw server response from the last page request.

func (TopQueryStatisticsResultListIterator) Value Uses

func (iter TopQueryStatisticsResultListIterator) Value() QueryStatistic

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type TopQueryStatisticsResultListPage Uses

type TopQueryStatisticsResultListPage struct {
    // contains filtered or unexported fields
}

TopQueryStatisticsResultListPage contains a page of QueryStatistic values.

func NewTopQueryStatisticsResultListPage Uses

func NewTopQueryStatisticsResultListPage(getNextPage func(context.Context, TopQueryStatisticsResultList) (TopQueryStatisticsResultList, error)) TopQueryStatisticsResultListPage

Creates a new instance of the TopQueryStatisticsResultListPage type.

func (*TopQueryStatisticsResultListPage) Next Uses

func (page *TopQueryStatisticsResultListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*TopQueryStatisticsResultListPage) NextWithContext Uses

func (page *TopQueryStatisticsResultListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (TopQueryStatisticsResultListPage) NotDone Uses

func (page TopQueryStatisticsResultListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (TopQueryStatisticsResultListPage) Response Uses

func (page TopQueryStatisticsResultListPage) Response() TopQueryStatisticsResultList

Response returns the raw server response from the last page request.

func (TopQueryStatisticsResultListPage) Values Uses

func (page TopQueryStatisticsResultListPage) Values() []QueryStatistic

Values returns the slice of values for the current page or nil if there are no values.

type TrackedResource Uses

type TrackedResource struct {
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // Location - The geo-location where the resource lives
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

TrackedResource the resource model definition for a ARM tracked top level resource

func (TrackedResource) MarshalJSON Uses

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

type VirtualNetworkRule Uses

type VirtualNetworkRule struct {
    autorest.Response `json:"-"`
    // VirtualNetworkRuleProperties - Resource properties.
    *VirtualNetworkRuleProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

VirtualNetworkRule a virtual network rule.

func (VirtualNetworkRule) MarshalJSON Uses

func (vnr VirtualNetworkRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetworkRule.

func (*VirtualNetworkRule) UnmarshalJSON Uses

func (vnr *VirtualNetworkRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualNetworkRule struct.

type VirtualNetworkRuleListResult Uses

type VirtualNetworkRuleListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; Array of results.
    Value *[]VirtualNetworkRule `json:"value,omitempty"`
    // NextLink - READ-ONLY; Link to retrieve next page of results.
    NextLink *string `json:"nextLink,omitempty"`
}

VirtualNetworkRuleListResult a list of virtual network rules.

func (VirtualNetworkRuleListResult) IsEmpty Uses

func (vnrlr VirtualNetworkRuleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VirtualNetworkRuleListResultIterator Uses

type VirtualNetworkRuleListResultIterator struct {
    // contains filtered or unexported fields
}

VirtualNetworkRuleListResultIterator provides access to a complete listing of VirtualNetworkRule values.

func NewVirtualNetworkRuleListResultIterator Uses

func NewVirtualNetworkRuleListResultIterator(page VirtualNetworkRuleListResultPage) VirtualNetworkRuleListResultIterator

Creates a new instance of the VirtualNetworkRuleListResultIterator type.

func (*VirtualNetworkRuleListResultIterator) Next Uses

func (iter *VirtualNetworkRuleListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualNetworkRuleListResultIterator) NextWithContext Uses

func (iter *VirtualNetworkRuleListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VirtualNetworkRuleListResultIterator) NotDone Uses

func (iter VirtualNetworkRuleListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (VirtualNetworkRuleListResultIterator) Response Uses

func (iter VirtualNetworkRuleListResultIterator) Response() VirtualNetworkRuleListResult

Response returns the raw server response from the last page request.

func (VirtualNetworkRuleListResultIterator) Value Uses

func (iter VirtualNetworkRuleListResultIterator) Value() VirtualNetworkRule

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VirtualNetworkRuleListResultPage Uses

type VirtualNetworkRuleListResultPage struct {
    // contains filtered or unexported fields
}

VirtualNetworkRuleListResultPage contains a page of VirtualNetworkRule values.

func NewVirtualNetworkRuleListResultPage Uses

func NewVirtualNetworkRuleListResultPage(getNextPage func(context.Context, VirtualNetworkRuleListResult) (VirtualNetworkRuleListResult, error)) VirtualNetworkRuleListResultPage

Creates a new instance of the VirtualNetworkRuleListResultPage type.

func (*VirtualNetworkRuleListResultPage) Next Uses

func (page *VirtualNetworkRuleListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualNetworkRuleListResultPage) NextWithContext Uses

func (page *VirtualNetworkRuleListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VirtualNetworkRuleListResultPage) NotDone Uses

func (page VirtualNetworkRuleListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VirtualNetworkRuleListResultPage) Response Uses

func (page VirtualNetworkRuleListResultPage) Response() VirtualNetworkRuleListResult

Response returns the raw server response from the last page request.

func (VirtualNetworkRuleListResultPage) Values Uses

func (page VirtualNetworkRuleListResultPage) Values() []VirtualNetworkRule

Values returns the slice of values for the current page or nil if there are no values.

type VirtualNetworkRuleProperties Uses

type VirtualNetworkRuleProperties struct {
    // VirtualNetworkSubnetID - The ARM resource id of the virtual network subnet.
    VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty"`
    // IgnoreMissingVnetServiceEndpoint - Create firewall rule before the virtual network has vnet service endpoint enabled.
    IgnoreMissingVnetServiceEndpoint *bool `json:"ignoreMissingVnetServiceEndpoint,omitempty"`
    // State - READ-ONLY; Virtual Network Rule State. Possible values include: 'Initializing', 'InProgress', 'Ready', 'Deleting', 'Unknown'
    State VirtualNetworkRuleState `json:"state,omitempty"`
}

VirtualNetworkRuleProperties properties of a virtual network rule.

type VirtualNetworkRuleState Uses

type VirtualNetworkRuleState string

VirtualNetworkRuleState enumerates the values for virtual network rule state.

const (
    // Deleting ...
    Deleting VirtualNetworkRuleState = "Deleting"
    // Initializing ...
    Initializing VirtualNetworkRuleState = "Initializing"
    // InProgress ...
    InProgress VirtualNetworkRuleState = "InProgress"
    // Ready ...
    Ready VirtualNetworkRuleState = "Ready"
    // Unknown ...
    Unknown VirtualNetworkRuleState = "Unknown"
)

func PossibleVirtualNetworkRuleStateValues Uses

func PossibleVirtualNetworkRuleStateValues() []VirtualNetworkRuleState

PossibleVirtualNetworkRuleStateValues returns an array of possible values for the VirtualNetworkRuleState const type.

type VirtualNetworkRulesClient Uses

type VirtualNetworkRulesClient struct {
    BaseClient
}

VirtualNetworkRulesClient is the mariaDB Client

func NewVirtualNetworkRulesClient Uses

func NewVirtualNetworkRulesClient(subscriptionID string) VirtualNetworkRulesClient

NewVirtualNetworkRulesClient creates an instance of the VirtualNetworkRulesClient client.

func NewVirtualNetworkRulesClientWithBaseURI Uses

func NewVirtualNetworkRulesClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkRulesClient

NewVirtualNetworkRulesClientWithBaseURI creates an instance of the VirtualNetworkRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualNetworkRulesClient) CreateOrUpdate Uses

func (client VirtualNetworkRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string, parameters VirtualNetworkRule) (result VirtualNetworkRulesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates an existing virtual network rule. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. virtualNetworkRuleName - the name of the virtual network rule. parameters - the requested virtual Network Rule Resource state.

func (VirtualNetworkRulesClient) CreateOrUpdatePreparer Uses

func (client VirtualNetworkRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string, parameters VirtualNetworkRule) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualNetworkRulesClient) CreateOrUpdateResponder Uses

func (client VirtualNetworkRulesClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkRule, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VirtualNetworkRulesClient) CreateOrUpdateSender Uses

func (client VirtualNetworkRulesClient) CreateOrUpdateSender(req *http.Request) (future VirtualNetworkRulesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkRulesClient) Delete Uses

func (client VirtualNetworkRulesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string) (result VirtualNetworkRulesDeleteFuture, err error)

Delete deletes the virtual network rule with the given name. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. virtualNetworkRuleName - the name of the virtual network rule.

func (VirtualNetworkRulesClient) DeletePreparer Uses

func (client VirtualNetworkRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualNetworkRulesClient) DeleteResponder Uses

func (client VirtualNetworkRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VirtualNetworkRulesClient) DeleteSender Uses

func (client VirtualNetworkRulesClient) DeleteSender(req *http.Request) (future VirtualNetworkRulesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkRulesClient) Get Uses

func (client VirtualNetworkRulesClient) Get(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string) (result VirtualNetworkRule, err error)

Get gets a virtual network rule. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. virtualNetworkRuleName - the name of the virtual network rule.

func (VirtualNetworkRulesClient) GetPreparer Uses

func (client VirtualNetworkRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualNetworkRulesClient) GetResponder Uses

func (client VirtualNetworkRulesClient) GetResponder(resp *http.Response) (result VirtualNetworkRule, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VirtualNetworkRulesClient) GetSender Uses

func (client VirtualNetworkRulesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkRulesClient) ListByServer Uses

func (client VirtualNetworkRulesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result VirtualNetworkRuleListResultPage, err error)

ListByServer gets a list of virtual network rules in a server. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server.

func (VirtualNetworkRulesClient) ListByServerComplete Uses

func (client VirtualNetworkRulesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result VirtualNetworkRuleListResultIterator, err error)

ListByServerComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualNetworkRulesClient) ListByServerPreparer Uses

func (client VirtualNetworkRulesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)

ListByServerPreparer prepares the ListByServer request.

func (VirtualNetworkRulesClient) ListByServerResponder Uses

func (client VirtualNetworkRulesClient) ListByServerResponder(resp *http.Response) (result VirtualNetworkRuleListResult, err error)

ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.

func (VirtualNetworkRulesClient) ListByServerSender Uses

func (client VirtualNetworkRulesClient) ListByServerSender(req *http.Request) (*http.Response, error)

ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.

type VirtualNetworkRulesCreateOrUpdateFuture Uses

type VirtualNetworkRulesCreateOrUpdateFuture struct {
    azure.Future
}

VirtualNetworkRulesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkRulesCreateOrUpdateFuture) Result Uses

func (future *VirtualNetworkRulesCreateOrUpdateFuture) Result(client VirtualNetworkRulesClient) (vnr VirtualNetworkRule, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkRulesDeleteFuture Uses

type VirtualNetworkRulesDeleteFuture struct {
    azure.Future
}

VirtualNetworkRulesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkRulesDeleteFuture) Result Uses

func (future *VirtualNetworkRulesDeleteFuture) Result(client VirtualNetworkRulesClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type WaitStatistic Uses

type WaitStatistic struct {
    autorest.Response `json:"-"`
    // WaitStatisticProperties - The properties of a wait statistic.
    *WaitStatisticProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

WaitStatistic represents a Wait Statistic.

func (WaitStatistic) MarshalJSON Uses

func (ws WaitStatistic) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WaitStatistic.

func (*WaitStatistic) UnmarshalJSON Uses

func (ws *WaitStatistic) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WaitStatistic struct.

type WaitStatisticProperties Uses

type WaitStatisticProperties struct {
    // StartTime - Observation start time.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - Observation end time.
    EndTime *date.Time `json:"endTime,omitempty"`
    // EventName - Wait event name.
    EventName *string `json:"eventName,omitempty"`
    // EventTypeName - Wait event type name.
    EventTypeName *string `json:"eventTypeName,omitempty"`
    // QueryID - Database query identifier.
    QueryID *int64 `json:"queryId,omitempty"`
    // DatabaseName - Database Name.
    DatabaseName *string `json:"databaseName,omitempty"`
    // UserID - Database user identifier.
    UserID *int64 `json:"userId,omitempty"`
    // Count - Wait event count observed in this time interval.
    Count *int64 `json:"count,omitempty"`
    // TotalTimeInMs - Total time of wait in milliseconds in this time interval.
    TotalTimeInMs *float64 `json:"totalTimeInMs,omitempty"`
}

WaitStatisticProperties the properties of a wait statistic.

type WaitStatisticsClient Uses

type WaitStatisticsClient struct {
    BaseClient
}

WaitStatisticsClient is the mariaDB Client

func NewWaitStatisticsClient Uses

func NewWaitStatisticsClient(subscriptionID string) WaitStatisticsClient

NewWaitStatisticsClient creates an instance of the WaitStatisticsClient client.

func NewWaitStatisticsClientWithBaseURI Uses

func NewWaitStatisticsClientWithBaseURI(baseURI string, subscriptionID string) WaitStatisticsClient

NewWaitStatisticsClientWithBaseURI creates an instance of the WaitStatisticsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (WaitStatisticsClient) Get Uses

func (client WaitStatisticsClient) Get(ctx context.Context, resourceGroupName string, serverName string, waitStatisticsID string) (result WaitStatistic, err error)

Get retrieve wait statistics for specified identifier. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. waitStatisticsID - the Wait Statistic identifier.

func (WaitStatisticsClient) GetPreparer Uses

func (client WaitStatisticsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, waitStatisticsID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (WaitStatisticsClient) GetResponder Uses

func (client WaitStatisticsClient) GetResponder(resp *http.Response) (result WaitStatistic, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (WaitStatisticsClient) GetSender Uses

func (client WaitStatisticsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (WaitStatisticsClient) ListByServer Uses

func (client WaitStatisticsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string, parameters WaitStatisticsInput) (result WaitStatisticsResultListPage, err error)

ListByServer retrieve wait statistics for specified aggregation window. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. parameters - the required parameters for retrieving wait statistics.

func (WaitStatisticsClient) ListByServerComplete Uses

func (client WaitStatisticsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string, parameters WaitStatisticsInput) (result WaitStatisticsResultListIterator, err error)

ListByServerComplete enumerates all values, automatically crossing page boundaries as required.

func (WaitStatisticsClient) ListByServerPreparer Uses

func (client WaitStatisticsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string, parameters WaitStatisticsInput) (*http.Request, error)

ListByServerPreparer prepares the ListByServer request.

func (WaitStatisticsClient) ListByServerResponder Uses

func (client WaitStatisticsClient) ListByServerResponder(resp *http.Response) (result WaitStatisticsResultList, err error)

ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.

func (WaitStatisticsClient) ListByServerSender Uses

func (client WaitStatisticsClient) ListByServerSender(req *http.Request) (*http.Response, error)

ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.

type WaitStatisticsInput Uses

type WaitStatisticsInput struct {
    // WaitStatisticsInputProperties - The properties of a wait statistics input.
    *WaitStatisticsInputProperties `json:"properties,omitempty"`
}

WaitStatisticsInput input to get wait statistics

func (WaitStatisticsInput) MarshalJSON Uses

func (wsi WaitStatisticsInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WaitStatisticsInput.

func (*WaitStatisticsInput) UnmarshalJSON Uses

func (wsi *WaitStatisticsInput) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WaitStatisticsInput struct.

type WaitStatisticsInputProperties Uses

type WaitStatisticsInputProperties struct {
    // ObservationStartTime - Observation start time.
    ObservationStartTime *date.Time `json:"observationStartTime,omitempty"`
    // ObservationEndTime - Observation end time.
    ObservationEndTime *date.Time `json:"observationEndTime,omitempty"`
    // AggregationWindow - Aggregation interval type in ISO 8601 format.
    AggregationWindow *string `json:"aggregationWindow,omitempty"`
}

WaitStatisticsInputProperties the properties for input to get wait statistics

type WaitStatisticsResultList Uses

type WaitStatisticsResultList struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; The list of wait statistics.
    Value *[]WaitStatistic `json:"value,omitempty"`
    // NextLink - READ-ONLY; Link to retrieve next page of results.
    NextLink *string `json:"nextLink,omitempty"`
}

WaitStatisticsResultList a list of wait statistics.

func (WaitStatisticsResultList) IsEmpty Uses

func (wsrl WaitStatisticsResultList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type WaitStatisticsResultListIterator Uses

type WaitStatisticsResultListIterator struct {
    // contains filtered or unexported fields
}

WaitStatisticsResultListIterator provides access to a complete listing of WaitStatistic values.

func NewWaitStatisticsResultListIterator Uses

func NewWaitStatisticsResultListIterator(page WaitStatisticsResultListPage) WaitStatisticsResultListIterator

Creates a new instance of the WaitStatisticsResultListIterator type.

func (*WaitStatisticsResultListIterator) Next Uses

func (iter *WaitStatisticsResultListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*WaitStatisticsResultListIterator) NextWithContext Uses

func (iter *WaitStatisticsResultListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (WaitStatisticsResultListIterator) NotDone Uses

func (iter WaitStatisticsResultListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (WaitStatisticsResultListIterator) Response Uses

func (iter WaitStatisticsResultListIterator) Response() WaitStatisticsResultList

Response returns the raw server response from the last page request.

func (WaitStatisticsResultListIterator) Value Uses

func (iter WaitStatisticsResultListIterator) Value() WaitStatistic

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type WaitStatisticsResultListPage Uses

type WaitStatisticsResultListPage struct {
    // contains filtered or unexported fields
}

WaitStatisticsResultListPage contains a page of WaitStatistic values.

func NewWaitStatisticsResultListPage Uses

func NewWaitStatisticsResultListPage(getNextPage func(context.Context, WaitStatisticsResultList) (WaitStatisticsResultList, error)) WaitStatisticsResultListPage

Creates a new instance of the WaitStatisticsResultListPage type.

func (*WaitStatisticsResultListPage) Next Uses

func (page *WaitStatisticsResultListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*WaitStatisticsResultListPage) NextWithContext Uses

func (page *WaitStatisticsResultListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (WaitStatisticsResultListPage) NotDone Uses

func (page WaitStatisticsResultListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (WaitStatisticsResultListPage) Response Uses

func (page WaitStatisticsResultListPage) Response() WaitStatisticsResultList

Response returns the raw server response from the last page request.

func (WaitStatisticsResultListPage) Values Uses

func (page WaitStatisticsResultListPage) Values() []WaitStatistic

Values returns the slice of values for the current page or nil if there are no values.

Directories

PathSynopsis
mariadbapi

Package mariadb imports 10 packages (graph) and is imported by 7 packages. Updated 2020-02-04. Refresh now. Tools for package owners.