Documentation
¶
Overview ¶
Package mysql implements the Azure ARM Mysql service API version .
The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type Advisor
- type AdvisorsClient
- func (client AdvisorsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result Advisor, err error)
- func (client AdvisorsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client AdvisorsClient) GetResponder(resp *http.Response) (result Advisor, err error)
- func (client AdvisorsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client AdvisorsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result AdvisorsResultListPage, err error)
- func (client AdvisorsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result AdvisorsResultListIterator, err error)
- func (client AdvisorsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client AdvisorsClient) ListByServerResponder(resp *http.Response) (result AdvisorsResultList, err error)
- func (client AdvisorsClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type AdvisorsResultList
- type AdvisorsResultListIterator
- func (iter *AdvisorsResultListIterator) Next() error
- func (iter *AdvisorsResultListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter AdvisorsResultListIterator) NotDone() bool
- func (iter AdvisorsResultListIterator) Response() AdvisorsResultList
- func (iter AdvisorsResultListIterator) Value() Advisor
- type AdvisorsResultListPage
- func (page *AdvisorsResultListPage) Next() error
- func (page *AdvisorsResultListPage) NextWithContext(ctx context.Context) (err error)
- func (page AdvisorsResultListPage) NotDone() bool
- func (page AdvisorsResultListPage) Response() AdvisorsResultList
- func (page AdvisorsResultListPage) Values() []Advisor
- type AzureEntityResource
- type BaseClient
- func (client BaseClient) CreateRecommendedActionSession(ctx context.Context, resourceGroupName string, serverName string, ...) (result CreateRecommendedActionSessionFuture, err error)
- func (client BaseClient) CreateRecommendedActionSessionPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client BaseClient) CreateRecommendedActionSessionResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) CreateRecommendedActionSessionSender(req *http.Request) (future CreateRecommendedActionSessionFuture, err error)
- func (client BaseClient) ResetQueryPerformanceInsightData(ctx context.Context, resourceGroupName string, serverName string) (result QueryPerformanceInsightResetDataResult, err error)
- func (client BaseClient) ResetQueryPerformanceInsightDataPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client BaseClient) ResetQueryPerformanceInsightDataResponder(resp *http.Response) (result QueryPerformanceInsightResetDataResult, err error)
- func (client BaseClient) ResetQueryPerformanceInsightDataSender(req *http.Request) (*http.Response, error)
- type BasicServerPropertiesForCreate
- type CheckNameAvailabilityClient
- func (client CheckNameAvailabilityClient) Execute(ctx context.Context, nameAvailabilityRequest NameAvailabilityRequest) (result NameAvailability, err error)
- func (client CheckNameAvailabilityClient) ExecutePreparer(ctx context.Context, nameAvailabilityRequest NameAvailabilityRequest) (*http.Request, error)
- func (client CheckNameAvailabilityClient) ExecuteResponder(resp *http.Response) (result NameAvailability, err error)
- func (client CheckNameAvailabilityClient) ExecuteSender(req *http.Request) (*http.Response, error)
- type CloudError
- type Configuration
- type ConfigurationListResult
- type ConfigurationProperties
- type ConfigurationsClient
- func (client ConfigurationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result ConfigurationsCreateOrUpdateFuture, err error)
- func (client ConfigurationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ConfigurationsClient) CreateOrUpdateResponder(resp *http.Response) (result Configuration, err error)
- func (client ConfigurationsClient) CreateOrUpdateSender(req *http.Request) (future ConfigurationsCreateOrUpdateFuture, err error)
- func (client ConfigurationsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result Configuration, err error)
- func (client ConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ConfigurationsClient) GetResponder(resp *http.Response) (result Configuration, err error)
- func (client ConfigurationsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ConfigurationsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result ConfigurationListResult, err error)
- func (client ConfigurationsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ConfigurationsClient) ListByServerResponder(resp *http.Response) (result ConfigurationListResult, err error)
- func (client ConfigurationsClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type ConfigurationsCreateOrUpdateFuture
- type CreateMode
- type CreateRecommendedActionSessionFuture
- type Database
- type DatabaseListResult
- type DatabaseProperties
- type DatabasesClient
- func (client DatabasesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabasesCreateOrUpdateFuture, err error)
- func (client DatabasesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabasesClient) CreateOrUpdateResponder(resp *http.Response) (result Database, err error)
- func (client DatabasesClient) CreateOrUpdateSender(req *http.Request) (future DatabasesCreateOrUpdateFuture, err error)
- func (client DatabasesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabasesDeleteFuture, err error)
- func (client DatabasesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabasesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DatabasesClient) DeleteSender(req *http.Request) (future DatabasesDeleteFuture, err error)
- func (client DatabasesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result Database, err error)
- func (client DatabasesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabasesClient) GetResponder(resp *http.Response) (result Database, err error)
- func (client DatabasesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DatabasesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result DatabaseListResult, err error)
- func (client DatabasesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client DatabasesClient) ListByServerResponder(resp *http.Response) (result DatabaseListResult, err error)
- func (client DatabasesClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type DatabasesCreateOrUpdateFuture
- type DatabasesDeleteFuture
- type ErrorAdditionalInfo
- type ErrorResponse
- type FirewallRule
- type FirewallRuleListResult
- type FirewallRuleProperties
- type FirewallRulesClient
- func (client FirewallRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result FirewallRulesCreateOrUpdateFuture, err error)
- func (client FirewallRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client FirewallRulesClient) CreateOrUpdateResponder(resp *http.Response) (result FirewallRule, err error)
- func (client FirewallRulesClient) CreateOrUpdateSender(req *http.Request) (future FirewallRulesCreateOrUpdateFuture, err error)
- func (client FirewallRulesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result FirewallRulesDeleteFuture, err error)
- func (client FirewallRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client FirewallRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client FirewallRulesClient) DeleteSender(req *http.Request) (future FirewallRulesDeleteFuture, err error)
- func (client FirewallRulesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result FirewallRule, err error)
- func (client FirewallRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client FirewallRulesClient) GetResponder(resp *http.Response) (result FirewallRule, err error)
- func (client FirewallRulesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client FirewallRulesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result FirewallRuleListResult, err error)
- func (client FirewallRulesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client FirewallRulesClient) ListByServerResponder(resp *http.Response) (result FirewallRuleListResult, err error)
- func (client FirewallRulesClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type FirewallRulesCreateOrUpdateFuture
- type FirewallRulesDeleteFuture
- type GeoRedundantBackup
- type IdentityType
- type InfrastructureEncryption
- type LocationBasedPerformanceTierClient
- func (client LocationBasedPerformanceTierClient) List(ctx context.Context, locationName string) (result PerformanceTierListResult, err error)
- func (client LocationBasedPerformanceTierClient) ListPreparer(ctx context.Context, locationName string) (*http.Request, error)
- func (client LocationBasedPerformanceTierClient) ListResponder(resp *http.Response) (result PerformanceTierListResult, err error)
- func (client LocationBasedPerformanceTierClient) ListSender(req *http.Request) (*http.Response, error)
- type LocationBasedRecommendedActionSessionsOperationStatusClient
- func NewLocationBasedRecommendedActionSessionsOperationStatusClient(subscriptionID string) LocationBasedRecommendedActionSessionsOperationStatusClient
- func NewLocationBasedRecommendedActionSessionsOperationStatusClientWithBaseURI(baseURI string, subscriptionID string) LocationBasedRecommendedActionSessionsOperationStatusClient
- func (client LocationBasedRecommendedActionSessionsOperationStatusClient) Get(ctx context.Context, locationName string, operationID string) (result RecommendedActionSessionsOperationStatus, err error)
- func (client LocationBasedRecommendedActionSessionsOperationStatusClient) GetPreparer(ctx context.Context, locationName string, operationID string) (*http.Request, error)
- func (client LocationBasedRecommendedActionSessionsOperationStatusClient) GetResponder(resp *http.Response) (result RecommendedActionSessionsOperationStatus, err error)
- func (client LocationBasedRecommendedActionSessionsOperationStatusClient) GetSender(req *http.Request) (*http.Response, error)
- type LocationBasedRecommendedActionSessionsResultClient
- func (client LocationBasedRecommendedActionSessionsResultClient) List(ctx context.Context, locationName string, operationID string) (result RecommendationActionsResultListPage, err error)
- func (client LocationBasedRecommendedActionSessionsResultClient) ListComplete(ctx context.Context, locationName string, operationID string) (result RecommendationActionsResultListIterator, err error)
- func (client LocationBasedRecommendedActionSessionsResultClient) ListPreparer(ctx context.Context, locationName string, operationID string) (*http.Request, error)
- func (client LocationBasedRecommendedActionSessionsResultClient) ListResponder(resp *http.Response) (result RecommendationActionsResultList, err error)
- func (client LocationBasedRecommendedActionSessionsResultClient) ListSender(req *http.Request) (*http.Response, error)
- type LogFile
- type LogFileListResult
- type LogFileProperties
- type LogFilesClient
- func (client LogFilesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result LogFileListResult, err error)
- func (client LogFilesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client LogFilesClient) ListByServerResponder(resp *http.Response) (result LogFileListResult, err error)
- func (client LogFilesClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type MinimalTLSVersionEnum
- type NameAvailability
- type NameAvailabilityRequest
- type Operation
- type OperationDisplay
- type OperationListResult
- type OperationOrigin
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type PerformanceTierListResult
- type PerformanceTierProperties
- type PerformanceTierServiceLevelObjectives
- type PrivateEndpointConnection
- type PrivateEndpointConnectionListResult
- type PrivateEndpointConnectionListResultIterator
- func (iter *PrivateEndpointConnectionListResultIterator) Next() error
- func (iter *PrivateEndpointConnectionListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter PrivateEndpointConnectionListResultIterator) NotDone() bool
- func (iter PrivateEndpointConnectionListResultIterator) Response() PrivateEndpointConnectionListResult
- func (iter PrivateEndpointConnectionListResultIterator) Value() PrivateEndpointConnection
- type PrivateEndpointConnectionListResultPage
- func (page *PrivateEndpointConnectionListResultPage) Next() error
- func (page *PrivateEndpointConnectionListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page PrivateEndpointConnectionListResultPage) NotDone() bool
- func (page PrivateEndpointConnectionListResultPage) Response() PrivateEndpointConnectionListResult
- func (page PrivateEndpointConnectionListResultPage) Values() []PrivateEndpointConnection
- type PrivateEndpointConnectionProperties
- type PrivateEndpointConnectionsClient
- func (client PrivateEndpointConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result PrivateEndpointConnectionsCreateOrUpdateFuture, err error)
- func (client PrivateEndpointConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client PrivateEndpointConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
- func (client PrivateEndpointConnectionsClient) CreateOrUpdateSender(req *http.Request) (future PrivateEndpointConnectionsCreateOrUpdateFuture, err error)
- func (client PrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result PrivateEndpointConnectionsDeleteFuture, err error)
- func (client PrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client PrivateEndpointConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client PrivateEndpointConnectionsClient) DeleteSender(req *http.Request) (future PrivateEndpointConnectionsDeleteFuture, err error)
- func (client PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result PrivateEndpointConnection, err error)
- func (client PrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client PrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
- func (client PrivateEndpointConnectionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client PrivateEndpointConnectionsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result PrivateEndpointConnectionListResultPage, err error)
- func (client PrivateEndpointConnectionsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result PrivateEndpointConnectionListResultIterator, err error)
- func (client PrivateEndpointConnectionsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client PrivateEndpointConnectionsClient) ListByServerResponder(resp *http.Response) (result PrivateEndpointConnectionListResult, err error)
- func (client PrivateEndpointConnectionsClient) ListByServerSender(req *http.Request) (*http.Response, error)
- func (client PrivateEndpointConnectionsClient) UpdateTags(ctx context.Context, resourceGroupName string, serverName string, ...) (result PrivateEndpointConnectionsUpdateTagsFuture, err error)
- func (client PrivateEndpointConnectionsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client PrivateEndpointConnectionsClient) UpdateTagsResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
- func (client PrivateEndpointConnectionsClient) UpdateTagsSender(req *http.Request) (future PrivateEndpointConnectionsUpdateTagsFuture, err error)
- type PrivateEndpointConnectionsCreateOrUpdateFuture
- type PrivateEndpointConnectionsDeleteFuture
- type PrivateEndpointConnectionsUpdateTagsFuture
- type PrivateEndpointProperty
- type PrivateEndpointProvisioningState
- type PrivateLinkResource
- type PrivateLinkResourceListResult
- type PrivateLinkResourceListResultIterator
- func (iter *PrivateLinkResourceListResultIterator) Next() error
- func (iter *PrivateLinkResourceListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter PrivateLinkResourceListResultIterator) NotDone() bool
- func (iter PrivateLinkResourceListResultIterator) Response() PrivateLinkResourceListResult
- func (iter PrivateLinkResourceListResultIterator) Value() PrivateLinkResource
- type PrivateLinkResourceListResultPage
- func (page *PrivateLinkResourceListResultPage) Next() error
- func (page *PrivateLinkResourceListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page PrivateLinkResourceListResultPage) NotDone() bool
- func (page PrivateLinkResourceListResultPage) Response() PrivateLinkResourceListResult
- func (page PrivateLinkResourceListResultPage) Values() []PrivateLinkResource
- type PrivateLinkResourceProperties
- type PrivateLinkResourcesClient
- func (client PrivateLinkResourcesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result PrivateLinkResource, err error)
- func (client PrivateLinkResourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client PrivateLinkResourcesClient) GetResponder(resp *http.Response) (result PrivateLinkResource, err error)
- func (client PrivateLinkResourcesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client PrivateLinkResourcesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result PrivateLinkResourceListResultPage, err error)
- func (client PrivateLinkResourcesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result PrivateLinkResourceListResultIterator, err error)
- func (client PrivateLinkResourcesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client PrivateLinkResourcesClient) ListByServerResponder(resp *http.Response) (result PrivateLinkResourceListResult, err error)
- func (client PrivateLinkResourcesClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type PrivateLinkServiceConnectionStateActionsRequire
- type PrivateLinkServiceConnectionStateProperty
- type PrivateLinkServiceConnectionStateStatus
- type ProxyResource
- type PublicNetworkAccessEnum
- type QueryPerformanceInsightResetDataResult
- type QueryPerformanceInsightResetDataResultState
- type QueryStatistic
- type QueryStatisticProperties
- type QueryText
- type QueryTextProperties
- type QueryTextsClient
- func (client QueryTextsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result QueryText, err error)
- func (client QueryTextsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client QueryTextsClient) GetResponder(resp *http.Response) (result QueryText, err error)
- func (client QueryTextsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client QueryTextsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string, ...) (result QueryTextsResultListPage, err error)
- func (client QueryTextsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result QueryTextsResultListIterator, err error)
- func (client QueryTextsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client QueryTextsClient) ListByServerResponder(resp *http.Response) (result QueryTextsResultList, err error)
- func (client QueryTextsClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type QueryTextsResultList
- type QueryTextsResultListIterator
- func (iter *QueryTextsResultListIterator) Next() error
- func (iter *QueryTextsResultListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter QueryTextsResultListIterator) NotDone() bool
- func (iter QueryTextsResultListIterator) Response() QueryTextsResultList
- func (iter QueryTextsResultListIterator) Value() QueryText
- type QueryTextsResultListPage
- func (page *QueryTextsResultListPage) Next() error
- func (page *QueryTextsResultListPage) NextWithContext(ctx context.Context) (err error)
- func (page QueryTextsResultListPage) NotDone() bool
- func (page QueryTextsResultListPage) Response() QueryTextsResultList
- func (page QueryTextsResultListPage) Values() []QueryText
- type RecommendationAction
- type RecommendationActionProperties
- type RecommendationActionsResultList
- type RecommendationActionsResultListIterator
- func (iter *RecommendationActionsResultListIterator) Next() error
- func (iter *RecommendationActionsResultListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter RecommendationActionsResultListIterator) NotDone() bool
- func (iter RecommendationActionsResultListIterator) Response() RecommendationActionsResultList
- func (iter RecommendationActionsResultListIterator) Value() RecommendationAction
- type RecommendationActionsResultListPage
- func (page *RecommendationActionsResultListPage) Next() error
- func (page *RecommendationActionsResultListPage) NextWithContext(ctx context.Context) (err error)
- func (page RecommendationActionsResultListPage) NotDone() bool
- func (page RecommendationActionsResultListPage) Response() RecommendationActionsResultList
- func (page RecommendationActionsResultListPage) Values() []RecommendationAction
- type RecommendedActionSessionsOperationStatus
- type RecommendedActionsClient
- func (client RecommendedActionsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result RecommendationAction, err error)
- func (client RecommendedActionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client RecommendedActionsClient) GetResponder(resp *http.Response) (result RecommendationAction, err error)
- func (client RecommendedActionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client RecommendedActionsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string, ...) (result RecommendationActionsResultListPage, err error)
- func (client RecommendedActionsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result RecommendationActionsResultListIterator, err error)
- func (client RecommendedActionsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client RecommendedActionsClient) ListByServerResponder(resp *http.Response) (result RecommendationActionsResultList, err error)
- func (client RecommendedActionsClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type RecoverableServerProperties
- type RecoverableServerResource
- type RecoverableServersClient
- func (client RecoverableServersClient) Get(ctx context.Context, resourceGroupName string, serverName string) (result RecoverableServerResource, err error)
- func (client RecoverableServersClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client RecoverableServersClient) GetResponder(resp *http.Response) (result RecoverableServerResource, err error)
- func (client RecoverableServersClient) GetSender(req *http.Request) (*http.Response, error)
- type ReplicasClient
- func (client ReplicasClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result ServerListResult, err error)
- func (client ReplicasClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ReplicasClient) ListByServerResponder(resp *http.Response) (result ServerListResult, err error)
- func (client ReplicasClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type Resource
- type ResourceIdentity
- type SecurityAlertPolicyProperties
- type Server
- type ServerAdministratorProperties
- type ServerAdministratorResource
- type ServerAdministratorResourceListResult
- type ServerAdministratorsClient
- func (client ServerAdministratorsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServerAdministratorsCreateOrUpdateFuture, err error)
- func (client ServerAdministratorsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServerAdministratorsClient) CreateOrUpdateResponder(resp *http.Response) (result ServerAdministratorResource, err error)
- func (client ServerAdministratorsClient) CreateOrUpdateSender(req *http.Request) (future ServerAdministratorsCreateOrUpdateFuture, err error)
- func (client ServerAdministratorsClient) Delete(ctx context.Context, resourceGroupName string, serverName string) (result ServerAdministratorsDeleteFuture, err error)
- func (client ServerAdministratorsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServerAdministratorsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ServerAdministratorsClient) DeleteSender(req *http.Request) (future ServerAdministratorsDeleteFuture, err error)
- func (client ServerAdministratorsClient) Get(ctx context.Context, resourceGroupName string, serverName string) (result ServerAdministratorResource, err error)
- func (client ServerAdministratorsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServerAdministratorsClient) GetResponder(resp *http.Response) (result ServerAdministratorResource, err error)
- func (client ServerAdministratorsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ServerAdministratorsClient) List(ctx context.Context, resourceGroupName string, serverName string) (result ServerAdministratorResourceListResult, err error)
- func (client ServerAdministratorsClient) ListPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServerAdministratorsClient) ListResponder(resp *http.Response) (result ServerAdministratorResourceListResult, err error)
- func (client ServerAdministratorsClient) ListSender(req *http.Request) (*http.Response, error)
- type ServerAdministratorsCreateOrUpdateFuture
- type ServerAdministratorsDeleteFuture
- type ServerBasedPerformanceTierClient
- func (client ServerBasedPerformanceTierClient) List(ctx context.Context, resourceGroupName string, serverName string) (result PerformanceTierListResult, err error)
- func (client ServerBasedPerformanceTierClient) ListPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServerBasedPerformanceTierClient) ListResponder(resp *http.Response) (result PerformanceTierListResult, err error)
- func (client ServerBasedPerformanceTierClient) ListSender(req *http.Request) (*http.Response, error)
- type ServerForCreate
- type ServerKey
- type ServerKeyListResult
- type ServerKeyListResultIterator
- func (iter *ServerKeyListResultIterator) Next() error
- func (iter *ServerKeyListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ServerKeyListResultIterator) NotDone() bool
- func (iter ServerKeyListResultIterator) Response() ServerKeyListResult
- func (iter ServerKeyListResultIterator) Value() ServerKey
- type ServerKeyListResultPage
- func (page *ServerKeyListResultPage) Next() error
- func (page *ServerKeyListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ServerKeyListResultPage) NotDone() bool
- func (page ServerKeyListResultPage) Response() ServerKeyListResult
- func (page ServerKeyListResultPage) Values() []ServerKey
- type ServerKeyProperties
- type ServerKeysClient
- func (client ServerKeysClient) CreateOrUpdate(ctx context.Context, serverName string, keyName string, parameters ServerKey, ...) (result ServerKeysCreateOrUpdateFuture, err error)
- func (client ServerKeysClient) CreateOrUpdatePreparer(ctx context.Context, serverName string, keyName string, parameters ServerKey, ...) (*http.Request, error)
- func (client ServerKeysClient) CreateOrUpdateResponder(resp *http.Response) (result ServerKey, err error)
- func (client ServerKeysClient) CreateOrUpdateSender(req *http.Request) (future ServerKeysCreateOrUpdateFuture, err error)
- func (client ServerKeysClient) Delete(ctx context.Context, serverName string, keyName string, ...) (result ServerKeysDeleteFuture, err error)
- func (client ServerKeysClient) DeletePreparer(ctx context.Context, serverName string, keyName string, ...) (*http.Request, error)
- func (client ServerKeysClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ServerKeysClient) DeleteSender(req *http.Request) (future ServerKeysDeleteFuture, err error)
- func (client ServerKeysClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServerKey, err error)
- func (client ServerKeysClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServerKeysClient) GetResponder(resp *http.Response) (result ServerKey, err error)
- func (client ServerKeysClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ServerKeysClient) List(ctx context.Context, resourceGroupName string, serverName string) (result ServerKeyListResultPage, err error)
- func (client ServerKeysClient) ListComplete(ctx context.Context, resourceGroupName string, serverName string) (result ServerKeyListResultIterator, err error)
- func (client ServerKeysClient) ListPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServerKeysClient) ListResponder(resp *http.Response) (result ServerKeyListResult, err error)
- func (client ServerKeysClient) ListSender(req *http.Request) (*http.Response, error)
- type ServerKeysCreateOrUpdateFuture
- type ServerKeysDeleteFuture
- type ServerListResult
- type ServerParametersClient
- func (client ServerParametersClient) ListUpdateConfigurations(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServerParametersListUpdateConfigurationsFuture, err error)
- func (client ServerParametersClient) ListUpdateConfigurationsPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServerParametersClient) ListUpdateConfigurationsResponder(resp *http.Response) (result ConfigurationListResult, err error)
- func (client ServerParametersClient) ListUpdateConfigurationsSender(req *http.Request) (future ServerParametersListUpdateConfigurationsFuture, err error)
- type ServerParametersListUpdateConfigurationsFuture
- type ServerPrivateEndpointConnection
- type ServerPrivateEndpointConnectionProperties
- type ServerPrivateLinkServiceConnectionStateProperty
- type ServerProperties
- type ServerPropertiesForCreate
- func (spfc ServerPropertiesForCreate) AsBasicServerPropertiesForCreate() (BasicServerPropertiesForCreate, bool)
- func (spfc ServerPropertiesForCreate) AsServerPropertiesForCreate() (*ServerPropertiesForCreate, bool)
- func (spfc ServerPropertiesForCreate) AsServerPropertiesForDefaultCreate() (*ServerPropertiesForDefaultCreate, bool)
- func (spfc ServerPropertiesForCreate) AsServerPropertiesForGeoRestore() (*ServerPropertiesForGeoRestore, bool)
- func (spfc ServerPropertiesForCreate) AsServerPropertiesForReplica() (*ServerPropertiesForReplica, bool)
- func (spfc ServerPropertiesForCreate) AsServerPropertiesForRestore() (*ServerPropertiesForRestore, bool)
- func (spfc ServerPropertiesForCreate) MarshalJSON() ([]byte, error)
- type ServerPropertiesForDefaultCreate
- func (spfdc ServerPropertiesForDefaultCreate) AsBasicServerPropertiesForCreate() (BasicServerPropertiesForCreate, bool)
- func (spfdc ServerPropertiesForDefaultCreate) AsServerPropertiesForCreate() (*ServerPropertiesForCreate, bool)
- func (spfdc ServerPropertiesForDefaultCreate) AsServerPropertiesForDefaultCreate() (*ServerPropertiesForDefaultCreate, bool)
- func (spfdc ServerPropertiesForDefaultCreate) AsServerPropertiesForGeoRestore() (*ServerPropertiesForGeoRestore, bool)
- func (spfdc ServerPropertiesForDefaultCreate) AsServerPropertiesForReplica() (*ServerPropertiesForReplica, bool)
- func (spfdc ServerPropertiesForDefaultCreate) AsServerPropertiesForRestore() (*ServerPropertiesForRestore, bool)
- func (spfdc ServerPropertiesForDefaultCreate) MarshalJSON() ([]byte, error)
- type ServerPropertiesForGeoRestore
- func (spfgr ServerPropertiesForGeoRestore) AsBasicServerPropertiesForCreate() (BasicServerPropertiesForCreate, bool)
- func (spfgr ServerPropertiesForGeoRestore) AsServerPropertiesForCreate() (*ServerPropertiesForCreate, bool)
- func (spfgr ServerPropertiesForGeoRestore) AsServerPropertiesForDefaultCreate() (*ServerPropertiesForDefaultCreate, bool)
- func (spfgr ServerPropertiesForGeoRestore) AsServerPropertiesForGeoRestore() (*ServerPropertiesForGeoRestore, bool)
- func (spfgr ServerPropertiesForGeoRestore) AsServerPropertiesForReplica() (*ServerPropertiesForReplica, bool)
- func (spfgr ServerPropertiesForGeoRestore) AsServerPropertiesForRestore() (*ServerPropertiesForRestore, bool)
- func (spfgr ServerPropertiesForGeoRestore) MarshalJSON() ([]byte, error)
- type ServerPropertiesForReplica
- func (spfr ServerPropertiesForReplica) AsBasicServerPropertiesForCreate() (BasicServerPropertiesForCreate, bool)
- func (spfr ServerPropertiesForReplica) AsServerPropertiesForCreate() (*ServerPropertiesForCreate, bool)
- func (spfr ServerPropertiesForReplica) AsServerPropertiesForDefaultCreate() (*ServerPropertiesForDefaultCreate, bool)
- func (spfr ServerPropertiesForReplica) AsServerPropertiesForGeoRestore() (*ServerPropertiesForGeoRestore, bool)
- func (spfr ServerPropertiesForReplica) AsServerPropertiesForReplica() (*ServerPropertiesForReplica, bool)
- func (spfr ServerPropertiesForReplica) AsServerPropertiesForRestore() (*ServerPropertiesForRestore, bool)
- func (spfr ServerPropertiesForReplica) MarshalJSON() ([]byte, error)
- type ServerPropertiesForRestore
- func (spfr ServerPropertiesForRestore) AsBasicServerPropertiesForCreate() (BasicServerPropertiesForCreate, bool)
- func (spfr ServerPropertiesForRestore) AsServerPropertiesForCreate() (*ServerPropertiesForCreate, bool)
- func (spfr ServerPropertiesForRestore) AsServerPropertiesForDefaultCreate() (*ServerPropertiesForDefaultCreate, bool)
- func (spfr ServerPropertiesForRestore) AsServerPropertiesForGeoRestore() (*ServerPropertiesForGeoRestore, bool)
- func (spfr ServerPropertiesForRestore) AsServerPropertiesForReplica() (*ServerPropertiesForReplica, bool)
- func (spfr ServerPropertiesForRestore) AsServerPropertiesForRestore() (*ServerPropertiesForRestore, bool)
- func (spfr ServerPropertiesForRestore) MarshalJSON() ([]byte, error)
- type ServerSecurityAlertPoliciesClient
- func (client ServerSecurityAlertPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServerSecurityAlertPoliciesCreateOrUpdateFuture, err error)
- func (client ServerSecurityAlertPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServerSecurityAlertPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ServerSecurityAlertPolicy, err error)
- func (client ServerSecurityAlertPoliciesClient) CreateOrUpdateSender(req *http.Request) (future ServerSecurityAlertPoliciesCreateOrUpdateFuture, err error)
- func (client ServerSecurityAlertPoliciesClient) Get(ctx context.Context, resourceGroupName string, serverName string) (result ServerSecurityAlertPolicy, err error)
- func (client ServerSecurityAlertPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServerSecurityAlertPoliciesClient) GetResponder(resp *http.Response) (result ServerSecurityAlertPolicy, err error)
- func (client ServerSecurityAlertPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- type ServerSecurityAlertPoliciesCreateOrUpdateFuture
- type ServerSecurityAlertPolicy
- type ServerSecurityAlertPolicyState
- type ServerState
- type ServerUpdateParameters
- type ServerUpdateParametersProperties
- type ServerUpgradeParameters
- type ServerUpgradeParametersProperties
- type ServerVersion
- type ServersClient
- func (client ServersClient) Create(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServersCreateFuture, err error)
- func (client ServersClient) CreatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServersClient) CreateResponder(resp *http.Response) (result Server, err error)
- func (client ServersClient) CreateSender(req *http.Request) (future ServersCreateFuture, err error)
- func (client ServersClient) Delete(ctx context.Context, resourceGroupName string, serverName string) (result ServersDeleteFuture, err error)
- func (client ServersClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ServersClient) DeleteSender(req *http.Request) (future ServersDeleteFuture, err error)
- func (client ServersClient) Get(ctx context.Context, resourceGroupName string, serverName string) (result Server, err error)
- func (client ServersClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServersClient) GetResponder(resp *http.Response) (result Server, err error)
- func (client ServersClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ServersClient) List(ctx context.Context) (result ServerListResult, err error)
- func (client ServersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ServerListResult, err error)
- func (client ServersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client ServersClient) ListByResourceGroupResponder(resp *http.Response) (result ServerListResult, err error)
- func (client ServersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client ServersClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client ServersClient) ListResponder(resp *http.Response) (result ServerListResult, err error)
- func (client ServersClient) ListSender(req *http.Request) (*http.Response, error)
- func (client ServersClient) Restart(ctx context.Context, resourceGroupName string, serverName string) (result ServersRestartFuture, err error)
- func (client ServersClient) RestartPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServersClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ServersClient) RestartSender(req *http.Request) (future ServersRestartFuture, err error)
- func (client ServersClient) Start(ctx context.Context, resourceGroupName string, serverName string) (result ServersStartFuture, err error)
- func (client ServersClient) StartPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServersClient) StartResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ServersClient) StartSender(req *http.Request) (future ServersStartFuture, err error)
- func (client ServersClient) Stop(ctx context.Context, resourceGroupName string, serverName string) (result ServersStopFuture, err error)
- func (client ServersClient) StopPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServersClient) StopResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ServersClient) StopSender(req *http.Request) (future ServersStopFuture, err error)
- func (client ServersClient) Update(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServersUpdateFuture, err error)
- func (client ServersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServersClient) UpdateResponder(resp *http.Response) (result Server, err error)
- func (client ServersClient) UpdateSender(req *http.Request) (future ServersUpdateFuture, err error)
- func (client ServersClient) Upgrade(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServersUpgradeFuture, err error)
- func (client ServersClient) UpgradePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServersClient) UpgradeResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ServersClient) UpgradeSender(req *http.Request) (future ServersUpgradeFuture, err error)
- type ServersCreateFuture
- type ServersDeleteFuture
- type ServersRestartFuture
- type ServersStartFuture
- type ServersStopFuture
- type ServersUpdateFuture
- type ServersUpgradeFuture
- type Sku
- type SkuTier
- type SslEnforcementEnum
- type StorageAutogrow
- type StorageProfile
- type TagsObject
- type TopQueryStatisticsClient
- func (client TopQueryStatisticsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result QueryStatistic, err error)
- func (client TopQueryStatisticsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client TopQueryStatisticsClient) GetResponder(resp *http.Response) (result QueryStatistic, err error)
- func (client TopQueryStatisticsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client TopQueryStatisticsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string, ...) (result TopQueryStatisticsResultListPage, err error)
- func (client TopQueryStatisticsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result TopQueryStatisticsResultListIterator, err error)
- func (client TopQueryStatisticsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client TopQueryStatisticsClient) ListByServerResponder(resp *http.Response) (result TopQueryStatisticsResultList, err error)
- func (client TopQueryStatisticsClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type TopQueryStatisticsInput
- type TopQueryStatisticsInputProperties
- type TopQueryStatisticsResultList
- type TopQueryStatisticsResultListIterator
- func (iter *TopQueryStatisticsResultListIterator) Next() error
- func (iter *TopQueryStatisticsResultListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter TopQueryStatisticsResultListIterator) NotDone() bool
- func (iter TopQueryStatisticsResultListIterator) Response() TopQueryStatisticsResultList
- func (iter TopQueryStatisticsResultListIterator) Value() QueryStatistic
- type TopQueryStatisticsResultListPage
- func (page *TopQueryStatisticsResultListPage) Next() error
- func (page *TopQueryStatisticsResultListPage) NextWithContext(ctx context.Context) (err error)
- func (page TopQueryStatisticsResultListPage) NotDone() bool
- func (page TopQueryStatisticsResultListPage) Response() TopQueryStatisticsResultList
- func (page TopQueryStatisticsResultListPage) Values() []QueryStatistic
- type TrackedResource
- type VirtualNetworkRule
- type VirtualNetworkRuleListResult
- type VirtualNetworkRuleListResultIterator
- func (iter *VirtualNetworkRuleListResultIterator) Next() error
- func (iter *VirtualNetworkRuleListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter VirtualNetworkRuleListResultIterator) NotDone() bool
- func (iter VirtualNetworkRuleListResultIterator) Response() VirtualNetworkRuleListResult
- func (iter VirtualNetworkRuleListResultIterator) Value() VirtualNetworkRule
- type VirtualNetworkRuleListResultPage
- func (page *VirtualNetworkRuleListResultPage) Next() error
- func (page *VirtualNetworkRuleListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page VirtualNetworkRuleListResultPage) NotDone() bool
- func (page VirtualNetworkRuleListResultPage) Response() VirtualNetworkRuleListResult
- func (page VirtualNetworkRuleListResultPage) Values() []VirtualNetworkRule
- type VirtualNetworkRuleProperties
- type VirtualNetworkRuleState
- type VirtualNetworkRulesClient
- func (client VirtualNetworkRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result VirtualNetworkRulesCreateOrUpdateFuture, err error)
- func (client VirtualNetworkRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client VirtualNetworkRulesClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkRule, err error)
- func (client VirtualNetworkRulesClient) CreateOrUpdateSender(req *http.Request) (future VirtualNetworkRulesCreateOrUpdateFuture, err error)
- func (client VirtualNetworkRulesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result VirtualNetworkRulesDeleteFuture, err error)
- func (client VirtualNetworkRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client VirtualNetworkRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualNetworkRulesClient) DeleteSender(req *http.Request) (future VirtualNetworkRulesDeleteFuture, err error)
- func (client VirtualNetworkRulesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result VirtualNetworkRule, err error)
- func (client VirtualNetworkRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client VirtualNetworkRulesClient) GetResponder(resp *http.Response) (result VirtualNetworkRule, err error)
- func (client VirtualNetworkRulesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client VirtualNetworkRulesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result VirtualNetworkRuleListResultPage, err error)
- func (client VirtualNetworkRulesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result VirtualNetworkRuleListResultIterator, err error)
- func (client VirtualNetworkRulesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client VirtualNetworkRulesClient) ListByServerResponder(resp *http.Response) (result VirtualNetworkRuleListResult, err error)
- func (client VirtualNetworkRulesClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type VirtualNetworkRulesCreateOrUpdateFuture
- type VirtualNetworkRulesDeleteFuture
- type WaitStatistic
- type WaitStatisticProperties
- type WaitStatisticsClient
- func (client WaitStatisticsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result WaitStatistic, err error)
- func (client WaitStatisticsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client WaitStatisticsClient) GetResponder(resp *http.Response) (result WaitStatistic, err error)
- func (client WaitStatisticsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client WaitStatisticsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string, ...) (result WaitStatisticsResultListPage, err error)
- func (client WaitStatisticsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result WaitStatisticsResultListIterator, err error)
- func (client WaitStatisticsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client WaitStatisticsClient) ListByServerResponder(resp *http.Response) (result WaitStatisticsResultList, err error)
- func (client WaitStatisticsClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type WaitStatisticsInput
- type WaitStatisticsInputProperties
- type WaitStatisticsResultList
- type WaitStatisticsResultListIterator
- func (iter *WaitStatisticsResultListIterator) Next() error
- func (iter *WaitStatisticsResultListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter WaitStatisticsResultListIterator) NotDone() bool
- func (iter WaitStatisticsResultListIterator) Response() WaitStatisticsResultList
- func (iter WaitStatisticsResultListIterator) Value() WaitStatistic
- type WaitStatisticsResultListPage
- func (page *WaitStatisticsResultListPage) Next() error
- func (page *WaitStatisticsResultListPage) NextWithContext(ctx context.Context) (err error)
- func (page WaitStatisticsResultListPage) NotDone() bool
- func (page WaitStatisticsResultListPage) Response() WaitStatisticsResultList
- func (page WaitStatisticsResultListPage) Values() []WaitStatistic
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Mysql
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type Advisor ¶
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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
Advisor represents a recommendation action advisor.
func (Advisor) MarshalJSON ¶
MarshalJSON is the custom marshaler for Advisor.
type AdvisorsClient ¶
type AdvisorsClient struct {
BaseClient
}
AdvisorsClient is the the Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.
func NewAdvisorsClient ¶
func NewAdvisorsClient(subscriptionID string) AdvisorsClient
NewAdvisorsClient creates an instance of the AdvisorsClient client.
func NewAdvisorsClientWithBaseURI ¶
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 ¶
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 ¶
func (client AdvisorsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, advisorName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (AdvisorsClient) GetResponder ¶
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 ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (AdvisorsClient) ListByServer ¶
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 ¶
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 ¶
func (client AdvisorsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (AdvisorsClient) ListByServerResponder ¶
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 ¶
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
type AdvisorsResultList ¶
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 ¶
func (arl AdvisorsResultList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type AdvisorsResultListIterator ¶
type AdvisorsResultListIterator struct {
// contains filtered or unexported fields
}
AdvisorsResultListIterator provides access to a complete listing of Advisor values.
func NewAdvisorsResultListIterator ¶
func NewAdvisorsResultListIterator(page AdvisorsResultListPage) AdvisorsResultListIterator
Creates a new instance of the AdvisorsResultListIterator type.
func (*AdvisorsResultListIterator) Next ¶
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 ¶
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 ¶
func (iter AdvisorsResultListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (AdvisorsResultListIterator) Response ¶
func (iter AdvisorsResultListIterator) Response() AdvisorsResultList
Response returns the raw server response from the last page request.
func (AdvisorsResultListIterator) Value ¶
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 ¶
type AdvisorsResultListPage struct {
// contains filtered or unexported fields
}
AdvisorsResultListPage contains a page of Advisor values.
func NewAdvisorsResultListPage ¶
func NewAdvisorsResultListPage(cur AdvisorsResultList, getNextPage func(context.Context, AdvisorsResultList) (AdvisorsResultList, error)) AdvisorsResultListPage
Creates a new instance of the AdvisorsResultListPage type.
func (*AdvisorsResultListPage) Next ¶
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 ¶
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 ¶
func (page AdvisorsResultListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (AdvisorsResultListPage) Response ¶
func (page AdvisorsResultListPage) Response() AdvisorsResultList
Response returns the raw server response from the last page request.
func (AdvisorsResultListPage) Values ¶
func (page AdvisorsResultListPage) Values() []Advisor
Values returns the slice of values for the current page or nil if there are no values.
type AzureEntityResource ¶
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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
AzureEntityResource the resource model definition for an Azure Resource Manager resource with an etag.
type BaseClient ¶
BaseClient is the base client for Mysql.
func New ¶
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI ¶
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 ¶
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 ¶
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 ¶
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 ¶
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.
func (BaseClient) ResetQueryPerformanceInsightData ¶
func (client BaseClient) ResetQueryPerformanceInsightData(ctx context.Context, resourceGroupName string, serverName string) (result QueryPerformanceInsightResetDataResult, err error)
ResetQueryPerformanceInsightData reset data for Query Performance Insight. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server.
func (BaseClient) ResetQueryPerformanceInsightDataPreparer ¶
func (client BaseClient) ResetQueryPerformanceInsightDataPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ResetQueryPerformanceInsightDataPreparer prepares the ResetQueryPerformanceInsightData request.
func (BaseClient) ResetQueryPerformanceInsightDataResponder ¶
func (client BaseClient) ResetQueryPerformanceInsightDataResponder(resp *http.Response) (result QueryPerformanceInsightResetDataResult, err error)
ResetQueryPerformanceInsightDataResponder handles the response to the ResetQueryPerformanceInsightData request. The method always closes the http.Response Body.
func (BaseClient) ResetQueryPerformanceInsightDataSender ¶
func (client BaseClient) ResetQueryPerformanceInsightDataSender(req *http.Request) (*http.Response, error)
ResetQueryPerformanceInsightDataSender sends the ResetQueryPerformanceInsightData request. The method will close the http.Response Body if it receives an error.
type BasicServerPropertiesForCreate ¶
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 ¶
type CheckNameAvailabilityClient struct {
BaseClient
}
CheckNameAvailabilityClient is the the Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.
func NewCheckNameAvailabilityClient ¶
func NewCheckNameAvailabilityClient(subscriptionID string) CheckNameAvailabilityClient
NewCheckNameAvailabilityClient creates an instance of the CheckNameAvailabilityClient client.
func NewCheckNameAvailabilityClientWithBaseURI ¶
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 ¶
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 ¶
func (client CheckNameAvailabilityClient) ExecutePreparer(ctx context.Context, nameAvailabilityRequest NameAvailabilityRequest) (*http.Request, error)
ExecutePreparer prepares the Execute request.
func (CheckNameAvailabilityClient) ExecuteResponder ¶
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 ¶
ExecuteSender sends the Execute request. The method will close the http.Response Body if it receives an error.
type CloudError ¶
type CloudError struct { // Error - Error message Error *ErrorResponse `json:"error,omitempty"` }
CloudError an error response from the Batch service.
type Configuration ¶
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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
Configuration represents a Configuration.
func (Configuration) MarshalJSON ¶
func (c Configuration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Configuration.
func (*Configuration) UnmarshalJSON ¶
func (c *Configuration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Configuration struct.
type ConfigurationListResult ¶
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 ¶
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.
func (ConfigurationProperties) MarshalJSON ¶
func (cp ConfigurationProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConfigurationProperties.
type ConfigurationsClient ¶
type ConfigurationsClient struct {
BaseClient
}
ConfigurationsClient is the the Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.
func NewConfigurationsClient ¶
func NewConfigurationsClient(subscriptionID string) ConfigurationsClient
NewConfigurationsClient creates an instance of the ConfigurationsClient client.
func NewConfigurationsClientWithBaseURI ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (client ConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, configurationName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ConfigurationsClient) GetResponder ¶
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 ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ConfigurationsClient) ListByServer ¶
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 ¶
func (client ConfigurationsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (ConfigurationsClient) ListByServerResponder ¶
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 ¶
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
type ConfigurationsCreateOrUpdateFuture ¶
type ConfigurationsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ConfigurationsClient) (Configuration, error) }
ConfigurationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type CreateMode ¶
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 ¶
func PossibleCreateModeValues() []CreateMode
PossibleCreateModeValues returns an array of possible values for the CreateMode const type.
type CreateRecommendedActionSessionFuture ¶
type CreateRecommendedActionSessionFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(BaseClient) (autorest.Response, error) }
CreateRecommendedActionSessionFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type Database ¶
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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
Database represents a Database.
func (Database) MarshalJSON ¶
MarshalJSON is the custom marshaler for Database.
func (*Database) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Database struct.
type DatabaseListResult ¶
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 ¶
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 ¶
type DatabasesClient struct {
BaseClient
}
DatabasesClient is the the Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.
func NewDatabasesClient ¶
func NewDatabasesClient(subscriptionID string) DatabasesClient
NewDatabasesClient creates an instance of the DatabasesClient client.
func NewDatabasesClientWithBaseURI ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (client DatabasesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (DatabasesClient) DeleteResponder ¶
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 ¶
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 ¶
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 ¶
func (client DatabasesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DatabasesClient) GetResponder ¶
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 ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DatabasesClient) ListByServer ¶
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 ¶
func (client DatabasesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (DatabasesClient) ListByServerResponder ¶
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 ¶
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
type DatabasesCreateOrUpdateFuture ¶
type DatabasesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DatabasesClient) (Database, error) }
DatabasesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type DatabasesDeleteFuture ¶
type DatabasesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DatabasesClient) (autorest.Response, error) }
DatabasesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ErrorAdditionalInfo ¶
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 ¶
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 common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.)
type FirewallRule ¶
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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
FirewallRule represents a server firewall rule.
func (FirewallRule) MarshalJSON ¶
func (fr FirewallRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FirewallRule.
func (*FirewallRule) UnmarshalJSON ¶
func (fr *FirewallRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for FirewallRule struct.
type FirewallRuleListResult ¶
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 ¶
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 ¶
type FirewallRulesClient struct {
BaseClient
}
FirewallRulesClient is the the Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.
func NewFirewallRulesClient ¶
func NewFirewallRulesClient(subscriptionID string) FirewallRulesClient
NewFirewallRulesClient creates an instance of the FirewallRulesClient client.
func NewFirewallRulesClientWithBaseURI ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (client FirewallRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (FirewallRulesClient) DeleteResponder ¶
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 ¶
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 ¶
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 ¶
func (client FirewallRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (FirewallRulesClient) GetResponder ¶
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 ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (FirewallRulesClient) ListByServer ¶
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 ¶
func (client FirewallRulesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (FirewallRulesClient) ListByServerResponder ¶
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 ¶
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
type FirewallRulesCreateOrUpdateFuture ¶
type FirewallRulesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(FirewallRulesClient) (FirewallRule, error) }
FirewallRulesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type FirewallRulesDeleteFuture ¶
type FirewallRulesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(FirewallRulesClient) (autorest.Response, error) }
FirewallRulesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type GeoRedundantBackup ¶
type GeoRedundantBackup string
GeoRedundantBackup enumerates the values for geo redundant backup.
const ( // Disabled ... Disabled GeoRedundantBackup = "Disabled" // Enabled ... Enabled GeoRedundantBackup = "Enabled" )
func PossibleGeoRedundantBackupValues ¶
func PossibleGeoRedundantBackupValues() []GeoRedundantBackup
PossibleGeoRedundantBackupValues returns an array of possible values for the GeoRedundantBackup const type.
type IdentityType ¶
type IdentityType string
IdentityType enumerates the values for identity type.
const ( // SystemAssigned ... SystemAssigned IdentityType = "SystemAssigned" )
func PossibleIdentityTypeValues ¶
func PossibleIdentityTypeValues() []IdentityType
PossibleIdentityTypeValues returns an array of possible values for the IdentityType const type.
type InfrastructureEncryption ¶
type InfrastructureEncryption string
InfrastructureEncryption enumerates the values for infrastructure encryption.
const ( // InfrastructureEncryptionDisabled Additional (2nd) layer of encryption for data at rest InfrastructureEncryptionDisabled InfrastructureEncryption = "Disabled" // InfrastructureEncryptionEnabled Default value for single layer of encryption for data at rest. InfrastructureEncryptionEnabled InfrastructureEncryption = "Enabled" )
func PossibleInfrastructureEncryptionValues ¶
func PossibleInfrastructureEncryptionValues() []InfrastructureEncryption
PossibleInfrastructureEncryptionValues returns an array of possible values for the InfrastructureEncryption const type.
type LocationBasedPerformanceTierClient ¶
type LocationBasedPerformanceTierClient struct {
BaseClient
}
LocationBasedPerformanceTierClient is the the Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.
func NewLocationBasedPerformanceTierClient ¶
func NewLocationBasedPerformanceTierClient(subscriptionID string) LocationBasedPerformanceTierClient
NewLocationBasedPerformanceTierClient creates an instance of the LocationBasedPerformanceTierClient client.
func NewLocationBasedPerformanceTierClientWithBaseURI ¶
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 ¶
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 ¶
func (client LocationBasedPerformanceTierClient) ListPreparer(ctx context.Context, locationName string) (*http.Request, error)
ListPreparer prepares the List request.
func (LocationBasedPerformanceTierClient) ListResponder ¶
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 ¶
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 ¶
type LocationBasedRecommendedActionSessionsOperationStatusClient struct {
BaseClient
}
LocationBasedRecommendedActionSessionsOperationStatusClient is the the Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.
func NewLocationBasedRecommendedActionSessionsOperationStatusClient ¶
func NewLocationBasedRecommendedActionSessionsOperationStatusClient(subscriptionID string) LocationBasedRecommendedActionSessionsOperationStatusClient
NewLocationBasedRecommendedActionSessionsOperationStatusClient creates an instance of the LocationBasedRecommendedActionSessionsOperationStatusClient client.
func NewLocationBasedRecommendedActionSessionsOperationStatusClientWithBaseURI ¶
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 ¶
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 ¶
func (client LocationBasedRecommendedActionSessionsOperationStatusClient) GetPreparer(ctx context.Context, locationName string, operationID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (LocationBasedRecommendedActionSessionsOperationStatusClient) GetResponder ¶
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 ¶
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 ¶
type LocationBasedRecommendedActionSessionsResultClient struct {
BaseClient
}
LocationBasedRecommendedActionSessionsResultClient is the the Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.
func NewLocationBasedRecommendedActionSessionsResultClient ¶
func NewLocationBasedRecommendedActionSessionsResultClient(subscriptionID string) LocationBasedRecommendedActionSessionsResultClient
NewLocationBasedRecommendedActionSessionsResultClient creates an instance of the LocationBasedRecommendedActionSessionsResultClient client.
func NewLocationBasedRecommendedActionSessionsResultClientWithBaseURI ¶
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 ¶
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 ¶
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 ¶
func (client LocationBasedRecommendedActionSessionsResultClient) ListPreparer(ctx context.Context, locationName string, operationID string) (*http.Request, error)
ListPreparer prepares the List request.
func (LocationBasedRecommendedActionSessionsResultClient) ListResponder ¶
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 ¶
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 ¶
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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
LogFile represents a log file.
func (LogFile) MarshalJSON ¶
MarshalJSON is the custom marshaler for LogFile.
func (*LogFile) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for LogFile struct.
type LogFileListResult ¶
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 ¶
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 - The url to download the log file from. URL *string `json:"url,omitempty"` }
LogFileProperties the properties of a log file.
func (LogFileProperties) MarshalJSON ¶
func (lfp LogFileProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LogFileProperties.
type LogFilesClient ¶
type LogFilesClient struct {
BaseClient
}
LogFilesClient is the the Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.
func NewLogFilesClient ¶
func NewLogFilesClient(subscriptionID string) LogFilesClient
NewLogFilesClient creates an instance of the LogFilesClient client.
func NewLogFilesClientWithBaseURI ¶
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 ¶
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 ¶
func (client LogFilesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (LogFilesClient) ListByServerResponder ¶
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 ¶
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
type MinimalTLSVersionEnum ¶
type MinimalTLSVersionEnum string
MinimalTLSVersionEnum enumerates the values for minimal tls version enum.
const ( // TLS10 ... TLS10 MinimalTLSVersionEnum = "TLS1_0" // TLS11 ... TLS11 MinimalTLSVersionEnum = "TLS1_1" // TLS12 ... TLS12 MinimalTLSVersionEnum = "TLS1_2" // TLSEnforcementDisabled ... TLSEnforcementDisabled MinimalTLSVersionEnum = "TLSEnforcementDisabled" )
func PossibleMinimalTLSVersionEnumValues ¶
func PossibleMinimalTLSVersionEnumValues() []MinimalTLSVersionEnum
PossibleMinimalTLSVersionEnumValues returns an array of possible values for the MinimalTLSVersionEnum const type.
type NameAvailability ¶
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 ¶
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 ¶
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 ¶
MarshalJSON is the custom marshaler for Operation.
type OperationDisplay ¶
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 ¶
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 ¶
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 ¶
func PossibleOperationOriginValues() []OperationOrigin
PossibleOperationOriginValues returns an array of possible values for the OperationOrigin const type.
type OperationsClient ¶
type OperationsClient struct {
BaseClient
}
OperationsClient is the the Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.
func NewOperationsClient ¶
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI ¶
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 ¶
func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)
List lists all of the available REST API operations.
func (OperationsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (OperationsClient) ListResponder ¶
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 ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type PerformanceTierListResult ¶
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 ¶
type PerformanceTierProperties struct { // ID - ID of the performance tier. ID *string `json:"id,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"` // MinLargeStorageMB - Max storage allowed for a server. MinLargeStorageMB *int32 `json:"minLargeStorageMB,omitempty"` // MaxLargeStorageMB - Max storage allowed for a server. MaxLargeStorageMB *int32 `json:"maxLargeStorageMB,omitempty"` // MinStorageMB - Max storage allowed for a server. MinStorageMB *int32 `json:"minStorageMB,omitempty"` // ServiceLevelObjectives - Service level objectives associated with the performance tier ServiceLevelObjectives *[]PerformanceTierServiceLevelObjectives `json:"serviceLevelObjectives,omitempty"` }
PerformanceTierProperties performance tier properties
type PerformanceTierServiceLevelObjectives ¶
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 ¶
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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
PrivateEndpointConnection a private endpoint connection
func (PrivateEndpointConnection) MarshalJSON ¶
func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateEndpointConnection.
func (*PrivateEndpointConnection) UnmarshalJSON ¶
func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PrivateEndpointConnection struct.
type PrivateEndpointConnectionListResult ¶
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 ¶
func (peclr PrivateEndpointConnectionListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type PrivateEndpointConnectionListResultIterator ¶
type PrivateEndpointConnectionListResultIterator struct {
// contains filtered or unexported fields
}
PrivateEndpointConnectionListResultIterator provides access to a complete listing of PrivateEndpointConnection values.
func NewPrivateEndpointConnectionListResultIterator ¶
func NewPrivateEndpointConnectionListResultIterator(page PrivateEndpointConnectionListResultPage) PrivateEndpointConnectionListResultIterator
Creates a new instance of the PrivateEndpointConnectionListResultIterator type.
func (*PrivateEndpointConnectionListResultIterator) Next ¶
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 ¶
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 ¶
func (iter PrivateEndpointConnectionListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (PrivateEndpointConnectionListResultIterator) Response ¶
func (iter PrivateEndpointConnectionListResultIterator) Response() PrivateEndpointConnectionListResult
Response returns the raw server response from the last page request.
func (PrivateEndpointConnectionListResultIterator) Value ¶
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 ¶
type PrivateEndpointConnectionListResultPage struct {
// contains filtered or unexported fields
}
PrivateEndpointConnectionListResultPage contains a page of PrivateEndpointConnection values.
func NewPrivateEndpointConnectionListResultPage ¶
func NewPrivateEndpointConnectionListResultPage(cur PrivateEndpointConnectionListResult, getNextPage func(context.Context, PrivateEndpointConnectionListResult) (PrivateEndpointConnectionListResult, error)) PrivateEndpointConnectionListResultPage
Creates a new instance of the PrivateEndpointConnectionListResultPage type.
func (*PrivateEndpointConnectionListResultPage) Next ¶
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 ¶
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 ¶
func (page PrivateEndpointConnectionListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (PrivateEndpointConnectionListResultPage) Response ¶
func (page PrivateEndpointConnectionListResultPage) Response() PrivateEndpointConnectionListResult
Response returns the raw server response from the last page request.
func (PrivateEndpointConnectionListResultPage) Values ¶
func (page PrivateEndpointConnectionListResultPage) Values() []PrivateEndpointConnection
Values returns the slice of values for the current page or nil if there are no values.
type PrivateEndpointConnectionProperties ¶
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.
func (PrivateEndpointConnectionProperties) MarshalJSON ¶
func (pecp PrivateEndpointConnectionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateEndpointConnectionProperties.
type PrivateEndpointConnectionsClient ¶
type PrivateEndpointConnectionsClient struct {
BaseClient
}
PrivateEndpointConnectionsClient is the the Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.
func NewPrivateEndpointConnectionsClient ¶
func NewPrivateEndpointConnectionsClient(subscriptionID string) PrivateEndpointConnectionsClient
NewPrivateEndpointConnectionsClient creates an instance of the PrivateEndpointConnectionsClient client.
func NewPrivateEndpointConnectionsClientWithBaseURI ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (client PrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (PrivateEndpointConnectionsClient) DeleteResponder ¶
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 ¶
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 ¶
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 ¶
func (client PrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (PrivateEndpointConnectionsClient) GetResponder ¶
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 ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (PrivateEndpointConnectionsClient) ListByServer ¶
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 ¶
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 ¶
func (client PrivateEndpointConnectionsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (PrivateEndpointConnectionsClient) ListByServerResponder ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
type PrivateEndpointConnectionsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(PrivateEndpointConnectionsClient) (PrivateEndpointConnection, error) }
PrivateEndpointConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type PrivateEndpointConnectionsDeleteFuture ¶
type PrivateEndpointConnectionsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(PrivateEndpointConnectionsClient) (autorest.Response, error) }
PrivateEndpointConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type PrivateEndpointConnectionsUpdateTagsFuture ¶
type PrivateEndpointConnectionsUpdateTagsFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(PrivateEndpointConnectionsClient) (PrivateEndpointConnection, error) }
PrivateEndpointConnectionsUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type PrivateEndpointProperty ¶
type PrivateEndpointProperty struct { // ID - Resource id of the private endpoint. ID *string `json:"id,omitempty"` }
PrivateEndpointProperty ...
type PrivateEndpointProvisioningState ¶
type PrivateEndpointProvisioningState string
PrivateEndpointProvisioningState enumerates the values for private endpoint provisioning state.
const ( // Approving ... Approving PrivateEndpointProvisioningState = "Approving" // Dropping ... Dropping PrivateEndpointProvisioningState = "Dropping" // Failed ... Failed PrivateEndpointProvisioningState = "Failed" // Ready ... Ready PrivateEndpointProvisioningState = "Ready" // Rejecting ... Rejecting PrivateEndpointProvisioningState = "Rejecting" )
func PossiblePrivateEndpointProvisioningStateValues ¶
func PossiblePrivateEndpointProvisioningStateValues() []PrivateEndpointProvisioningState
PossiblePrivateEndpointProvisioningStateValues returns an array of possible values for the PrivateEndpointProvisioningState const type.
type PrivateLinkResource ¶
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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
PrivateLinkResource a private link resource
type PrivateLinkResourceListResult ¶
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 ¶
func (plrlr PrivateLinkResourceListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type PrivateLinkResourceListResultIterator ¶
type PrivateLinkResourceListResultIterator struct {
// contains filtered or unexported fields
}
PrivateLinkResourceListResultIterator provides access to a complete listing of PrivateLinkResource values.
func NewPrivateLinkResourceListResultIterator ¶
func NewPrivateLinkResourceListResultIterator(page PrivateLinkResourceListResultPage) PrivateLinkResourceListResultIterator
Creates a new instance of the PrivateLinkResourceListResultIterator type.
func (*PrivateLinkResourceListResultIterator) Next ¶
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 ¶
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 ¶
func (iter PrivateLinkResourceListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (PrivateLinkResourceListResultIterator) Response ¶
func (iter PrivateLinkResourceListResultIterator) Response() PrivateLinkResourceListResult
Response returns the raw server response from the last page request.
func (PrivateLinkResourceListResultIterator) Value ¶
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 ¶
type PrivateLinkResourceListResultPage struct {
// contains filtered or unexported fields
}
PrivateLinkResourceListResultPage contains a page of PrivateLinkResource values.
func NewPrivateLinkResourceListResultPage ¶
func NewPrivateLinkResourceListResultPage(cur PrivateLinkResourceListResult, getNextPage func(context.Context, PrivateLinkResourceListResult) (PrivateLinkResourceListResult, error)) PrivateLinkResourceListResultPage
Creates a new instance of the PrivateLinkResourceListResultPage type.
func (*PrivateLinkResourceListResultPage) Next ¶
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 ¶
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 ¶
func (page PrivateLinkResourceListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (PrivateLinkResourceListResultPage) Response ¶
func (page PrivateLinkResourceListResultPage) Response() PrivateLinkResourceListResult
Response returns the raw server response from the last page request.
func (PrivateLinkResourceListResultPage) Values ¶
func (page PrivateLinkResourceListResultPage) Values() []PrivateLinkResource
Values returns the slice of values for the current page or nil if there are no values.
type PrivateLinkResourceProperties ¶
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 ¶
type PrivateLinkResourcesClient struct {
BaseClient
}
PrivateLinkResourcesClient is the the Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.
func NewPrivateLinkResourcesClient ¶
func NewPrivateLinkResourcesClient(subscriptionID string) PrivateLinkResourcesClient
NewPrivateLinkResourcesClient creates an instance of the PrivateLinkResourcesClient client.
func NewPrivateLinkResourcesClientWithBaseURI ¶
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 ¶
func (client PrivateLinkResourcesClient) Get(ctx context.Context, resourceGroupName string, serverName string, groupName string) (result PrivateLinkResource, err error)
Get gets a private link resource for MySQL 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 ¶
func (client PrivateLinkResourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, groupName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (PrivateLinkResourcesClient) GetResponder ¶
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 ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (PrivateLinkResourcesClient) ListByServer ¶
func (client PrivateLinkResourcesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result PrivateLinkResourceListResultPage, err error)
ListByServer gets the private link resources for MySQL server. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server.
func (PrivateLinkResourcesClient) ListByServerComplete ¶
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 ¶
func (client PrivateLinkResourcesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (PrivateLinkResourcesClient) ListByServerResponder ¶
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 ¶
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 PrivateLinkServiceConnectionStateActionsRequire ¶
type PrivateLinkServiceConnectionStateActionsRequire string
PrivateLinkServiceConnectionStateActionsRequire enumerates the values for private link service connection state actions require.
const ( // None ... None PrivateLinkServiceConnectionStateActionsRequire = "None" )
func PossiblePrivateLinkServiceConnectionStateActionsRequireValues ¶
func PossiblePrivateLinkServiceConnectionStateActionsRequireValues() []PrivateLinkServiceConnectionStateActionsRequire
PossiblePrivateLinkServiceConnectionStateActionsRequireValues returns an array of possible values for the PrivateLinkServiceConnectionStateActionsRequire const type.
type PrivateLinkServiceConnectionStateProperty ¶
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 ...
func (PrivateLinkServiceConnectionStateProperty) MarshalJSON ¶
func (plscsp PrivateLinkServiceConnectionStateProperty) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateLinkServiceConnectionStateProperty.
type PrivateLinkServiceConnectionStateStatus ¶
type PrivateLinkServiceConnectionStateStatus string
PrivateLinkServiceConnectionStateStatus enumerates the values for private link service connection state status.
const ( // Approved ... Approved PrivateLinkServiceConnectionStateStatus = "Approved" // Disconnected ... Disconnected PrivateLinkServiceConnectionStateStatus = "Disconnected" // Pending ... Pending PrivateLinkServiceConnectionStateStatus = "Pending" // Rejected ... Rejected PrivateLinkServiceConnectionStateStatus = "Rejected" )
func PossiblePrivateLinkServiceConnectionStateStatusValues ¶
func PossiblePrivateLinkServiceConnectionStateStatusValues() []PrivateLinkServiceConnectionStateStatus
PossiblePrivateLinkServiceConnectionStateStatusValues returns an array of possible values for the PrivateLinkServiceConnectionStateStatus const type.
type ProxyResource ¶
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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
ProxyResource the resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
type PublicNetworkAccessEnum ¶
type PublicNetworkAccessEnum string
PublicNetworkAccessEnum enumerates the values for public network access enum.
const ( // PublicNetworkAccessEnumDisabled ... PublicNetworkAccessEnumDisabled PublicNetworkAccessEnum = "Disabled" // PublicNetworkAccessEnumEnabled ... PublicNetworkAccessEnumEnabled PublicNetworkAccessEnum = "Enabled" )
func PossiblePublicNetworkAccessEnumValues ¶
func PossiblePublicNetworkAccessEnumValues() []PublicNetworkAccessEnum
PossiblePublicNetworkAccessEnumValues returns an array of possible values for the PublicNetworkAccessEnum const type.
type QueryPerformanceInsightResetDataResult ¶
type QueryPerformanceInsightResetDataResult struct { autorest.Response `json:"-"` // Status - Indicates result of the operation. Possible values include: 'QueryPerformanceInsightResetDataResultStateSucceeded', 'QueryPerformanceInsightResetDataResultStateFailed' Status QueryPerformanceInsightResetDataResultState `json:"status,omitempty"` // Message - operation message. Message *string `json:"message,omitempty"` }
QueryPerformanceInsightResetDataResult result of Query Performance Insight data reset.
type QueryPerformanceInsightResetDataResultState ¶
type QueryPerformanceInsightResetDataResultState string
QueryPerformanceInsightResetDataResultState enumerates the values for query performance insight reset data result state.
const ( // QueryPerformanceInsightResetDataResultStateFailed ... QueryPerformanceInsightResetDataResultStateFailed QueryPerformanceInsightResetDataResultState = "Failed" // QueryPerformanceInsightResetDataResultStateSucceeded ... QueryPerformanceInsightResetDataResultStateSucceeded QueryPerformanceInsightResetDataResultState = "Succeeded" )
func PossibleQueryPerformanceInsightResetDataResultStateValues ¶
func PossibleQueryPerformanceInsightResetDataResultStateValues() []QueryPerformanceInsightResetDataResultState
PossibleQueryPerformanceInsightResetDataResultStateValues returns an array of possible values for the QueryPerformanceInsightResetDataResultState const type.
type QueryStatistic ¶
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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
QueryStatistic represents a Query Statistic.
func (QueryStatistic) MarshalJSON ¶
func (qs QueryStatistic) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for QueryStatistic.
func (*QueryStatistic) UnmarshalJSON ¶
func (qs *QueryStatistic) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for QueryStatistic struct.
type QueryStatisticProperties ¶
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 ¶
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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
QueryText represents a Query Text.
func (QueryText) MarshalJSON ¶
MarshalJSON is the custom marshaler for QueryText.
func (*QueryText) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for QueryText struct.
type QueryTextProperties ¶
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 ¶
type QueryTextsClient struct {
BaseClient
}
QueryTextsClient is the the Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.
func NewQueryTextsClient ¶
func NewQueryTextsClient(subscriptionID string) QueryTextsClient
NewQueryTextsClient creates an instance of the QueryTextsClient client.
func NewQueryTextsClientWithBaseURI ¶
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 ¶
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 ¶
func (client QueryTextsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, queryID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (QueryTextsClient) GetResponder ¶
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 ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (QueryTextsClient) ListByServer ¶
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 ¶
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 ¶
func (client QueryTextsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string, queryIds []string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (QueryTextsClient) ListByServerResponder ¶
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 ¶
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
type QueryTextsResultList ¶
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 ¶
func (qtrl QueryTextsResultList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type QueryTextsResultListIterator ¶
type QueryTextsResultListIterator struct {
// contains filtered or unexported fields
}
QueryTextsResultListIterator provides access to a complete listing of QueryText values.
func NewQueryTextsResultListIterator ¶
func NewQueryTextsResultListIterator(page QueryTextsResultListPage) QueryTextsResultListIterator
Creates a new instance of the QueryTextsResultListIterator type.
func (*QueryTextsResultListIterator) Next ¶
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 ¶
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 ¶
func (iter QueryTextsResultListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (QueryTextsResultListIterator) Response ¶
func (iter QueryTextsResultListIterator) Response() QueryTextsResultList
Response returns the raw server response from the last page request.
func (QueryTextsResultListIterator) Value ¶
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 ¶
type QueryTextsResultListPage struct {
// contains filtered or unexported fields
}
QueryTextsResultListPage contains a page of QueryText values.
func NewQueryTextsResultListPage ¶
func NewQueryTextsResultListPage(cur QueryTextsResultList, getNextPage func(context.Context, QueryTextsResultList) (QueryTextsResultList, error)) QueryTextsResultListPage
Creates a new instance of the QueryTextsResultListPage type.
func (*QueryTextsResultListPage) Next ¶
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 ¶
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 ¶
func (page QueryTextsResultListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (QueryTextsResultListPage) Response ¶
func (page QueryTextsResultListPage) Response() QueryTextsResultList
Response returns the raw server response from the last page request.
func (QueryTextsResultListPage) Values ¶
func (page QueryTextsResultListPage) Values() []QueryText
Values returns the slice of values for the current page or nil if there are no values.
type RecommendationAction ¶
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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
RecommendationAction represents a Recommendation Action.
func (RecommendationAction) MarshalJSON ¶
func (ra RecommendationAction) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RecommendationAction.
func (*RecommendationAction) UnmarshalJSON ¶
func (ra *RecommendationAction) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RecommendationAction struct.
type RecommendationActionProperties ¶
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 ¶
func (rap RecommendationActionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RecommendationActionProperties.
type RecommendationActionsResultList ¶
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 ¶
func (rarl RecommendationActionsResultList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type RecommendationActionsResultListIterator ¶
type RecommendationActionsResultListIterator struct {
// contains filtered or unexported fields
}
RecommendationActionsResultListIterator provides access to a complete listing of RecommendationAction values.
func NewRecommendationActionsResultListIterator ¶
func NewRecommendationActionsResultListIterator(page RecommendationActionsResultListPage) RecommendationActionsResultListIterator
Creates a new instance of the RecommendationActionsResultListIterator type.
func (*RecommendationActionsResultListIterator) Next ¶
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 ¶
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 ¶
func (iter RecommendationActionsResultListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (RecommendationActionsResultListIterator) Response ¶
func (iter RecommendationActionsResultListIterator) Response() RecommendationActionsResultList
Response returns the raw server response from the last page request.
func (RecommendationActionsResultListIterator) Value ¶
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 ¶
type RecommendationActionsResultListPage struct {
// contains filtered or unexported fields
}
RecommendationActionsResultListPage contains a page of RecommendationAction values.
func NewRecommendationActionsResultListPage ¶
func NewRecommendationActionsResultListPage(cur RecommendationActionsResultList, getNextPage func(context.Context, RecommendationActionsResultList) (RecommendationActionsResultList, error)) RecommendationActionsResultListPage
Creates a new instance of the RecommendationActionsResultListPage type.
func (*RecommendationActionsResultListPage) Next ¶
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 ¶
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 ¶
func (page RecommendationActionsResultListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (RecommendationActionsResultListPage) Response ¶
func (page RecommendationActionsResultListPage) Response() RecommendationActionsResultList
Response returns the raw server response from the last page request.
func (RecommendationActionsResultListPage) Values ¶
func (page RecommendationActionsResultListPage) Values() []RecommendationAction
Values returns the slice of values for the current page or nil if there are no values.
type RecommendedActionSessionsOperationStatus ¶
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 ¶
type RecommendedActionsClient struct {
BaseClient
}
RecommendedActionsClient is the the Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.
func NewRecommendedActionsClient ¶
func NewRecommendedActionsClient(subscriptionID string) RecommendedActionsClient
NewRecommendedActionsClient creates an instance of the RecommendedActionsClient client.
func NewRecommendedActionsClientWithBaseURI ¶
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 ¶
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 ¶
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 ¶
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 ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (RecommendedActionsClient) ListByServer ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 RecoverableServerProperties ¶
type RecoverableServerProperties struct { // LastAvailableBackupDateTime - READ-ONLY; The last available backup date time. LastAvailableBackupDateTime *string `json:"lastAvailableBackupDateTime,omitempty"` // ServiceLevelObjective - READ-ONLY; The service level objective ServiceLevelObjective *string `json:"serviceLevelObjective,omitempty"` // Edition - READ-ONLY; Edition of the performance tier. Edition *string `json:"edition,omitempty"` // VCore - READ-ONLY; vCore associated with the service level objective VCore *int32 `json:"vCore,omitempty"` // HardwareGeneration - READ-ONLY; Hardware generation associated with the service level objective HardwareGeneration *string `json:"hardwareGeneration,omitempty"` // Version - READ-ONLY; The MySQL version Version *string `json:"version,omitempty"` }
RecoverableServerProperties the recoverable server's properties.
type RecoverableServerResource ¶
type RecoverableServerResource struct { autorest.Response `json:"-"` // RecoverableServerProperties - Resource properties. *RecoverableServerProperties `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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
RecoverableServerResource a recoverable server resource.
func (RecoverableServerResource) MarshalJSON ¶
func (rsr RecoverableServerResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RecoverableServerResource.
func (*RecoverableServerResource) UnmarshalJSON ¶
func (rsr *RecoverableServerResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RecoverableServerResource struct.
type RecoverableServersClient ¶
type RecoverableServersClient struct {
BaseClient
}
RecoverableServersClient is the the Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.
func NewRecoverableServersClient ¶
func NewRecoverableServersClient(subscriptionID string) RecoverableServersClient
NewRecoverableServersClient creates an instance of the RecoverableServersClient client.
func NewRecoverableServersClientWithBaseURI ¶
func NewRecoverableServersClientWithBaseURI(baseURI string, subscriptionID string) RecoverableServersClient
NewRecoverableServersClientWithBaseURI creates an instance of the RecoverableServersClient 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 (RecoverableServersClient) Get ¶
func (client RecoverableServersClient) Get(ctx context.Context, resourceGroupName string, serverName string) (result RecoverableServerResource, err error)
Get gets a recoverable MySQL Server. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server.
func (RecoverableServersClient) GetPreparer ¶
func (client RecoverableServersClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (RecoverableServersClient) GetResponder ¶
func (client RecoverableServersClient) GetResponder(resp *http.Response) (result RecoverableServerResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type ReplicasClient ¶
type ReplicasClient struct {
BaseClient
}
ReplicasClient is the the Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.
func NewReplicasClient ¶
func NewReplicasClient(subscriptionID string) ReplicasClient
NewReplicasClient creates an instance of the ReplicasClient client.
func NewReplicasClientWithBaseURI ¶
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 ¶
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 ¶
func (client ReplicasClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (ReplicasClient) ListByServerResponder ¶
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 ¶
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
type Resource ¶
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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
Resource common fields that are returned in the response for all Azure Resource Manager resources
type ResourceIdentity ¶
type ResourceIdentity struct { // PrincipalID - READ-ONLY; The Azure Active Directory principal id. PrincipalID *uuid.UUID `json:"principalId,omitempty"` // Type - The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. Possible values include: 'SystemAssigned' Type IdentityType `json:"type,omitempty"` // TenantID - READ-ONLY; The Azure Active Directory tenant id. TenantID *uuid.UUID `json:"tenantId,omitempty"` }
ResourceIdentity azure Active Directory identity configuration for a resource.
func (ResourceIdentity) MarshalJSON ¶
func (ri ResourceIdentity) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResourceIdentity.
type SecurityAlertPolicyProperties ¶
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 ¶
type Server struct { autorest.Response `json:"-"` // Identity - The Azure Active Directory identity of the server. Identity *ResourceIdentity `json:"identity,omitempty"` // 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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
Server represents a server.
func (Server) MarshalJSON ¶
MarshalJSON is the custom marshaler for Server.
func (*Server) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Server struct.
type ServerAdministratorProperties ¶
type ServerAdministratorProperties struct { // AdministratorType - The type of administrator. AdministratorType *string `json:"administratorType,omitempty"` // Login - The server administrator login account name. Login *string `json:"login,omitempty"` // Sid - The server administrator Sid (Secure ID). Sid *uuid.UUID `json:"sid,omitempty"` // TenantID - The server Active Directory Administrator tenant id. TenantID *uuid.UUID `json:"tenantId,omitempty"` }
ServerAdministratorProperties the properties of an server Administrator.
type ServerAdministratorResource ¶
type ServerAdministratorResource struct { autorest.Response `json:"-"` // ServerAdministratorProperties - Properties of the server AAD administrator. *ServerAdministratorProperties `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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
ServerAdministratorResource represents a and external administrator to be created.
func (ServerAdministratorResource) MarshalJSON ¶
func (sar ServerAdministratorResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerAdministratorResource.
func (*ServerAdministratorResource) UnmarshalJSON ¶
func (sar *ServerAdministratorResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServerAdministratorResource struct.
type ServerAdministratorResourceListResult ¶
type ServerAdministratorResourceListResult struct { autorest.Response `json:"-"` // Value - The list of server Active Directory Administrators for the server. Value *[]ServerAdministratorResource `json:"value,omitempty"` }
ServerAdministratorResourceListResult the response to a list Active Directory Administrators request.
type ServerAdministratorsClient ¶
type ServerAdministratorsClient struct {
BaseClient
}
ServerAdministratorsClient is the the Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.
func NewServerAdministratorsClient ¶
func NewServerAdministratorsClient(subscriptionID string) ServerAdministratorsClient
NewServerAdministratorsClient creates an instance of the ServerAdministratorsClient client.
func NewServerAdministratorsClientWithBaseURI ¶
func NewServerAdministratorsClientWithBaseURI(baseURI string, subscriptionID string) ServerAdministratorsClient
NewServerAdministratorsClientWithBaseURI creates an instance of the ServerAdministratorsClient 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 (ServerAdministratorsClient) CreateOrUpdate ¶
func (client ServerAdministratorsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, properties ServerAdministratorResource) (result ServerAdministratorsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or update active directory administrator on an existing server. The update action will overwrite the existing administrator. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. properties - the required parameters for creating or updating an AAD server administrator.
func (ServerAdministratorsClient) CreateOrUpdatePreparer ¶
func (client ServerAdministratorsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, properties ServerAdministratorResource) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ServerAdministratorsClient) CreateOrUpdateResponder ¶
func (client ServerAdministratorsClient) CreateOrUpdateResponder(resp *http.Response) (result ServerAdministratorResource, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ServerAdministratorsClient) CreateOrUpdateSender ¶
func (client ServerAdministratorsClient) CreateOrUpdateSender(req *http.Request) (future ServerAdministratorsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ServerAdministratorsClient) Delete ¶
func (client ServerAdministratorsClient) Delete(ctx context.Context, resourceGroupName string, serverName string) (result ServerAdministratorsDeleteFuture, err error)
Delete deletes server active directory administrator. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server.
func (ServerAdministratorsClient) DeletePreparer ¶
func (client ServerAdministratorsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ServerAdministratorsClient) DeleteResponder ¶
func (client ServerAdministratorsClient) 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 (ServerAdministratorsClient) DeleteSender ¶
func (client ServerAdministratorsClient) DeleteSender(req *http.Request) (future ServerAdministratorsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ServerAdministratorsClient) Get ¶
func (client ServerAdministratorsClient) Get(ctx context.Context, resourceGroupName string, serverName string) (result ServerAdministratorResource, err error)
Get gets information about a AAD server administrator. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server.
func (ServerAdministratorsClient) GetPreparer ¶
func (client ServerAdministratorsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ServerAdministratorsClient) GetResponder ¶
func (client ServerAdministratorsClient) GetResponder(resp *http.Response) (result ServerAdministratorResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ServerAdministratorsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ServerAdministratorsClient) List ¶
func (client ServerAdministratorsClient) List(ctx context.Context, resourceGroupName string, serverName string) (result ServerAdministratorResourceListResult, err error)
List returns a list of server Administrators. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server.
func (ServerAdministratorsClient) ListPreparer ¶
func (client ServerAdministratorsClient) ListPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListPreparer prepares the List request.
func (ServerAdministratorsClient) ListResponder ¶
func (client ServerAdministratorsClient) ListResponder(resp *http.Response) (result ServerAdministratorResourceListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ServerAdministratorsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type ServerAdministratorsCreateOrUpdateFuture ¶
type ServerAdministratorsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServerAdministratorsClient) (ServerAdministratorResource, error) }
ServerAdministratorsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ServerAdministratorsDeleteFuture ¶
type ServerAdministratorsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServerAdministratorsClient) (autorest.Response, error) }
ServerAdministratorsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ServerBasedPerformanceTierClient ¶
type ServerBasedPerformanceTierClient struct {
BaseClient
}
ServerBasedPerformanceTierClient is the the Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.
func NewServerBasedPerformanceTierClient ¶
func NewServerBasedPerformanceTierClient(subscriptionID string) ServerBasedPerformanceTierClient
NewServerBasedPerformanceTierClient creates an instance of the ServerBasedPerformanceTierClient client.
func NewServerBasedPerformanceTierClientWithBaseURI ¶
func NewServerBasedPerformanceTierClientWithBaseURI(baseURI string, subscriptionID string) ServerBasedPerformanceTierClient
NewServerBasedPerformanceTierClientWithBaseURI creates an instance of the ServerBasedPerformanceTierClient 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 (ServerBasedPerformanceTierClient) List ¶
func (client ServerBasedPerformanceTierClient) List(ctx context.Context, resourceGroupName string, serverName string) (result PerformanceTierListResult, err error)
List list all the performance tiers for a MySQL server. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server.
func (ServerBasedPerformanceTierClient) ListPreparer ¶
func (client ServerBasedPerformanceTierClient) ListPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListPreparer prepares the List request.
func (ServerBasedPerformanceTierClient) ListResponder ¶
func (client ServerBasedPerformanceTierClient) 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 (ServerBasedPerformanceTierClient) ListSender ¶
func (client ServerBasedPerformanceTierClient) 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 ServerForCreate ¶
type ServerForCreate struct { // Identity - The Azure Active Directory identity of the server. Identity *ResourceIdentity `json:"identity,omitempty"` // 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 ¶
func (sfc ServerForCreate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerForCreate.
func (*ServerForCreate) UnmarshalJSON ¶
func (sfc *ServerForCreate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServerForCreate struct.
type ServerKey ¶
type ServerKey struct { autorest.Response `json:"-"` // Kind - READ-ONLY; Kind of encryption protector used to protect the key. Kind *string `json:"kind,omitempty"` // ServerKeyProperties - Properties of the ServerKey Resource. *ServerKeyProperties `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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
ServerKey a MySQL Server key.
func (ServerKey) MarshalJSON ¶
MarshalJSON is the custom marshaler for ServerKey.
func (*ServerKey) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for ServerKey struct.
type ServerKeyListResult ¶
type ServerKeyListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; A list of MySQL Server keys. Value *[]ServerKey `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ServerKeyListResult a list of MySQL Server keys.
func (ServerKeyListResult) IsEmpty ¶
func (sklr ServerKeyListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ServerKeyListResultIterator ¶
type ServerKeyListResultIterator struct {
// contains filtered or unexported fields
}
ServerKeyListResultIterator provides access to a complete listing of ServerKey values.
func NewServerKeyListResultIterator ¶
func NewServerKeyListResultIterator(page ServerKeyListResultPage) ServerKeyListResultIterator
Creates a new instance of the ServerKeyListResultIterator type.
func (*ServerKeyListResultIterator) Next ¶
func (iter *ServerKeyListResultIterator) 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 (*ServerKeyListResultIterator) NextWithContext ¶
func (iter *ServerKeyListResultIterator) 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 (ServerKeyListResultIterator) NotDone ¶
func (iter ServerKeyListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ServerKeyListResultIterator) Response ¶
func (iter ServerKeyListResultIterator) Response() ServerKeyListResult
Response returns the raw server response from the last page request.
func (ServerKeyListResultIterator) Value ¶
func (iter ServerKeyListResultIterator) Value() ServerKey
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ServerKeyListResultPage ¶
type ServerKeyListResultPage struct {
// contains filtered or unexported fields
}
ServerKeyListResultPage contains a page of ServerKey values.
func NewServerKeyListResultPage ¶
func NewServerKeyListResultPage(cur ServerKeyListResult, getNextPage func(context.Context, ServerKeyListResult) (ServerKeyListResult, error)) ServerKeyListResultPage
Creates a new instance of the ServerKeyListResultPage type.
func (*ServerKeyListResultPage) Next ¶
func (page *ServerKeyListResultPage) 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 (*ServerKeyListResultPage) NextWithContext ¶
func (page *ServerKeyListResultPage) 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 (ServerKeyListResultPage) NotDone ¶
func (page ServerKeyListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ServerKeyListResultPage) Response ¶
func (page ServerKeyListResultPage) Response() ServerKeyListResult
Response returns the raw server response from the last page request.
func (ServerKeyListResultPage) Values ¶
func (page ServerKeyListResultPage) Values() []ServerKey
Values returns the slice of values for the current page or nil if there are no values.
type ServerKeyProperties ¶
type ServerKeyProperties struct { // ServerKeyType - The key type like 'AzureKeyVault'. ServerKeyType *string `json:"serverKeyType,omitempty"` // URI - The URI of the key. URI *string `json:"uri,omitempty"` // CreationDate - READ-ONLY; The key creation date. CreationDate *date.Time `json:"creationDate,omitempty"` }
ServerKeyProperties properties for a key execution.
func (ServerKeyProperties) MarshalJSON ¶
func (skp ServerKeyProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerKeyProperties.
type ServerKeysClient ¶
type ServerKeysClient struct {
BaseClient
}
ServerKeysClient is the the Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.
func NewServerKeysClient ¶
func NewServerKeysClient(subscriptionID string) ServerKeysClient
NewServerKeysClient creates an instance of the ServerKeysClient client.
func NewServerKeysClientWithBaseURI ¶
func NewServerKeysClientWithBaseURI(baseURI string, subscriptionID string) ServerKeysClient
NewServerKeysClientWithBaseURI creates an instance of the ServerKeysClient 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 (ServerKeysClient) CreateOrUpdate ¶
func (client ServerKeysClient) CreateOrUpdate(ctx context.Context, serverName string, keyName string, parameters ServerKey, resourceGroupName string) (result ServerKeysCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a MySQL Server key. Parameters: serverName - the name of the server. keyName - the name of the MySQL Server key to be operated on (updated or created). parameters - the requested MySQL Server key resource state. resourceGroupName - the name of the resource group. The name is case insensitive.
func (ServerKeysClient) CreateOrUpdatePreparer ¶
func (client ServerKeysClient) CreateOrUpdatePreparer(ctx context.Context, serverName string, keyName string, parameters ServerKey, resourceGroupName string) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ServerKeysClient) CreateOrUpdateResponder ¶
func (client ServerKeysClient) CreateOrUpdateResponder(resp *http.Response) (result ServerKey, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ServerKeysClient) CreateOrUpdateSender ¶
func (client ServerKeysClient) CreateOrUpdateSender(req *http.Request) (future ServerKeysCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ServerKeysClient) Delete ¶
func (client ServerKeysClient) Delete(ctx context.Context, serverName string, keyName string, resourceGroupName string) (result ServerKeysDeleteFuture, err error)
Delete deletes the MySQL Server key with the given name. Parameters: serverName - the name of the server. keyName - the name of the MySQL Server key to be deleted. resourceGroupName - the name of the resource group. The name is case insensitive.
func (ServerKeysClient) DeletePreparer ¶
func (client ServerKeysClient) DeletePreparer(ctx context.Context, serverName string, keyName string, resourceGroupName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ServerKeysClient) DeleteResponder ¶
func (client ServerKeysClient) 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 (ServerKeysClient) DeleteSender ¶
func (client ServerKeysClient) DeleteSender(req *http.Request) (future ServerKeysDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ServerKeysClient) Get ¶
func (client ServerKeysClient) Get(ctx context.Context, resourceGroupName string, serverName string, keyName string) (result ServerKey, err error)
Get gets a MySQL Server key. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. keyName - the name of the MySQL Server key to be retrieved.
func (ServerKeysClient) GetPreparer ¶
func (client ServerKeysClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, keyName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ServerKeysClient) GetResponder ¶
func (client ServerKeysClient) GetResponder(resp *http.Response) (result ServerKey, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ServerKeysClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ServerKeysClient) List ¶
func (client ServerKeysClient) List(ctx context.Context, resourceGroupName string, serverName string) (result ServerKeyListResultPage, err error)
List gets a list of Server keys. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server.
func (ServerKeysClient) ListComplete ¶
func (client ServerKeysClient) ListComplete(ctx context.Context, resourceGroupName string, serverName string) (result ServerKeyListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (ServerKeysClient) ListPreparer ¶
func (client ServerKeysClient) ListPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListPreparer prepares the List request.
func (ServerKeysClient) ListResponder ¶
func (client ServerKeysClient) ListResponder(resp *http.Response) (result ServerKeyListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ServerKeysClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type ServerKeysCreateOrUpdateFuture ¶
type ServerKeysCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServerKeysClient) (ServerKey, error) }
ServerKeysCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ServerKeysDeleteFuture ¶
type ServerKeysDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServerKeysClient) (autorest.Response, error) }
ServerKeysDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ServerListResult ¶
type ServerListResult struct { autorest.Response `json:"-"` // Value - The list of servers Value *[]Server `json:"value,omitempty"` }
ServerListResult a list of servers.
type ServerParametersClient ¶
type ServerParametersClient struct {
BaseClient
}
ServerParametersClient is the the Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.
func NewServerParametersClient ¶
func NewServerParametersClient(subscriptionID string) ServerParametersClient
NewServerParametersClient creates an instance of the ServerParametersClient client.
func NewServerParametersClientWithBaseURI ¶
func NewServerParametersClientWithBaseURI(baseURI string, subscriptionID string) ServerParametersClient
NewServerParametersClientWithBaseURI creates an instance of the ServerParametersClient 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 (ServerParametersClient) ListUpdateConfigurations ¶
func (client ServerParametersClient) ListUpdateConfigurations(ctx context.Context, resourceGroupName string, serverName string, value ConfigurationListResult) (result ServerParametersListUpdateConfigurationsFuture, err error)
ListUpdateConfigurations update a list of configurations in a given server. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server. value - the parameters for updating a list of server configuration.
func (ServerParametersClient) ListUpdateConfigurationsPreparer ¶
func (client ServerParametersClient) ListUpdateConfigurationsPreparer(ctx context.Context, resourceGroupName string, serverName string, value ConfigurationListResult) (*http.Request, error)
ListUpdateConfigurationsPreparer prepares the ListUpdateConfigurations request.
func (ServerParametersClient) ListUpdateConfigurationsResponder ¶
func (client ServerParametersClient) ListUpdateConfigurationsResponder(resp *http.Response) (result ConfigurationListResult, err error)
ListUpdateConfigurationsResponder handles the response to the ListUpdateConfigurations request. The method always closes the http.Response Body.
func (ServerParametersClient) ListUpdateConfigurationsSender ¶
func (client ServerParametersClient) ListUpdateConfigurationsSender(req *http.Request) (future ServerParametersListUpdateConfigurationsFuture, err error)
ListUpdateConfigurationsSender sends the ListUpdateConfigurations request. The method will close the http.Response Body if it receives an error.
type ServerParametersListUpdateConfigurationsFuture ¶
type ServerParametersListUpdateConfigurationsFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServerParametersClient) (ConfigurationListResult, error) }
ServerParametersListUpdateConfigurationsFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ServerPrivateEndpointConnection ¶
type ServerPrivateEndpointConnection struct { // ID - READ-ONLY; Resource Id of the private endpoint connection. ID *string `json:"id,omitempty"` // Properties - READ-ONLY; Private endpoint connection properties Properties *ServerPrivateEndpointConnectionProperties `json:"properties,omitempty"` }
ServerPrivateEndpointConnection a private endpoint connection under a server
type ServerPrivateEndpointConnectionProperties ¶
type ServerPrivateEndpointConnectionProperties struct { // PrivateEndpoint - Private endpoint which the connection belongs to. PrivateEndpoint *PrivateEndpointProperty `json:"privateEndpoint,omitempty"` // PrivateLinkServiceConnectionState - Connection state of the private endpoint connection. PrivateLinkServiceConnectionState *ServerPrivateLinkServiceConnectionStateProperty `json:"privateLinkServiceConnectionState,omitempty"` // ProvisioningState - READ-ONLY; State of the private endpoint connection. Possible values include: 'Approving', 'Ready', 'Dropping', 'Failed', 'Rejecting' ProvisioningState PrivateEndpointProvisioningState `json:"provisioningState,omitempty"` }
ServerPrivateEndpointConnectionProperties properties of a private endpoint connection.
func (ServerPrivateEndpointConnectionProperties) MarshalJSON ¶
func (specp ServerPrivateEndpointConnectionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerPrivateEndpointConnectionProperties.
type ServerPrivateLinkServiceConnectionStateProperty ¶
type ServerPrivateLinkServiceConnectionStateProperty struct { // Status - The private link service connection status. Possible values include: 'Approved', 'Pending', 'Rejected', 'Disconnected' Status PrivateLinkServiceConnectionStateStatus `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. Possible values include: 'None' ActionsRequired PrivateLinkServiceConnectionStateActionsRequire `json:"actionsRequired,omitempty"` }
ServerPrivateLinkServiceConnectionStateProperty ...
func (ServerPrivateLinkServiceConnectionStateProperty) MarshalJSON ¶
func (splscsp ServerPrivateLinkServiceConnectionStateProperty) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerPrivateLinkServiceConnectionStateProperty.
type ServerProperties ¶
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', 'EightFullStopZero' 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"` // MinimalTLSVersion - Enforce a minimal Tls version for the server. Possible values include: 'TLS10', 'TLS11', 'TLS12', 'TLSEnforcementDisabled' MinimalTLSVersion MinimalTLSVersionEnum `json:"minimalTlsVersion,omitempty"` // ByokEnforcement - READ-ONLY; Status showing whether the server data encryption is enabled with customer-managed keys. ByokEnforcement *string `json:"byokEnforcement,omitempty"` // InfrastructureEncryption - Status showing whether the server enabled infrastructure encryption. Possible values include: 'InfrastructureEncryptionEnabled', 'InfrastructureEncryptionDisabled' InfrastructureEncryption InfrastructureEncryption `json:"infrastructureEncryption,omitempty"` // UserVisibleState - A state of a server that is visible to user. Possible values include: 'ServerStateReady', 'ServerStateDropping', 'ServerStateDisabled', 'ServerStateInaccessible' 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"` // PublicNetworkAccess - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'PublicNetworkAccessEnumEnabled', 'PublicNetworkAccessEnumDisabled' PublicNetworkAccess PublicNetworkAccessEnum `json:"publicNetworkAccess,omitempty"` // PrivateEndpointConnections - READ-ONLY; List of private endpoint connections on a server PrivateEndpointConnections *[]ServerPrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` }
ServerProperties the properties of a server.
func (ServerProperties) MarshalJSON ¶
func (sp ServerProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerProperties.
type ServerPropertiesForCreate ¶
type ServerPropertiesForCreate struct { // Version - Server version. Possible values include: 'FiveFullStopSix', 'FiveFullStopSeven', 'EightFullStopZero' 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"` // MinimalTLSVersion - Enforce a minimal Tls version for the server. Possible values include: 'TLS10', 'TLS11', 'TLS12', 'TLSEnforcementDisabled' MinimalTLSVersion MinimalTLSVersionEnum `json:"minimalTlsVersion,omitempty"` // InfrastructureEncryption - Status showing whether the server enabled infrastructure encryption. Possible values include: 'InfrastructureEncryptionEnabled', 'InfrastructureEncryptionDisabled' InfrastructureEncryption InfrastructureEncryption `json:"infrastructureEncryption,omitempty"` // PublicNetworkAccess - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'PublicNetworkAccessEnumEnabled', 'PublicNetworkAccessEnumDisabled' PublicNetworkAccess PublicNetworkAccessEnum `json:"publicNetworkAccess,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 ¶
func (spfc ServerPropertiesForCreate) AsBasicServerPropertiesForCreate() (BasicServerPropertiesForCreate, bool)
AsBasicServerPropertiesForCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForCreate.
func (ServerPropertiesForCreate) AsServerPropertiesForCreate ¶
func (spfc ServerPropertiesForCreate) AsServerPropertiesForCreate() (*ServerPropertiesForCreate, bool)
AsServerPropertiesForCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForCreate.
func (ServerPropertiesForCreate) AsServerPropertiesForDefaultCreate ¶
func (spfc ServerPropertiesForCreate) AsServerPropertiesForDefaultCreate() (*ServerPropertiesForDefaultCreate, bool)
AsServerPropertiesForDefaultCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForCreate.
func (ServerPropertiesForCreate) AsServerPropertiesForGeoRestore ¶
func (spfc ServerPropertiesForCreate) AsServerPropertiesForGeoRestore() (*ServerPropertiesForGeoRestore, bool)
AsServerPropertiesForGeoRestore is the BasicServerPropertiesForCreate implementation for ServerPropertiesForCreate.
func (ServerPropertiesForCreate) AsServerPropertiesForReplica ¶
func (spfc ServerPropertiesForCreate) AsServerPropertiesForReplica() (*ServerPropertiesForReplica, bool)
AsServerPropertiesForReplica is the BasicServerPropertiesForCreate implementation for ServerPropertiesForCreate.
func (ServerPropertiesForCreate) AsServerPropertiesForRestore ¶
func (spfc ServerPropertiesForCreate) AsServerPropertiesForRestore() (*ServerPropertiesForRestore, bool)
AsServerPropertiesForRestore is the BasicServerPropertiesForCreate implementation for ServerPropertiesForCreate.
func (ServerPropertiesForCreate) MarshalJSON ¶
func (spfc ServerPropertiesForCreate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerPropertiesForCreate.
type ServerPropertiesForDefaultCreate ¶
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', 'EightFullStopZero' 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"` // MinimalTLSVersion - Enforce a minimal Tls version for the server. Possible values include: 'TLS10', 'TLS11', 'TLS12', 'TLSEnforcementDisabled' MinimalTLSVersion MinimalTLSVersionEnum `json:"minimalTlsVersion,omitempty"` // InfrastructureEncryption - Status showing whether the server enabled infrastructure encryption. Possible values include: 'InfrastructureEncryptionEnabled', 'InfrastructureEncryptionDisabled' InfrastructureEncryption InfrastructureEncryption `json:"infrastructureEncryption,omitempty"` // PublicNetworkAccess - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'PublicNetworkAccessEnumEnabled', 'PublicNetworkAccessEnumDisabled' PublicNetworkAccess PublicNetworkAccessEnum `json:"publicNetworkAccess,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 ¶
func (spfdc ServerPropertiesForDefaultCreate) AsBasicServerPropertiesForCreate() (BasicServerPropertiesForCreate, bool)
AsBasicServerPropertiesForCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForDefaultCreate.
func (ServerPropertiesForDefaultCreate) AsServerPropertiesForCreate ¶
func (spfdc ServerPropertiesForDefaultCreate) AsServerPropertiesForCreate() (*ServerPropertiesForCreate, bool)
AsServerPropertiesForCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForDefaultCreate.
func (ServerPropertiesForDefaultCreate) AsServerPropertiesForDefaultCreate ¶
func (spfdc ServerPropertiesForDefaultCreate) AsServerPropertiesForDefaultCreate() (*ServerPropertiesForDefaultCreate, bool)
AsServerPropertiesForDefaultCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForDefaultCreate.
func (ServerPropertiesForDefaultCreate) AsServerPropertiesForGeoRestore ¶
func (spfdc ServerPropertiesForDefaultCreate) AsServerPropertiesForGeoRestore() (*ServerPropertiesForGeoRestore, bool)
AsServerPropertiesForGeoRestore is the BasicServerPropertiesForCreate implementation for ServerPropertiesForDefaultCreate.
func (ServerPropertiesForDefaultCreate) AsServerPropertiesForReplica ¶
func (spfdc ServerPropertiesForDefaultCreate) AsServerPropertiesForReplica() (*ServerPropertiesForReplica, bool)
AsServerPropertiesForReplica is the BasicServerPropertiesForCreate implementation for ServerPropertiesForDefaultCreate.
func (ServerPropertiesForDefaultCreate) AsServerPropertiesForRestore ¶
func (spfdc ServerPropertiesForDefaultCreate) AsServerPropertiesForRestore() (*ServerPropertiesForRestore, bool)
AsServerPropertiesForRestore is the BasicServerPropertiesForCreate implementation for ServerPropertiesForDefaultCreate.
func (ServerPropertiesForDefaultCreate) MarshalJSON ¶
func (spfdc ServerPropertiesForDefaultCreate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerPropertiesForDefaultCreate.
type ServerPropertiesForGeoRestore ¶
type ServerPropertiesForGeoRestore struct { // SourceServerID - The source server id to restore from. SourceServerID *string `json:"sourceServerId,omitempty"` // Version - Server version. Possible values include: 'FiveFullStopSix', 'FiveFullStopSeven', 'EightFullStopZero' 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"` // MinimalTLSVersion - Enforce a minimal Tls version for the server. Possible values include: 'TLS10', 'TLS11', 'TLS12', 'TLSEnforcementDisabled' MinimalTLSVersion MinimalTLSVersionEnum `json:"minimalTlsVersion,omitempty"` // InfrastructureEncryption - Status showing whether the server enabled infrastructure encryption. Possible values include: 'InfrastructureEncryptionEnabled', 'InfrastructureEncryptionDisabled' InfrastructureEncryption InfrastructureEncryption `json:"infrastructureEncryption,omitempty"` // PublicNetworkAccess - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'PublicNetworkAccessEnumEnabled', 'PublicNetworkAccessEnumDisabled' PublicNetworkAccess PublicNetworkAccessEnum `json:"publicNetworkAccess,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 ¶
func (spfgr ServerPropertiesForGeoRestore) AsBasicServerPropertiesForCreate() (BasicServerPropertiesForCreate, bool)
AsBasicServerPropertiesForCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForGeoRestore.
func (ServerPropertiesForGeoRestore) AsServerPropertiesForCreate ¶
func (spfgr ServerPropertiesForGeoRestore) AsServerPropertiesForCreate() (*ServerPropertiesForCreate, bool)
AsServerPropertiesForCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForGeoRestore.
func (ServerPropertiesForGeoRestore) AsServerPropertiesForDefaultCreate ¶
func (spfgr ServerPropertiesForGeoRestore) AsServerPropertiesForDefaultCreate() (*ServerPropertiesForDefaultCreate, bool)
AsServerPropertiesForDefaultCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForGeoRestore.
func (ServerPropertiesForGeoRestore) AsServerPropertiesForGeoRestore ¶
func (spfgr ServerPropertiesForGeoRestore) AsServerPropertiesForGeoRestore() (*ServerPropertiesForGeoRestore, bool)
AsServerPropertiesForGeoRestore is the BasicServerPropertiesForCreate implementation for ServerPropertiesForGeoRestore.
func (ServerPropertiesForGeoRestore) AsServerPropertiesForReplica ¶
func (spfgr ServerPropertiesForGeoRestore) AsServerPropertiesForReplica() (*ServerPropertiesForReplica, bool)
AsServerPropertiesForReplica is the BasicServerPropertiesForCreate implementation for ServerPropertiesForGeoRestore.
func (ServerPropertiesForGeoRestore) AsServerPropertiesForRestore ¶
func (spfgr ServerPropertiesForGeoRestore) AsServerPropertiesForRestore() (*ServerPropertiesForRestore, bool)
AsServerPropertiesForRestore is the BasicServerPropertiesForCreate implementation for ServerPropertiesForGeoRestore.
func (ServerPropertiesForGeoRestore) MarshalJSON ¶
func (spfgr ServerPropertiesForGeoRestore) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerPropertiesForGeoRestore.
type ServerPropertiesForReplica ¶
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', 'EightFullStopZero' 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"` // MinimalTLSVersion - Enforce a minimal Tls version for the server. Possible values include: 'TLS10', 'TLS11', 'TLS12', 'TLSEnforcementDisabled' MinimalTLSVersion MinimalTLSVersionEnum `json:"minimalTlsVersion,omitempty"` // InfrastructureEncryption - Status showing whether the server enabled infrastructure encryption. Possible values include: 'InfrastructureEncryptionEnabled', 'InfrastructureEncryptionDisabled' InfrastructureEncryption InfrastructureEncryption `json:"infrastructureEncryption,omitempty"` // PublicNetworkAccess - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'PublicNetworkAccessEnumEnabled', 'PublicNetworkAccessEnumDisabled' PublicNetworkAccess PublicNetworkAccessEnum `json:"publicNetworkAccess,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 ¶
func (spfr ServerPropertiesForReplica) AsBasicServerPropertiesForCreate() (BasicServerPropertiesForCreate, bool)
AsBasicServerPropertiesForCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForReplica.
func (ServerPropertiesForReplica) AsServerPropertiesForCreate ¶
func (spfr ServerPropertiesForReplica) AsServerPropertiesForCreate() (*ServerPropertiesForCreate, bool)
AsServerPropertiesForCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForReplica.
func (ServerPropertiesForReplica) AsServerPropertiesForDefaultCreate ¶
func (spfr ServerPropertiesForReplica) AsServerPropertiesForDefaultCreate() (*ServerPropertiesForDefaultCreate, bool)
AsServerPropertiesForDefaultCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForReplica.
func (ServerPropertiesForReplica) AsServerPropertiesForGeoRestore ¶
func (spfr ServerPropertiesForReplica) AsServerPropertiesForGeoRestore() (*ServerPropertiesForGeoRestore, bool)
AsServerPropertiesForGeoRestore is the BasicServerPropertiesForCreate implementation for ServerPropertiesForReplica.
func (ServerPropertiesForReplica) AsServerPropertiesForReplica ¶
func (spfr ServerPropertiesForReplica) AsServerPropertiesForReplica() (*ServerPropertiesForReplica, bool)
AsServerPropertiesForReplica is the BasicServerPropertiesForCreate implementation for ServerPropertiesForReplica.
func (ServerPropertiesForReplica) AsServerPropertiesForRestore ¶
func (spfr ServerPropertiesForReplica) AsServerPropertiesForRestore() (*ServerPropertiesForRestore, bool)
AsServerPropertiesForRestore is the BasicServerPropertiesForCreate implementation for ServerPropertiesForReplica.
func (ServerPropertiesForReplica) MarshalJSON ¶
func (spfr ServerPropertiesForReplica) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerPropertiesForReplica.
type ServerPropertiesForRestore ¶
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', 'EightFullStopZero' 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"` // MinimalTLSVersion - Enforce a minimal Tls version for the server. Possible values include: 'TLS10', 'TLS11', 'TLS12', 'TLSEnforcementDisabled' MinimalTLSVersion MinimalTLSVersionEnum `json:"minimalTlsVersion,omitempty"` // InfrastructureEncryption - Status showing whether the server enabled infrastructure encryption. Possible values include: 'InfrastructureEncryptionEnabled', 'InfrastructureEncryptionDisabled' InfrastructureEncryption InfrastructureEncryption `json:"infrastructureEncryption,omitempty"` // PublicNetworkAccess - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'PublicNetworkAccessEnumEnabled', 'PublicNetworkAccessEnumDisabled' PublicNetworkAccess PublicNetworkAccessEnum `json:"publicNetworkAccess,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 ¶
func (spfr ServerPropertiesForRestore) AsBasicServerPropertiesForCreate() (BasicServerPropertiesForCreate, bool)
AsBasicServerPropertiesForCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForRestore.
func (ServerPropertiesForRestore) AsServerPropertiesForCreate ¶
func (spfr ServerPropertiesForRestore) AsServerPropertiesForCreate() (*ServerPropertiesForCreate, bool)
AsServerPropertiesForCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForRestore.
func (ServerPropertiesForRestore) AsServerPropertiesForDefaultCreate ¶
func (spfr ServerPropertiesForRestore) AsServerPropertiesForDefaultCreate() (*ServerPropertiesForDefaultCreate, bool)
AsServerPropertiesForDefaultCreate is the BasicServerPropertiesForCreate implementation for ServerPropertiesForRestore.
func (ServerPropertiesForRestore) AsServerPropertiesForGeoRestore ¶
func (spfr ServerPropertiesForRestore) AsServerPropertiesForGeoRestore() (*ServerPropertiesForGeoRestore, bool)
AsServerPropertiesForGeoRestore is the BasicServerPropertiesForCreate implementation for ServerPropertiesForRestore.
func (ServerPropertiesForRestore) AsServerPropertiesForReplica ¶
func (spfr ServerPropertiesForRestore) AsServerPropertiesForReplica() (*ServerPropertiesForReplica, bool)
AsServerPropertiesForReplica is the BasicServerPropertiesForCreate implementation for ServerPropertiesForRestore.
func (ServerPropertiesForRestore) AsServerPropertiesForRestore ¶
func (spfr ServerPropertiesForRestore) AsServerPropertiesForRestore() (*ServerPropertiesForRestore, bool)
AsServerPropertiesForRestore is the BasicServerPropertiesForCreate implementation for ServerPropertiesForRestore.
func (ServerPropertiesForRestore) MarshalJSON ¶
func (spfr ServerPropertiesForRestore) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerPropertiesForRestore.
type ServerSecurityAlertPoliciesClient ¶
type ServerSecurityAlertPoliciesClient struct {
BaseClient
}
ServerSecurityAlertPoliciesClient is the the Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.
func NewServerSecurityAlertPoliciesClient ¶
func NewServerSecurityAlertPoliciesClient(subscriptionID string) ServerSecurityAlertPoliciesClient
NewServerSecurityAlertPoliciesClient creates an instance of the ServerSecurityAlertPoliciesClient client.
func NewServerSecurityAlertPoliciesClientWithBaseURI ¶
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 ¶
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 ¶
func (client ServerSecurityAlertPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, parameters ServerSecurityAlertPolicy) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ServerSecurityAlertPoliciesClient) CreateOrUpdateResponder ¶
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 ¶
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 ¶
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 ¶
func (client ServerSecurityAlertPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ServerSecurityAlertPoliciesClient) GetResponder ¶
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.
type ServerSecurityAlertPoliciesCreateOrUpdateFuture ¶
type ServerSecurityAlertPoliciesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServerSecurityAlertPoliciesClient) (ServerSecurityAlertPolicy, error) }
ServerSecurityAlertPoliciesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ServerSecurityAlertPolicy ¶
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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
ServerSecurityAlertPolicy a server security alert policy.
func (ServerSecurityAlertPolicy) MarshalJSON ¶
func (ssap ServerSecurityAlertPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerSecurityAlertPolicy.
func (*ServerSecurityAlertPolicy) UnmarshalJSON ¶
func (ssap *ServerSecurityAlertPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServerSecurityAlertPolicy struct.
type ServerSecurityAlertPolicyState ¶
type ServerSecurityAlertPolicyState string
ServerSecurityAlertPolicyState enumerates the values for server security alert policy state.
const ( // ServerSecurityAlertPolicyStateDisabled ... ServerSecurityAlertPolicyStateDisabled ServerSecurityAlertPolicyState = "Disabled" // ServerSecurityAlertPolicyStateEnabled ... ServerSecurityAlertPolicyStateEnabled ServerSecurityAlertPolicyState = "Enabled" )
func PossibleServerSecurityAlertPolicyStateValues ¶
func PossibleServerSecurityAlertPolicyStateValues() []ServerSecurityAlertPolicyState
PossibleServerSecurityAlertPolicyStateValues returns an array of possible values for the ServerSecurityAlertPolicyState const type.
type ServerState ¶
type ServerState string
ServerState enumerates the values for server state.
const ( // ServerStateDisabled ... ServerStateDisabled ServerState = "Disabled" // ServerStateDropping ... ServerStateDropping ServerState = "Dropping" // ServerStateInaccessible ... ServerStateInaccessible ServerState = "Inaccessible" // ServerStateReady ... ServerStateReady ServerState = "Ready" )
func PossibleServerStateValues ¶
func PossibleServerStateValues() []ServerState
PossibleServerStateValues returns an array of possible values for the ServerState const type.
type ServerUpdateParameters ¶
type ServerUpdateParameters struct { // Identity - The Azure Active Directory identity of the server. Identity *ResourceIdentity `json:"identity,omitempty"` // 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 ¶
func (sup ServerUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerUpdateParameters.
func (*ServerUpdateParameters) UnmarshalJSON ¶
func (sup *ServerUpdateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServerUpdateParameters struct.
type ServerUpdateParametersProperties ¶
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', 'EightFullStopZero' 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"` // MinimalTLSVersion - Enforce a minimal Tls version for the server. Possible values include: 'TLS10', 'TLS11', 'TLS12', 'TLSEnforcementDisabled' MinimalTLSVersion MinimalTLSVersionEnum `json:"minimalTlsVersion,omitempty"` // PublicNetworkAccess - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'PublicNetworkAccessEnumEnabled', 'PublicNetworkAccessEnumDisabled' PublicNetworkAccess PublicNetworkAccessEnum `json:"publicNetworkAccess,omitempty"` // ReplicationRole - The replication role of the server. ReplicationRole *string `json:"replicationRole,omitempty"` }
ServerUpdateParametersProperties the properties that can be updated for a server.
type ServerUpgradeParameters ¶
type ServerUpgradeParameters struct { // ServerUpgradeParametersProperties - The properties that can be updated for a server. *ServerUpgradeParametersProperties `json:"properties,omitempty"` }
ServerUpgradeParameters ...
func (ServerUpgradeParameters) MarshalJSON ¶
func (sup ServerUpgradeParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerUpgradeParameters.
func (*ServerUpgradeParameters) UnmarshalJSON ¶
func (sup *ServerUpgradeParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServerUpgradeParameters struct.
type ServerUpgradeParametersProperties ¶
type ServerUpgradeParametersProperties struct { // TargetServerVersion - Represents an server storage profile. TargetServerVersion *string `json:"targetServerVersion,omitempty"` }
ServerUpgradeParametersProperties the properties that can be updated for a server.
type ServerVersion ¶
type ServerVersion string
ServerVersion enumerates the values for server version.
const ( // EightFullStopZero ... EightFullStopZero ServerVersion = "8.0" // FiveFullStopSeven ... FiveFullStopSeven ServerVersion = "5.7" // FiveFullStopSix ... FiveFullStopSix ServerVersion = "5.6" )
func PossibleServerVersionValues ¶
func PossibleServerVersionValues() []ServerVersion
PossibleServerVersionValues returns an array of possible values for the ServerVersion const type.
type ServersClient ¶
type ServersClient struct {
BaseClient
}
ServersClient is the the Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.
func NewServersClient ¶
func NewServersClient(subscriptionID string) ServersClient
NewServersClient creates an instance of the ServersClient client.
func NewServersClientWithBaseURI ¶
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 ¶
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 ¶
func (client ServersClient) CreatePreparer(ctx context.Context, resourceGroupName string, serverName string, parameters ServerForCreate) (*http.Request, error)
CreatePreparer prepares the Create request.
func (ServersClient) CreateResponder ¶
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 ¶
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 ¶
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 ¶
func (client ServersClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ServersClient) DeleteResponder ¶
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 ¶
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 ¶
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 ¶
func (client ServersClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ServersClient) GetResponder ¶
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 ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ServersClient) List ¶
func (client ServersClient) List(ctx context.Context) (result ServerListResult, err error)
List list all the servers in a given subscription.
func (ServersClient) ListByResourceGroup ¶
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 ¶
func (client ServersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (ServersClient) ListByResourceGroupResponder ¶
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 ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (ServersClient) ListPreparer ¶
ListPreparer prepares the List request.
func (ServersClient) ListResponder ¶
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 ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (ServersClient) Restart ¶
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 ¶
func (client ServersClient) RestartPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
RestartPreparer prepares the Restart request.
func (ServersClient) RestartResponder ¶
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 ¶
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) Start ¶
func (client ServersClient) Start(ctx context.Context, resourceGroupName string, serverName string) (result ServersStartFuture, err error)
Start starts a stopped server. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server.
func (ServersClient) StartPreparer ¶
func (client ServersClient) StartPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
StartPreparer prepares the Start request.
func (ServersClient) StartResponder ¶
func (client ServersClient) StartResponder(resp *http.Response) (result autorest.Response, err error)
StartResponder handles the response to the Start request. The method always closes the http.Response Body.
func (ServersClient) StartSender ¶
func (client ServersClient) StartSender(req *http.Request) (future ServersStartFuture, err error)
StartSender sends the Start request. The method will close the http.Response Body if it receives an error.
func (ServersClient) Stop ¶
func (client ServersClient) Stop(ctx context.Context, resourceGroupName string, serverName string) (result ServersStopFuture, err error)
Stop stops a running server. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. serverName - the name of the server.
func (ServersClient) StopPreparer ¶
func (client ServersClient) StopPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
StopPreparer prepares the Stop request.
func (ServersClient) StopResponder ¶
func (client ServersClient) StopResponder(resp *http.Response) (result autorest.Response, err error)
StopResponder handles the response to the Stop request. The method always closes the http.Response Body.
func (ServersClient) StopSender ¶
func (client ServersClient) StopSender(req *http.Request) (future ServersStopFuture, err error)
StopSender sends the Stop request. The method will close the http.Response Body if it receives an error.
func (ServersClient) Update ¶
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 ¶
func (client ServersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, parameters ServerUpdateParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ServersClient) UpdateResponder ¶
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 ¶
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.
func (ServersClient) Upgrade ¶
func (client ServersClient) Upgrade(ctx context.Context, resourceGroupName string, serverName string, parameters ServerUpgradeParameters) (result ServersUpgradeFuture, err error)
Upgrade upgrade server version. 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) UpgradePreparer ¶
func (client ServersClient) UpgradePreparer(ctx context.Context, resourceGroupName string, serverName string, parameters ServerUpgradeParameters) (*http.Request, error)
UpgradePreparer prepares the Upgrade request.
func (ServersClient) UpgradeResponder ¶
func (client ServersClient) UpgradeResponder(resp *http.Response) (result autorest.Response, err error)
UpgradeResponder handles the response to the Upgrade request. The method always closes the http.Response Body.
func (ServersClient) UpgradeSender ¶
func (client ServersClient) UpgradeSender(req *http.Request) (future ServersUpgradeFuture, err error)
UpgradeSender sends the Upgrade request. The method will close the http.Response Body if it receives an error.
type ServersCreateFuture ¶
type ServersCreateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServersClient) (Server, error) }
ServersCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ServersDeleteFuture ¶
type ServersDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServersClient) (autorest.Response, error) }
ServersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ServersRestartFuture ¶
type ServersRestartFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServersClient) (autorest.Response, error) }
ServersRestartFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ServersStartFuture ¶
type ServersStartFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServersClient) (autorest.Response, error) }
ServersStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ServersStopFuture ¶
type ServersStopFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServersClient) (autorest.Response, error) }
ServersStopFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ServersUpdateFuture ¶
type ServersUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServersClient) (Server, error) }
ServersUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ServersUpgradeFuture ¶
type ServersUpgradeFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServersClient) (autorest.Response, error) }
ServersUpgradeFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type Sku ¶
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 ¶
type SkuTier string
SkuTier enumerates the values for sku tier.
func PossibleSkuTierValues ¶
func PossibleSkuTierValues() []SkuTier
PossibleSkuTierValues returns an array of possible values for the SkuTier const type.
type SslEnforcementEnum ¶
type SslEnforcementEnum string
SslEnforcementEnum enumerates the values for ssl enforcement enum.
const ( // SslEnforcementEnumDisabled ... SslEnforcementEnumDisabled SslEnforcementEnum = "Disabled" // SslEnforcementEnumEnabled ... SslEnforcementEnumEnabled SslEnforcementEnum = "Enabled" )
func PossibleSslEnforcementEnumValues ¶
func PossibleSslEnforcementEnumValues() []SslEnforcementEnum
PossibleSslEnforcementEnumValues returns an array of possible values for the SslEnforcementEnum const type.
type StorageAutogrow ¶
type StorageAutogrow string
StorageAutogrow enumerates the values for storage autogrow.
const ( // StorageAutogrowDisabled ... StorageAutogrowDisabled StorageAutogrow = "Disabled" // StorageAutogrowEnabled ... StorageAutogrowEnabled StorageAutogrow = "Enabled" )
func PossibleStorageAutogrowValues ¶
func PossibleStorageAutogrowValues() []StorageAutogrow
PossibleStorageAutogrowValues returns an array of possible values for the StorageAutogrow const type.
type StorageProfile ¶
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 ¶
TagsObject tags object for patch operations.
func (TagsObject) MarshalJSON ¶
func (toVar TagsObject) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TagsObject.
type TopQueryStatisticsClient ¶
type TopQueryStatisticsClient struct {
BaseClient
}
TopQueryStatisticsClient is the the Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.
func NewTopQueryStatisticsClient ¶
func NewTopQueryStatisticsClient(subscriptionID string) TopQueryStatisticsClient
NewTopQueryStatisticsClient creates an instance of the TopQueryStatisticsClient client.
func NewTopQueryStatisticsClientWithBaseURI ¶
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 ¶
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 ¶
func (client TopQueryStatisticsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, queryStatisticID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (TopQueryStatisticsClient) GetResponder ¶
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 ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (TopQueryStatisticsClient) ListByServer ¶
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 ¶
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 ¶
func (client TopQueryStatisticsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string, parameters TopQueryStatisticsInput) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (TopQueryStatisticsClient) ListByServerResponder ¶
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 ¶
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 ¶
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 ¶
func (tqsi TopQueryStatisticsInput) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TopQueryStatisticsInput.
func (*TopQueryStatisticsInput) UnmarshalJSON ¶
func (tqsi *TopQueryStatisticsInput) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for TopQueryStatisticsInput struct.
type TopQueryStatisticsInputProperties ¶
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 ¶
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 ¶
func (tqsrl TopQueryStatisticsResultList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type TopQueryStatisticsResultListIterator ¶
type TopQueryStatisticsResultListIterator struct {
// contains filtered or unexported fields
}
TopQueryStatisticsResultListIterator provides access to a complete listing of QueryStatistic values.
func NewTopQueryStatisticsResultListIterator ¶
func NewTopQueryStatisticsResultListIterator(page TopQueryStatisticsResultListPage) TopQueryStatisticsResultListIterator
Creates a new instance of the TopQueryStatisticsResultListIterator type.
func (*TopQueryStatisticsResultListIterator) Next ¶
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 ¶
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 ¶
func (iter TopQueryStatisticsResultListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (TopQueryStatisticsResultListIterator) Response ¶
func (iter TopQueryStatisticsResultListIterator) Response() TopQueryStatisticsResultList
Response returns the raw server response from the last page request.
func (TopQueryStatisticsResultListIterator) Value ¶
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 ¶
type TopQueryStatisticsResultListPage struct {
// contains filtered or unexported fields
}
TopQueryStatisticsResultListPage contains a page of QueryStatistic values.
func NewTopQueryStatisticsResultListPage ¶
func NewTopQueryStatisticsResultListPage(cur TopQueryStatisticsResultList, getNextPage func(context.Context, TopQueryStatisticsResultList) (TopQueryStatisticsResultList, error)) TopQueryStatisticsResultListPage
Creates a new instance of the TopQueryStatisticsResultListPage type.
func (*TopQueryStatisticsResultListPage) Next ¶
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 ¶
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 ¶
func (page TopQueryStatisticsResultListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (TopQueryStatisticsResultListPage) Response ¶
func (page TopQueryStatisticsResultListPage) Response() TopQueryStatisticsResultList
Response returns the raw server response from the last page request.
func (TopQueryStatisticsResultListPage) Values ¶
func (page TopQueryStatisticsResultListPage) Values() []QueryStatistic
Values returns the slice of values for the current page or nil if there are no values.
type TrackedResource ¶
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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
TrackedResource the resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
func (TrackedResource) MarshalJSON ¶
func (tr TrackedResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TrackedResource.
type VirtualNetworkRule ¶
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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
VirtualNetworkRule a virtual network rule.
func (VirtualNetworkRule) MarshalJSON ¶
func (vnr VirtualNetworkRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkRule.
func (*VirtualNetworkRule) UnmarshalJSON ¶
func (vnr *VirtualNetworkRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualNetworkRule struct.
type VirtualNetworkRuleListResult ¶
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 ¶
func (vnrlr VirtualNetworkRuleListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type VirtualNetworkRuleListResultIterator ¶
type VirtualNetworkRuleListResultIterator struct {
// contains filtered or unexported fields
}
VirtualNetworkRuleListResultIterator provides access to a complete listing of VirtualNetworkRule values.
func NewVirtualNetworkRuleListResultIterator ¶
func NewVirtualNetworkRuleListResultIterator(page VirtualNetworkRuleListResultPage) VirtualNetworkRuleListResultIterator
Creates a new instance of the VirtualNetworkRuleListResultIterator type.
func (*VirtualNetworkRuleListResultIterator) Next ¶
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 ¶
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 ¶
func (iter VirtualNetworkRuleListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (VirtualNetworkRuleListResultIterator) Response ¶
func (iter VirtualNetworkRuleListResultIterator) Response() VirtualNetworkRuleListResult
Response returns the raw server response from the last page request.
func (VirtualNetworkRuleListResultIterator) Value ¶
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 ¶
type VirtualNetworkRuleListResultPage struct {
// contains filtered or unexported fields
}
VirtualNetworkRuleListResultPage contains a page of VirtualNetworkRule values.
func NewVirtualNetworkRuleListResultPage ¶
func NewVirtualNetworkRuleListResultPage(cur VirtualNetworkRuleListResult, getNextPage func(context.Context, VirtualNetworkRuleListResult) (VirtualNetworkRuleListResult, error)) VirtualNetworkRuleListResultPage
Creates a new instance of the VirtualNetworkRuleListResultPage type.
func (*VirtualNetworkRuleListResultPage) Next ¶
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 ¶
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 ¶
func (page VirtualNetworkRuleListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (VirtualNetworkRuleListResultPage) Response ¶
func (page VirtualNetworkRuleListResultPage) Response() VirtualNetworkRuleListResult
Response returns the raw server response from the last page request.
func (VirtualNetworkRuleListResultPage) Values ¶
func (page VirtualNetworkRuleListResultPage) Values() []VirtualNetworkRule
Values returns the slice of values for the current page or nil if there are no values.
type VirtualNetworkRuleProperties ¶
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: 'VirtualNetworkRuleStateInitializing', 'VirtualNetworkRuleStateInProgress', 'VirtualNetworkRuleStateReady', 'VirtualNetworkRuleStateDeleting', 'VirtualNetworkRuleStateUnknown' State VirtualNetworkRuleState `json:"state,omitempty"` }
VirtualNetworkRuleProperties properties of a virtual network rule.
func (VirtualNetworkRuleProperties) MarshalJSON ¶
func (vnrp VirtualNetworkRuleProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkRuleProperties.
type VirtualNetworkRuleState ¶
type VirtualNetworkRuleState string
VirtualNetworkRuleState enumerates the values for virtual network rule state.
const ( // VirtualNetworkRuleStateDeleting ... VirtualNetworkRuleStateDeleting VirtualNetworkRuleState = "Deleting" // VirtualNetworkRuleStateInitializing ... VirtualNetworkRuleStateInitializing VirtualNetworkRuleState = "Initializing" // VirtualNetworkRuleStateInProgress ... VirtualNetworkRuleStateInProgress VirtualNetworkRuleState = "InProgress" // VirtualNetworkRuleStateReady ... VirtualNetworkRuleStateReady VirtualNetworkRuleState = "Ready" // VirtualNetworkRuleStateUnknown ... VirtualNetworkRuleStateUnknown VirtualNetworkRuleState = "Unknown" )
func PossibleVirtualNetworkRuleStateValues ¶
func PossibleVirtualNetworkRuleStateValues() []VirtualNetworkRuleState
PossibleVirtualNetworkRuleStateValues returns an array of possible values for the VirtualNetworkRuleState const type.
type VirtualNetworkRulesClient ¶
type VirtualNetworkRulesClient struct {
BaseClient
}
VirtualNetworkRulesClient is the the Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.
func NewVirtualNetworkRulesClient ¶
func NewVirtualNetworkRulesClient(subscriptionID string) VirtualNetworkRulesClient
NewVirtualNetworkRulesClient creates an instance of the VirtualNetworkRulesClient client.
func NewVirtualNetworkRulesClientWithBaseURI ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (client VirtualNetworkRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (VirtualNetworkRulesClient) DeleteResponder ¶
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 ¶
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 ¶
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 ¶
func (client VirtualNetworkRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (VirtualNetworkRulesClient) GetResponder ¶
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 ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (VirtualNetworkRulesClient) ListByServer ¶
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 ¶
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 ¶
func (client VirtualNetworkRulesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (VirtualNetworkRulesClient) ListByServerResponder ¶
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 ¶
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 ¶
type VirtualNetworkRulesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkRulesClient) (VirtualNetworkRule, error) }
VirtualNetworkRulesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkRulesDeleteFuture ¶
type VirtualNetworkRulesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkRulesClient) (autorest.Response, error) }
VirtualNetworkRulesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type WaitStatistic ¶
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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
WaitStatistic represents a Wait Statistic.
func (WaitStatistic) MarshalJSON ¶
func (ws WaitStatistic) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WaitStatistic.
func (*WaitStatistic) UnmarshalJSON ¶
func (ws *WaitStatistic) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for WaitStatistic struct.
type WaitStatisticProperties ¶
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 ¶
type WaitStatisticsClient struct {
BaseClient
}
WaitStatisticsClient is the the Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.
func NewWaitStatisticsClient ¶
func NewWaitStatisticsClient(subscriptionID string) WaitStatisticsClient
NewWaitStatisticsClient creates an instance of the WaitStatisticsClient client.
func NewWaitStatisticsClientWithBaseURI ¶
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 ¶
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 ¶
func (client WaitStatisticsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, waitStatisticsID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (WaitStatisticsClient) GetResponder ¶
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 ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (WaitStatisticsClient) ListByServer ¶
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 ¶
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 ¶
func (client WaitStatisticsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string, parameters WaitStatisticsInput) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (WaitStatisticsClient) ListByServerResponder ¶
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 ¶
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
type WaitStatisticsInput ¶
type WaitStatisticsInput struct { // WaitStatisticsInputProperties - The properties of a wait statistics input. *WaitStatisticsInputProperties `json:"properties,omitempty"` }
WaitStatisticsInput input to get wait statistics
func (WaitStatisticsInput) MarshalJSON ¶
func (wsi WaitStatisticsInput) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WaitStatisticsInput.
func (*WaitStatisticsInput) UnmarshalJSON ¶
func (wsi *WaitStatisticsInput) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for WaitStatisticsInput struct.
type WaitStatisticsInputProperties ¶
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 ¶
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 ¶
func (wsrl WaitStatisticsResultList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type WaitStatisticsResultListIterator ¶
type WaitStatisticsResultListIterator struct {
// contains filtered or unexported fields
}
WaitStatisticsResultListIterator provides access to a complete listing of WaitStatistic values.
func NewWaitStatisticsResultListIterator ¶
func NewWaitStatisticsResultListIterator(page WaitStatisticsResultListPage) WaitStatisticsResultListIterator
Creates a new instance of the WaitStatisticsResultListIterator type.
func (*WaitStatisticsResultListIterator) Next ¶
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 ¶
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 ¶
func (iter WaitStatisticsResultListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (WaitStatisticsResultListIterator) Response ¶
func (iter WaitStatisticsResultListIterator) Response() WaitStatisticsResultList
Response returns the raw server response from the last page request.
func (WaitStatisticsResultListIterator) Value ¶
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 ¶
type WaitStatisticsResultListPage struct {
// contains filtered or unexported fields
}
WaitStatisticsResultListPage contains a page of WaitStatistic values.
func NewWaitStatisticsResultListPage ¶
func NewWaitStatisticsResultListPage(cur WaitStatisticsResultList, getNextPage func(context.Context, WaitStatisticsResultList) (WaitStatisticsResultList, error)) WaitStatisticsResultListPage
Creates a new instance of the WaitStatisticsResultListPage type.
func (*WaitStatisticsResultListPage) Next ¶
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 ¶
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 ¶
func (page WaitStatisticsResultListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (WaitStatisticsResultListPage) Response ¶
func (page WaitStatisticsResultListPage) Response() WaitStatisticsResultList
Response returns the raw server response from the last page request.
func (WaitStatisticsResultListPage) Values ¶
func (page WaitStatisticsResultListPage) Values() []WaitStatistic
Values returns the slice of values for the current page or nil if there are no values.
Source Files
¶
- advisors.go
- checknameavailability.go
- client.go
- configurations.go
- databases.go
- enums.go
- firewallrules.go
- locationbasedperformancetier.go
- locationbasedrecommendedactionsessionsoperationstatus.go
- locationbasedrecommendedactionsessionsresult.go
- logfiles.go
- models.go
- operations.go
- privateendpointconnections.go
- privatelinkresources.go
- querytexts.go
- recommendedactions.go
- recoverableservers.go
- replicas.go
- serveradministrators.go
- serverbasedperformancetier.go
- serverkeys.go
- serverparameters.go
- servers.go
- serversecurityalertpolicies.go
- topquerystatistics.go
- version.go
- virtualnetworkrules.go
- waitstatistics.go