Documentation ¶
Overview ¶
Package sql implements the Azure ARM Sql service API version 2014-04-01.
The Azure SQL Database management API provides a RESTful set of web services that interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, and delete databases.
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type AuthenticationType
- type CheckNameAvailabilityReason
- type CheckNameAvailabilityRequest
- type CheckNameAvailabilityResponse
- type CreateMode
- type Database
- type DatabaseEdition
- type DatabaseListResult
- type DatabaseProperties
- type DatabaseSecurityAlertPolicy
- type DatabaseSecurityAlertPolicyProperties
- type DatabaseThreatDetectionPoliciesClient
- func (client DatabaseThreatDetectionPoliciesClient) CreateOrUpdate(resourceGroupName string, serverName string, databaseName string, ...) (result DatabaseSecurityAlertPolicy, err error)
- func (client DatabaseThreatDetectionPoliciesClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client DatabaseThreatDetectionPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result DatabaseSecurityAlertPolicy, err error)
- func (client DatabaseThreatDetectionPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client DatabaseThreatDetectionPoliciesClient) Get(resourceGroupName string, serverName string, databaseName string, ...) (result DatabaseSecurityAlertPolicy, err error)
- func (client DatabaseThreatDetectionPoliciesClient) GetPreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client DatabaseThreatDetectionPoliciesClient) GetResponder(resp *http.Response) (result DatabaseSecurityAlertPolicy, err error)
- func (client DatabaseThreatDetectionPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- type DatabaseUpdate
- type DatabasesClient
- func (client DatabasesClient) CreateImportOperation(resourceGroupName string, serverName string, databaseName string, ...) (<-chan ImportExportResponse, <-chan error)
- func (client DatabasesClient) CreateImportOperationPreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client DatabasesClient) CreateImportOperationResponder(resp *http.Response) (result ImportExportResponse, err error)
- func (client DatabasesClient) CreateImportOperationSender(req *http.Request) (*http.Response, error)
- func (client DatabasesClient) CreateOrUpdate(resourceGroupName string, serverName string, databaseName string, ...) (<-chan Database, <-chan error)
- func (client DatabasesClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client DatabasesClient) CreateOrUpdateResponder(resp *http.Response) (result Database, err error)
- func (client DatabasesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client DatabasesClient) Delete(resourceGroupName string, serverName string, databaseName string) (result autorest.Response, err error)
- func (client DatabasesClient) DeletePreparer(resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
- func (client DatabasesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DatabasesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client DatabasesClient) Export(resourceGroupName string, serverName string, databaseName string, ...) (<-chan ImportExportResponse, <-chan error)
- func (client DatabasesClient) ExportPreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client DatabasesClient) ExportResponder(resp *http.Response) (result ImportExportResponse, err error)
- func (client DatabasesClient) ExportSender(req *http.Request) (*http.Response, error)
- func (client DatabasesClient) Get(resourceGroupName string, serverName string, databaseName string, ...) (result Database, err error)
- func (client DatabasesClient) GetByElasticPool(resourceGroupName string, serverName string, elasticPoolName string, ...) (result Database, err error)
- func (client DatabasesClient) GetByElasticPoolPreparer(resourceGroupName string, serverName string, elasticPoolName string, ...) (*http.Request, error)
- func (client DatabasesClient) GetByElasticPoolResponder(resp *http.Response) (result Database, err error)
- func (client DatabasesClient) GetByElasticPoolSender(req *http.Request) (*http.Response, error)
- func (client DatabasesClient) GetByRecommendedElasticPool(resourceGroupName string, serverName string, recommendedElasticPoolName string, ...) (result Database, err error)
- func (client DatabasesClient) GetByRecommendedElasticPoolPreparer(resourceGroupName string, serverName string, recommendedElasticPoolName string, ...) (*http.Request, error)
- func (client DatabasesClient) GetByRecommendedElasticPoolResponder(resp *http.Response) (result Database, err error)
- func (client DatabasesClient) GetByRecommendedElasticPoolSender(req *http.Request) (*http.Response, error)
- func (client DatabasesClient) GetPreparer(resourceGroupName string, serverName string, databaseName 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) Import(resourceGroupName string, serverName string, parameters ImportRequest, ...) (<-chan ImportExportResponse, <-chan error)
- func (client DatabasesClient) ImportPreparer(resourceGroupName string, serverName string, parameters ImportRequest, ...) (*http.Request, error)
- func (client DatabasesClient) ImportResponder(resp *http.Response) (result ImportExportResponse, err error)
- func (client DatabasesClient) ImportSender(req *http.Request) (*http.Response, error)
- func (client DatabasesClient) ListByElasticPool(resourceGroupName string, serverName string, elasticPoolName string) (result DatabaseListResult, err error)
- func (client DatabasesClient) ListByElasticPoolPreparer(resourceGroupName string, serverName string, elasticPoolName string) (*http.Request, error)
- func (client DatabasesClient) ListByElasticPoolResponder(resp *http.Response) (result DatabaseListResult, err error)
- func (client DatabasesClient) ListByElasticPoolSender(req *http.Request) (*http.Response, error)
- func (client DatabasesClient) ListByRecommendedElasticPool(resourceGroupName string, serverName string, recommendedElasticPoolName string) (result DatabaseListResult, err error)
- func (client DatabasesClient) ListByRecommendedElasticPoolPreparer(resourceGroupName string, serverName string, recommendedElasticPoolName string) (*http.Request, error)
- func (client DatabasesClient) ListByRecommendedElasticPoolResponder(resp *http.Response) (result DatabaseListResult, err error)
- func (client DatabasesClient) ListByRecommendedElasticPoolSender(req *http.Request) (*http.Response, error)
- func (client DatabasesClient) ListByServer(resourceGroupName string, serverName string, expand string, filter string) (result DatabaseListResult, err error)
- func (client DatabasesClient) ListByServerPreparer(resourceGroupName string, serverName string, expand string, filter 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)
- func (client DatabasesClient) Pause(resourceGroupName string, serverName string, databaseName string, ...) (<-chan autorest.Response, <-chan error)
- func (client DatabasesClient) PausePreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client DatabasesClient) PauseResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DatabasesClient) PauseSender(req *http.Request) (*http.Response, error)
- func (client DatabasesClient) Resume(resourceGroupName string, serverName string, databaseName string, ...) (<-chan autorest.Response, <-chan error)
- func (client DatabasesClient) ResumePreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client DatabasesClient) ResumeResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DatabasesClient) ResumeSender(req *http.Request) (*http.Response, error)
- func (client DatabasesClient) Update(resourceGroupName string, serverName string, databaseName string, ...) (<-chan Database, <-chan error)
- func (client DatabasesClient) UpdatePreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client DatabasesClient) UpdateResponder(resp *http.Response) (result Database, err error)
- func (client DatabasesClient) UpdateSender(req *http.Request) (*http.Response, error)
- type ElasticPool
- type ElasticPoolActivitiesClient
- func (client ElasticPoolActivitiesClient) ListByElasticPool(resourceGroupName string, serverName string, elasticPoolName string) (result ElasticPoolActivityListResult, err error)
- func (client ElasticPoolActivitiesClient) ListByElasticPoolPreparer(resourceGroupName string, serverName string, elasticPoolName string) (*http.Request, error)
- func (client ElasticPoolActivitiesClient) ListByElasticPoolResponder(resp *http.Response) (result ElasticPoolActivityListResult, err error)
- func (client ElasticPoolActivitiesClient) ListByElasticPoolSender(req *http.Request) (*http.Response, error)
- type ElasticPoolActivity
- type ElasticPoolActivityListResult
- type ElasticPoolActivityProperties
- type ElasticPoolDatabaseActivitiesClient
- func (client ElasticPoolDatabaseActivitiesClient) ListByElasticPool(resourceGroupName string, serverName string, elasticPoolName string) (result ElasticPoolDatabaseActivityListResult, err error)
- func (client ElasticPoolDatabaseActivitiesClient) ListByElasticPoolPreparer(resourceGroupName string, serverName string, elasticPoolName string) (*http.Request, error)
- func (client ElasticPoolDatabaseActivitiesClient) ListByElasticPoolResponder(resp *http.Response) (result ElasticPoolDatabaseActivityListResult, err error)
- func (client ElasticPoolDatabaseActivitiesClient) ListByElasticPoolSender(req *http.Request) (*http.Response, error)
- type ElasticPoolDatabaseActivity
- type ElasticPoolDatabaseActivityListResult
- type ElasticPoolDatabaseActivityProperties
- type ElasticPoolEdition
- type ElasticPoolListResult
- type ElasticPoolProperties
- type ElasticPoolState
- type ElasticPoolUpdate
- type ElasticPoolsClient
- func (client ElasticPoolsClient) CreateOrUpdate(resourceGroupName string, serverName string, elasticPoolName string, ...) (<-chan ElasticPool, <-chan error)
- func (client ElasticPoolsClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, elasticPoolName string, ...) (*http.Request, error)
- func (client ElasticPoolsClient) CreateOrUpdateResponder(resp *http.Response) (result ElasticPool, err error)
- func (client ElasticPoolsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ElasticPoolsClient) Delete(resourceGroupName string, serverName string, elasticPoolName string) (result autorest.Response, err error)
- func (client ElasticPoolsClient) DeletePreparer(resourceGroupName string, serverName string, elasticPoolName string) (*http.Request, error)
- func (client ElasticPoolsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ElasticPoolsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ElasticPoolsClient) Get(resourceGroupName string, serverName string, elasticPoolName string) (result ElasticPool, err error)
- func (client ElasticPoolsClient) GetPreparer(resourceGroupName string, serverName string, elasticPoolName string) (*http.Request, error)
- func (client ElasticPoolsClient) GetResponder(resp *http.Response) (result ElasticPool, err error)
- func (client ElasticPoolsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ElasticPoolsClient) ListByServer(resourceGroupName string, serverName string) (result ElasticPoolListResult, err error)
- func (client ElasticPoolsClient) ListByServerPreparer(resourceGroupName string, serverName string) (*http.Request, error)
- func (client ElasticPoolsClient) ListByServerResponder(resp *http.Response) (result ElasticPoolListResult, err error)
- func (client ElasticPoolsClient) ListByServerSender(req *http.Request) (*http.Response, error)
- func (client ElasticPoolsClient) Update(resourceGroupName string, serverName string, elasticPoolName string, ...) (<-chan ElasticPool, <-chan error)
- func (client ElasticPoolsClient) UpdatePreparer(resourceGroupName string, serverName string, elasticPoolName string, ...) (*http.Request, error)
- func (client ElasticPoolsClient) UpdateResponder(resp *http.Response) (result ElasticPool, err error)
- func (client ElasticPoolsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type ExportRequest
- type FirewallRule
- type FirewallRuleListResult
- type FirewallRuleProperties
- type FirewallRulesClient
- func (client FirewallRulesClient) CreateOrUpdate(resourceGroupName string, serverName string, firewallRuleName string, ...) (result FirewallRule, err error)
- func (client FirewallRulesClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, firewallRuleName string, ...) (*http.Request, error)
- func (client FirewallRulesClient) CreateOrUpdateResponder(resp *http.Response) (result FirewallRule, err error)
- func (client FirewallRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client FirewallRulesClient) Delete(resourceGroupName string, serverName string, firewallRuleName string) (result autorest.Response, err error)
- func (client FirewallRulesClient) DeletePreparer(resourceGroupName string, serverName string, firewallRuleName string) (*http.Request, error)
- func (client FirewallRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client FirewallRulesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client FirewallRulesClient) Get(resourceGroupName string, serverName string, firewallRuleName string) (result FirewallRule, err error)
- func (client FirewallRulesClient) GetPreparer(resourceGroupName string, serverName string, firewallRuleName 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(resourceGroupName string, serverName string) (result FirewallRuleListResult, err error)
- func (client FirewallRulesClient) ListByServerPreparer(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 ImportExportResponse
- type ImportExportResponseProperties
- type ImportExtensionProperties
- type ImportExtensionRequest
- type ImportRequest
- type ManagementClient
- type OperationImpact
- type ProxyResource
- type ReadScale
- type RecommendedElasticPool
- type RecommendedElasticPoolListMetricsResult
- type RecommendedElasticPoolListResult
- type RecommendedElasticPoolMetric
- type RecommendedElasticPoolProperties
- type RecommendedElasticPoolsClient
- func (client RecommendedElasticPoolsClient) Get(resourceGroupName string, serverName string, recommendedElasticPoolName string) (result RecommendedElasticPool, err error)
- func (client RecommendedElasticPoolsClient) GetPreparer(resourceGroupName string, serverName string, recommendedElasticPoolName string) (*http.Request, error)
- func (client RecommendedElasticPoolsClient) GetResponder(resp *http.Response) (result RecommendedElasticPool, err error)
- func (client RecommendedElasticPoolsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client RecommendedElasticPoolsClient) ListByServer(resourceGroupName string, serverName string) (result RecommendedElasticPoolListResult, err error)
- func (client RecommendedElasticPoolsClient) ListByServerPreparer(resourceGroupName string, serverName string) (*http.Request, error)
- func (client RecommendedElasticPoolsClient) ListByServerResponder(resp *http.Response) (result RecommendedElasticPoolListResult, err error)
- func (client RecommendedElasticPoolsClient) ListByServerSender(req *http.Request) (*http.Response, error)
- func (client RecommendedElasticPoolsClient) ListMetrics(resourceGroupName string, serverName string, recommendedElasticPoolName string) (result RecommendedElasticPoolListMetricsResult, err error)
- func (client RecommendedElasticPoolsClient) ListMetricsPreparer(resourceGroupName string, serverName string, recommendedElasticPoolName string) (*http.Request, error)
- func (client RecommendedElasticPoolsClient) ListMetricsResponder(resp *http.Response) (result RecommendedElasticPoolListMetricsResult, err error)
- func (client RecommendedElasticPoolsClient) ListMetricsSender(req *http.Request) (*http.Response, error)
- type RecommendedIndex
- type RecommendedIndexAction
- type RecommendedIndexProperties
- type RecommendedIndexState
- type RecommendedIndexType
- type ReplicationLink
- type ReplicationLinkListResult
- type ReplicationLinkProperties
- type ReplicationLinksClient
- func (client ReplicationLinksClient) Delete(resourceGroupName string, serverName string, databaseName string, ...) (result autorest.Response, err error)
- func (client ReplicationLinksClient) DeletePreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client ReplicationLinksClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ReplicationLinksClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ReplicationLinksClient) Failover(resourceGroupName string, serverName string, databaseName string, ...) (<-chan autorest.Response, <-chan error)
- func (client ReplicationLinksClient) FailoverAllowDataLoss(resourceGroupName string, serverName string, databaseName string, ...) (<-chan autorest.Response, <-chan error)
- func (client ReplicationLinksClient) FailoverAllowDataLossPreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client ReplicationLinksClient) FailoverAllowDataLossResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ReplicationLinksClient) FailoverAllowDataLossSender(req *http.Request) (*http.Response, error)
- func (client ReplicationLinksClient) FailoverPreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client ReplicationLinksClient) FailoverResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ReplicationLinksClient) FailoverSender(req *http.Request) (*http.Response, error)
- func (client ReplicationLinksClient) Get(resourceGroupName string, serverName string, databaseName string, ...) (result ReplicationLink, err error)
- func (client ReplicationLinksClient) GetPreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client ReplicationLinksClient) GetResponder(resp *http.Response) (result ReplicationLink, err error)
- func (client ReplicationLinksClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ReplicationLinksClient) ListByDatabase(resourceGroupName string, serverName string, databaseName string) (result ReplicationLinkListResult, err error)
- func (client ReplicationLinksClient) ListByDatabasePreparer(resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
- func (client ReplicationLinksClient) ListByDatabaseResponder(resp *http.Response) (result ReplicationLinkListResult, err error)
- func (client ReplicationLinksClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- type ReplicationRole
- type ReplicationState
- type Resource
- type SampleName
- type SecurityAlertPolicyEmailAccountAdmins
- type SecurityAlertPolicyState
- type SecurityAlertPolicyUseServerDefault
- type ServersClient
- func (client ServersClient) CheckNameAvailability(parameters CheckNameAvailabilityRequest) (result CheckNameAvailabilityResponse, err error)
- func (client ServersClient) CheckNameAvailabilityPreparer(parameters CheckNameAvailabilityRequest) (*http.Request, error)
- func (client ServersClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityResponse, err error)
- func (client ServersClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)
- type ServiceObjectiveName
- type ServiceTierAdvisor
- type ServiceTierAdvisorListResult
- type ServiceTierAdvisorProperties
- type ServiceTierAdvisorsClient
- func (client ServiceTierAdvisorsClient) Get(resourceGroupName string, serverName string, databaseName string, ...) (result ServiceTierAdvisor, err error)
- func (client ServiceTierAdvisorsClient) GetPreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client ServiceTierAdvisorsClient) GetResponder(resp *http.Response) (result ServiceTierAdvisor, err error)
- func (client ServiceTierAdvisorsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ServiceTierAdvisorsClient) ListByDatabase(resourceGroupName string, serverName string, databaseName string) (result ServiceTierAdvisorListResult, err error)
- func (client ServiceTierAdvisorsClient) ListByDatabasePreparer(resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
- func (client ServiceTierAdvisorsClient) ListByDatabaseResponder(resp *http.Response) (result ServiceTierAdvisorListResult, err error)
- func (client ServiceTierAdvisorsClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- type SloUsageMetric
- type StorageKeyType
- type TrackedResource
- type TransparentDataEncryption
- type TransparentDataEncryptionActivitiesClient
- func (client TransparentDataEncryptionActivitiesClient) ListByConfiguration(resourceGroupName string, serverName string, databaseName string, ...) (result TransparentDataEncryptionActivityListResult, err error)
- func (client TransparentDataEncryptionActivitiesClient) ListByConfigurationPreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client TransparentDataEncryptionActivitiesClient) ListByConfigurationResponder(resp *http.Response) (result TransparentDataEncryptionActivityListResult, err error)
- func (client TransparentDataEncryptionActivitiesClient) ListByConfigurationSender(req *http.Request) (*http.Response, error)
- type TransparentDataEncryptionActivity
- type TransparentDataEncryptionActivityListResult
- type TransparentDataEncryptionActivityProperties
- type TransparentDataEncryptionActivityStatus
- type TransparentDataEncryptionProperties
- type TransparentDataEncryptionStatus
- type TransparentDataEncryptionsClient
- func (client TransparentDataEncryptionsClient) CreateOrUpdate(resourceGroupName string, serverName string, databaseName string, ...) (result TransparentDataEncryption, err error)
- func (client TransparentDataEncryptionsClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client TransparentDataEncryptionsClient) CreateOrUpdateResponder(resp *http.Response) (result TransparentDataEncryption, err error)
- func (client TransparentDataEncryptionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client TransparentDataEncryptionsClient) Get(resourceGroupName string, serverName string, databaseName string, ...) (result TransparentDataEncryption, err error)
- func (client TransparentDataEncryptionsClient) GetPreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client TransparentDataEncryptionsClient) GetResponder(resp *http.Response) (result TransparentDataEncryption, err error)
- func (client TransparentDataEncryptionsClient) GetSender(req *http.Request) (*http.Response, error)
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Sql
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 AuthenticationType ¶
type AuthenticationType string
AuthenticationType enumerates the values for authentication type.
const ( // ADPassword specifies the ad password state for authentication type. ADPassword AuthenticationType = "ADPassword" // SQL specifies the sql state for authentication type. SQL AuthenticationType = "SQL" )
type CheckNameAvailabilityReason ¶
type CheckNameAvailabilityReason string
CheckNameAvailabilityReason enumerates the values for check name availability reason.
const ( // AlreadyExists specifies the already exists state for check name availability reason. AlreadyExists CheckNameAvailabilityReason = "AlreadyExists" // Invalid specifies the invalid state for check name availability reason. Invalid CheckNameAvailabilityReason = "Invalid" )
type CheckNameAvailabilityRequest ¶
type CheckNameAvailabilityRequest struct { Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
CheckNameAvailabilityRequest is a request to check whether the specified name for a resource is available.
type CheckNameAvailabilityResponse ¶
type CheckNameAvailabilityResponse struct { autorest.Response `json:"-"` Available *bool `json:"available,omitempty"` Message *string `json:"message,omitempty"` Name *string `json:"name,omitempty"` Reason CheckNameAvailabilityReason `json:"reason,omitempty"` }
CheckNameAvailabilityResponse is a response indicating whether the specified name for a resource is available.
type CreateMode ¶
type CreateMode string
CreateMode enumerates the values for create mode.
const ( // Copy specifies the copy state for create mode. Copy CreateMode = "Copy" // Default specifies the default state for create mode. Default CreateMode = "Default" // NonReadableSecondary specifies the non readable secondary state for create mode. NonReadableSecondary CreateMode = "NonReadableSecondary" // OnlineSecondary specifies the online secondary state for create mode. OnlineSecondary CreateMode = "OnlineSecondary" // PointInTimeRestore specifies the point in time restore state for create mode. PointInTimeRestore CreateMode = "PointInTimeRestore" // Recovery specifies the recovery state for create mode. Recovery CreateMode = "Recovery" // Restore specifies the restore state for create mode. Restore CreateMode = "Restore" // RestoreLongTermRetentionBackup specifies the restore long term retention backup state for create mode. RestoreLongTermRetentionBackup CreateMode = "RestoreLongTermRetentionBackup" )
type Database ¶
type Database struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` Location *string `json:"location,omitempty"` Kind *string `json:"kind,omitempty"` *DatabaseProperties `json:"properties,omitempty"` }
Database is represents a database.
type DatabaseEdition ¶
type DatabaseEdition string
DatabaseEdition enumerates the values for database edition.
const ( // Basic specifies the basic state for database edition. Basic DatabaseEdition = "Basic" // Business specifies the business state for database edition. Business DatabaseEdition = "Business" // DataWarehouse specifies the data warehouse state for database edition. DataWarehouse DatabaseEdition = "DataWarehouse" // Free specifies the free state for database edition. Free DatabaseEdition = "Free" // Premium specifies the premium state for database edition. Premium DatabaseEdition = "Premium" // Standard specifies the standard state for database edition. Standard DatabaseEdition = "Standard" // Stretch specifies the stretch state for database edition. Stretch DatabaseEdition = "Stretch" // System specifies the system state for database edition. System DatabaseEdition = "System" // System2 specifies the system 2 state for database edition. System2 DatabaseEdition = "System2" // Web specifies the web state for database edition. Web DatabaseEdition = "Web" )
type DatabaseListResult ¶
type DatabaseListResult struct { autorest.Response `json:"-"` Value *[]Database `json:"value,omitempty"` }
DatabaseListResult is represents the response to a list database request.
type DatabaseProperties ¶
type DatabaseProperties struct { Collation *string `json:"collation,omitempty"` CreationDate *date.Time `json:"creationDate,omitempty"` ContainmentState *int64 `json:"containmentState,omitempty"` CurrentServiceObjectiveID *uuid.UUID `json:"currentServiceObjectiveId,omitempty"` DatabaseID *uuid.UUID `json:"databaseId,omitempty"` EarliestRestoreDate *date.Time `json:"earliestRestoreDate,omitempty"` CreateMode CreateMode `json:"createMode,omitempty"` SourceDatabaseID *string `json:"sourceDatabaseId,omitempty"` SourceDatabaseDeletionDate *date.Time `json:"sourceDatabaseDeletionDate,omitempty"` RestorePointInTime *date.Time `json:"restorePointInTime,omitempty"` RecoveryServicesRecoveryPointResourceID *string `json:"recoveryServicesRecoveryPointResourceId,omitempty"` Edition DatabaseEdition `json:"edition,omitempty"` MaxSizeBytes *string `json:"maxSizeBytes,omitempty"` RequestedServiceObjectiveID *uuid.UUID `json:"requestedServiceObjectiveId,omitempty"` RequestedServiceObjectiveName ServiceObjectiveName `json:"requestedServiceObjectiveName,omitempty"` ServiceLevelObjective ServiceObjectiveName `json:"serviceLevelObjective,omitempty"` Status *string `json:"status,omitempty"` ElasticPoolName *string `json:"elasticPoolName,omitempty"` DefaultSecondaryLocation *string `json:"defaultSecondaryLocation,omitempty"` ServiceTierAdvisors *[]ServiceTierAdvisor `json:"serviceTierAdvisors,omitempty"` TransparentDataEncryption *[]TransparentDataEncryption `json:"transparentDataEncryption,omitempty"` RecommendedIndex *[]RecommendedIndex `json:"recommendedIndex,omitempty"` FailoverGroupID *string `json:"failoverGroupId,omitempty"` ReadScale ReadScale `json:"readScale,omitempty"` SampleName SampleName `json:"sampleName,omitempty"` ZoneRedundant *bool `json:"zoneRedundant,omitempty"` }
DatabaseProperties is represents the properties of a database.
type DatabaseSecurityAlertPolicy ¶
type DatabaseSecurityAlertPolicy struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Kind *string `json:"kind,omitempty"` *DatabaseSecurityAlertPolicyProperties `json:"properties,omitempty"` }
DatabaseSecurityAlertPolicy is contains information about a database Threat Detection policy.
type DatabaseSecurityAlertPolicyProperties ¶
type DatabaseSecurityAlertPolicyProperties struct { State SecurityAlertPolicyState `json:"state,omitempty"` DisabledAlerts *string `json:"disabledAlerts,omitempty"` EmailAddresses *string `json:"emailAddresses,omitempty"` EmailAccountAdmins SecurityAlertPolicyEmailAccountAdmins `json:"emailAccountAdmins,omitempty"` StorageEndpoint *string `json:"storageEndpoint,omitempty"` StorageAccountAccessKey *string `json:"storageAccountAccessKey,omitempty"` RetentionDays *int32 `json:"retentionDays,omitempty"` UseServerDefault SecurityAlertPolicyUseServerDefault `json:"useServerDefault,omitempty"` }
DatabaseSecurityAlertPolicyProperties is properties for a database Threat Detection policy.
type DatabaseThreatDetectionPoliciesClient ¶
type DatabaseThreatDetectionPoliciesClient struct {
ManagementClient
}
DatabaseThreatDetectionPoliciesClient is the the Azure SQL Database management API provides a RESTful set of web services that interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, and delete databases.
func NewDatabaseThreatDetectionPoliciesClient ¶
func NewDatabaseThreatDetectionPoliciesClient(subscriptionID string) DatabaseThreatDetectionPoliciesClient
NewDatabaseThreatDetectionPoliciesClient creates an instance of the DatabaseThreatDetectionPoliciesClient client.
func NewDatabaseThreatDetectionPoliciesClientWithBaseURI ¶
func NewDatabaseThreatDetectionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) DatabaseThreatDetectionPoliciesClient
NewDatabaseThreatDetectionPoliciesClientWithBaseURI creates an instance of the DatabaseThreatDetectionPoliciesClient client.
func (DatabaseThreatDetectionPoliciesClient) CreateOrUpdate ¶
func (client DatabaseThreatDetectionPoliciesClient) CreateOrUpdate(resourceGroupName string, serverName string, databaseName string, securityAlertPolicyName string, parameters DatabaseSecurityAlertPolicy) (result DatabaseSecurityAlertPolicy, err error)
CreateOrUpdate creates or updates a database's threat detection policy.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. databaseName is the name of the database for which database Threat Detection policy is defined. securityAlertPolicyName is the name of the security alert policy. parameters is the database Threat Detection policy.
func (DatabaseThreatDetectionPoliciesClient) CreateOrUpdatePreparer ¶
func (client DatabaseThreatDetectionPoliciesClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, databaseName string, securityAlertPolicyName string, parameters DatabaseSecurityAlertPolicy) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (DatabaseThreatDetectionPoliciesClient) CreateOrUpdateResponder ¶
func (client DatabaseThreatDetectionPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result DatabaseSecurityAlertPolicy, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (DatabaseThreatDetectionPoliciesClient) CreateOrUpdateSender ¶
func (client DatabaseThreatDetectionPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (DatabaseThreatDetectionPoliciesClient) Get ¶
func (client DatabaseThreatDetectionPoliciesClient) Get(resourceGroupName string, serverName string, databaseName string, securityAlertPolicyName string) (result DatabaseSecurityAlertPolicy, err error)
Get gets a database's threat detection policy.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. databaseName is the name of the database for which database Threat Detection policy is defined. securityAlertPolicyName is the name of the security alert policy.
func (DatabaseThreatDetectionPoliciesClient) GetPreparer ¶
func (client DatabaseThreatDetectionPoliciesClient) GetPreparer(resourceGroupName string, serverName string, databaseName string, securityAlertPolicyName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DatabaseThreatDetectionPoliciesClient) GetResponder ¶
func (client DatabaseThreatDetectionPoliciesClient) GetResponder(resp *http.Response) (result DatabaseSecurityAlertPolicy, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type DatabaseUpdate ¶
type DatabaseUpdate struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` *DatabaseProperties `json:"properties,omitempty"` }
DatabaseUpdate is represents a database update.
type DatabasesClient ¶
type DatabasesClient struct {
ManagementClient
}
DatabasesClient is the the Azure SQL Database management API provides a RESTful set of web services that interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, and delete databases.
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.
func (DatabasesClient) CreateImportOperation ¶
func (client DatabasesClient) CreateImportOperation(resourceGroupName string, serverName string, databaseName string, extensionName string, parameters ImportExtensionRequest, cancel <-chan struct{}) (<-chan ImportExportResponse, <-chan error)
CreateImportOperation creates an import operation that imports a bacpac into an existing database. The existing database must be empty. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. databaseName is the name of the database to import into extensionName is the name of the operation to perform parameters is the required parameters for importing a Bacpac into a database.
func (DatabasesClient) CreateImportOperationPreparer ¶
func (client DatabasesClient) CreateImportOperationPreparer(resourceGroupName string, serverName string, databaseName string, extensionName string, parameters ImportExtensionRequest, cancel <-chan struct{}) (*http.Request, error)
CreateImportOperationPreparer prepares the CreateImportOperation request.
func (DatabasesClient) CreateImportOperationResponder ¶
func (client DatabasesClient) CreateImportOperationResponder(resp *http.Response) (result ImportExportResponse, err error)
CreateImportOperationResponder handles the response to the CreateImportOperation request. The method always closes the http.Response Body.
func (DatabasesClient) CreateImportOperationSender ¶
func (client DatabasesClient) CreateImportOperationSender(req *http.Request) (*http.Response, error)
CreateImportOperationSender sends the CreateImportOperation request. The method will close the http.Response Body if it receives an error.
func (DatabasesClient) CreateOrUpdate ¶
func (client DatabasesClient) CreateOrUpdate(resourceGroupName string, serverName string, databaseName string, parameters Database, cancel <-chan struct{}) (<-chan Database, <-chan error)
CreateOrUpdate creates a new database or updates an existing database. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. databaseName is the name of the database to be operated on (updated or created). parameters is the required parameters for creating or updating a database.
func (DatabasesClient) CreateOrUpdatePreparer ¶
func (client DatabasesClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, databaseName string, parameters Database, cancel <-chan struct{}) (*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 ¶
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(resourceGroupName string, serverName string, databaseName string) (result autorest.Response, err error)
Delete deletes a database.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. databaseName is the name of the database to be deleted.
func (DatabasesClient) DeletePreparer ¶
func (client DatabasesClient) DeletePreparer(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 ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (DatabasesClient) Export ¶
func (client DatabasesClient) Export(resourceGroupName string, serverName string, databaseName string, parameters ExportRequest, cancel <-chan struct{}) (<-chan ImportExportResponse, <-chan error)
Export exports a database to a bacpac. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. databaseName is the name of the database to be exported. parameters is the required parameters for exporting a database.
func (DatabasesClient) ExportPreparer ¶
func (client DatabasesClient) ExportPreparer(resourceGroupName string, serverName string, databaseName string, parameters ExportRequest, cancel <-chan struct{}) (*http.Request, error)
ExportPreparer prepares the Export request.
func (DatabasesClient) ExportResponder ¶
func (client DatabasesClient) ExportResponder(resp *http.Response) (result ImportExportResponse, err error)
ExportResponder handles the response to the Export request. The method always closes the http.Response Body.
func (DatabasesClient) ExportSender ¶
ExportSender sends the Export request. The method will close the http.Response Body if it receives an error.
func (DatabasesClient) Get ¶
func (client DatabasesClient) Get(resourceGroupName string, serverName string, databaseName string, expand string) (result Database, err error)
Get gets a database.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. databaseName is the name of the database to be retrieved. expand is a comma separated list of child objects to expand in the response. Possible properties: serviceTierAdvisors, transparentDataEncryption.
func (DatabasesClient) GetByElasticPool ¶
func (client DatabasesClient) GetByElasticPool(resourceGroupName string, serverName string, elasticPoolName string, databaseName string) (result Database, err error)
GetByElasticPool gets a database inside of an elastic pool.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. elasticPoolName is the name of the elastic pool to be retrieved. databaseName is the name of the database to be retrieved.
func (DatabasesClient) GetByElasticPoolPreparer ¶
func (client DatabasesClient) GetByElasticPoolPreparer(resourceGroupName string, serverName string, elasticPoolName string, databaseName string) (*http.Request, error)
GetByElasticPoolPreparer prepares the GetByElasticPool request.
func (DatabasesClient) GetByElasticPoolResponder ¶
func (client DatabasesClient) GetByElasticPoolResponder(resp *http.Response) (result Database, err error)
GetByElasticPoolResponder handles the response to the GetByElasticPool request. The method always closes the http.Response Body.
func (DatabasesClient) GetByElasticPoolSender ¶
GetByElasticPoolSender sends the GetByElasticPool request. The method will close the http.Response Body if it receives an error.
func (DatabasesClient) GetByRecommendedElasticPool ¶
func (client DatabasesClient) GetByRecommendedElasticPool(resourceGroupName string, serverName string, recommendedElasticPoolName string, databaseName string) (result Database, err error)
GetByRecommendedElasticPool gets a database inside of a recommented elastic pool.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. recommendedElasticPoolName is the name of the elastic pool to be retrieved. databaseName is the name of the database to be retrieved.
func (DatabasesClient) GetByRecommendedElasticPoolPreparer ¶
func (client DatabasesClient) GetByRecommendedElasticPoolPreparer(resourceGroupName string, serverName string, recommendedElasticPoolName string, databaseName string) (*http.Request, error)
GetByRecommendedElasticPoolPreparer prepares the GetByRecommendedElasticPool request.
func (DatabasesClient) GetByRecommendedElasticPoolResponder ¶
func (client DatabasesClient) GetByRecommendedElasticPoolResponder(resp *http.Response) (result Database, err error)
GetByRecommendedElasticPoolResponder handles the response to the GetByRecommendedElasticPool request. The method always closes the http.Response Body.
func (DatabasesClient) GetByRecommendedElasticPoolSender ¶
func (client DatabasesClient) GetByRecommendedElasticPoolSender(req *http.Request) (*http.Response, error)
GetByRecommendedElasticPoolSender sends the GetByRecommendedElasticPool request. The method will close the http.Response Body if it receives an error.
func (DatabasesClient) GetPreparer ¶
func (client DatabasesClient) GetPreparer(resourceGroupName string, serverName string, databaseName string, expand 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) Import ¶
func (client DatabasesClient) Import(resourceGroupName string, serverName string, parameters ImportRequest, cancel <-chan struct{}) (<-chan ImportExportResponse, <-chan error)
Import imports a bacpac into a new database. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. parameters is the required parameters for importing a Bacpac into a database.
func (DatabasesClient) ImportPreparer ¶
func (client DatabasesClient) ImportPreparer(resourceGroupName string, serverName string, parameters ImportRequest, cancel <-chan struct{}) (*http.Request, error)
ImportPreparer prepares the Import request.
func (DatabasesClient) ImportResponder ¶
func (client DatabasesClient) ImportResponder(resp *http.Response) (result ImportExportResponse, err error)
ImportResponder handles the response to the Import request. The method always closes the http.Response Body.
func (DatabasesClient) ImportSender ¶
ImportSender sends the Import request. The method will close the http.Response Body if it receives an error.
func (DatabasesClient) ListByElasticPool ¶
func (client DatabasesClient) ListByElasticPool(resourceGroupName string, serverName string, elasticPoolName string) (result DatabaseListResult, err error)
ListByElasticPool returns a list of databases in an elastic pool.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. elasticPoolName is the name of the elastic pool to be retrieved.
func (DatabasesClient) ListByElasticPoolPreparer ¶
func (client DatabasesClient) ListByElasticPoolPreparer(resourceGroupName string, serverName string, elasticPoolName string) (*http.Request, error)
ListByElasticPoolPreparer prepares the ListByElasticPool request.
func (DatabasesClient) ListByElasticPoolResponder ¶
func (client DatabasesClient) ListByElasticPoolResponder(resp *http.Response) (result DatabaseListResult, err error)
ListByElasticPoolResponder handles the response to the ListByElasticPool request. The method always closes the http.Response Body.
func (DatabasesClient) ListByElasticPoolSender ¶
ListByElasticPoolSender sends the ListByElasticPool request. The method will close the http.Response Body if it receives an error.
func (DatabasesClient) ListByRecommendedElasticPool ¶
func (client DatabasesClient) ListByRecommendedElasticPool(resourceGroupName string, serverName string, recommendedElasticPoolName string) (result DatabaseListResult, err error)
ListByRecommendedElasticPool returns a list of databases inside a recommented elastic pool.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. recommendedElasticPoolName is the name of the recommended elastic pool to be retrieved.
func (DatabasesClient) ListByRecommendedElasticPoolPreparer ¶
func (client DatabasesClient) ListByRecommendedElasticPoolPreparer(resourceGroupName string, serverName string, recommendedElasticPoolName string) (*http.Request, error)
ListByRecommendedElasticPoolPreparer prepares the ListByRecommendedElasticPool request.
func (DatabasesClient) ListByRecommendedElasticPoolResponder ¶
func (client DatabasesClient) ListByRecommendedElasticPoolResponder(resp *http.Response) (result DatabaseListResult, err error)
ListByRecommendedElasticPoolResponder handles the response to the ListByRecommendedElasticPool request. The method always closes the http.Response Body.
func (DatabasesClient) ListByRecommendedElasticPoolSender ¶
func (client DatabasesClient) ListByRecommendedElasticPoolSender(req *http.Request) (*http.Response, error)
ListByRecommendedElasticPoolSender sends the ListByRecommendedElasticPool request. The method will close the http.Response Body if it receives an error.
func (DatabasesClient) ListByServer ¶
func (client DatabasesClient) ListByServer(resourceGroupName string, serverName string, expand string, filter string) (result DatabaseListResult, err error)
ListByServer returns a list of databases in a server.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. expand is a comma separated list of child objects to expand in the response. Possible properties: serviceTierAdvisors, transparentDataEncryption. filter is an OData filter expression that describes a subset of databases to return.
func (DatabasesClient) ListByServerPreparer ¶
func (client DatabasesClient) ListByServerPreparer(resourceGroupName string, serverName string, expand string, filter 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.
func (DatabasesClient) Pause ¶
func (client DatabasesClient) Pause(resourceGroupName string, serverName string, databaseName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
Pause pauses a data warehouse. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. databaseName is the name of the data warehouse to pause.
func (DatabasesClient) PausePreparer ¶
func (client DatabasesClient) PausePreparer(resourceGroupName string, serverName string, databaseName string, cancel <-chan struct{}) (*http.Request, error)
PausePreparer prepares the Pause request.
func (DatabasesClient) PauseResponder ¶
func (client DatabasesClient) PauseResponder(resp *http.Response) (result autorest.Response, err error)
PauseResponder handles the response to the Pause request. The method always closes the http.Response Body.
func (DatabasesClient) PauseSender ¶
PauseSender sends the Pause request. The method will close the http.Response Body if it receives an error.
func (DatabasesClient) Resume ¶
func (client DatabasesClient) Resume(resourceGroupName string, serverName string, databaseName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
Resume resumes a data warehouse. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. databaseName is the name of the data warehouse to resume.
func (DatabasesClient) ResumePreparer ¶
func (client DatabasesClient) ResumePreparer(resourceGroupName string, serverName string, databaseName string, cancel <-chan struct{}) (*http.Request, error)
ResumePreparer prepares the Resume request.
func (DatabasesClient) ResumeResponder ¶
func (client DatabasesClient) ResumeResponder(resp *http.Response) (result autorest.Response, err error)
ResumeResponder handles the response to the Resume request. The method always closes the http.Response Body.
func (DatabasesClient) ResumeSender ¶
ResumeSender sends the Resume request. The method will close the http.Response Body if it receives an error.
func (DatabasesClient) Update ¶
func (client DatabasesClient) Update(resourceGroupName string, serverName string, databaseName string, parameters DatabaseUpdate, cancel <-chan struct{}) (<-chan Database, <-chan error)
Update updates an existing database. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. databaseName is the name of the database to be updated. parameters is the required parameters for updating a database.
func (DatabasesClient) UpdatePreparer ¶
func (client DatabasesClient) UpdatePreparer(resourceGroupName string, serverName string, databaseName string, parameters DatabaseUpdate, cancel <-chan struct{}) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (DatabasesClient) UpdateResponder ¶
func (client DatabasesClient) UpdateResponder(resp *http.Response) (result Database, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (DatabasesClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ElasticPool ¶
type ElasticPool struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` Location *string `json:"location,omitempty"` *ElasticPoolProperties `json:"properties,omitempty"` Kind *string `json:"kind,omitempty"` }
ElasticPool is represents a database elastic pool.
type ElasticPoolActivitiesClient ¶
type ElasticPoolActivitiesClient struct {
ManagementClient
}
ElasticPoolActivitiesClient is the the Azure SQL Database management API provides a RESTful set of web services that interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, and delete databases.
func NewElasticPoolActivitiesClient ¶
func NewElasticPoolActivitiesClient(subscriptionID string) ElasticPoolActivitiesClient
NewElasticPoolActivitiesClient creates an instance of the ElasticPoolActivitiesClient client.
func NewElasticPoolActivitiesClientWithBaseURI ¶
func NewElasticPoolActivitiesClientWithBaseURI(baseURI string, subscriptionID string) ElasticPoolActivitiesClient
NewElasticPoolActivitiesClientWithBaseURI creates an instance of the ElasticPoolActivitiesClient client.
func (ElasticPoolActivitiesClient) ListByElasticPool ¶
func (client ElasticPoolActivitiesClient) ListByElasticPool(resourceGroupName string, serverName string, elasticPoolName string) (result ElasticPoolActivityListResult, err error)
ListByElasticPool returns elastic pool activities.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. elasticPoolName is the name of the elastic pool for which to get the current activity.
func (ElasticPoolActivitiesClient) ListByElasticPoolPreparer ¶
func (client ElasticPoolActivitiesClient) ListByElasticPoolPreparer(resourceGroupName string, serverName string, elasticPoolName string) (*http.Request, error)
ListByElasticPoolPreparer prepares the ListByElasticPool request.
func (ElasticPoolActivitiesClient) ListByElasticPoolResponder ¶
func (client ElasticPoolActivitiesClient) ListByElasticPoolResponder(resp *http.Response) (result ElasticPoolActivityListResult, err error)
ListByElasticPoolResponder handles the response to the ListByElasticPool request. The method always closes the http.Response Body.
func (ElasticPoolActivitiesClient) ListByElasticPoolSender ¶
func (client ElasticPoolActivitiesClient) ListByElasticPoolSender(req *http.Request) (*http.Response, error)
ListByElasticPoolSender sends the ListByElasticPool request. The method will close the http.Response Body if it receives an error.
type ElasticPoolActivity ¶
type ElasticPoolActivity struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` *ElasticPoolActivityProperties `json:"properties,omitempty"` }
ElasticPoolActivity is represents the activity on an elastic pool.
type ElasticPoolActivityListResult ¶
type ElasticPoolActivityListResult struct { autorest.Response `json:"-"` Value *[]ElasticPoolActivity `json:"value,omitempty"` }
ElasticPoolActivityListResult is represents the response to a list elastic pool activity request.
type ElasticPoolActivityProperties ¶
type ElasticPoolActivityProperties struct { EndTime *date.Time `json:"endTime,omitempty"` ErrorCode *int32 `json:"errorCode,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` ErrorSeverity *int32 `json:"errorSeverity,omitempty"` Operation *string `json:"operation,omitempty"` OperationID *uuid.UUID `json:"operationId,omitempty"` PercentComplete *int32 `json:"percentComplete,omitempty"` RequestedDatabaseDtuMax *int32 `json:"requestedDatabaseDtuMax,omitempty"` RequestedDatabaseDtuMin *int32 `json:"requestedDatabaseDtuMin,omitempty"` RequestedDtu *int32 `json:"requestedDtu,omitempty"` RequestedElasticPoolName *string `json:"requestedElasticPoolName,omitempty"` RequestedStorageLimitInGB *int64 `json:"requestedStorageLimitInGB,omitempty"` ElasticPoolName *string `json:"elasticPoolName,omitempty"` ServerName *string `json:"serverName,omitempty"` StartTime *date.Time `json:"startTime,omitempty"` State *string `json:"state,omitempty"` RequestedStorageLimitInMB *int32 `json:"requestedStorageLimitInMB,omitempty"` RequestedDatabaseDtuGuarantee *int32 `json:"requestedDatabaseDtuGuarantee,omitempty"` RequestedDatabaseDtuCap *int32 `json:"requestedDatabaseDtuCap,omitempty"` RequestedDtuGuarantee *int32 `json:"requestedDtuGuarantee,omitempty"` }
ElasticPoolActivityProperties is represents the properties of an elastic pool.
type ElasticPoolDatabaseActivitiesClient ¶
type ElasticPoolDatabaseActivitiesClient struct {
ManagementClient
}
ElasticPoolDatabaseActivitiesClient is the the Azure SQL Database management API provides a RESTful set of web services that interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, and delete databases.
func NewElasticPoolDatabaseActivitiesClient ¶
func NewElasticPoolDatabaseActivitiesClient(subscriptionID string) ElasticPoolDatabaseActivitiesClient
NewElasticPoolDatabaseActivitiesClient creates an instance of the ElasticPoolDatabaseActivitiesClient client.
func NewElasticPoolDatabaseActivitiesClientWithBaseURI ¶
func NewElasticPoolDatabaseActivitiesClientWithBaseURI(baseURI string, subscriptionID string) ElasticPoolDatabaseActivitiesClient
NewElasticPoolDatabaseActivitiesClientWithBaseURI creates an instance of the ElasticPoolDatabaseActivitiesClient client.
func (ElasticPoolDatabaseActivitiesClient) ListByElasticPool ¶
func (client ElasticPoolDatabaseActivitiesClient) ListByElasticPool(resourceGroupName string, serverName string, elasticPoolName string) (result ElasticPoolDatabaseActivityListResult, err error)
ListByElasticPool returns activity on databases inside of an elastic pool.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. elasticPoolName is the name of the elastic pool.
func (ElasticPoolDatabaseActivitiesClient) ListByElasticPoolPreparer ¶
func (client ElasticPoolDatabaseActivitiesClient) ListByElasticPoolPreparer(resourceGroupName string, serverName string, elasticPoolName string) (*http.Request, error)
ListByElasticPoolPreparer prepares the ListByElasticPool request.
func (ElasticPoolDatabaseActivitiesClient) ListByElasticPoolResponder ¶
func (client ElasticPoolDatabaseActivitiesClient) ListByElasticPoolResponder(resp *http.Response) (result ElasticPoolDatabaseActivityListResult, err error)
ListByElasticPoolResponder handles the response to the ListByElasticPool request. The method always closes the http.Response Body.
func (ElasticPoolDatabaseActivitiesClient) ListByElasticPoolSender ¶
func (client ElasticPoolDatabaseActivitiesClient) ListByElasticPoolSender(req *http.Request) (*http.Response, error)
ListByElasticPoolSender sends the ListByElasticPool request. The method will close the http.Response Body if it receives an error.
type ElasticPoolDatabaseActivity ¶
type ElasticPoolDatabaseActivity struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` *ElasticPoolDatabaseActivityProperties `json:"properties,omitempty"` }
ElasticPoolDatabaseActivity is represents the activity on an elastic pool.
type ElasticPoolDatabaseActivityListResult ¶
type ElasticPoolDatabaseActivityListResult struct { autorest.Response `json:"-"` Value *[]ElasticPoolDatabaseActivity `json:"value,omitempty"` }
ElasticPoolDatabaseActivityListResult is represents the response to a list elastic pool database activity request.
type ElasticPoolDatabaseActivityProperties ¶
type ElasticPoolDatabaseActivityProperties struct { DatabaseName *string `json:"databaseName,omitempty"` EndTime *date.Time `json:"endTime,omitempty"` ErrorCode *int32 `json:"errorCode,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` ErrorSeverity *int32 `json:"errorSeverity,omitempty"` Operation *string `json:"operation,omitempty"` OperationID *uuid.UUID `json:"operationId,omitempty"` PercentComplete *int32 `json:"percentComplete,omitempty"` RequestedElasticPoolName *string `json:"requestedElasticPoolName,omitempty"` CurrentElasticPoolName *string `json:"currentElasticPoolName,omitempty"` CurrentServiceObjective *string `json:"currentServiceObjective,omitempty"` RequestedServiceObjective *string `json:"requestedServiceObjective,omitempty"` ServerName *string `json:"serverName,omitempty"` StartTime *date.Time `json:"startTime,omitempty"` State *string `json:"state,omitempty"` }
ElasticPoolDatabaseActivityProperties is represents the properties of an elastic pool database activity.
type ElasticPoolEdition ¶
type ElasticPoolEdition string
ElasticPoolEdition enumerates the values for elastic pool edition.
const ( // ElasticPoolEditionBasic specifies the elastic pool edition basic state for elastic pool edition. ElasticPoolEditionBasic ElasticPoolEdition = "Basic" // ElasticPoolEditionPremium specifies the elastic pool edition premium state for elastic pool edition. ElasticPoolEditionPremium ElasticPoolEdition = "Premium" // ElasticPoolEditionStandard specifies the elastic pool edition standard state for elastic pool edition. ElasticPoolEditionStandard ElasticPoolEdition = "Standard" )
type ElasticPoolListResult ¶
type ElasticPoolListResult struct { autorest.Response `json:"-"` Value *[]ElasticPool `json:"value,omitempty"` }
ElasticPoolListResult is represents the response to a list elastic pool request.
type ElasticPoolProperties ¶
type ElasticPoolProperties struct { CreationDate *date.Time `json:"creationDate,omitempty"` State ElasticPoolState `json:"state,omitempty"` Edition ElasticPoolEdition `json:"edition,omitempty"` Dtu *int32 `json:"dtu,omitempty"` DatabaseDtuMax *int32 `json:"databaseDtuMax,omitempty"` DatabaseDtuMin *int32 `json:"databaseDtuMin,omitempty"` StorageMB *int32 `json:"storageMB,omitempty"` ZoneRedundant *bool `json:"zoneRedundant,omitempty"` }
ElasticPoolProperties is represents the properties of an elastic pool.
type ElasticPoolState ¶
type ElasticPoolState string
ElasticPoolState enumerates the values for elastic pool state.
const ( // Creating specifies the creating state for elastic pool state. Creating ElasticPoolState = "Creating" // Disabled specifies the disabled state for elastic pool state. Disabled ElasticPoolState = "Disabled" // Ready specifies the ready state for elastic pool state. Ready ElasticPoolState = "Ready" )
type ElasticPoolUpdate ¶
type ElasticPoolUpdate struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` *ElasticPoolProperties `json:"properties,omitempty"` }
ElasticPoolUpdate is represents an elastic pool update.
type ElasticPoolsClient ¶
type ElasticPoolsClient struct {
ManagementClient
}
ElasticPoolsClient is the the Azure SQL Database management API provides a RESTful set of web services that interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, and delete databases.
func NewElasticPoolsClient ¶
func NewElasticPoolsClient(subscriptionID string) ElasticPoolsClient
NewElasticPoolsClient creates an instance of the ElasticPoolsClient client.
func NewElasticPoolsClientWithBaseURI ¶
func NewElasticPoolsClientWithBaseURI(baseURI string, subscriptionID string) ElasticPoolsClient
NewElasticPoolsClientWithBaseURI creates an instance of the ElasticPoolsClient client.
func (ElasticPoolsClient) CreateOrUpdate ¶
func (client ElasticPoolsClient) CreateOrUpdate(resourceGroupName string, serverName string, elasticPoolName string, parameters ElasticPool, cancel <-chan struct{}) (<-chan ElasticPool, <-chan error)
CreateOrUpdate creates a new elastic pool or updates an existing elastic pool. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. elasticPoolName is the name of the elastic pool to be operated on (updated or created). parameters is the required parameters for creating or updating an elastic pool.
func (ElasticPoolsClient) CreateOrUpdatePreparer ¶
func (client ElasticPoolsClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, elasticPoolName string, parameters ElasticPool, cancel <-chan struct{}) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ElasticPoolsClient) CreateOrUpdateResponder ¶
func (client ElasticPoolsClient) CreateOrUpdateResponder(resp *http.Response) (result ElasticPool, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ElasticPoolsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ElasticPoolsClient) Delete ¶
func (client ElasticPoolsClient) Delete(resourceGroupName string, serverName string, elasticPoolName string) (result autorest.Response, err error)
Delete deletes the elastic pool.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. elasticPoolName is the name of the elastic pool to be deleted.
func (ElasticPoolsClient) DeletePreparer ¶
func (client ElasticPoolsClient) DeletePreparer(resourceGroupName string, serverName string, elasticPoolName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ElasticPoolsClient) DeleteResponder ¶
func (client ElasticPoolsClient) 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 (ElasticPoolsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ElasticPoolsClient) Get ¶
func (client ElasticPoolsClient) Get(resourceGroupName string, serverName string, elasticPoolName string) (result ElasticPool, err error)
Get gets an elastic pool.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. elasticPoolName is the name of the elastic pool to be retrieved.
func (ElasticPoolsClient) GetPreparer ¶
func (client ElasticPoolsClient) GetPreparer(resourceGroupName string, serverName string, elasticPoolName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ElasticPoolsClient) GetResponder ¶
func (client ElasticPoolsClient) GetResponder(resp *http.Response) (result ElasticPool, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ElasticPoolsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ElasticPoolsClient) ListByServer ¶
func (client ElasticPoolsClient) ListByServer(resourceGroupName string, serverName string) (result ElasticPoolListResult, err error)
ListByServer returns a list of elastic pools in a server.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server.
func (ElasticPoolsClient) ListByServerPreparer ¶
func (client ElasticPoolsClient) ListByServerPreparer(resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (ElasticPoolsClient) ListByServerResponder ¶
func (client ElasticPoolsClient) ListByServerResponder(resp *http.Response) (result ElasticPoolListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (ElasticPoolsClient) ListByServerSender ¶
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
func (ElasticPoolsClient) Update ¶
func (client ElasticPoolsClient) Update(resourceGroupName string, serverName string, elasticPoolName string, parameters ElasticPoolUpdate, cancel <-chan struct{}) (<-chan ElasticPool, <-chan error)
Update updates an existing elastic pool. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. elasticPoolName is the name of the elastic pool to be updated. parameters is the required parameters for updating an elastic pool.
func (ElasticPoolsClient) UpdatePreparer ¶
func (client ElasticPoolsClient) UpdatePreparer(resourceGroupName string, serverName string, elasticPoolName string, parameters ElasticPoolUpdate, cancel <-chan struct{}) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ElasticPoolsClient) UpdateResponder ¶
func (client ElasticPoolsClient) UpdateResponder(resp *http.Response) (result ElasticPool, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ElasticPoolsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ExportRequest ¶
type ExportRequest struct { StorageKeyType StorageKeyType `json:"storageKeyType,omitempty"` StorageKey *string `json:"storageKey,omitempty"` StorageURI *string `json:"storageUri,omitempty"` AdministratorLogin *string `json:"administratorLogin,omitempty"` AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` AuthenticationType AuthenticationType `json:"authenticationType,omitempty"` }
ExportRequest is export database parameters.
type FirewallRule ¶
type FirewallRule struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Kind *string `json:"kind,omitempty"` Location *string `json:"location,omitempty"` *FirewallRuleProperties `json:"properties,omitempty"` }
FirewallRule is represents a server firewall rule.
type FirewallRuleListResult ¶
type FirewallRuleListResult struct { autorest.Response `json:"-"` Value *[]FirewallRule `json:"value,omitempty"` }
FirewallRuleListResult is represents the response to a List Firewall Rules request.
type FirewallRuleProperties ¶
type FirewallRuleProperties struct { StartIPAddress *string `json:"startIpAddress,omitempty"` EndIPAddress *string `json:"endIpAddress,omitempty"` }
FirewallRuleProperties is represents the properties of a server firewall rule.
type FirewallRulesClient ¶
type FirewallRulesClient struct {
ManagementClient
}
FirewallRulesClient is the the Azure SQL Database management API provides a RESTful set of web services that interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, and delete databases.
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.
func (FirewallRulesClient) CreateOrUpdate ¶
func (client FirewallRulesClient) CreateOrUpdate(resourceGroupName string, serverName string, firewallRuleName string, parameters FirewallRule) (result FirewallRule, err error)
CreateOrUpdate creates or updates a firewall rule.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. firewallRuleName is the name of the firewall rule. parameters is the required parameters for creating or updating a firewall rule.
func (FirewallRulesClient) CreateOrUpdatePreparer ¶
func (client FirewallRulesClient) CreateOrUpdatePreparer(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 ¶
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(resourceGroupName string, serverName string, firewallRuleName string) (result autorest.Response, err error)
Delete deletes a firewall rule.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. firewallRuleName is the name of the firewall rule.
func (FirewallRulesClient) DeletePreparer ¶
func (client FirewallRulesClient) DeletePreparer(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 ¶
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(resourceGroupName string, serverName string, firewallRuleName string) (result FirewallRule, err error)
Get gets a firewall rule.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. firewallRuleName is the name of the firewall rule.
func (FirewallRulesClient) GetPreparer ¶
func (client FirewallRulesClient) GetPreparer(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(resourceGroupName string, serverName string) (result FirewallRuleListResult, err error)
ListByServer returns a list of firewall rules.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server.
func (FirewallRulesClient) ListByServerPreparer ¶
func (client FirewallRulesClient) ListByServerPreparer(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 ImportExportResponse ¶
type ImportExportResponse struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` *ImportExportResponseProperties `json:"properties,omitempty"` }
ImportExportResponse is response for Import/Export Get operation.
type ImportExportResponseProperties ¶
type ImportExportResponseProperties struct { RequestType *string `json:"requestType,omitempty"` RequestID *uuid.UUID `json:"requestId,omitempty"` ServerName *string `json:"serverName,omitempty"` DatabaseName *string `json:"databaseName,omitempty"` Status *string `json:"status,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` QueuedTime *string `json:"queuedTime,omitempty"` BlobURI *string `json:"blobUri,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` }
ImportExportResponseProperties is response for Import/Export Status operation.
type ImportExtensionProperties ¶
type ImportExtensionProperties struct { StorageKeyType StorageKeyType `json:"storageKeyType,omitempty"` StorageKey *string `json:"storageKey,omitempty"` StorageURI *string `json:"storageUri,omitempty"` AdministratorLogin *string `json:"administratorLogin,omitempty"` AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` AuthenticationType AuthenticationType `json:"authenticationType,omitempty"` OperationMode *string `json:"operationMode,omitempty"` }
ImportExtensionProperties is represents the properties for an import operation
type ImportExtensionRequest ¶
type ImportExtensionRequest struct { Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` *ImportExtensionProperties `json:"properties,omitempty"` }
ImportExtensionRequest is import database parameters.
type ImportRequest ¶
type ImportRequest struct { StorageKeyType StorageKeyType `json:"storageKeyType,omitempty"` StorageKey *string `json:"storageKey,omitempty"` StorageURI *string `json:"storageUri,omitempty"` AdministratorLogin *string `json:"administratorLogin,omitempty"` AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` AuthenticationType AuthenticationType `json:"authenticationType,omitempty"` DatabaseName *string `json:"databaseName,omitempty"` Edition DatabaseEdition `json:"edition,omitempty"` ServiceObjectiveName ServiceObjectiveName `json:"serviceObjectiveName,omitempty"` MaxSizeBytes *string `json:"maxSizeBytes,omitempty"` }
ImportRequest is import database parameters.
type ManagementClient ¶
ManagementClient is the base client for Sql.
func New ¶
func New(subscriptionID string) ManagementClient
New creates an instance of the ManagementClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient
NewWithBaseURI creates an instance of the ManagementClient client.
type OperationImpact ¶
type OperationImpact struct { Name *string `json:"name,omitempty"` Unit *string `json:"unit,omitempty"` ChangeValueAbsolute *float64 `json:"changeValueAbsolute,omitempty"` ChangeValueRelative *float64 `json:"changeValueRelative,omitempty"` }
OperationImpact is the impact of an operation, both in absolute and relative terms.
type ProxyResource ¶
type ProxyResource struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
ProxyResource is ARM proxy resource.
type RecommendedElasticPool ¶
type RecommendedElasticPool struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` *RecommendedElasticPoolProperties `json:"properties,omitempty"` }
RecommendedElasticPool is represents a recommented elastic pool.
type RecommendedElasticPoolListMetricsResult ¶
type RecommendedElasticPoolListMetricsResult struct { autorest.Response `json:"-"` Value *[]RecommendedElasticPoolMetric `json:"value,omitempty"` }
RecommendedElasticPoolListMetricsResult is represents the response to a list recommended elastic pool metrics request.
type RecommendedElasticPoolListResult ¶
type RecommendedElasticPoolListResult struct { autorest.Response `json:"-"` Value *[]RecommendedElasticPool `json:"value,omitempty"` }
RecommendedElasticPoolListResult is represents the response to a list recommended elastic pool request.
type RecommendedElasticPoolMetric ¶
type RecommendedElasticPoolMetric struct { DateTime *date.Time `json:"dateTime,omitempty"` Dtu *float64 `json:"dtu,omitempty"` SizeGB *float64 `json:"sizeGB,omitempty"` }
RecommendedElasticPoolMetric is represents recommended elastic pool metric.
type RecommendedElasticPoolProperties ¶
type RecommendedElasticPoolProperties struct { DatabaseEdition ElasticPoolEdition `json:"databaseEdition,omitempty"` Dtu *float64 `json:"dtu,omitempty"` DatabaseDtuMin *float64 `json:"databaseDtuMin,omitempty"` DatabaseDtuMax *float64 `json:"databaseDtuMax,omitempty"` StorageMB *float64 `json:"storageMB,omitempty"` ObservationPeriodStart *date.Time `json:"observationPeriodStart,omitempty"` ObservationPeriodEnd *date.Time `json:"observationPeriodEnd,omitempty"` MaxObservedDtu *float64 `json:"maxObservedDtu,omitempty"` MaxObservedStorageMB *float64 `json:"maxObservedStorageMB,omitempty"` Databases *[]Database `json:"databases,omitempty"` Metrics *[]RecommendedElasticPoolMetric `json:"metrics,omitempty"` }
RecommendedElasticPoolProperties is represents the properties of a recommented elastic pool.
type RecommendedElasticPoolsClient ¶
type RecommendedElasticPoolsClient struct {
ManagementClient
}
RecommendedElasticPoolsClient is the the Azure SQL Database management API provides a RESTful set of web services that interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, and delete databases.
func NewRecommendedElasticPoolsClient ¶
func NewRecommendedElasticPoolsClient(subscriptionID string) RecommendedElasticPoolsClient
NewRecommendedElasticPoolsClient creates an instance of the RecommendedElasticPoolsClient client.
func NewRecommendedElasticPoolsClientWithBaseURI ¶
func NewRecommendedElasticPoolsClientWithBaseURI(baseURI string, subscriptionID string) RecommendedElasticPoolsClient
NewRecommendedElasticPoolsClientWithBaseURI creates an instance of the RecommendedElasticPoolsClient client.
func (RecommendedElasticPoolsClient) Get ¶
func (client RecommendedElasticPoolsClient) Get(resourceGroupName string, serverName string, recommendedElasticPoolName string) (result RecommendedElasticPool, err error)
Get gets a recommented elastic pool.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. recommendedElasticPoolName is the name of the recommended elastic pool to be retrieved.
func (RecommendedElasticPoolsClient) GetPreparer ¶
func (client RecommendedElasticPoolsClient) GetPreparer(resourceGroupName string, serverName string, recommendedElasticPoolName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (RecommendedElasticPoolsClient) GetResponder ¶
func (client RecommendedElasticPoolsClient) GetResponder(resp *http.Response) (result RecommendedElasticPool, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (RecommendedElasticPoolsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (RecommendedElasticPoolsClient) ListByServer ¶
func (client RecommendedElasticPoolsClient) ListByServer(resourceGroupName string, serverName string) (result RecommendedElasticPoolListResult, err error)
ListByServer returns recommended elastic pools.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server.
func (RecommendedElasticPoolsClient) ListByServerPreparer ¶
func (client RecommendedElasticPoolsClient) ListByServerPreparer(resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (RecommendedElasticPoolsClient) ListByServerResponder ¶
func (client RecommendedElasticPoolsClient) ListByServerResponder(resp *http.Response) (result RecommendedElasticPoolListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (RecommendedElasticPoolsClient) ListByServerSender ¶
func (client RecommendedElasticPoolsClient) 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 (RecommendedElasticPoolsClient) ListMetrics ¶
func (client RecommendedElasticPoolsClient) ListMetrics(resourceGroupName string, serverName string, recommendedElasticPoolName string) (result RecommendedElasticPoolListMetricsResult, err error)
ListMetrics returns recommented elastic pool metrics.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. recommendedElasticPoolName is the name of the recommended elastic pool to be retrieved.
func (RecommendedElasticPoolsClient) ListMetricsPreparer ¶
func (client RecommendedElasticPoolsClient) ListMetricsPreparer(resourceGroupName string, serverName string, recommendedElasticPoolName string) (*http.Request, error)
ListMetricsPreparer prepares the ListMetrics request.
func (RecommendedElasticPoolsClient) ListMetricsResponder ¶
func (client RecommendedElasticPoolsClient) ListMetricsResponder(resp *http.Response) (result RecommendedElasticPoolListMetricsResult, err error)
ListMetricsResponder handles the response to the ListMetrics request. The method always closes the http.Response Body.
func (RecommendedElasticPoolsClient) ListMetricsSender ¶
func (client RecommendedElasticPoolsClient) ListMetricsSender(req *http.Request) (*http.Response, error)
ListMetricsSender sends the ListMetrics request. The method will close the http.Response Body if it receives an error.
type RecommendedIndex ¶
type RecommendedIndex struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` *RecommendedIndexProperties `json:"properties,omitempty"` }
RecommendedIndex is represents a database recommended index.
type RecommendedIndexAction ¶
type RecommendedIndexAction string
RecommendedIndexAction enumerates the values for recommended index action.
const ( // Create specifies the create state for recommended index action. Create RecommendedIndexAction = "Create" // Drop specifies the drop state for recommended index action. Drop RecommendedIndexAction = "Drop" // Rebuild specifies the rebuild state for recommended index action. Rebuild RecommendedIndexAction = "Rebuild" )
type RecommendedIndexProperties ¶
type RecommendedIndexProperties struct { Action RecommendedIndexAction `json:"action,omitempty"` State RecommendedIndexState `json:"state,omitempty"` Created *date.Time `json:"created,omitempty"` LastModified *date.Time `json:"lastModified,omitempty"` IndexType RecommendedIndexType `json:"indexType,omitempty"` Schema *string `json:"schema,omitempty"` Table *string `json:"table,omitempty"` Columns *[]string `json:"columns,omitempty"` IncludedColumns *[]string `json:"includedColumns,omitempty"` IndexScript *string `json:"indexScript,omitempty"` EstimatedImpact *[]OperationImpact `json:"estimatedImpact,omitempty"` ReportedImpact *[]OperationImpact `json:"reportedImpact,omitempty"` }
RecommendedIndexProperties is represents the properties of a database recommended index.
type RecommendedIndexState ¶
type RecommendedIndexState string
RecommendedIndexState enumerates the values for recommended index state.
const ( // Active specifies the active state for recommended index state. Active RecommendedIndexState = "Active" // Blocked specifies the blocked state for recommended index state. Blocked RecommendedIndexState = "Blocked" // Executing specifies the executing state for recommended index state. Executing RecommendedIndexState = "Executing" // Expired specifies the expired state for recommended index state. Expired RecommendedIndexState = "Expired" // Ignored specifies the ignored state for recommended index state. Ignored RecommendedIndexState = "Ignored" // Pending specifies the pending state for recommended index state. Pending RecommendedIndexState = "Pending" // PendingRevert specifies the pending revert state for recommended index state. PendingRevert RecommendedIndexState = "Pending Revert" // Reverted specifies the reverted state for recommended index state. Reverted RecommendedIndexState = "Reverted" // Reverting specifies the reverting state for recommended index state. Reverting RecommendedIndexState = "Reverting" // Success specifies the success state for recommended index state. Success RecommendedIndexState = "Success" // Verifying specifies the verifying state for recommended index state. Verifying RecommendedIndexState = "Verifying" )
type RecommendedIndexType ¶
type RecommendedIndexType string
RecommendedIndexType enumerates the values for recommended index type.
const ( // CLUSTERED specifies the clustered state for recommended index type. CLUSTERED RecommendedIndexType = "CLUSTERED" // CLUSTEREDCOLUMNSTORE specifies the clusteredcolumnstore state for recommended index type. CLUSTEREDCOLUMNSTORE RecommendedIndexType = "CLUSTERED COLUMNSTORE" // COLUMNSTORE specifies the columnstore state for recommended index type. COLUMNSTORE RecommendedIndexType = "COLUMNSTORE" // NONCLUSTERED specifies the nonclustered state for recommended index type. NONCLUSTERED RecommendedIndexType = "NONCLUSTERED" )
type ReplicationLink ¶
type ReplicationLink struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` *ReplicationLinkProperties `json:"properties,omitempty"` }
ReplicationLink is represents a database replication link.
type ReplicationLinkListResult ¶
type ReplicationLinkListResult struct { autorest.Response `json:"-"` Value *[]ReplicationLink `json:"value,omitempty"` }
ReplicationLinkListResult is represents the response to a List database replication link request.
type ReplicationLinkProperties ¶
type ReplicationLinkProperties struct { IsTerminationAllowed *bool `json:"isTerminationAllowed,omitempty"` ReplicationMode *string `json:"replicationMode,omitempty"` PartnerServer *string `json:"partnerServer,omitempty"` PartnerDatabase *string `json:"partnerDatabase,omitempty"` PartnerLocation *string `json:"partnerLocation,omitempty"` Role ReplicationRole `json:"role,omitempty"` PartnerRole ReplicationRole `json:"partnerRole,omitempty"` StartTime *date.Time `json:"startTime,omitempty"` PercentComplete *int32 `json:"percentComplete,omitempty"` ReplicationState ReplicationState `json:"replicationState,omitempty"` }
ReplicationLinkProperties is represents the properties of a database replication link.
type ReplicationLinksClient ¶
type ReplicationLinksClient struct {
ManagementClient
}
ReplicationLinksClient is the the Azure SQL Database management API provides a RESTful set of web services that interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, and delete databases.
func NewReplicationLinksClient ¶
func NewReplicationLinksClient(subscriptionID string) ReplicationLinksClient
NewReplicationLinksClient creates an instance of the ReplicationLinksClient client.
func NewReplicationLinksClientWithBaseURI ¶
func NewReplicationLinksClientWithBaseURI(baseURI string, subscriptionID string) ReplicationLinksClient
NewReplicationLinksClientWithBaseURI creates an instance of the ReplicationLinksClient client.
func (ReplicationLinksClient) Delete ¶
func (client ReplicationLinksClient) Delete(resourceGroupName string, serverName string, databaseName string, linkID string) (result autorest.Response, err error)
Delete deletes a database replication link. Cannot be done during failover.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. databaseName is the name of the database that has the replication link to be dropped. linkID is the ID of the replication link to be deleted.
func (ReplicationLinksClient) DeletePreparer ¶
func (client ReplicationLinksClient) DeletePreparer(resourceGroupName string, serverName string, databaseName string, linkID string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ReplicationLinksClient) DeleteResponder ¶
func (client ReplicationLinksClient) 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 (ReplicationLinksClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ReplicationLinksClient) Failover ¶
func (client ReplicationLinksClient) Failover(resourceGroupName string, serverName string, databaseName string, linkID string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
Failover sets which replica database is primary by failing over from the current primary replica database. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. databaseName is the name of the database that has the replication link to be failed over. linkID is the ID of the replication link to be failed over.
func (ReplicationLinksClient) FailoverAllowDataLoss ¶
func (client ReplicationLinksClient) FailoverAllowDataLoss(resourceGroupName string, serverName string, databaseName string, linkID string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
FailoverAllowDataLoss sets which replica database is primary by failing over from the current primary replica database. This operation might result in data loss. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. databaseName is the name of the database that has the replication link to be failed over. linkID is the ID of the replication link to be failed over.
func (ReplicationLinksClient) FailoverAllowDataLossPreparer ¶
func (client ReplicationLinksClient) FailoverAllowDataLossPreparer(resourceGroupName string, serverName string, databaseName string, linkID string, cancel <-chan struct{}) (*http.Request, error)
FailoverAllowDataLossPreparer prepares the FailoverAllowDataLoss request.
func (ReplicationLinksClient) FailoverAllowDataLossResponder ¶
func (client ReplicationLinksClient) FailoverAllowDataLossResponder(resp *http.Response) (result autorest.Response, err error)
FailoverAllowDataLossResponder handles the response to the FailoverAllowDataLoss request. The method always closes the http.Response Body.
func (ReplicationLinksClient) FailoverAllowDataLossSender ¶
func (client ReplicationLinksClient) FailoverAllowDataLossSender(req *http.Request) (*http.Response, error)
FailoverAllowDataLossSender sends the FailoverAllowDataLoss request. The method will close the http.Response Body if it receives an error.
func (ReplicationLinksClient) FailoverPreparer ¶
func (client ReplicationLinksClient) FailoverPreparer(resourceGroupName string, serverName string, databaseName string, linkID string, cancel <-chan struct{}) (*http.Request, error)
FailoverPreparer prepares the Failover request.
func (ReplicationLinksClient) FailoverResponder ¶
func (client ReplicationLinksClient) FailoverResponder(resp *http.Response) (result autorest.Response, err error)
FailoverResponder handles the response to the Failover request. The method always closes the http.Response Body.
func (ReplicationLinksClient) FailoverSender ¶
FailoverSender sends the Failover request. The method will close the http.Response Body if it receives an error.
func (ReplicationLinksClient) Get ¶
func (client ReplicationLinksClient) Get(resourceGroupName string, serverName string, databaseName string, linkID string) (result ReplicationLink, err error)
Get gets a database replication link.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. databaseName is the name of the database to get the link for. linkID is the replication link ID to be retrieved.
func (ReplicationLinksClient) GetPreparer ¶
func (client ReplicationLinksClient) GetPreparer(resourceGroupName string, serverName string, databaseName string, linkID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ReplicationLinksClient) GetResponder ¶
func (client ReplicationLinksClient) GetResponder(resp *http.Response) (result ReplicationLink, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ReplicationLinksClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ReplicationLinksClient) ListByDatabase ¶
func (client ReplicationLinksClient) ListByDatabase(resourceGroupName string, serverName string, databaseName string) (result ReplicationLinkListResult, err error)
ListByDatabase lists a database's replication links.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. databaseName is the name of the database to retrieve links for.
func (ReplicationLinksClient) ListByDatabasePreparer ¶
func (client ReplicationLinksClient) ListByDatabasePreparer(resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (ReplicationLinksClient) ListByDatabaseResponder ¶
func (client ReplicationLinksClient) ListByDatabaseResponder(resp *http.Response) (result ReplicationLinkListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (ReplicationLinksClient) ListByDatabaseSender ¶
func (client ReplicationLinksClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
ListByDatabaseSender sends the ListByDatabase request. The method will close the http.Response Body if it receives an error.
type ReplicationRole ¶
type ReplicationRole string
ReplicationRole enumerates the values for replication role.
const ( // ReplicationRoleCopy specifies the replication role copy state for replication role. ReplicationRoleCopy ReplicationRole = "Copy" // ReplicationRoleNonReadableSecondary specifies the replication role non readable secondary state for replication // role. ReplicationRoleNonReadableSecondary ReplicationRole = "NonReadableSecondary" // ReplicationRolePrimary specifies the replication role primary state for replication role. ReplicationRolePrimary ReplicationRole = "Primary" // ReplicationRoleSecondary specifies the replication role secondary state for replication role. ReplicationRoleSecondary ReplicationRole = "Secondary" // ReplicationRoleSource specifies the replication role source state for replication role. ReplicationRoleSource ReplicationRole = "Source" )
type ReplicationState ¶
type ReplicationState string
ReplicationState enumerates the values for replication state.
const ( // CATCHUP specifies the catchup state for replication state. CATCHUP ReplicationState = "CATCH_UP" // PENDING specifies the pending state for replication state. PENDING ReplicationState = "PENDING" // SEEDING specifies the seeding state for replication state. SEEDING ReplicationState = "SEEDING" // SUSPENDED specifies the suspended state for replication state. SUSPENDED ReplicationState = "SUSPENDED" )
type Resource ¶
type Resource struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
Resource is ARM resource.
type SampleName ¶
type SampleName string
SampleName enumerates the values for sample name.
const ( // AdventureWorksLT specifies the adventure works lt state for sample name. AdventureWorksLT SampleName = "AdventureWorksLT" )
type SecurityAlertPolicyEmailAccountAdmins ¶
type SecurityAlertPolicyEmailAccountAdmins string
SecurityAlertPolicyEmailAccountAdmins enumerates the values for security alert policy email account admins.
const ( // SecurityAlertPolicyEmailAccountAdminsDisabled specifies the security alert policy email account admins disabled // state for security alert policy email account admins. SecurityAlertPolicyEmailAccountAdminsDisabled SecurityAlertPolicyEmailAccountAdmins = "Disabled" // SecurityAlertPolicyEmailAccountAdminsEnabled specifies the security alert policy email account admins enabled state // for security alert policy email account admins. SecurityAlertPolicyEmailAccountAdminsEnabled SecurityAlertPolicyEmailAccountAdmins = "Enabled" )
type SecurityAlertPolicyState ¶
type SecurityAlertPolicyState string
SecurityAlertPolicyState enumerates the values for security alert policy state.
const ( // SecurityAlertPolicyStateDisabled specifies the security alert policy state disabled state for security alert policy // state. SecurityAlertPolicyStateDisabled SecurityAlertPolicyState = "Disabled" // SecurityAlertPolicyStateEnabled specifies the security alert policy state enabled state for security alert policy // state. SecurityAlertPolicyStateEnabled SecurityAlertPolicyState = "Enabled" // SecurityAlertPolicyStateNew specifies the security alert policy state new state for security alert policy state. SecurityAlertPolicyStateNew SecurityAlertPolicyState = "New" )
type SecurityAlertPolicyUseServerDefault ¶
type SecurityAlertPolicyUseServerDefault string
SecurityAlertPolicyUseServerDefault enumerates the values for security alert policy use server default.
const ( // SecurityAlertPolicyUseServerDefaultDisabled specifies the security alert policy use server default disabled state // for security alert policy use server default. SecurityAlertPolicyUseServerDefaultDisabled SecurityAlertPolicyUseServerDefault = "Disabled" // SecurityAlertPolicyUseServerDefaultEnabled specifies the security alert policy use server default enabled state for // security alert policy use server default. SecurityAlertPolicyUseServerDefaultEnabled SecurityAlertPolicyUseServerDefault = "Enabled" )
type ServersClient ¶
type ServersClient struct {
ManagementClient
}
ServersClient is the the Azure SQL Database management API provides a RESTful set of web services that interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, and delete databases.
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.
func (ServersClient) CheckNameAvailability ¶
func (client ServersClient) CheckNameAvailability(parameters CheckNameAvailabilityRequest) (result CheckNameAvailabilityResponse, err error)
CheckNameAvailability determines whether a resource can be created with the specified name.
parameters is the parameters to request for name availability.
func (ServersClient) CheckNameAvailabilityPreparer ¶
func (client ServersClient) CheckNameAvailabilityPreparer(parameters CheckNameAvailabilityRequest) (*http.Request, error)
CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.
func (ServersClient) CheckNameAvailabilityResponder ¶
func (client ServersClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityResponse, err error)
CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.
func (ServersClient) CheckNameAvailabilitySender ¶
CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.
type ServiceObjectiveName ¶
type ServiceObjectiveName string
ServiceObjectiveName enumerates the values for service objective name.
const ( // ServiceObjectiveNameBasic specifies the service objective name basic state for service objective name. ServiceObjectiveNameBasic ServiceObjectiveName = "Basic" // ServiceObjectiveNameElasticPool specifies the service objective name elastic pool state for service objective name. ServiceObjectiveNameElasticPool ServiceObjectiveName = "ElasticPool" // ServiceObjectiveNameP1 specifies the service objective name p1 state for service objective name. ServiceObjectiveNameP1 ServiceObjectiveName = "P1" // ServiceObjectiveNameP11 specifies the service objective name p11 state for service objective name. ServiceObjectiveNameP11 ServiceObjectiveName = "P11" // ServiceObjectiveNameP15 specifies the service objective name p15 state for service objective name. ServiceObjectiveNameP15 ServiceObjectiveName = "P15" // ServiceObjectiveNameP2 specifies the service objective name p2 state for service objective name. ServiceObjectiveNameP2 ServiceObjectiveName = "P2" // ServiceObjectiveNameP3 specifies the service objective name p3 state for service objective name. ServiceObjectiveNameP3 ServiceObjectiveName = "P3" // ServiceObjectiveNameP4 specifies the service objective name p4 state for service objective name. ServiceObjectiveNameP4 ServiceObjectiveName = "P4" // ServiceObjectiveNameP6 specifies the service objective name p6 state for service objective name. ServiceObjectiveNameP6 ServiceObjectiveName = "P6" // ServiceObjectiveNameS0 specifies the service objective name s0 state for service objective name. ServiceObjectiveNameS0 ServiceObjectiveName = "S0" // ServiceObjectiveNameS1 specifies the service objective name s1 state for service objective name. ServiceObjectiveNameS1 ServiceObjectiveName = "S1" // ServiceObjectiveNameS2 specifies the service objective name s2 state for service objective name. ServiceObjectiveNameS2 ServiceObjectiveName = "S2" // ServiceObjectiveNameS3 specifies the service objective name s3 state for service objective name. ServiceObjectiveNameS3 ServiceObjectiveName = "S3" // ServiceObjectiveNameSystem specifies the service objective name system state for service objective name. ServiceObjectiveNameSystem ServiceObjectiveName = "System" // ServiceObjectiveNameSystem2 specifies the service objective name system 2 state for service objective name. ServiceObjectiveNameSystem2 ServiceObjectiveName = "System2" )
type ServiceTierAdvisor ¶
type ServiceTierAdvisor struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` *ServiceTierAdvisorProperties `json:"properties,omitempty"` }
ServiceTierAdvisor is represents a Service Tier Advisor.
type ServiceTierAdvisorListResult ¶
type ServiceTierAdvisorListResult struct { autorest.Response `json:"-"` Value *[]ServiceTierAdvisor `json:"value,omitempty"` }
ServiceTierAdvisorListResult is represents the response to a list service tier advisor request.
type ServiceTierAdvisorProperties ¶
type ServiceTierAdvisorProperties struct { ObservationPeriodStart *date.Time `json:"observationPeriodStart,omitempty"` ObservationPeriodEnd *date.Time `json:"observationPeriodEnd,omitempty"` ActiveTimeRatio *float64 `json:"activeTimeRatio,omitempty"` MinDtu *float64 `json:"minDtu,omitempty"` AvgDtu *float64 `json:"avgDtu,omitempty"` MaxDtu *float64 `json:"maxDtu,omitempty"` MaxSizeInGB *float64 `json:"maxSizeInGB,omitempty"` ServiceLevelObjectiveUsageMetrics *[]SloUsageMetric `json:"serviceLevelObjectiveUsageMetrics,omitempty"` CurrentServiceLevelObjective *string `json:"currentServiceLevelObjective,omitempty"` CurrentServiceLevelObjectiveID *uuid.UUID `json:"currentServiceLevelObjectiveId,omitempty"` UsageBasedRecommendationServiceLevelObjective *string `json:"usageBasedRecommendationServiceLevelObjective,omitempty"` UsageBasedRecommendationServiceLevelObjectiveID *uuid.UUID `json:"usageBasedRecommendationServiceLevelObjectiveId,omitempty"` DatabaseSizeBasedRecommendationServiceLevelObjective *string `json:"databaseSizeBasedRecommendationServiceLevelObjective,omitempty"` DatabaseSizeBasedRecommendationServiceLevelObjectiveID *uuid.UUID `json:"databaseSizeBasedRecommendationServiceLevelObjectiveId,omitempty"` DisasterPlanBasedRecommendationServiceLevelObjective *string `json:"disasterPlanBasedRecommendationServiceLevelObjective,omitempty"` DisasterPlanBasedRecommendationServiceLevelObjectiveID *uuid.UUID `json:"disasterPlanBasedRecommendationServiceLevelObjectiveId,omitempty"` OverallRecommendationServiceLevelObjective *string `json:"overallRecommendationServiceLevelObjective,omitempty"` OverallRecommendationServiceLevelObjectiveID *uuid.UUID `json:"overallRecommendationServiceLevelObjectiveId,omitempty"` Confidence *float64 `json:"confidence,omitempty"` }
ServiceTierAdvisorProperties is represents the properties of a Service Tier Advisor.
type ServiceTierAdvisorsClient ¶
type ServiceTierAdvisorsClient struct {
ManagementClient
}
ServiceTierAdvisorsClient is the the Azure SQL Database management API provides a RESTful set of web services that interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, and delete databases.
func NewServiceTierAdvisorsClient ¶
func NewServiceTierAdvisorsClient(subscriptionID string) ServiceTierAdvisorsClient
NewServiceTierAdvisorsClient creates an instance of the ServiceTierAdvisorsClient client.
func NewServiceTierAdvisorsClientWithBaseURI ¶
func NewServiceTierAdvisorsClientWithBaseURI(baseURI string, subscriptionID string) ServiceTierAdvisorsClient
NewServiceTierAdvisorsClientWithBaseURI creates an instance of the ServiceTierAdvisorsClient client.
func (ServiceTierAdvisorsClient) Get ¶
func (client ServiceTierAdvisorsClient) Get(resourceGroupName string, serverName string, databaseName string, serviceTierAdvisorName string) (result ServiceTierAdvisor, err error)
Get gets a service tier advisor.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. databaseName is the name of database. serviceTierAdvisorName is the name of service tier advisor.
func (ServiceTierAdvisorsClient) GetPreparer ¶
func (client ServiceTierAdvisorsClient) GetPreparer(resourceGroupName string, serverName string, databaseName string, serviceTierAdvisorName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ServiceTierAdvisorsClient) GetResponder ¶
func (client ServiceTierAdvisorsClient) GetResponder(resp *http.Response) (result ServiceTierAdvisor, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ServiceTierAdvisorsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ServiceTierAdvisorsClient) ListByDatabase ¶
func (client ServiceTierAdvisorsClient) ListByDatabase(resourceGroupName string, serverName string, databaseName string) (result ServiceTierAdvisorListResult, err error)
ListByDatabase returns service tier advisors for specified database.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. databaseName is the name of database.
func (ServiceTierAdvisorsClient) ListByDatabasePreparer ¶
func (client ServiceTierAdvisorsClient) ListByDatabasePreparer(resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (ServiceTierAdvisorsClient) ListByDatabaseResponder ¶
func (client ServiceTierAdvisorsClient) ListByDatabaseResponder(resp *http.Response) (result ServiceTierAdvisorListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (ServiceTierAdvisorsClient) ListByDatabaseSender ¶
func (client ServiceTierAdvisorsClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
ListByDatabaseSender sends the ListByDatabase request. The method will close the http.Response Body if it receives an error.
type SloUsageMetric ¶
type SloUsageMetric struct { ServiceLevelObjective ServiceObjectiveName `json:"serviceLevelObjective,omitempty"` ServiceLevelObjectiveID *uuid.UUID `json:"serviceLevelObjectiveId,omitempty"` InRangeTimeRatio *float64 `json:"inRangeTimeRatio,omitempty"` }
SloUsageMetric is a Slo Usage Metric.
type StorageKeyType ¶
type StorageKeyType string
StorageKeyType enumerates the values for storage key type.
const ( StorageKeyType = "SharedAccessKey" // StorageAccessKey specifies the storage access key state for storage key type. StorageAccessKey StorageKeyType = "StorageAccessKey" )SharedAccessKey
type TrackedResource ¶
type TrackedResource struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` Location *string `json:"location,omitempty"` }
TrackedResource is ARM tracked top level resource.
type TransparentDataEncryption ¶
type TransparentDataEncryption struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` *TransparentDataEncryptionProperties `json:"properties,omitempty"` }
TransparentDataEncryption is represents a database transparent data encryption configuration.
type TransparentDataEncryptionActivitiesClient ¶
type TransparentDataEncryptionActivitiesClient struct {
ManagementClient
}
TransparentDataEncryptionActivitiesClient is the the Azure SQL Database management API provides a RESTful set of web services that interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, and delete databases.
func NewTransparentDataEncryptionActivitiesClient ¶
func NewTransparentDataEncryptionActivitiesClient(subscriptionID string) TransparentDataEncryptionActivitiesClient
NewTransparentDataEncryptionActivitiesClient creates an instance of the TransparentDataEncryptionActivitiesClient client.
func NewTransparentDataEncryptionActivitiesClientWithBaseURI ¶
func NewTransparentDataEncryptionActivitiesClientWithBaseURI(baseURI string, subscriptionID string) TransparentDataEncryptionActivitiesClient
NewTransparentDataEncryptionActivitiesClientWithBaseURI creates an instance of the TransparentDataEncryptionActivitiesClient client.
func (TransparentDataEncryptionActivitiesClient) ListByConfiguration ¶
func (client TransparentDataEncryptionActivitiesClient) ListByConfiguration(resourceGroupName string, serverName string, databaseName string, transparentDataEncryptionName string) (result TransparentDataEncryptionActivityListResult, err error)
ListByConfiguration returns a database's transparent data encryption operation result.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. databaseName is the name of the database for which the transparent data encryption applies. transparentDataEncryptionName is the name of the transparent data encryption configuration.
func (TransparentDataEncryptionActivitiesClient) ListByConfigurationPreparer ¶
func (client TransparentDataEncryptionActivitiesClient) ListByConfigurationPreparer(resourceGroupName string, serverName string, databaseName string, transparentDataEncryptionName string) (*http.Request, error)
ListByConfigurationPreparer prepares the ListByConfiguration request.
func (TransparentDataEncryptionActivitiesClient) ListByConfigurationResponder ¶
func (client TransparentDataEncryptionActivitiesClient) ListByConfigurationResponder(resp *http.Response) (result TransparentDataEncryptionActivityListResult, err error)
ListByConfigurationResponder handles the response to the ListByConfiguration request. The method always closes the http.Response Body.
func (TransparentDataEncryptionActivitiesClient) ListByConfigurationSender ¶
func (client TransparentDataEncryptionActivitiesClient) ListByConfigurationSender(req *http.Request) (*http.Response, error)
ListByConfigurationSender sends the ListByConfiguration request. The method will close the http.Response Body if it receives an error.
type TransparentDataEncryptionActivity ¶
type TransparentDataEncryptionActivity struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` *TransparentDataEncryptionActivityProperties `json:"properties,omitempty"` }
TransparentDataEncryptionActivity is represents a database transparent data encryption Scan.
type TransparentDataEncryptionActivityListResult ¶
type TransparentDataEncryptionActivityListResult struct { autorest.Response `json:"-"` Value *[]TransparentDataEncryptionActivity `json:"value,omitempty"` }
TransparentDataEncryptionActivityListResult is represents the response to a list database transparent data encryption activity request.
type TransparentDataEncryptionActivityProperties ¶
type TransparentDataEncryptionActivityProperties struct { Status TransparentDataEncryptionActivityStatus `json:"status,omitempty"` PercentComplete *float64 `json:"percentComplete,omitempty"` }
TransparentDataEncryptionActivityProperties is represents the properties of a database transparent data encryption Scan.
type TransparentDataEncryptionActivityStatus ¶
type TransparentDataEncryptionActivityStatus string
TransparentDataEncryptionActivityStatus enumerates the values for transparent data encryption activity status.
const ( // Decrypting specifies the decrypting state for transparent data encryption activity status. Decrypting TransparentDataEncryptionActivityStatus = "Decrypting" // Encrypting specifies the encrypting state for transparent data encryption activity status. Encrypting TransparentDataEncryptionActivityStatus = "Encrypting" )
type TransparentDataEncryptionProperties ¶
type TransparentDataEncryptionProperties struct {
Status TransparentDataEncryptionStatus `json:"status,omitempty"`
}
TransparentDataEncryptionProperties is represents the properties of a database transparent data encryption.
type TransparentDataEncryptionStatus ¶
type TransparentDataEncryptionStatus string
TransparentDataEncryptionStatus enumerates the values for transparent data encryption status.
const ( // TransparentDataEncryptionStatusDisabled specifies the transparent data encryption status disabled state for // transparent data encryption status. TransparentDataEncryptionStatusDisabled TransparentDataEncryptionStatus = "Disabled" // TransparentDataEncryptionStatusEnabled specifies the transparent data encryption status enabled state for // transparent data encryption status. TransparentDataEncryptionStatusEnabled TransparentDataEncryptionStatus = "Enabled" )
type TransparentDataEncryptionsClient ¶
type TransparentDataEncryptionsClient struct {
ManagementClient
}
TransparentDataEncryptionsClient is the the Azure SQL Database management API provides a RESTful set of web services that interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, and delete databases.
func NewTransparentDataEncryptionsClient ¶
func NewTransparentDataEncryptionsClient(subscriptionID string) TransparentDataEncryptionsClient
NewTransparentDataEncryptionsClient creates an instance of the TransparentDataEncryptionsClient client.
func NewTransparentDataEncryptionsClientWithBaseURI ¶
func NewTransparentDataEncryptionsClientWithBaseURI(baseURI string, subscriptionID string) TransparentDataEncryptionsClient
NewTransparentDataEncryptionsClientWithBaseURI creates an instance of the TransparentDataEncryptionsClient client.
func (TransparentDataEncryptionsClient) CreateOrUpdate ¶
func (client TransparentDataEncryptionsClient) CreateOrUpdate(resourceGroupName string, serverName string, databaseName string, transparentDataEncryptionName string, parameters TransparentDataEncryption) (result TransparentDataEncryption, err error)
CreateOrUpdate creates or updates a database's transparent data encryption configuration.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. databaseName is the name of the database for which setting the transparent data encryption applies. transparentDataEncryptionName is the name of the transparent data encryption configuration. parameters is the required parameters for creating or updating transparent data encryption.
func (TransparentDataEncryptionsClient) CreateOrUpdatePreparer ¶
func (client TransparentDataEncryptionsClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, databaseName string, transparentDataEncryptionName string, parameters TransparentDataEncryption) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (TransparentDataEncryptionsClient) CreateOrUpdateResponder ¶
func (client TransparentDataEncryptionsClient) CreateOrUpdateResponder(resp *http.Response) (result TransparentDataEncryption, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (TransparentDataEncryptionsClient) CreateOrUpdateSender ¶
func (client TransparentDataEncryptionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (TransparentDataEncryptionsClient) Get ¶
func (client TransparentDataEncryptionsClient) Get(resourceGroupName string, serverName string, databaseName string, transparentDataEncryptionName string) (result TransparentDataEncryption, err error)
Get gets a database's transparent data encryption configuration.
resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName is the name of the server. databaseName is the name of the database for which the transparent data encryption applies. transparentDataEncryptionName is the name of the transparent data encryption configuration.
func (TransparentDataEncryptionsClient) GetPreparer ¶
func (client TransparentDataEncryptionsClient) GetPreparer(resourceGroupName string, serverName string, databaseName string, transparentDataEncryptionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (TransparentDataEncryptionsClient) GetResponder ¶
func (client TransparentDataEncryptionsClient) GetResponder(resp *http.Response) (result TransparentDataEncryption, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
Source Files ¶
- client.go
- databases.go
- databasethreatdetectionpolicies.go
- elasticpoolactivities.go
- elasticpooldatabaseactivities.go
- elasticpools.go
- firewallrules.go
- models.go
- recommendedelasticpools.go
- replicationlinks.go
- servers.go
- servicetieradvisors.go
- transparentdataencryptionactivities.go
- transparentdataencryptions.go
- version.go