Documentation ¶
Overview ¶
Package sql implements the Azure ARM Sql service API version .
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 BackupLongTermRetentionPoliciesClient
- func (client BackupLongTermRetentionPoliciesClient) CreateOrUpdate(resourceGroupName string, serverName string, databaseName string, ...) (<-chan BackupLongTermRetentionPolicy, <-chan error)
- func (client BackupLongTermRetentionPoliciesClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client BackupLongTermRetentionPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result BackupLongTermRetentionPolicy, err error)
- func (client BackupLongTermRetentionPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client BackupLongTermRetentionPoliciesClient) Get(resourceGroupName string, serverName string, databaseName string, ...) (result BackupLongTermRetentionPolicy, err error)
- func (client BackupLongTermRetentionPoliciesClient) GetPreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client BackupLongTermRetentionPoliciesClient) GetResponder(resp *http.Response) (result BackupLongTermRetentionPolicy, err error)
- func (client BackupLongTermRetentionPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- type BackupLongTermRetentionPolicy
- type BackupLongTermRetentionPolicyProperties
- type BackupLongTermRetentionPolicyState
- type BackupLongTermRetentionVault
- type BackupLongTermRetentionVaultProperties
- type BackupLongTermRetentionVaultsClient
- func (client BackupLongTermRetentionVaultsClient) CreateOrUpdate(resourceGroupName string, serverName string, ...) (<-chan BackupLongTermRetentionVault, <-chan error)
- func (client BackupLongTermRetentionVaultsClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client BackupLongTermRetentionVaultsClient) CreateOrUpdateResponder(resp *http.Response) (result BackupLongTermRetentionVault, err error)
- func (client BackupLongTermRetentionVaultsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client BackupLongTermRetentionVaultsClient) Get(resourceGroupName string, serverName string, ...) (result BackupLongTermRetentionVault, err error)
- func (client BackupLongTermRetentionVaultsClient) GetPreparer(resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client BackupLongTermRetentionVaultsClient) GetResponder(resp *http.Response) (result BackupLongTermRetentionVault, err error)
- func (client BackupLongTermRetentionVaultsClient) GetSender(req *http.Request) (*http.Response, error)
- type BlobAuditingPolicyState
- type CapabilitiesClient
- func (client CapabilitiesClient) ListByLocation(locationID string) (result LocationCapabilities, err error)
- func (client CapabilitiesClient) ListByLocationPreparer(locationID string) (*http.Request, error)
- func (client CapabilitiesClient) ListByLocationResponder(resp *http.Response) (result LocationCapabilities, err error)
- func (client CapabilitiesClient) ListByLocationSender(req *http.Request) (*http.Response, error)
- type CapabilityStatus
- type CheckNameAvailabilityReason
- type CheckNameAvailabilityRequest
- type CheckNameAvailabilityResponse
- type CreateMode
- type DataMaskingFunction
- type DataMaskingPoliciesClient
- func (client DataMaskingPoliciesClient) CreateOrUpdate(resourceGroupName string, serverName string, databaseName string, ...) (result DataMaskingPolicy, err error)
- func (client DataMaskingPoliciesClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client DataMaskingPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result DataMaskingPolicy, err error)
- func (client DataMaskingPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client DataMaskingPoliciesClient) Get(resourceGroupName string, serverName string, databaseName string, ...) (result DataMaskingPolicy, err error)
- func (client DataMaskingPoliciesClient) GetPreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client DataMaskingPoliciesClient) GetResponder(resp *http.Response) (result DataMaskingPolicy, err error)
- func (client DataMaskingPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- type DataMaskingPolicy
- type DataMaskingPolicyProperties
- type DataMaskingRule
- type DataMaskingRuleListResult
- type DataMaskingRuleProperties
- type DataMaskingRuleState
- type DataMaskingRulesClient
- func (client DataMaskingRulesClient) CreateOrUpdate(resourceGroupName string, serverName string, databaseName string, ...) (result DataMaskingRule, err error)
- func (client DataMaskingRulesClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client DataMaskingRulesClient) CreateOrUpdateResponder(resp *http.Response) (result DataMaskingRule, err error)
- func (client DataMaskingRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client DataMaskingRulesClient) ListByDatabase(resourceGroupName string, serverName string, databaseName string, ...) (result DataMaskingRuleListResult, err error)
- func (client DataMaskingRulesClient) ListByDatabasePreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client DataMaskingRulesClient) ListByDatabaseResponder(resp *http.Response) (result DataMaskingRuleListResult, err error)
- func (client DataMaskingRulesClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- type DataMaskingState
- type Database
- type DatabaseBlobAuditingPoliciesClient
- func (client DatabaseBlobAuditingPoliciesClient) CreateOrUpdate(resourceGroupName string, serverName string, databaseName string, ...) (result DatabaseBlobAuditingPolicy, err error)
- func (client DatabaseBlobAuditingPoliciesClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client DatabaseBlobAuditingPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result DatabaseBlobAuditingPolicy, err error)
- func (client DatabaseBlobAuditingPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client DatabaseBlobAuditingPoliciesClient) Get(resourceGroupName string, serverName string, databaseName string, ...) (result DatabaseBlobAuditingPolicy, err error)
- func (client DatabaseBlobAuditingPoliciesClient) GetPreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client DatabaseBlobAuditingPoliciesClient) GetResponder(resp *http.Response) (result DatabaseBlobAuditingPolicy, err error)
- func (client DatabaseBlobAuditingPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- type DatabaseBlobAuditingPolicy
- type DatabaseBlobAuditingPolicyProperties
- type DatabaseEdition
- type DatabaseListResult
- type DatabaseOperation
- type DatabaseOperationListResult
- type DatabaseOperationProperties
- type DatabaseOperationsClient
- func (client DatabaseOperationsClient) Cancel(resourceGroupName string, serverName string, databaseName string, ...) (result autorest.Response, err error)
- func (client DatabaseOperationsClient) CancelPreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client DatabaseOperationsClient) CancelResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DatabaseOperationsClient) CancelSender(req *http.Request) (*http.Response, error)
- func (client DatabaseOperationsClient) ListByDatabase(resourceGroupName string, serverName string, databaseName string) (result DatabaseOperationListResult, err error)
- func (client DatabaseOperationsClient) ListByDatabaseComplete(resourceGroupName string, serverName string, databaseName string, ...) (<-chan DatabaseOperation, <-chan error)
- func (client DatabaseOperationsClient) ListByDatabaseNextResults(lastResults DatabaseOperationListResult) (result DatabaseOperationListResult, err error)
- func (client DatabaseOperationsClient) ListByDatabasePreparer(resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
- func (client DatabaseOperationsClient) ListByDatabaseResponder(resp *http.Response) (result DatabaseOperationListResult, err error)
- func (client DatabaseOperationsClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- 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 DatabaseUsage
- type DatabaseUsageListResult
- type DatabaseUsagesClient
- func (client DatabaseUsagesClient) ListByDatabase(resourceGroupName string, serverName string, databaseName string) (result DatabaseUsageListResult, err error)
- func (client DatabaseUsagesClient) ListByDatabasePreparer(resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
- func (client DatabaseUsagesClient) ListByDatabaseResponder(resp *http.Response) (result DatabaseUsageListResult, err error)
- func (client DatabaseUsagesClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- 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) ListMetricDefinitions(resourceGroupName string, serverName string, databaseName string) (result MetricDefinitionListResult, err error)
- func (client DatabasesClient) ListMetricDefinitionsPreparer(resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
- func (client DatabasesClient) ListMetricDefinitionsResponder(resp *http.Response) (result MetricDefinitionListResult, err error)
- func (client DatabasesClient) ListMetricDefinitionsSender(req *http.Request) (*http.Response, error)
- func (client DatabasesClient) ListMetrics(resourceGroupName string, serverName string, databaseName string, ...) (result MetricListResult, err error)
- func (client DatabasesClient) ListMetricsPreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client DatabasesClient) ListMetricsResponder(resp *http.Response) (result MetricListResult, err error)
- func (client DatabasesClient) ListMetricsSender(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 EditionCapability
- 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 ElasticPoolDtuCapability
- type ElasticPoolEdition
- type ElasticPoolEditionCapability
- type ElasticPoolListResult
- type ElasticPoolPerDatabaseMaxDtuCapability
- type ElasticPoolPerDatabaseMinDtuCapability
- 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) ListMetricDefinitions(resourceGroupName string, serverName string, elasticPoolName string) (result MetricDefinitionListResult, err error)
- func (client ElasticPoolsClient) ListMetricDefinitionsPreparer(resourceGroupName string, serverName string, elasticPoolName string) (*http.Request, error)
- func (client ElasticPoolsClient) ListMetricDefinitionsResponder(resp *http.Response) (result MetricDefinitionListResult, err error)
- func (client ElasticPoolsClient) ListMetricDefinitionsSender(req *http.Request) (*http.Response, error)
- func (client ElasticPoolsClient) ListMetrics(resourceGroupName string, serverName string, elasticPoolName string, ...) (result MetricListResult, err error)
- func (client ElasticPoolsClient) ListMetricsPreparer(resourceGroupName string, serverName string, elasticPoolName string, ...) (*http.Request, error)
- func (client ElasticPoolsClient) ListMetricsResponder(resp *http.Response) (result MetricListResult, err error)
- func (client ElasticPoolsClient) ListMetricsSender(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 EncryptionProtector
- type EncryptionProtectorListResult
- type EncryptionProtectorProperties
- type EncryptionProtectorsClient
- func (client EncryptionProtectorsClient) CreateOrUpdate(resourceGroupName string, serverName string, encryptionProtectorName string, ...) (<-chan EncryptionProtector, <-chan error)
- func (client EncryptionProtectorsClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, encryptionProtectorName string, ...) (*http.Request, error)
- func (client EncryptionProtectorsClient) CreateOrUpdateResponder(resp *http.Response) (result EncryptionProtector, err error)
- func (client EncryptionProtectorsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client EncryptionProtectorsClient) Get(resourceGroupName string, serverName string, encryptionProtectorName string) (result EncryptionProtector, err error)
- func (client EncryptionProtectorsClient) GetPreparer(resourceGroupName string, serverName string, encryptionProtectorName string) (*http.Request, error)
- func (client EncryptionProtectorsClient) GetResponder(resp *http.Response) (result EncryptionProtector, err error)
- func (client EncryptionProtectorsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client EncryptionProtectorsClient) ListByServer(resourceGroupName string, serverName string) (result EncryptionProtectorListResult, err error)
- func (client EncryptionProtectorsClient) ListByServerComplete(resourceGroupName string, serverName string, cancel <-chan struct{}) (<-chan EncryptionProtector, <-chan error)
- func (client EncryptionProtectorsClient) ListByServerNextResults(lastResults EncryptionProtectorListResult) (result EncryptionProtectorListResult, err error)
- func (client EncryptionProtectorsClient) ListByServerPreparer(resourceGroupName string, serverName string) (*http.Request, error)
- func (client EncryptionProtectorsClient) ListByServerResponder(resp *http.Response) (result EncryptionProtectorListResult, err error)
- func (client EncryptionProtectorsClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type ExportRequest
- type FailoverGroup
- type FailoverGroupListResult
- type FailoverGroupProperties
- type FailoverGroupReadOnlyEndpoint
- type FailoverGroupReadWriteEndpoint
- type FailoverGroupReplicationRole
- type FailoverGroupUpdate
- type FailoverGroupUpdateProperties
- type FailoverGroupsClient
- func (client FailoverGroupsClient) CreateOrUpdate(resourceGroupName string, serverName string, failoverGroupName string, ...) (<-chan FailoverGroup, <-chan error)
- func (client FailoverGroupsClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, failoverGroupName string, ...) (*http.Request, error)
- func (client FailoverGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result FailoverGroup, err error)
- func (client FailoverGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client FailoverGroupsClient) Delete(resourceGroupName string, serverName string, failoverGroupName string, ...) (<-chan autorest.Response, <-chan error)
- func (client FailoverGroupsClient) DeletePreparer(resourceGroupName string, serverName string, failoverGroupName string, ...) (*http.Request, error)
- func (client FailoverGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client FailoverGroupsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client FailoverGroupsClient) Failover(resourceGroupName string, serverName string, failoverGroupName string, ...) (<-chan FailoverGroup, <-chan error)
- func (client FailoverGroupsClient) FailoverPreparer(resourceGroupName string, serverName string, failoverGroupName string, ...) (*http.Request, error)
- func (client FailoverGroupsClient) FailoverResponder(resp *http.Response) (result FailoverGroup, err error)
- func (client FailoverGroupsClient) FailoverSender(req *http.Request) (*http.Response, error)
- func (client FailoverGroupsClient) ForceFailoverAllowDataLoss(resourceGroupName string, serverName string, failoverGroupName string, ...) (<-chan FailoverGroup, <-chan error)
- func (client FailoverGroupsClient) ForceFailoverAllowDataLossPreparer(resourceGroupName string, serverName string, failoverGroupName string, ...) (*http.Request, error)
- func (client FailoverGroupsClient) ForceFailoverAllowDataLossResponder(resp *http.Response) (result FailoverGroup, err error)
- func (client FailoverGroupsClient) ForceFailoverAllowDataLossSender(req *http.Request) (*http.Response, error)
- func (client FailoverGroupsClient) Get(resourceGroupName string, serverName string, failoverGroupName string) (result FailoverGroup, err error)
- func (client FailoverGroupsClient) GetPreparer(resourceGroupName string, serverName string, failoverGroupName string) (*http.Request, error)
- func (client FailoverGroupsClient) GetResponder(resp *http.Response) (result FailoverGroup, err error)
- func (client FailoverGroupsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client FailoverGroupsClient) ListByServer(resourceGroupName string, serverName string) (result FailoverGroupListResult, err error)
- func (client FailoverGroupsClient) ListByServerComplete(resourceGroupName string, serverName string, cancel <-chan struct{}) (<-chan FailoverGroup, <-chan error)
- func (client FailoverGroupsClient) ListByServerNextResults(lastResults FailoverGroupListResult) (result FailoverGroupListResult, err error)
- func (client FailoverGroupsClient) ListByServerPreparer(resourceGroupName string, serverName string) (*http.Request, error)
- func (client FailoverGroupsClient) ListByServerResponder(resp *http.Response) (result FailoverGroupListResult, err error)
- func (client FailoverGroupsClient) ListByServerSender(req *http.Request) (*http.Response, error)
- func (client FailoverGroupsClient) Update(resourceGroupName string, serverName string, failoverGroupName string, ...) (<-chan FailoverGroup, <-chan error)
- func (client FailoverGroupsClient) UpdatePreparer(resourceGroupName string, serverName string, failoverGroupName string, ...) (*http.Request, error)
- func (client FailoverGroupsClient) UpdateResponder(resp *http.Response) (result FailoverGroup, err error)
- func (client FailoverGroupsClient) UpdateSender(req *http.Request) (*http.Response, error)
- 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 GeoBackupPoliciesClient
- func (client GeoBackupPoliciesClient) CreateOrUpdate(resourceGroupName string, serverName string, databaseName string, ...) (result GeoBackupPolicy, err error)
- func (client GeoBackupPoliciesClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client GeoBackupPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result GeoBackupPolicy, err error)
- func (client GeoBackupPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client GeoBackupPoliciesClient) Get(resourceGroupName string, serverName string, databaseName string, ...) (result GeoBackupPolicy, err error)
- func (client GeoBackupPoliciesClient) GetPreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client GeoBackupPoliciesClient) GetResponder(resp *http.Response) (result GeoBackupPolicy, err error)
- func (client GeoBackupPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client GeoBackupPoliciesClient) ListByDatabase(resourceGroupName string, serverName string, databaseName string) (result GeoBackupPolicyListResult, err error)
- func (client GeoBackupPoliciesClient) ListByDatabasePreparer(resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
- func (client GeoBackupPoliciesClient) ListByDatabaseResponder(resp *http.Response) (result GeoBackupPolicyListResult, err error)
- func (client GeoBackupPoliciesClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- type GeoBackupPolicy
- type GeoBackupPolicyListResult
- type GeoBackupPolicyProperties
- type GeoBackupPolicyState
- type IdentityType
- type ImportExportResponse
- type ImportExportResponseProperties
- type ImportExtensionProperties
- type ImportExtensionRequest
- type ImportRequest
- type LocationCapabilities
- type ManagementClient
- type ManagementOperationState
- type MaxSizeCapability
- type MaxSizeUnits
- type Metric
- type MetricAvailability
- type MetricDefinition
- type MetricDefinitionListResult
- type MetricListResult
- type MetricName
- type MetricValue
- type Operation
- type OperationDisplay
- type OperationImpact
- type OperationListResult
- type OperationOrigin
- type OperationsClient
- func (client OperationsClient) List() (result OperationListResult, err error)
- func (client OperationsClient) ListComplete(cancel <-chan struct{}) (<-chan Operation, <-chan error)
- func (client OperationsClient) ListNextResults(lastResults OperationListResult) (result OperationListResult, err error)
- func (client OperationsClient) ListPreparer() (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type PartnerInfo
- type PerformanceLevel
- type PerformanceLevelUnit
- type PrimaryAggregationType
- type ProxyResource
- type ReadOnlyEndpointFailoverPolicy
- type ReadScale
- type ReadWriteEndpointFailoverPolicy
- 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 RecoverableDatabase
- type RecoverableDatabaseListResult
- type RecoverableDatabaseProperties
- type RecoverableDatabasesClient
- func (client RecoverableDatabasesClient) Get(resourceGroupName string, serverName string, databaseName string) (result RecoverableDatabase, err error)
- func (client RecoverableDatabasesClient) GetPreparer(resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
- func (client RecoverableDatabasesClient) GetResponder(resp *http.Response) (result RecoverableDatabase, err error)
- func (client RecoverableDatabasesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client RecoverableDatabasesClient) ListByServer(resourceGroupName string, serverName string) (result RecoverableDatabaseListResult, err error)
- func (client RecoverableDatabasesClient) ListByServerPreparer(resourceGroupName string, serverName string) (*http.Request, error)
- func (client RecoverableDatabasesClient) ListByServerResponder(resp *http.Response) (result RecoverableDatabaseListResult, err error)
- func (client RecoverableDatabasesClient) ListByServerSender(req *http.Request) (*http.Response, error)
- 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 ResourceIdentity
- type RestorableDroppedDatabase
- type RestorableDroppedDatabaseListResult
- type RestorableDroppedDatabaseProperties
- type RestorableDroppedDatabasesClient
- func (client RestorableDroppedDatabasesClient) Get(resourceGroupName string, serverName string, ...) (result RestorableDroppedDatabase, err error)
- func (client RestorableDroppedDatabasesClient) GetPreparer(resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client RestorableDroppedDatabasesClient) GetResponder(resp *http.Response) (result RestorableDroppedDatabase, err error)
- func (client RestorableDroppedDatabasesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client RestorableDroppedDatabasesClient) ListByServer(resourceGroupName string, serverName string) (result RestorableDroppedDatabaseListResult, err error)
- func (client RestorableDroppedDatabasesClient) ListByServerPreparer(resourceGroupName string, serverName string) (*http.Request, error)
- func (client RestorableDroppedDatabasesClient) ListByServerResponder(resp *http.Response) (result RestorableDroppedDatabaseListResult, err error)
- func (client RestorableDroppedDatabasesClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type RestorePoint
- type RestorePointListResult
- type RestorePointProperties
- type RestorePointType
- type RestorePointsClient
- func (client RestorePointsClient) ListByDatabase(resourceGroupName string, serverName string, databaseName string) (result RestorePointListResult, err error)
- func (client RestorePointsClient) ListByDatabasePreparer(resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
- func (client RestorePointsClient) ListByDatabaseResponder(resp *http.Response) (result RestorePointListResult, err error)
- func (client RestorePointsClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- type SampleName
- type SecurityAlertPolicyEmailAccountAdmins
- type SecurityAlertPolicyState
- type SecurityAlertPolicyUseServerDefault
- type Server
- type ServerAdministratorListResult
- type ServerAdministratorProperties
- type ServerAzureADAdministrator
- type ServerAzureADAdministratorsClient
- func (client ServerAzureADAdministratorsClient) CreateOrUpdate(resourceGroupName string, serverName string, administratorName string, ...) (<-chan ServerAzureADAdministrator, <-chan error)
- func (client ServerAzureADAdministratorsClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, administratorName string, ...) (*http.Request, error)
- func (client ServerAzureADAdministratorsClient) CreateOrUpdateResponder(resp *http.Response) (result ServerAzureADAdministrator, err error)
- func (client ServerAzureADAdministratorsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ServerAzureADAdministratorsClient) Delete(resourceGroupName string, serverName string, administratorName string, ...) (<-chan ServerAzureADAdministrator, <-chan error)
- func (client ServerAzureADAdministratorsClient) DeletePreparer(resourceGroupName string, serverName string, administratorName string, ...) (*http.Request, error)
- func (client ServerAzureADAdministratorsClient) DeleteResponder(resp *http.Response) (result ServerAzureADAdministrator, err error)
- func (client ServerAzureADAdministratorsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ServerAzureADAdministratorsClient) Get(resourceGroupName string, serverName string, administratorName string) (result ServerAzureADAdministrator, err error)
- func (client ServerAzureADAdministratorsClient) GetPreparer(resourceGroupName string, serverName string, administratorName string) (*http.Request, error)
- func (client ServerAzureADAdministratorsClient) GetResponder(resp *http.Response) (result ServerAzureADAdministrator, err error)
- func (client ServerAzureADAdministratorsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ServerAzureADAdministratorsClient) ListByServer(resourceGroupName string, serverName string) (result ServerAdministratorListResult, err error)
- func (client ServerAzureADAdministratorsClient) ListByServerPreparer(resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServerAzureADAdministratorsClient) ListByServerResponder(resp *http.Response) (result ServerAdministratorListResult, err error)
- func (client ServerAzureADAdministratorsClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type ServerCommunicationLink
- type ServerCommunicationLinkListResult
- type ServerCommunicationLinkProperties
- type ServerCommunicationLinksClient
- func (client ServerCommunicationLinksClient) CreateOrUpdate(resourceGroupName string, serverName string, communicationLinkName string, ...) (<-chan ServerCommunicationLink, <-chan error)
- func (client ServerCommunicationLinksClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, communicationLinkName string, ...) (*http.Request, error)
- func (client ServerCommunicationLinksClient) CreateOrUpdateResponder(resp *http.Response) (result ServerCommunicationLink, err error)
- func (client ServerCommunicationLinksClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ServerCommunicationLinksClient) Delete(resourceGroupName string, serverName string, communicationLinkName string) (result autorest.Response, err error)
- func (client ServerCommunicationLinksClient) DeletePreparer(resourceGroupName string, serverName string, communicationLinkName string) (*http.Request, error)
- func (client ServerCommunicationLinksClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ServerCommunicationLinksClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ServerCommunicationLinksClient) Get(resourceGroupName string, serverName string, communicationLinkName string) (result ServerCommunicationLink, err error)
- func (client ServerCommunicationLinksClient) GetPreparer(resourceGroupName string, serverName string, communicationLinkName string) (*http.Request, error)
- func (client ServerCommunicationLinksClient) GetResponder(resp *http.Response) (result ServerCommunicationLink, err error)
- func (client ServerCommunicationLinksClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ServerCommunicationLinksClient) ListByServer(resourceGroupName string, serverName string) (result ServerCommunicationLinkListResult, err error)
- func (client ServerCommunicationLinksClient) ListByServerPreparer(resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServerCommunicationLinksClient) ListByServerResponder(resp *http.Response) (result ServerCommunicationLinkListResult, err error)
- func (client ServerCommunicationLinksClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type ServerConnectionPoliciesClient
- func (client ServerConnectionPoliciesClient) CreateOrUpdate(resourceGroupName string, serverName string, connectionPolicyName string, ...) (result ServerConnectionPolicy, err error)
- func (client ServerConnectionPoliciesClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, connectionPolicyName string, ...) (*http.Request, error)
- func (client ServerConnectionPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ServerConnectionPolicy, err error)
- func (client ServerConnectionPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ServerConnectionPoliciesClient) Get(resourceGroupName string, serverName string, connectionPolicyName string) (result ServerConnectionPolicy, err error)
- func (client ServerConnectionPoliciesClient) GetPreparer(resourceGroupName string, serverName string, connectionPolicyName string) (*http.Request, error)
- func (client ServerConnectionPoliciesClient) GetResponder(resp *http.Response) (result ServerConnectionPolicy, err error)
- func (client ServerConnectionPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- type ServerConnectionPolicy
- type ServerConnectionPolicyProperties
- type ServerConnectionType
- type ServerKey
- type ServerKeyListResult
- type ServerKeyProperties
- type ServerKeyType
- type ServerKeysClient
- func (client ServerKeysClient) CreateOrUpdate(resourceGroupName string, serverName string, keyName string, ...) (<-chan ServerKey, <-chan error)
- func (client ServerKeysClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, keyName string, ...) (*http.Request, error)
- func (client ServerKeysClient) CreateOrUpdateResponder(resp *http.Response) (result ServerKey, err error)
- func (client ServerKeysClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ServerKeysClient) Delete(resourceGroupName string, serverName string, keyName string, ...) (<-chan autorest.Response, <-chan error)
- func (client ServerKeysClient) DeletePreparer(resourceGroupName string, serverName string, keyName string, ...) (*http.Request, error)
- func (client ServerKeysClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ServerKeysClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ServerKeysClient) Get(resourceGroupName string, serverName string, keyName string) (result ServerKey, err error)
- func (client ServerKeysClient) GetPreparer(resourceGroupName string, serverName string, keyName string) (*http.Request, error)
- func (client ServerKeysClient) GetResponder(resp *http.Response) (result ServerKey, err error)
- func (client ServerKeysClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ServerKeysClient) ListByServer(resourceGroupName string, serverName string) (result ServerKeyListResult, err error)
- func (client ServerKeysClient) ListByServerComplete(resourceGroupName string, serverName string, cancel <-chan struct{}) (<-chan ServerKey, <-chan error)
- func (client ServerKeysClient) ListByServerNextResults(lastResults ServerKeyListResult) (result ServerKeyListResult, err error)
- func (client ServerKeysClient) ListByServerPreparer(resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServerKeysClient) ListByServerResponder(resp *http.Response) (result ServerKeyListResult, err error)
- func (client ServerKeysClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type ServerListResult
- type ServerProperties
- type ServerUpdate
- type ServerUsage
- type ServerUsageListResult
- type ServerUsagesClient
- func (client ServerUsagesClient) ListByServer(resourceGroupName string, serverName string) (result ServerUsageListResult, err error)
- func (client ServerUsagesClient) ListByServerPreparer(resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServerUsagesClient) ListByServerResponder(resp *http.Response) (result ServerUsageListResult, err error)
- func (client ServerUsagesClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type ServerVersionCapability
- 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)
- func (client ServersClient) CreateOrUpdate(resourceGroupName string, serverName string, parameters Server, ...) (<-chan Server, <-chan error)
- func (client ServersClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, parameters Server, ...) (*http.Request, error)
- func (client ServersClient) CreateOrUpdateResponder(resp *http.Response) (result Server, err error)
- func (client ServersClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ServersClient) Delete(resourceGroupName string, serverName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
- func (client ServersClient) DeletePreparer(resourceGroupName string, serverName string, cancel <-chan struct{}) (*http.Request, error)
- func (client ServersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ServersClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ServersClient) Get(resourceGroupName string, serverName string) (result Server, err error)
- func (client ServersClient) GetPreparer(resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServersClient) GetResponder(resp *http.Response) (result Server, err error)
- func (client ServersClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ServersClient) List() (result ServerListResult, err error)
- func (client ServersClient) ListByResourceGroup(resourceGroupName string) (result ServerListResult, err error)
- func (client ServersClient) ListByResourceGroupComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan Server, <-chan error)
- func (client ServersClient) ListByResourceGroupNextResults(lastResults ServerListResult) (result ServerListResult, err error)
- func (client ServersClient) ListByResourceGroupPreparer(resourceGroupName string) (*http.Request, error)
- func (client ServersClient) ListByResourceGroupResponder(resp *http.Response) (result ServerListResult, err error)
- func (client ServersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client ServersClient) ListComplete(cancel <-chan struct{}) (<-chan Server, <-chan error)
- func (client ServersClient) ListNextResults(lastResults ServerListResult) (result ServerListResult, err error)
- func (client ServersClient) ListPreparer() (*http.Request, error)
- func (client ServersClient) ListResponder(resp *http.Response) (result ServerListResult, err error)
- func (client ServersClient) ListSender(req *http.Request) (*http.Response, error)
- func (client ServersClient) Update(resourceGroupName string, serverName string, parameters ServerUpdate, ...) (<-chan Server, <-chan error)
- func (client ServersClient) UpdatePreparer(resourceGroupName string, serverName string, parameters ServerUpdate, ...) (*http.Request, error)
- func (client ServersClient) UpdateResponder(resp *http.Response) (result Server, err error)
- func (client ServersClient) UpdateSender(req *http.Request) (*http.Response, error)
- type ServiceObjective
- type ServiceObjectiveCapability
- type ServiceObjectiveListResult
- type ServiceObjectiveName
- type ServiceObjectiveProperties
- type ServiceObjectivesClient
- func (client ServiceObjectivesClient) Get(resourceGroupName string, serverName string, serviceObjectiveName string) (result ServiceObjective, err error)
- func (client ServiceObjectivesClient) GetPreparer(resourceGroupName string, serverName string, serviceObjectiveName string) (*http.Request, error)
- func (client ServiceObjectivesClient) GetResponder(resp *http.Response) (result ServiceObjective, err error)
- func (client ServiceObjectivesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ServiceObjectivesClient) ListByServer(resourceGroupName string, serverName string) (result ServiceObjectiveListResult, err error)
- func (client ServiceObjectivesClient) ListByServerPreparer(resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServiceObjectivesClient) ListByServerResponder(resp *http.Response) (result ServiceObjectiveListResult, err error)
- func (client ServiceObjectivesClient) ListByServerSender(req *http.Request) (*http.Response, error)
- 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 SyncAgent
- type SyncAgentKeyProperties
- type SyncAgentLinkedDatabase
- type SyncAgentLinkedDatabaseListResult
- type SyncAgentLinkedDatabaseProperties
- type SyncAgentListResult
- type SyncAgentProperties
- type SyncAgentState
- type SyncAgentsClient
- func (client SyncAgentsClient) CreateOrUpdate(resourceGroupName string, serverName string, syncAgentName string, ...) (<-chan SyncAgent, <-chan error)
- func (client SyncAgentsClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, syncAgentName string, ...) (*http.Request, error)
- func (client SyncAgentsClient) CreateOrUpdateResponder(resp *http.Response) (result SyncAgent, err error)
- func (client SyncAgentsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client SyncAgentsClient) Delete(resourceGroupName string, serverName string, syncAgentName string, ...) (<-chan autorest.Response, <-chan error)
- func (client SyncAgentsClient) DeletePreparer(resourceGroupName string, serverName string, syncAgentName string, ...) (*http.Request, error)
- func (client SyncAgentsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SyncAgentsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client SyncAgentsClient) GenerateKey(resourceGroupName string, serverName string, syncAgentName string) (result SyncAgentKeyProperties, err error)
- func (client SyncAgentsClient) GenerateKeyPreparer(resourceGroupName string, serverName string, syncAgentName string) (*http.Request, error)
- func (client SyncAgentsClient) GenerateKeyResponder(resp *http.Response) (result SyncAgentKeyProperties, err error)
- func (client SyncAgentsClient) GenerateKeySender(req *http.Request) (*http.Response, error)
- func (client SyncAgentsClient) Get(resourceGroupName string, serverName string, syncAgentName string) (result SyncAgent, err error)
- func (client SyncAgentsClient) GetPreparer(resourceGroupName string, serverName string, syncAgentName string) (*http.Request, error)
- func (client SyncAgentsClient) GetResponder(resp *http.Response) (result SyncAgent, err error)
- func (client SyncAgentsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client SyncAgentsClient) ListByServer(resourceGroupName string, serverName string) (result SyncAgentListResult, err error)
- func (client SyncAgentsClient) ListByServerComplete(resourceGroupName string, serverName string, cancel <-chan struct{}) (<-chan SyncAgent, <-chan error)
- func (client SyncAgentsClient) ListByServerNextResults(lastResults SyncAgentListResult) (result SyncAgentListResult, err error)
- func (client SyncAgentsClient) ListByServerPreparer(resourceGroupName string, serverName string) (*http.Request, error)
- func (client SyncAgentsClient) ListByServerResponder(resp *http.Response) (result SyncAgentListResult, err error)
- func (client SyncAgentsClient) ListByServerSender(req *http.Request) (*http.Response, error)
- func (client SyncAgentsClient) ListLinkedDatabases(resourceGroupName string, serverName string, syncAgentName string) (result SyncAgentLinkedDatabaseListResult, err error)
- func (client SyncAgentsClient) ListLinkedDatabasesComplete(resourceGroupName string, serverName string, syncAgentName string, ...) (<-chan SyncAgentLinkedDatabase, <-chan error)
- func (client SyncAgentsClient) ListLinkedDatabasesNextResults(lastResults SyncAgentLinkedDatabaseListResult) (result SyncAgentLinkedDatabaseListResult, err error)
- func (client SyncAgentsClient) ListLinkedDatabasesPreparer(resourceGroupName string, serverName string, syncAgentName string) (*http.Request, error)
- func (client SyncAgentsClient) ListLinkedDatabasesResponder(resp *http.Response) (result SyncAgentLinkedDatabaseListResult, err error)
- func (client SyncAgentsClient) ListLinkedDatabasesSender(req *http.Request) (*http.Response, error)
- type SyncConflictResolutionPolicy
- type SyncDatabaseIDListResult
- type SyncDatabaseIDProperties
- type SyncDirection
- type SyncFullSchemaProperties
- type SyncFullSchemaPropertiesListResult
- type SyncFullSchemaTable
- type SyncFullSchemaTableColumn
- type SyncGroup
- type SyncGroupListResult
- type SyncGroupLogListResult
- type SyncGroupLogProperties
- type SyncGroupLogType
- type SyncGroupProperties
- type SyncGroupSchema
- type SyncGroupSchemaTable
- type SyncGroupSchemaTableColumn
- type SyncGroupState
- type SyncGroupsClient
- func (client SyncGroupsClient) CancelSync(resourceGroupName string, serverName string, databaseName string, ...) (result autorest.Response, err error)
- func (client SyncGroupsClient) CancelSyncPreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client SyncGroupsClient) CancelSyncResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SyncGroupsClient) CancelSyncSender(req *http.Request) (*http.Response, error)
- func (client SyncGroupsClient) CreateOrUpdate(resourceGroupName string, serverName string, databaseName string, ...) (<-chan SyncGroup, <-chan error)
- func (client SyncGroupsClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client SyncGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result SyncGroup, err error)
- func (client SyncGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client SyncGroupsClient) Delete(resourceGroupName string, serverName string, databaseName string, ...) (<-chan autorest.Response, <-chan error)
- func (client SyncGroupsClient) DeletePreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client SyncGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SyncGroupsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client SyncGroupsClient) Get(resourceGroupName string, serverName string, databaseName string, ...) (result SyncGroup, err error)
- func (client SyncGroupsClient) GetPreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client SyncGroupsClient) GetResponder(resp *http.Response) (result SyncGroup, err error)
- func (client SyncGroupsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client SyncGroupsClient) ListByDatabase(resourceGroupName string, serverName string, databaseName string) (result SyncGroupListResult, err error)
- func (client SyncGroupsClient) ListByDatabaseComplete(resourceGroupName string, serverName string, databaseName string, ...) (<-chan SyncGroup, <-chan error)
- func (client SyncGroupsClient) ListByDatabaseNextResults(lastResults SyncGroupListResult) (result SyncGroupListResult, err error)
- func (client SyncGroupsClient) ListByDatabasePreparer(resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
- func (client SyncGroupsClient) ListByDatabaseResponder(resp *http.Response) (result SyncGroupListResult, err error)
- func (client SyncGroupsClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- func (client SyncGroupsClient) ListHubSchemas(resourceGroupName string, serverName string, databaseName string, ...) (result SyncFullSchemaPropertiesListResult, err error)
- func (client SyncGroupsClient) ListHubSchemasComplete(resourceGroupName string, serverName string, databaseName string, ...) (<-chan SyncFullSchemaProperties, <-chan error)
- func (client SyncGroupsClient) ListHubSchemasNextResults(lastResults SyncFullSchemaPropertiesListResult) (result SyncFullSchemaPropertiesListResult, err error)
- func (client SyncGroupsClient) ListHubSchemasPreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client SyncGroupsClient) ListHubSchemasResponder(resp *http.Response) (result SyncFullSchemaPropertiesListResult, err error)
- func (client SyncGroupsClient) ListHubSchemasSender(req *http.Request) (*http.Response, error)
- func (client SyncGroupsClient) ListLogs(resourceGroupName string, serverName string, databaseName string, ...) (result SyncGroupLogListResult, err error)
- func (client SyncGroupsClient) ListLogsComplete(resourceGroupName string, serverName string, databaseName string, ...) (<-chan SyncGroupLogProperties, <-chan error)
- func (client SyncGroupsClient) ListLogsNextResults(lastResults SyncGroupLogListResult) (result SyncGroupLogListResult, err error)
- func (client SyncGroupsClient) ListLogsPreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client SyncGroupsClient) ListLogsResponder(resp *http.Response) (result SyncGroupLogListResult, err error)
- func (client SyncGroupsClient) ListLogsSender(req *http.Request) (*http.Response, error)
- func (client SyncGroupsClient) ListSyncDatabaseIds(locationName string) (result SyncDatabaseIDListResult, err error)
- func (client SyncGroupsClient) ListSyncDatabaseIdsComplete(locationName string, cancel <-chan struct{}) (<-chan SyncDatabaseIDProperties, <-chan error)
- func (client SyncGroupsClient) ListSyncDatabaseIdsNextResults(lastResults SyncDatabaseIDListResult) (result SyncDatabaseIDListResult, err error)
- func (client SyncGroupsClient) ListSyncDatabaseIdsPreparer(locationName string) (*http.Request, error)
- func (client SyncGroupsClient) ListSyncDatabaseIdsResponder(resp *http.Response) (result SyncDatabaseIDListResult, err error)
- func (client SyncGroupsClient) ListSyncDatabaseIdsSender(req *http.Request) (*http.Response, error)
- func (client SyncGroupsClient) RefreshHubSchema(resourceGroupName string, serverName string, databaseName string, ...) (<-chan autorest.Response, <-chan error)
- func (client SyncGroupsClient) RefreshHubSchemaPreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client SyncGroupsClient) RefreshHubSchemaResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SyncGroupsClient) RefreshHubSchemaSender(req *http.Request) (*http.Response, error)
- func (client SyncGroupsClient) TriggerSync(resourceGroupName string, serverName string, databaseName string, ...) (result autorest.Response, err error)
- func (client SyncGroupsClient) TriggerSyncPreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client SyncGroupsClient) TriggerSyncResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SyncGroupsClient) TriggerSyncSender(req *http.Request) (*http.Response, error)
- func (client SyncGroupsClient) Update(resourceGroupName string, serverName string, databaseName string, ...) (<-chan SyncGroup, <-chan error)
- func (client SyncGroupsClient) UpdatePreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client SyncGroupsClient) UpdateResponder(resp *http.Response) (result SyncGroup, err error)
- func (client SyncGroupsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type SyncMember
- type SyncMemberDbType
- type SyncMemberListResult
- type SyncMemberProperties
- type SyncMemberState
- type SyncMembersClient
- func (client SyncMembersClient) CreateOrUpdate(resourceGroupName string, serverName string, databaseName string, ...) (<-chan SyncMember, <-chan error)
- func (client SyncMembersClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client SyncMembersClient) CreateOrUpdateResponder(resp *http.Response) (result SyncMember, err error)
- func (client SyncMembersClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client SyncMembersClient) Delete(resourceGroupName string, serverName string, databaseName string, ...) (<-chan autorest.Response, <-chan error)
- func (client SyncMembersClient) DeletePreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client SyncMembersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SyncMembersClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client SyncMembersClient) Get(resourceGroupName string, serverName string, databaseName string, ...) (result SyncMember, err error)
- func (client SyncMembersClient) GetPreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client SyncMembersClient) GetResponder(resp *http.Response) (result SyncMember, err error)
- func (client SyncMembersClient) GetSender(req *http.Request) (*http.Response, error)
- func (client SyncMembersClient) ListBySyncGroup(resourceGroupName string, serverName string, databaseName string, ...) (result SyncMemberListResult, err error)
- func (client SyncMembersClient) ListBySyncGroupComplete(resourceGroupName string, serverName string, databaseName string, ...) (<-chan SyncMember, <-chan error)
- func (client SyncMembersClient) ListBySyncGroupNextResults(lastResults SyncMemberListResult) (result SyncMemberListResult, err error)
- func (client SyncMembersClient) ListBySyncGroupPreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client SyncMembersClient) ListBySyncGroupResponder(resp *http.Response) (result SyncMemberListResult, err error)
- func (client SyncMembersClient) ListBySyncGroupSender(req *http.Request) (*http.Response, error)
- func (client SyncMembersClient) ListMemberSchemas(resourceGroupName string, serverName string, databaseName string, ...) (result SyncFullSchemaPropertiesListResult, err error)
- func (client SyncMembersClient) ListMemberSchemasComplete(resourceGroupName string, serverName string, databaseName string, ...) (<-chan SyncFullSchemaProperties, <-chan error)
- func (client SyncMembersClient) ListMemberSchemasNextResults(lastResults SyncFullSchemaPropertiesListResult) (result SyncFullSchemaPropertiesListResult, err error)
- func (client SyncMembersClient) ListMemberSchemasPreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client SyncMembersClient) ListMemberSchemasResponder(resp *http.Response) (result SyncFullSchemaPropertiesListResult, err error)
- func (client SyncMembersClient) ListMemberSchemasSender(req *http.Request) (*http.Response, error)
- func (client SyncMembersClient) RefreshMemberSchema(resourceGroupName string, serverName string, databaseName string, ...) (<-chan autorest.Response, <-chan error)
- func (client SyncMembersClient) RefreshMemberSchemaPreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client SyncMembersClient) RefreshMemberSchemaResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SyncMembersClient) RefreshMemberSchemaSender(req *http.Request) (*http.Response, error)
- func (client SyncMembersClient) Update(resourceGroupName string, serverName string, databaseName string, ...) (<-chan SyncMember, <-chan error)
- func (client SyncMembersClient) UpdatePreparer(resourceGroupName string, serverName string, databaseName string, ...) (*http.Request, error)
- func (client SyncMembersClient) UpdateResponder(resp *http.Response) (result SyncMember, err error)
- func (client SyncMembersClient) UpdateSender(req *http.Request) (*http.Response, error)
- 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)
- type UnitDefinitionType
- type UnitType
- type VirtualNetworkRule
- type VirtualNetworkRuleListResult
- type VirtualNetworkRuleProperties
- type VirtualNetworkRuleState
- type VirtualNetworkRulesClient
- func (client VirtualNetworkRulesClient) CreateOrUpdate(resourceGroupName string, serverName string, virtualNetworkRuleName string, ...) (<-chan VirtualNetworkRule, <-chan error)
- func (client VirtualNetworkRulesClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, virtualNetworkRuleName string, ...) (*http.Request, error)
- func (client VirtualNetworkRulesClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkRule, err error)
- func (client VirtualNetworkRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client VirtualNetworkRulesClient) Delete(resourceGroupName string, serverName string, virtualNetworkRuleName string, ...) (<-chan autorest.Response, <-chan error)
- func (client VirtualNetworkRulesClient) DeletePreparer(resourceGroupName string, serverName string, virtualNetworkRuleName string, ...) (*http.Request, error)
- func (client VirtualNetworkRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualNetworkRulesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client VirtualNetworkRulesClient) Get(resourceGroupName string, serverName string, virtualNetworkRuleName string) (result VirtualNetworkRule, err error)
- func (client VirtualNetworkRulesClient) GetPreparer(resourceGroupName string, serverName string, virtualNetworkRuleName string) (*http.Request, error)
- func (client VirtualNetworkRulesClient) GetResponder(resp *http.Response) (result VirtualNetworkRule, err error)
- func (client VirtualNetworkRulesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client VirtualNetworkRulesClient) ListByServer(resourceGroupName string, serverName string) (result VirtualNetworkRuleListResult, err error)
- func (client VirtualNetworkRulesClient) ListByServerComplete(resourceGroupName string, serverName string, cancel <-chan struct{}) (<-chan VirtualNetworkRule, <-chan error)
- func (client VirtualNetworkRulesClient) ListByServerNextResults(lastResults VirtualNetworkRuleListResult) (result VirtualNetworkRuleListResult, err error)
- func (client VirtualNetworkRulesClient) ListByServerPreparer(resourceGroupName string, serverName string) (*http.Request, error)
- func (client VirtualNetworkRulesClient) ListByServerResponder(resp *http.Response) (result VirtualNetworkRuleListResult, err error)
- func (client VirtualNetworkRulesClient) ListByServerSender(req *http.Request) (*http.Response, error)
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 BackupLongTermRetentionPoliciesClient ¶
type BackupLongTermRetentionPoliciesClient struct {
ManagementClient
}
BackupLongTermRetentionPoliciesClient 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 NewBackupLongTermRetentionPoliciesClient ¶
func NewBackupLongTermRetentionPoliciesClient(subscriptionID string) BackupLongTermRetentionPoliciesClient
NewBackupLongTermRetentionPoliciesClient creates an instance of the BackupLongTermRetentionPoliciesClient client.
func NewBackupLongTermRetentionPoliciesClientWithBaseURI ¶
func NewBackupLongTermRetentionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) BackupLongTermRetentionPoliciesClient
NewBackupLongTermRetentionPoliciesClientWithBaseURI creates an instance of the BackupLongTermRetentionPoliciesClient client.
func (BackupLongTermRetentionPoliciesClient) CreateOrUpdate ¶
func (client BackupLongTermRetentionPoliciesClient) CreateOrUpdate(resourceGroupName string, serverName string, databaseName string, backupLongTermRetentionPolicyName string, parameters BackupLongTermRetentionPolicy, cancel <-chan struct{}) (<-chan BackupLongTermRetentionPolicy, <-chan error)
CreateOrUpdate creates or updates a database backup long term retention policy 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 backupLongTermRetentionPolicyName is the name of the backup long term retention policy parameters is the required parameters to update a backup long term retention policy
func (BackupLongTermRetentionPoliciesClient) CreateOrUpdatePreparer ¶
func (client BackupLongTermRetentionPoliciesClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, databaseName string, backupLongTermRetentionPolicyName string, parameters BackupLongTermRetentionPolicy, cancel <-chan struct{}) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (BackupLongTermRetentionPoliciesClient) CreateOrUpdateResponder ¶
func (client BackupLongTermRetentionPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result BackupLongTermRetentionPolicy, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (BackupLongTermRetentionPoliciesClient) CreateOrUpdateSender ¶
func (client BackupLongTermRetentionPoliciesClient) 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 (BackupLongTermRetentionPoliciesClient) Get ¶
func (client BackupLongTermRetentionPoliciesClient) Get(resourceGroupName string, serverName string, databaseName string, backupLongTermRetentionPolicyName string) (result BackupLongTermRetentionPolicy, err error)
Get returns a database backup long term retention 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. backupLongTermRetentionPolicyName is the name of the backup long term retention policy
func (BackupLongTermRetentionPoliciesClient) GetPreparer ¶
func (client BackupLongTermRetentionPoliciesClient) GetPreparer(resourceGroupName string, serverName string, databaseName string, backupLongTermRetentionPolicyName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (BackupLongTermRetentionPoliciesClient) GetResponder ¶
func (client BackupLongTermRetentionPoliciesClient) GetResponder(resp *http.Response) (result BackupLongTermRetentionPolicy, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type BackupLongTermRetentionPolicy ¶
type BackupLongTermRetentionPolicy struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` *BackupLongTermRetentionPolicyProperties `json:"properties,omitempty"` }
BackupLongTermRetentionPolicy is a backup long term retention policy
type BackupLongTermRetentionPolicyProperties ¶
type BackupLongTermRetentionPolicyProperties struct { State BackupLongTermRetentionPolicyState `json:"state,omitempty"` RecoveryServicesBackupPolicyResourceID *string `json:"recoveryServicesBackupPolicyResourceId,omitempty"` }
BackupLongTermRetentionPolicyProperties is the properties of a backup long term retention policy
type BackupLongTermRetentionPolicyState ¶
type BackupLongTermRetentionPolicyState string
BackupLongTermRetentionPolicyState enumerates the values for backup long term retention policy state.
const ( // Disabled specifies the disabled state for backup long term retention policy state. Disabled BackupLongTermRetentionPolicyState = "Disabled" // Enabled specifies the enabled state for backup long term retention policy state. Enabled BackupLongTermRetentionPolicyState = "Enabled" )
type BackupLongTermRetentionVault ¶
type BackupLongTermRetentionVault struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` *BackupLongTermRetentionVaultProperties `json:"properties,omitempty"` }
BackupLongTermRetentionVault is a backup long term retention vault
type BackupLongTermRetentionVaultProperties ¶
type BackupLongTermRetentionVaultProperties struct {
RecoveryServicesVaultResourceID *string `json:"recoveryServicesVaultResourceId,omitempty"`
}
BackupLongTermRetentionVaultProperties is the properties of a backup long term retention vault.
type BackupLongTermRetentionVaultsClient ¶
type BackupLongTermRetentionVaultsClient struct {
ManagementClient
}
BackupLongTermRetentionVaultsClient 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 NewBackupLongTermRetentionVaultsClient ¶
func NewBackupLongTermRetentionVaultsClient(subscriptionID string) BackupLongTermRetentionVaultsClient
NewBackupLongTermRetentionVaultsClient creates an instance of the BackupLongTermRetentionVaultsClient client.
func NewBackupLongTermRetentionVaultsClientWithBaseURI ¶
func NewBackupLongTermRetentionVaultsClientWithBaseURI(baseURI string, subscriptionID string) BackupLongTermRetentionVaultsClient
NewBackupLongTermRetentionVaultsClientWithBaseURI creates an instance of the BackupLongTermRetentionVaultsClient client.
func (BackupLongTermRetentionVaultsClient) CreateOrUpdate ¶
func (client BackupLongTermRetentionVaultsClient) CreateOrUpdate(resourceGroupName string, serverName string, backupLongTermRetentionVaultName string, parameters BackupLongTermRetentionVault, cancel <-chan struct{}) (<-chan BackupLongTermRetentionVault, <-chan error)
CreateOrUpdate updates a server backup long term retention vault 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. backupLongTermRetentionVaultName is the name of the backup long term retention vault parameters is the required parameters to update a backup long term retention vault
func (BackupLongTermRetentionVaultsClient) CreateOrUpdatePreparer ¶
func (client BackupLongTermRetentionVaultsClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, backupLongTermRetentionVaultName string, parameters BackupLongTermRetentionVault, cancel <-chan struct{}) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (BackupLongTermRetentionVaultsClient) CreateOrUpdateResponder ¶
func (client BackupLongTermRetentionVaultsClient) CreateOrUpdateResponder(resp *http.Response) (result BackupLongTermRetentionVault, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (BackupLongTermRetentionVaultsClient) CreateOrUpdateSender ¶
func (client BackupLongTermRetentionVaultsClient) 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 (BackupLongTermRetentionVaultsClient) Get ¶
func (client BackupLongTermRetentionVaultsClient) Get(resourceGroupName string, serverName string, backupLongTermRetentionVaultName string) (result BackupLongTermRetentionVault, err error)
Get gets a server backup long term retention vault
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. backupLongTermRetentionVaultName is the name of the Azure SQL Server backup LongTermRetention vault
func (BackupLongTermRetentionVaultsClient) GetPreparer ¶
func (client BackupLongTermRetentionVaultsClient) GetPreparer(resourceGroupName string, serverName string, backupLongTermRetentionVaultName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (BackupLongTermRetentionVaultsClient) GetResponder ¶
func (client BackupLongTermRetentionVaultsClient) GetResponder(resp *http.Response) (result BackupLongTermRetentionVault, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type BlobAuditingPolicyState ¶
type BlobAuditingPolicyState string
BlobAuditingPolicyState enumerates the values for blob auditing policy state.
const ( // BlobAuditingPolicyStateDisabled specifies the blob auditing policy state disabled state for blob auditing policy // state. BlobAuditingPolicyStateDisabled BlobAuditingPolicyState = "Disabled" // BlobAuditingPolicyStateEnabled specifies the blob auditing policy state enabled state for blob auditing policy // state. BlobAuditingPolicyStateEnabled BlobAuditingPolicyState = "Enabled" )
type CapabilitiesClient ¶
type CapabilitiesClient struct {
ManagementClient
}
CapabilitiesClient 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 NewCapabilitiesClient ¶
func NewCapabilitiesClient(subscriptionID string) CapabilitiesClient
NewCapabilitiesClient creates an instance of the CapabilitiesClient client.
func NewCapabilitiesClientWithBaseURI ¶
func NewCapabilitiesClientWithBaseURI(baseURI string, subscriptionID string) CapabilitiesClient
NewCapabilitiesClientWithBaseURI creates an instance of the CapabilitiesClient client.
func (CapabilitiesClient) ListByLocation ¶
func (client CapabilitiesClient) ListByLocation(locationID string) (result LocationCapabilities, err error)
ListByLocation gets the capabilities available for the specified location.
locationID is the location id whose capabilities are retrieved.
func (CapabilitiesClient) ListByLocationPreparer ¶
func (client CapabilitiesClient) ListByLocationPreparer(locationID string) (*http.Request, error)
ListByLocationPreparer prepares the ListByLocation request.
func (CapabilitiesClient) ListByLocationResponder ¶
func (client CapabilitiesClient) ListByLocationResponder(resp *http.Response) (result LocationCapabilities, err error)
ListByLocationResponder handles the response to the ListByLocation request. The method always closes the http.Response Body.
func (CapabilitiesClient) ListByLocationSender ¶
ListByLocationSender sends the ListByLocation request. The method will close the http.Response Body if it receives an error.
type CapabilityStatus ¶
type CapabilityStatus string
CapabilityStatus enumerates the values for capability status.
const ( // CapabilityStatusAvailable specifies the capability status available state for capability status. CapabilityStatusAvailable CapabilityStatus = "Available" // CapabilityStatusDefault specifies the capability status default state for capability status. CapabilityStatusDefault CapabilityStatus = "Default" // CapabilityStatusDisabled specifies the capability status disabled state for capability status. CapabilityStatusDisabled CapabilityStatus = "Disabled" // CapabilityStatusVisible specifies the capability status visible state for capability status. CapabilityStatusVisible CapabilityStatus = "Visible" )
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 DataMaskingFunction ¶
type DataMaskingFunction string
DataMaskingFunction enumerates the values for data masking function.
const ( // DataMaskingFunctionCCN specifies the data masking function ccn state for data masking function. DataMaskingFunctionCCN DataMaskingFunction = "CCN" // DataMaskingFunctionDefault specifies the data masking function default state for data masking function. DataMaskingFunctionDefault DataMaskingFunction = "Default" // DataMaskingFunctionEmail specifies the data masking function email state for data masking function. DataMaskingFunctionEmail DataMaskingFunction = "Email" // DataMaskingFunctionNumber specifies the data masking function number state for data masking function. DataMaskingFunctionNumber DataMaskingFunction = "Number" // DataMaskingFunctionSSN specifies the data masking function ssn state for data masking function. DataMaskingFunctionSSN DataMaskingFunction = "SSN" // DataMaskingFunctionText specifies the data masking function text state for data masking function. DataMaskingFunctionText DataMaskingFunction = "Text" )
type DataMaskingPoliciesClient ¶
type DataMaskingPoliciesClient struct {
ManagementClient
}
DataMaskingPoliciesClient 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 NewDataMaskingPoliciesClient ¶
func NewDataMaskingPoliciesClient(subscriptionID string) DataMaskingPoliciesClient
NewDataMaskingPoliciesClient creates an instance of the DataMaskingPoliciesClient client.
func NewDataMaskingPoliciesClientWithBaseURI ¶
func NewDataMaskingPoliciesClientWithBaseURI(baseURI string, subscriptionID string) DataMaskingPoliciesClient
NewDataMaskingPoliciesClientWithBaseURI creates an instance of the DataMaskingPoliciesClient client.
func (DataMaskingPoliciesClient) CreateOrUpdate ¶
func (client DataMaskingPoliciesClient) CreateOrUpdate(resourceGroupName string, serverName string, databaseName string, dataMaskingPolicyName string, parameters DataMaskingPolicy) (result DataMaskingPolicy, err error)
CreateOrUpdate creates or updates a database data masking 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. dataMaskingPolicyName is the name of the database for which the data masking rule applies. parameters is parameters for creating or updating a data masking policy.
func (DataMaskingPoliciesClient) CreateOrUpdatePreparer ¶
func (client DataMaskingPoliciesClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, databaseName string, dataMaskingPolicyName string, parameters DataMaskingPolicy) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (DataMaskingPoliciesClient) CreateOrUpdateResponder ¶
func (client DataMaskingPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result DataMaskingPolicy, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (DataMaskingPoliciesClient) CreateOrUpdateSender ¶
func (client DataMaskingPoliciesClient) 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 (DataMaskingPoliciesClient) Get ¶
func (client DataMaskingPoliciesClient) Get(resourceGroupName string, serverName string, databaseName string, dataMaskingPolicyName string) (result DataMaskingPolicy, err error)
Get gets a database data masking 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. dataMaskingPolicyName is the name of the database for which the data masking rule applies.
func (DataMaskingPoliciesClient) GetPreparer ¶
func (client DataMaskingPoliciesClient) GetPreparer(resourceGroupName string, serverName string, databaseName string, dataMaskingPolicyName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DataMaskingPoliciesClient) GetResponder ¶
func (client DataMaskingPoliciesClient) GetResponder(resp *http.Response) (result DataMaskingPolicy, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type DataMaskingPolicy ¶
type DataMaskingPolicy struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` *DataMaskingPolicyProperties `json:"properties,omitempty"` Location *string `json:"location,omitempty"` Kind *string `json:"kind,omitempty"` }
DataMaskingPolicy is represents a database data masking policy.
type DataMaskingPolicyProperties ¶
type DataMaskingPolicyProperties struct { DataMaskingState DataMaskingState `json:"dataMaskingState,omitempty"` ExemptPrincipals *string `json:"exemptPrincipals,omitempty"` ApplicationPrincipals *string `json:"applicationPrincipals,omitempty"` MaskingLevel *string `json:"maskingLevel,omitempty"` }
DataMaskingPolicyProperties is the properties of a database data masking policy.
type DataMaskingRule ¶
type DataMaskingRule struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` *DataMaskingRuleProperties `json:"properties,omitempty"` Location *string `json:"location,omitempty"` Kind *string `json:"kind,omitempty"` }
DataMaskingRule is represents a database data masking rule.
type DataMaskingRuleListResult ¶
type DataMaskingRuleListResult struct { autorest.Response `json:"-"` Value *[]DataMaskingRule `json:"value,omitempty"` }
DataMaskingRuleListResult is the response to a list data masking rules request.
type DataMaskingRuleProperties ¶
type DataMaskingRuleProperties struct { ID *string `json:"id,omitempty"` AliasName *string `json:"aliasName,omitempty"` RuleState DataMaskingRuleState `json:"ruleState,omitempty"` SchemaName *string `json:"schemaName,omitempty"` TableName *string `json:"tableName,omitempty"` ColumnName *string `json:"columnName,omitempty"` MaskingFunction DataMaskingFunction `json:"maskingFunction,omitempty"` NumberFrom *string `json:"numberFrom,omitempty"` NumberTo *string `json:"numberTo,omitempty"` PrefixSize *string `json:"prefixSize,omitempty"` SuffixSize *string `json:"suffixSize,omitempty"` ReplacementString *string `json:"replacementString,omitempty"` }
DataMaskingRuleProperties is the properties of a database data masking rule.
type DataMaskingRuleState ¶
type DataMaskingRuleState string
DataMaskingRuleState enumerates the values for data masking rule state.
const ( // DataMaskingRuleStateDisabled specifies the data masking rule state disabled state for data masking rule state. DataMaskingRuleStateDisabled DataMaskingRuleState = "Disabled" // DataMaskingRuleStateEnabled specifies the data masking rule state enabled state for data masking rule state. DataMaskingRuleStateEnabled DataMaskingRuleState = "Enabled" )
type DataMaskingRulesClient ¶
type DataMaskingRulesClient struct {
ManagementClient
}
DataMaskingRulesClient 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 NewDataMaskingRulesClient ¶
func NewDataMaskingRulesClient(subscriptionID string) DataMaskingRulesClient
NewDataMaskingRulesClient creates an instance of the DataMaskingRulesClient client.
func NewDataMaskingRulesClientWithBaseURI ¶
func NewDataMaskingRulesClientWithBaseURI(baseURI string, subscriptionID string) DataMaskingRulesClient
NewDataMaskingRulesClientWithBaseURI creates an instance of the DataMaskingRulesClient client.
func (DataMaskingRulesClient) CreateOrUpdate ¶
func (client DataMaskingRulesClient) CreateOrUpdate(resourceGroupName string, serverName string, databaseName string, dataMaskingPolicyName string, dataMaskingRuleName string, parameters DataMaskingRule) (result DataMaskingRule, err error)
CreateOrUpdate creates or updates a database data masking 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. databaseName is the name of the database. dataMaskingPolicyName is the name of the database for which the data masking rule applies. dataMaskingRuleName is the name of the data masking rule. parameters is the required parameters for creating or updating a data masking rule.
func (DataMaskingRulesClient) CreateOrUpdatePreparer ¶
func (client DataMaskingRulesClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, databaseName string, dataMaskingPolicyName string, dataMaskingRuleName string, parameters DataMaskingRule) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (DataMaskingRulesClient) CreateOrUpdateResponder ¶
func (client DataMaskingRulesClient) CreateOrUpdateResponder(resp *http.Response) (result DataMaskingRule, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (DataMaskingRulesClient) CreateOrUpdateSender ¶
func (client DataMaskingRulesClient) 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 (DataMaskingRulesClient) ListByDatabase ¶
func (client DataMaskingRulesClient) ListByDatabase(resourceGroupName string, serverName string, databaseName string, dataMaskingPolicyName string) (result DataMaskingRuleListResult, err error)
ListByDatabase gets a list of database data masking 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. databaseName is the name of the database. dataMaskingPolicyName is the name of the database for which the data masking rule applies.
func (DataMaskingRulesClient) ListByDatabasePreparer ¶
func (client DataMaskingRulesClient) ListByDatabasePreparer(resourceGroupName string, serverName string, databaseName string, dataMaskingPolicyName string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (DataMaskingRulesClient) ListByDatabaseResponder ¶
func (client DataMaskingRulesClient) ListByDatabaseResponder(resp *http.Response) (result DataMaskingRuleListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (DataMaskingRulesClient) ListByDatabaseSender ¶
func (client DataMaskingRulesClient) 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 DataMaskingState ¶
type DataMaskingState string
DataMaskingState enumerates the values for data masking state.
const ( // DataMaskingStateDisabled specifies the data masking state disabled state for data masking state. DataMaskingStateDisabled DataMaskingState = "Disabled" // DataMaskingStateEnabled specifies the data masking state enabled state for data masking state. DataMaskingStateEnabled DataMaskingState = "Enabled" )
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 DatabaseBlobAuditingPoliciesClient ¶
type DatabaseBlobAuditingPoliciesClient struct {
ManagementClient
}
DatabaseBlobAuditingPoliciesClient 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 NewDatabaseBlobAuditingPoliciesClient ¶
func NewDatabaseBlobAuditingPoliciesClient(subscriptionID string) DatabaseBlobAuditingPoliciesClient
NewDatabaseBlobAuditingPoliciesClient creates an instance of the DatabaseBlobAuditingPoliciesClient client.
func NewDatabaseBlobAuditingPoliciesClientWithBaseURI ¶
func NewDatabaseBlobAuditingPoliciesClientWithBaseURI(baseURI string, subscriptionID string) DatabaseBlobAuditingPoliciesClient
NewDatabaseBlobAuditingPoliciesClientWithBaseURI creates an instance of the DatabaseBlobAuditingPoliciesClient client.
func (DatabaseBlobAuditingPoliciesClient) CreateOrUpdate ¶
func (client DatabaseBlobAuditingPoliciesClient) CreateOrUpdate(resourceGroupName string, serverName string, databaseName string, blobAuditingPolicyName string, parameters DatabaseBlobAuditingPolicy) (result DatabaseBlobAuditingPolicy, err error)
CreateOrUpdate creates or updates a database's blob auditing 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 the blob auditing policy will be defined. blobAuditingPolicyName is the name of the blob auditing policy. parameters is the database blob auditing policy.
func (DatabaseBlobAuditingPoliciesClient) CreateOrUpdatePreparer ¶
func (client DatabaseBlobAuditingPoliciesClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, databaseName string, blobAuditingPolicyName string, parameters DatabaseBlobAuditingPolicy) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (DatabaseBlobAuditingPoliciesClient) CreateOrUpdateResponder ¶
func (client DatabaseBlobAuditingPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result DatabaseBlobAuditingPolicy, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (DatabaseBlobAuditingPoliciesClient) CreateOrUpdateSender ¶
func (client DatabaseBlobAuditingPoliciesClient) 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 (DatabaseBlobAuditingPoliciesClient) Get ¶
func (client DatabaseBlobAuditingPoliciesClient) Get(resourceGroupName string, serverName string, databaseName string, blobAuditingPolicyName string) (result DatabaseBlobAuditingPolicy, err error)
Get gets a database's blob auditing 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 the blob audit policy is defined. blobAuditingPolicyName is the name of the blob auditing policy.
func (DatabaseBlobAuditingPoliciesClient) GetPreparer ¶
func (client DatabaseBlobAuditingPoliciesClient) GetPreparer(resourceGroupName string, serverName string, databaseName string, blobAuditingPolicyName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DatabaseBlobAuditingPoliciesClient) GetResponder ¶
func (client DatabaseBlobAuditingPoliciesClient) GetResponder(resp *http.Response) (result DatabaseBlobAuditingPolicy, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type DatabaseBlobAuditingPolicy ¶
type DatabaseBlobAuditingPolicy struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Kind *string `json:"kind,omitempty"` *DatabaseBlobAuditingPolicyProperties `json:"properties,omitempty"` }
DatabaseBlobAuditingPolicy is a database blob auditing policy.
type DatabaseBlobAuditingPolicyProperties ¶
type DatabaseBlobAuditingPolicyProperties struct { State BlobAuditingPolicyState `json:"state,omitempty"` StorageEndpoint *string `json:"storageEndpoint,omitempty"` StorageAccountAccessKey *string `json:"storageAccountAccessKey,omitempty"` RetentionDays *int32 `json:"retentionDays,omitempty"` AuditActionsAndGroups *[]string `json:"auditActionsAndGroups,omitempty"` StorageAccountSubscriptionID *uuid.UUID `json:"storageAccountSubscriptionId,omitempty"` IsStorageSecondaryKeyInUse *bool `json:"isStorageSecondaryKeyInUse,omitempty"` }
DatabaseBlobAuditingPolicyProperties is properties of a database blob auditing policy.
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 DatabaseOperation ¶
type DatabaseOperation struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` *DatabaseOperationProperties `json:"properties,omitempty"` }
DatabaseOperation is a database operation.
type DatabaseOperationListResult ¶
type DatabaseOperationListResult struct { autorest.Response `json:"-"` Value *[]DatabaseOperation `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
DatabaseOperationListResult is the response to a list database operations request
func (DatabaseOperationListResult) DatabaseOperationListResultPreparer ¶
func (client DatabaseOperationListResult) DatabaseOperationListResultPreparer() (*http.Request, error)
DatabaseOperationListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type DatabaseOperationProperties ¶
type DatabaseOperationProperties struct { DatabaseName *string `json:"databaseName,omitempty"` Operation *string `json:"operation,omitempty"` OperationFriendlyName *string `json:"operationFriendlyName,omitempty"` PercentComplete *int32 `json:"percentComplete,omitempty"` ServerName *string `json:"serverName,omitempty"` StartTime *date.Time `json:"startTime,omitempty"` State ManagementOperationState `json:"state,omitempty"` ErrorCode *int32 `json:"errorCode,omitempty"` ErrorDescription *string `json:"errorDescription,omitempty"` ErrorSeverity *int32 `json:"errorSeverity,omitempty"` IsUserError *bool `json:"isUserError,omitempty"` }
DatabaseOperationProperties is the properties of a database operation.
type DatabaseOperationsClient ¶
type DatabaseOperationsClient struct {
ManagementClient
}
DatabaseOperationsClient 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 NewDatabaseOperationsClient ¶
func NewDatabaseOperationsClient(subscriptionID string) DatabaseOperationsClient
NewDatabaseOperationsClient creates an instance of the DatabaseOperationsClient client.
func NewDatabaseOperationsClientWithBaseURI ¶
func NewDatabaseOperationsClientWithBaseURI(baseURI string, subscriptionID string) DatabaseOperationsClient
NewDatabaseOperationsClientWithBaseURI creates an instance of the DatabaseOperationsClient client.
func (DatabaseOperationsClient) Cancel ¶
func (client DatabaseOperationsClient) Cancel(resourceGroupName string, serverName string, databaseName string, operationID uuid.UUID) (result autorest.Response, err error)
Cancel cancels the asynchronous operation on the 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. operationID is the operation identifier.
func (DatabaseOperationsClient) CancelPreparer ¶
func (client DatabaseOperationsClient) CancelPreparer(resourceGroupName string, serverName string, databaseName string, operationID uuid.UUID) (*http.Request, error)
CancelPreparer prepares the Cancel request.
func (DatabaseOperationsClient) CancelResponder ¶
func (client DatabaseOperationsClient) CancelResponder(resp *http.Response) (result autorest.Response, err error)
CancelResponder handles the response to the Cancel request. The method always closes the http.Response Body.
func (DatabaseOperationsClient) CancelSender ¶
CancelSender sends the Cancel request. The method will close the http.Response Body if it receives an error.
func (DatabaseOperationsClient) ListByDatabase ¶
func (client DatabaseOperationsClient) ListByDatabase(resourceGroupName string, serverName string, databaseName string) (result DatabaseOperationListResult, err error)
ListByDatabase gets a list of operations performed on the 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.
func (DatabaseOperationsClient) ListByDatabaseComplete ¶
func (client DatabaseOperationsClient) ListByDatabaseComplete(resourceGroupName string, serverName string, databaseName string, cancel <-chan struct{}) (<-chan DatabaseOperation, <-chan error)
ListByDatabaseComplete gets all elements from the list without paging.
func (DatabaseOperationsClient) ListByDatabaseNextResults ¶
func (client DatabaseOperationsClient) ListByDatabaseNextResults(lastResults DatabaseOperationListResult) (result DatabaseOperationListResult, err error)
ListByDatabaseNextResults retrieves the next set of results, if any.
func (DatabaseOperationsClient) ListByDatabasePreparer ¶
func (client DatabaseOperationsClient) ListByDatabasePreparer(resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (DatabaseOperationsClient) ListByDatabaseResponder ¶
func (client DatabaseOperationsClient) ListByDatabaseResponder(resp *http.Response) (result DatabaseOperationListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (DatabaseOperationsClient) ListByDatabaseSender ¶
func (client DatabaseOperationsClient) 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 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"` }
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 DatabaseUsage ¶
type DatabaseUsage struct { Name *string `json:"name,omitempty"` ResourceName *string `json:"resourceName,omitempty"` DisplayName *string `json:"displayName,omitempty"` CurrentValue *float64 `json:"currentValue,omitempty"` Limit *float64 `json:"limit,omitempty"` Unit *string `json:"unit,omitempty"` NextResetTime *date.Time `json:"nextResetTime,omitempty"` }
DatabaseUsage is the database usages.
type DatabaseUsageListResult ¶
type DatabaseUsageListResult struct { autorest.Response `json:"-"` Value *[]DatabaseUsage `json:"value,omitempty"` }
DatabaseUsageListResult is the response to a list database metrics request.
type DatabaseUsagesClient ¶
type DatabaseUsagesClient struct {
ManagementClient
}
DatabaseUsagesClient 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 NewDatabaseUsagesClient ¶
func NewDatabaseUsagesClient(subscriptionID string) DatabaseUsagesClient
NewDatabaseUsagesClient creates an instance of the DatabaseUsagesClient client.
func NewDatabaseUsagesClientWithBaseURI ¶
func NewDatabaseUsagesClientWithBaseURI(baseURI string, subscriptionID string) DatabaseUsagesClient
NewDatabaseUsagesClientWithBaseURI creates an instance of the DatabaseUsagesClient client.
func (DatabaseUsagesClient) ListByDatabase ¶
func (client DatabaseUsagesClient) ListByDatabase(resourceGroupName string, serverName string, databaseName string) (result DatabaseUsageListResult, err error)
ListByDatabase returns database usages.
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.
func (DatabaseUsagesClient) ListByDatabasePreparer ¶
func (client DatabaseUsagesClient) ListByDatabasePreparer(resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (DatabaseUsagesClient) ListByDatabaseResponder ¶
func (client DatabaseUsagesClient) ListByDatabaseResponder(resp *http.Response) (result DatabaseUsageListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (DatabaseUsagesClient) ListByDatabaseSender ¶
ListByDatabaseSender sends the ListByDatabase request. The method will close the http.Response Body if it receives an error.
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) ListMetricDefinitions ¶
func (client DatabasesClient) ListMetricDefinitions(resourceGroupName string, serverName string, databaseName string) (result MetricDefinitionListResult, err error)
ListMetricDefinitions returns database metric definitions.
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.
func (DatabasesClient) ListMetricDefinitionsPreparer ¶
func (client DatabasesClient) ListMetricDefinitionsPreparer(resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
ListMetricDefinitionsPreparer prepares the ListMetricDefinitions request.
func (DatabasesClient) ListMetricDefinitionsResponder ¶
func (client DatabasesClient) ListMetricDefinitionsResponder(resp *http.Response) (result MetricDefinitionListResult, err error)
ListMetricDefinitionsResponder handles the response to the ListMetricDefinitions request. The method always closes the http.Response Body.
func (DatabasesClient) ListMetricDefinitionsSender ¶
func (client DatabasesClient) ListMetricDefinitionsSender(req *http.Request) (*http.Response, error)
ListMetricDefinitionsSender sends the ListMetricDefinitions request. The method will close the http.Response Body if it receives an error.
func (DatabasesClient) ListMetrics ¶
func (client DatabasesClient) ListMetrics(resourceGroupName string, serverName string, databaseName string, filter string) (result MetricListResult, err error)
ListMetrics returns database 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. databaseName is the name of the database. filter is an OData filter expression that describes a subset of metrics to return.
func (DatabasesClient) ListMetricsPreparer ¶
func (client DatabasesClient) ListMetricsPreparer(resourceGroupName string, serverName string, databaseName string, filter string) (*http.Request, error)
ListMetricsPreparer prepares the ListMetrics request.
func (DatabasesClient) ListMetricsResponder ¶
func (client DatabasesClient) ListMetricsResponder(resp *http.Response) (result MetricListResult, err error)
ListMetricsResponder handles the response to the ListMetrics request. The method always closes the http.Response Body.
func (DatabasesClient) ListMetricsSender ¶
ListMetricsSender sends the ListMetrics 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 EditionCapability ¶
type EditionCapability struct { Name *string `json:"name,omitempty"` Status CapabilityStatus `json:"status,omitempty"` SupportedServiceLevelObjectives *[]ServiceObjectiveCapability `json:"supportedServiceLevelObjectives,omitempty"` }
EditionCapability is the database edition capabilities.
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 ElasticPoolDtuCapability ¶
type ElasticPoolDtuCapability struct { Limit *int64 `json:"limit,omitempty"` MaxDatabaseCount *int64 `json:"maxDatabaseCount,omitempty"` Status CapabilityStatus `json:"status,omitempty"` SupportedMaxSizes *[]MaxSizeCapability `json:"supportedMaxSizes,omitempty"` IncludedMaxSize *MaxSizeCapability `json:"includedMaxSize,omitempty"` SupportedPerDatabaseMaxSizes *[]MaxSizeCapability `json:"supportedPerDatabaseMaxSizes,omitempty"` SupportedPerDatabaseMaxDtus *[]ElasticPoolPerDatabaseMaxDtuCapability `json:"supportedPerDatabaseMaxDtus,omitempty"` }
ElasticPoolDtuCapability is the Elastic Pool DTU capability.
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 ElasticPoolEditionCapability ¶
type ElasticPoolEditionCapability struct { Name *string `json:"name,omitempty"` Status CapabilityStatus `json:"status,omitempty"` SupportedElasticPoolDtus *[]ElasticPoolDtuCapability `json:"supportedElasticPoolDtus,omitempty"` }
ElasticPoolEditionCapability is the elastic pool edition capabilities.
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 ElasticPoolPerDatabaseMaxDtuCapability ¶
type ElasticPoolPerDatabaseMaxDtuCapability struct { Limit *int64 `json:"limit,omitempty"` Status CapabilityStatus `json:"status,omitempty"` SupportedPerDatabaseMinDtus *[]ElasticPoolPerDatabaseMinDtuCapability `json:"supportedPerDatabaseMinDtus,omitempty"` }
ElasticPoolPerDatabaseMaxDtuCapability is the max per-database DTU capability.
type ElasticPoolPerDatabaseMinDtuCapability ¶
type ElasticPoolPerDatabaseMinDtuCapability struct { Limit *int64 `json:"limit,omitempty"` Status CapabilityStatus `json:"status,omitempty"` }
ElasticPoolPerDatabaseMinDtuCapability is the minimum per-database DTU capability.
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"` }
ElasticPoolProperties is represents the properties of an elastic pool.
type ElasticPoolState ¶
type ElasticPoolState string
ElasticPoolState enumerates the values for elastic pool state.
const ( // ElasticPoolStateCreating specifies the elastic pool state creating state for elastic pool state. ElasticPoolStateCreating ElasticPoolState = "Creating" // ElasticPoolStateDisabled specifies the elastic pool state disabled state for elastic pool state. ElasticPoolStateDisabled ElasticPoolState = "Disabled" // ElasticPoolStateReady specifies the elastic pool state ready state for elastic pool state. ElasticPoolStateReady 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) ListMetricDefinitions ¶
func (client ElasticPoolsClient) ListMetricDefinitions(resourceGroupName string, serverName string, elasticPoolName string) (result MetricDefinitionListResult, err error)
ListMetricDefinitions returns elastic pool metric definitions.
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 (ElasticPoolsClient) ListMetricDefinitionsPreparer ¶
func (client ElasticPoolsClient) ListMetricDefinitionsPreparer(resourceGroupName string, serverName string, elasticPoolName string) (*http.Request, error)
ListMetricDefinitionsPreparer prepares the ListMetricDefinitions request.
func (ElasticPoolsClient) ListMetricDefinitionsResponder ¶
func (client ElasticPoolsClient) ListMetricDefinitionsResponder(resp *http.Response) (result MetricDefinitionListResult, err error)
ListMetricDefinitionsResponder handles the response to the ListMetricDefinitions request. The method always closes the http.Response Body.
func (ElasticPoolsClient) ListMetricDefinitionsSender ¶
func (client ElasticPoolsClient) ListMetricDefinitionsSender(req *http.Request) (*http.Response, error)
ListMetricDefinitionsSender sends the ListMetricDefinitions request. The method will close the http.Response Body if it receives an error.
func (ElasticPoolsClient) ListMetrics ¶
func (client ElasticPoolsClient) ListMetrics(resourceGroupName string, serverName string, elasticPoolName string, filter string) (result MetricListResult, err error)
ListMetrics returns 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. elasticPoolName is the name of the elastic pool. filter is an OData filter expression that describes a subset of metrics to return.
func (ElasticPoolsClient) ListMetricsPreparer ¶
func (client ElasticPoolsClient) ListMetricsPreparer(resourceGroupName string, serverName string, elasticPoolName string, filter string) (*http.Request, error)
ListMetricsPreparer prepares the ListMetrics request.
func (ElasticPoolsClient) ListMetricsResponder ¶
func (client ElasticPoolsClient) ListMetricsResponder(resp *http.Response) (result MetricListResult, err error)
ListMetricsResponder handles the response to the ListMetrics request. The method always closes the http.Response Body.
func (ElasticPoolsClient) ListMetricsSender ¶
ListMetricsSender sends the ListMetrics 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 EncryptionProtector ¶
type EncryptionProtector 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"` *EncryptionProtectorProperties `json:"properties,omitempty"` }
EncryptionProtector is the server encryption protector.
type EncryptionProtectorListResult ¶
type EncryptionProtectorListResult struct { autorest.Response `json:"-"` Value *[]EncryptionProtector `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
EncryptionProtectorListResult is a list of server encryption protectors.
func (EncryptionProtectorListResult) EncryptionProtectorListResultPreparer ¶
func (client EncryptionProtectorListResult) EncryptionProtectorListResultPreparer() (*http.Request, error)
EncryptionProtectorListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type EncryptionProtectorProperties ¶
type EncryptionProtectorProperties struct { Subregion *string `json:"subregion,omitempty"` ServerKeyName *string `json:"serverKeyName,omitempty"` ServerKeyType ServerKeyType `json:"serverKeyType,omitempty"` URI *string `json:"uri,omitempty"` Thumbprint *string `json:"thumbprint,omitempty"` }
EncryptionProtectorProperties is properties for an encryption protector execution.
type EncryptionProtectorsClient ¶
type EncryptionProtectorsClient struct {
ManagementClient
}
EncryptionProtectorsClient 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 NewEncryptionProtectorsClient ¶
func NewEncryptionProtectorsClient(subscriptionID string) EncryptionProtectorsClient
NewEncryptionProtectorsClient creates an instance of the EncryptionProtectorsClient client.
func NewEncryptionProtectorsClientWithBaseURI ¶
func NewEncryptionProtectorsClientWithBaseURI(baseURI string, subscriptionID string) EncryptionProtectorsClient
NewEncryptionProtectorsClientWithBaseURI creates an instance of the EncryptionProtectorsClient client.
func (EncryptionProtectorsClient) CreateOrUpdate ¶
func (client EncryptionProtectorsClient) CreateOrUpdate(resourceGroupName string, serverName string, encryptionProtectorName string, parameters EncryptionProtector, cancel <-chan struct{}) (<-chan EncryptionProtector, <-chan error)
CreateOrUpdate updates an existing encryption protector. 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. encryptionProtectorName is the name of the encryption protector to be updated. parameters is the requested encryption protector resource state.
func (EncryptionProtectorsClient) CreateOrUpdatePreparer ¶
func (client EncryptionProtectorsClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, encryptionProtectorName string, parameters EncryptionProtector, cancel <-chan struct{}) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (EncryptionProtectorsClient) CreateOrUpdateResponder ¶
func (client EncryptionProtectorsClient) CreateOrUpdateResponder(resp *http.Response) (result EncryptionProtector, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (EncryptionProtectorsClient) CreateOrUpdateSender ¶
func (client EncryptionProtectorsClient) 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 (EncryptionProtectorsClient) Get ¶
func (client EncryptionProtectorsClient) Get(resourceGroupName string, serverName string, encryptionProtectorName string) (result EncryptionProtector, err error)
Get gets a server encryption protector.
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. encryptionProtectorName is the name of the encryption protector to be retrieved.
func (EncryptionProtectorsClient) GetPreparer ¶
func (client EncryptionProtectorsClient) GetPreparer(resourceGroupName string, serverName string, encryptionProtectorName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (EncryptionProtectorsClient) GetResponder ¶
func (client EncryptionProtectorsClient) GetResponder(resp *http.Response) (result EncryptionProtector, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (EncryptionProtectorsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (EncryptionProtectorsClient) ListByServer ¶
func (client EncryptionProtectorsClient) ListByServer(resourceGroupName string, serverName string) (result EncryptionProtectorListResult, err error)
ListByServer gets a list of server encryption protectors
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 (EncryptionProtectorsClient) ListByServerComplete ¶
func (client EncryptionProtectorsClient) ListByServerComplete(resourceGroupName string, serverName string, cancel <-chan struct{}) (<-chan EncryptionProtector, <-chan error)
ListByServerComplete gets all elements from the list without paging.
func (EncryptionProtectorsClient) ListByServerNextResults ¶
func (client EncryptionProtectorsClient) ListByServerNextResults(lastResults EncryptionProtectorListResult) (result EncryptionProtectorListResult, err error)
ListByServerNextResults retrieves the next set of results, if any.
func (EncryptionProtectorsClient) ListByServerPreparer ¶
func (client EncryptionProtectorsClient) ListByServerPreparer(resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (EncryptionProtectorsClient) ListByServerResponder ¶
func (client EncryptionProtectorsClient) ListByServerResponder(resp *http.Response) (result EncryptionProtectorListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (EncryptionProtectorsClient) ListByServerSender ¶
func (client EncryptionProtectorsClient) ListByServerSender(req *http.Request) (*http.Response, error)
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
type 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 FailoverGroup ¶
type FailoverGroup struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` *FailoverGroupProperties `json:"properties,omitempty"` }
FailoverGroup is a failover group.
type FailoverGroupListResult ¶
type FailoverGroupListResult struct { autorest.Response `json:"-"` Value *[]FailoverGroup `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
FailoverGroupListResult is a list of failover groups.
func (FailoverGroupListResult) FailoverGroupListResultPreparer ¶
func (client FailoverGroupListResult) FailoverGroupListResultPreparer() (*http.Request, error)
FailoverGroupListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type FailoverGroupProperties ¶
type FailoverGroupProperties struct { ReadWriteEndpoint *FailoverGroupReadWriteEndpoint `json:"readWriteEndpoint,omitempty"` ReadOnlyEndpoint *FailoverGroupReadOnlyEndpoint `json:"readOnlyEndpoint,omitempty"` ReplicationRole FailoverGroupReplicationRole `json:"replicationRole,omitempty"` ReplicationState *string `json:"replicationState,omitempty"` PartnerServers *[]PartnerInfo `json:"partnerServers,omitempty"` Databases *[]string `json:"databases,omitempty"` }
FailoverGroupProperties is properties of a failover group.
type FailoverGroupReadOnlyEndpoint ¶
type FailoverGroupReadOnlyEndpoint struct {
FailoverPolicy ReadOnlyEndpointFailoverPolicy `json:"failoverPolicy,omitempty"`
}
FailoverGroupReadOnlyEndpoint is read-only endpoint of the failover group instance.
type FailoverGroupReadWriteEndpoint ¶
type FailoverGroupReadWriteEndpoint struct { FailoverPolicy ReadWriteEndpointFailoverPolicy `json:"failoverPolicy,omitempty"` FailoverWithDataLossGracePeriodMinutes *int32 `json:"failoverWithDataLossGracePeriodMinutes,omitempty"` }
FailoverGroupReadWriteEndpoint is read-write endpoint of the failover group instance.
type FailoverGroupReplicationRole ¶
type FailoverGroupReplicationRole string
FailoverGroupReplicationRole enumerates the values for failover group replication role.
const ( // Primary specifies the primary state for failover group replication role. Primary FailoverGroupReplicationRole = "Primary" // Secondary specifies the secondary state for failover group replication role. Secondary FailoverGroupReplicationRole = "Secondary" )
type FailoverGroupUpdate ¶
type FailoverGroupUpdate struct { *FailoverGroupUpdateProperties `json:"properties,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` }
FailoverGroupUpdate is a failover group update request.
type FailoverGroupUpdateProperties ¶
type FailoverGroupUpdateProperties struct { ReadWriteEndpoint *FailoverGroupReadWriteEndpoint `json:"readWriteEndpoint,omitempty"` ReadOnlyEndpoint *FailoverGroupReadOnlyEndpoint `json:"readOnlyEndpoint,omitempty"` Databases *[]string `json:"databases,omitempty"` }
FailoverGroupUpdateProperties is properties of a failover group update.
type FailoverGroupsClient ¶
type FailoverGroupsClient struct {
ManagementClient
}
FailoverGroupsClient 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 NewFailoverGroupsClient ¶
func NewFailoverGroupsClient(subscriptionID string) FailoverGroupsClient
NewFailoverGroupsClient creates an instance of the FailoverGroupsClient client.
func NewFailoverGroupsClientWithBaseURI ¶
func NewFailoverGroupsClientWithBaseURI(baseURI string, subscriptionID string) FailoverGroupsClient
NewFailoverGroupsClientWithBaseURI creates an instance of the FailoverGroupsClient client.
func (FailoverGroupsClient) CreateOrUpdate ¶
func (client FailoverGroupsClient) CreateOrUpdate(resourceGroupName string, serverName string, failoverGroupName string, parameters FailoverGroup, cancel <-chan struct{}) (<-chan FailoverGroup, <-chan error)
CreateOrUpdate creates or updates a failover group. 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 containing the failover group. failoverGroupName is the name of the failover group. parameters is the failover group parameters.
func (FailoverGroupsClient) CreateOrUpdatePreparer ¶
func (client FailoverGroupsClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, failoverGroupName string, parameters FailoverGroup, cancel <-chan struct{}) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (FailoverGroupsClient) CreateOrUpdateResponder ¶
func (client FailoverGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result FailoverGroup, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (FailoverGroupsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (FailoverGroupsClient) Delete ¶
func (client FailoverGroupsClient) Delete(resourceGroupName string, serverName string, failoverGroupName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
Delete deletes a failover group. 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 containing the failover group. failoverGroupName is the name of the failover group.
func (FailoverGroupsClient) DeletePreparer ¶
func (client FailoverGroupsClient) DeletePreparer(resourceGroupName string, serverName string, failoverGroupName string, cancel <-chan struct{}) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (FailoverGroupsClient) DeleteResponder ¶
func (client FailoverGroupsClient) 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 (FailoverGroupsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (FailoverGroupsClient) Failover ¶
func (client FailoverGroupsClient) Failover(resourceGroupName string, serverName string, failoverGroupName string, cancel <-chan struct{}) (<-chan FailoverGroup, <-chan error)
Failover fails over from the current primary server to this server. 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 containing the failover group. failoverGroupName is the name of the failover group.
func (FailoverGroupsClient) FailoverPreparer ¶
func (client FailoverGroupsClient) FailoverPreparer(resourceGroupName string, serverName string, failoverGroupName string, cancel <-chan struct{}) (*http.Request, error)
FailoverPreparer prepares the Failover request.
func (FailoverGroupsClient) FailoverResponder ¶
func (client FailoverGroupsClient) FailoverResponder(resp *http.Response) (result FailoverGroup, err error)
FailoverResponder handles the response to the Failover request. The method always closes the http.Response Body.
func (FailoverGroupsClient) FailoverSender ¶
FailoverSender sends the Failover request. The method will close the http.Response Body if it receives an error.
func (FailoverGroupsClient) ForceFailoverAllowDataLoss ¶
func (client FailoverGroupsClient) ForceFailoverAllowDataLoss(resourceGroupName string, serverName string, failoverGroupName string, cancel <-chan struct{}) (<-chan FailoverGroup, <-chan error)
ForceFailoverAllowDataLoss fails over from the current primary server to this server. 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 containing the failover group. failoverGroupName is the name of the failover group.
func (FailoverGroupsClient) ForceFailoverAllowDataLossPreparer ¶
func (client FailoverGroupsClient) ForceFailoverAllowDataLossPreparer(resourceGroupName string, serverName string, failoverGroupName string, cancel <-chan struct{}) (*http.Request, error)
ForceFailoverAllowDataLossPreparer prepares the ForceFailoverAllowDataLoss request.
func (FailoverGroupsClient) ForceFailoverAllowDataLossResponder ¶
func (client FailoverGroupsClient) ForceFailoverAllowDataLossResponder(resp *http.Response) (result FailoverGroup, err error)
ForceFailoverAllowDataLossResponder handles the response to the ForceFailoverAllowDataLoss request. The method always closes the http.Response Body.
func (FailoverGroupsClient) ForceFailoverAllowDataLossSender ¶
func (client FailoverGroupsClient) ForceFailoverAllowDataLossSender(req *http.Request) (*http.Response, error)
ForceFailoverAllowDataLossSender sends the ForceFailoverAllowDataLoss request. The method will close the http.Response Body if it receives an error.
func (FailoverGroupsClient) Get ¶
func (client FailoverGroupsClient) Get(resourceGroupName string, serverName string, failoverGroupName string) (result FailoverGroup, err error)
Get gets a failover group.
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 containing the failover group. failoverGroupName is the name of the failover group.
func (FailoverGroupsClient) GetPreparer ¶
func (client FailoverGroupsClient) GetPreparer(resourceGroupName string, serverName string, failoverGroupName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (FailoverGroupsClient) GetResponder ¶
func (client FailoverGroupsClient) GetResponder(resp *http.Response) (result FailoverGroup, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (FailoverGroupsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (FailoverGroupsClient) ListByServer ¶
func (client FailoverGroupsClient) ListByServer(resourceGroupName string, serverName string) (result FailoverGroupListResult, err error)
ListByServer lists the failover groups 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 containing the failover group.
func (FailoverGroupsClient) ListByServerComplete ¶
func (client FailoverGroupsClient) ListByServerComplete(resourceGroupName string, serverName string, cancel <-chan struct{}) (<-chan FailoverGroup, <-chan error)
ListByServerComplete gets all elements from the list without paging.
func (FailoverGroupsClient) ListByServerNextResults ¶
func (client FailoverGroupsClient) ListByServerNextResults(lastResults FailoverGroupListResult) (result FailoverGroupListResult, err error)
ListByServerNextResults retrieves the next set of results, if any.
func (FailoverGroupsClient) ListByServerPreparer ¶
func (client FailoverGroupsClient) ListByServerPreparer(resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (FailoverGroupsClient) ListByServerResponder ¶
func (client FailoverGroupsClient) ListByServerResponder(resp *http.Response) (result FailoverGroupListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (FailoverGroupsClient) ListByServerSender ¶
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
func (FailoverGroupsClient) Update ¶
func (client FailoverGroupsClient) Update(resourceGroupName string, serverName string, failoverGroupName string, parameters FailoverGroupUpdate, cancel <-chan struct{}) (<-chan FailoverGroup, <-chan error)
Update updates a failover group. 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 containing the failover group. failoverGroupName is the name of the failover group. parameters is the failover group parameters.
func (FailoverGroupsClient) UpdatePreparer ¶
func (client FailoverGroupsClient) UpdatePreparer(resourceGroupName string, serverName string, failoverGroupName string, parameters FailoverGroupUpdate, cancel <-chan struct{}) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (FailoverGroupsClient) UpdateResponder ¶
func (client FailoverGroupsClient) UpdateResponder(resp *http.Response) (result FailoverGroup, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (FailoverGroupsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
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 GeoBackupPoliciesClient ¶
type GeoBackupPoliciesClient struct {
ManagementClient
}
GeoBackupPoliciesClient 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 NewGeoBackupPoliciesClient ¶
func NewGeoBackupPoliciesClient(subscriptionID string) GeoBackupPoliciesClient
NewGeoBackupPoliciesClient creates an instance of the GeoBackupPoliciesClient client.
func NewGeoBackupPoliciesClientWithBaseURI ¶
func NewGeoBackupPoliciesClientWithBaseURI(baseURI string, subscriptionID string) GeoBackupPoliciesClient
NewGeoBackupPoliciesClientWithBaseURI creates an instance of the GeoBackupPoliciesClient client.
func (GeoBackupPoliciesClient) CreateOrUpdate ¶
func (client GeoBackupPoliciesClient) CreateOrUpdate(resourceGroupName string, serverName string, databaseName string, geoBackupPolicyName string, parameters GeoBackupPolicy) (result GeoBackupPolicy, err error)
CreateOrUpdate updates a database geo backup 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. geoBackupPolicyName is the name of the geo backup policy. parameters is the required parameters for creating or updating the geo backup policy.
func (GeoBackupPoliciesClient) CreateOrUpdatePreparer ¶
func (client GeoBackupPoliciesClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, databaseName string, geoBackupPolicyName string, parameters GeoBackupPolicy) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (GeoBackupPoliciesClient) CreateOrUpdateResponder ¶
func (client GeoBackupPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result GeoBackupPolicy, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (GeoBackupPoliciesClient) CreateOrUpdateSender ¶
func (client GeoBackupPoliciesClient) 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 (GeoBackupPoliciesClient) Get ¶
func (client GeoBackupPoliciesClient) Get(resourceGroupName string, serverName string, databaseName string, geoBackupPolicyName string) (result GeoBackupPolicy, err error)
Get gets a geo backup 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. geoBackupPolicyName is the name of the geo backup policy.
func (GeoBackupPoliciesClient) GetPreparer ¶
func (client GeoBackupPoliciesClient) GetPreparer(resourceGroupName string, serverName string, databaseName string, geoBackupPolicyName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (GeoBackupPoliciesClient) GetResponder ¶
func (client GeoBackupPoliciesClient) GetResponder(resp *http.Response) (result GeoBackupPolicy, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (GeoBackupPoliciesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (GeoBackupPoliciesClient) ListByDatabase ¶
func (client GeoBackupPoliciesClient) ListByDatabase(resourceGroupName string, serverName string, databaseName string) (result GeoBackupPolicyListResult, err error)
ListByDatabase returns a list of geo backup policies.
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.
func (GeoBackupPoliciesClient) ListByDatabasePreparer ¶
func (client GeoBackupPoliciesClient) ListByDatabasePreparer(resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (GeoBackupPoliciesClient) ListByDatabaseResponder ¶
func (client GeoBackupPoliciesClient) ListByDatabaseResponder(resp *http.Response) (result GeoBackupPolicyListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (GeoBackupPoliciesClient) ListByDatabaseSender ¶
func (client GeoBackupPoliciesClient) 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 GeoBackupPolicy ¶
type GeoBackupPolicy struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` *GeoBackupPolicyProperties `json:"properties,omitempty"` Kind *string `json:"kind,omitempty"` Location *string `json:"location,omitempty"` }
GeoBackupPolicy is a database geo backup policy.
type GeoBackupPolicyListResult ¶
type GeoBackupPolicyListResult struct { autorest.Response `json:"-"` Value *[]GeoBackupPolicy `json:"value,omitempty"` }
GeoBackupPolicyListResult is the response to a list geo backup policies request.
type GeoBackupPolicyProperties ¶
type GeoBackupPolicyProperties struct { State GeoBackupPolicyState `json:"state,omitempty"` StorageType *string `json:"storageType,omitempty"` }
GeoBackupPolicyProperties is the properties of the geo backup policy.
type GeoBackupPolicyState ¶
type GeoBackupPolicyState string
GeoBackupPolicyState enumerates the values for geo backup policy state.
const ( // GeoBackupPolicyStateDisabled specifies the geo backup policy state disabled state for geo backup policy state. GeoBackupPolicyStateDisabled GeoBackupPolicyState = "Disabled" // GeoBackupPolicyStateEnabled specifies the geo backup policy state enabled state for geo backup policy state. GeoBackupPolicyStateEnabled GeoBackupPolicyState = "Enabled" )
type IdentityType ¶
type IdentityType string
IdentityType enumerates the values for identity type.
const ( // SystemAssigned specifies the system assigned state for identity type. SystemAssigned IdentityType = "SystemAssigned" )
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 LocationCapabilities ¶
type LocationCapabilities struct { autorest.Response `json:"-"` Name *string `json:"name,omitempty"` Status CapabilityStatus `json:"status,omitempty"` SupportedServerVersions *[]ServerVersionCapability `json:"supportedServerVersions,omitempty"` }
LocationCapabilities is the capabilities for a location.
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 ManagementOperationState ¶
type ManagementOperationState string
ManagementOperationState enumerates the values for management operation state.
const ( // CancelInProgress specifies the cancel in progress state for management operation state. CancelInProgress ManagementOperationState = "CancelInProgress" // Cancelled specifies the cancelled state for management operation state. Cancelled ManagementOperationState = "Cancelled" // Failed specifies the failed state for management operation state. Failed ManagementOperationState = "Failed" // InProgress specifies the in progress state for management operation state. InProgress ManagementOperationState = "InProgress" // Pending specifies the pending state for management operation state. Pending ManagementOperationState = "Pending" // Succeeded specifies the succeeded state for management operation state. Succeeded ManagementOperationState = "Succeeded" )
type MaxSizeCapability ¶
type MaxSizeCapability struct { Limit *int64 `json:"limit,omitempty"` Unit MaxSizeUnits `json:"unit,omitempty"` Status CapabilityStatus `json:"status,omitempty"` }
MaxSizeCapability is the maximum size limits for a database.
type MaxSizeUnits ¶
type MaxSizeUnits string
MaxSizeUnits enumerates the values for max size units.
const ( // Gigabytes specifies the gigabytes state for max size units. Gigabytes MaxSizeUnits = "Gigabytes" // Megabytes specifies the megabytes state for max size units. Megabytes MaxSizeUnits = "Megabytes" // Petabytes specifies the petabytes state for max size units. Petabytes MaxSizeUnits = "Petabytes" // Terabytes specifies the terabytes state for max size units. Terabytes MaxSizeUnits = "Terabytes" )
type Metric ¶
type Metric struct { StartTime *date.Time `json:"startTime,omitempty"` EndTime *date.Time `json:"endTime,omitempty"` TimeGrain *string `json:"timeGrain,omitempty"` Unit UnitType `json:"unit,omitempty"` Name *MetricName `json:"name,omitempty"` MetricValues *[]MetricValue `json:"metricValues,omitempty"` }
Metric is database metrics.
type MetricAvailability ¶
type MetricAvailability struct { Retention *string `json:"retention,omitempty"` TimeGrain *string `json:"timeGrain,omitempty"` }
MetricAvailability is a metric availability value.
type MetricDefinition ¶
type MetricDefinition struct { Name *MetricName `json:"name,omitempty"` PrimaryAggregationType PrimaryAggregationType `json:"primaryAggregationType,omitempty"` ResourceURI *string `json:"resourceUri,omitempty"` Unit UnitDefinitionType `json:"unit,omitempty"` MetricAvailabilities *[]MetricAvailability `json:"metricAvailabilities,omitempty"` }
MetricDefinition is a database metric definition.
type MetricDefinitionListResult ¶
type MetricDefinitionListResult struct { autorest.Response `json:"-"` Value *[]MetricDefinition `json:"value,omitempty"` }
MetricDefinitionListResult is the response to a list database metric definitions request.
type MetricListResult ¶
type MetricListResult struct { autorest.Response `json:"-"` Value *[]Metric `json:"value,omitempty"` }
MetricListResult is the response to a list database metrics request.
type MetricName ¶
type MetricName struct { Value *string `json:"value,omitempty"` LocalizedValue *string `json:"localizedValue,omitempty"` }
MetricName is a database metric name.
type MetricValue ¶
type MetricValue struct { Count *float64 `json:"count,omitempty"` Average *float64 `json:"average,omitempty"` Maximum *float64 `json:"maximum,omitempty"` Minimum *float64 `json:"minimum,omitempty"` Timestamp *date.Time `json:"timestamp,omitempty"` Total *float64 `json:"total,omitempty"` }
MetricValue is represents database metrics.
type Operation ¶
type Operation struct { Name *string `json:"name,omitempty"` Display *OperationDisplay `json:"display,omitempty"` Origin OperationOrigin `json:"origin,omitempty"` Properties *map[string]*map[string]interface{} `json:"properties,omitempty"` }
Operation is SQL REST API operation definition.
type OperationDisplay ¶
type OperationDisplay struct { Provider *string `json:"provider,omitempty"` Resource *string `json:"resource,omitempty"` Operation *string `json:"operation,omitempty"` Description *string `json:"description,omitempty"` }
OperationDisplay is display metadata associated with the operation.
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 OperationListResult ¶
type OperationListResult struct { autorest.Response `json:"-"` Value *[]Operation `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
OperationListResult is result of the request to list SQL operations.
func (OperationListResult) OperationListResultPreparer ¶
func (client OperationListResult) OperationListResultPreparer() (*http.Request, error)
OperationListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type OperationOrigin ¶
type OperationOrigin string
OperationOrigin enumerates the values for operation origin.
const ( // OperationOriginSystem specifies the operation origin system state for operation origin. OperationOriginSystem OperationOrigin = "system" // OperationOriginUser specifies the operation origin user state for operation origin. OperationOriginUser OperationOrigin = "user" )
type OperationsClient ¶
type OperationsClient struct {
ManagementClient
}
OperationsClient 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 NewOperationsClient ¶
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func (OperationsClient) List ¶
func (client OperationsClient) List() (result OperationListResult, err error)
List lists all of the available SQL Rest API operations.
func (OperationsClient) ListComplete ¶
func (client OperationsClient) ListComplete(cancel <-chan struct{}) (<-chan Operation, <-chan error)
ListComplete gets all elements from the list without paging.
func (OperationsClient) ListNextResults ¶
func (client OperationsClient) ListNextResults(lastResults OperationListResult) (result OperationListResult, err error)
ListNextResults retrieves the next set of results, if any.
func (OperationsClient) ListPreparer ¶
func (client OperationsClient) ListPreparer() (*http.Request, error)
ListPreparer prepares the List request.
func (OperationsClient) ListResponder ¶
func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (OperationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type PartnerInfo ¶
type PartnerInfo struct { ID *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` ReplicationRole FailoverGroupReplicationRole `json:"replicationRole,omitempty"` }
PartnerInfo is partner server information for the failover group.
type PerformanceLevel ¶
type PerformanceLevel struct { Unit PerformanceLevelUnit `json:"unit,omitempty"` Value *int32 `json:"value,omitempty"` }
PerformanceLevel is a possible performance level of a service objective capability.
type PerformanceLevelUnit ¶
type PerformanceLevelUnit string
PerformanceLevelUnit enumerates the values for performance level unit.
const ( // DTU specifies the dtu state for performance level unit. DTU PerformanceLevelUnit = "DTU" )
type PrimaryAggregationType ¶
type PrimaryAggregationType string
PrimaryAggregationType enumerates the values for primary aggregation type.
const ( // Average specifies the average state for primary aggregation type. Average PrimaryAggregationType = "Average" // Count specifies the count state for primary aggregation type. Count PrimaryAggregationType = "Count" // Maximum specifies the maximum state for primary aggregation type. Maximum PrimaryAggregationType = "Maximum" // Minimum specifies the minimum state for primary aggregation type. Minimum PrimaryAggregationType = "Minimum" // None specifies the none state for primary aggregation type. None PrimaryAggregationType = "None" // Total specifies the total state for primary aggregation type. Total PrimaryAggregationType = "Total" )
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 ReadOnlyEndpointFailoverPolicy ¶
type ReadOnlyEndpointFailoverPolicy string
ReadOnlyEndpointFailoverPolicy enumerates the values for read only endpoint failover policy.
const ( // ReadOnlyEndpointFailoverPolicyDisabled specifies the read only endpoint failover policy disabled state for read only // endpoint failover policy. ReadOnlyEndpointFailoverPolicyDisabled ReadOnlyEndpointFailoverPolicy = "Disabled" // ReadOnlyEndpointFailoverPolicyEnabled specifies the read only endpoint failover policy enabled state for read only // endpoint failover policy. ReadOnlyEndpointFailoverPolicyEnabled ReadOnlyEndpointFailoverPolicy = "Enabled" )
type ReadWriteEndpointFailoverPolicy ¶
type ReadWriteEndpointFailoverPolicy string
ReadWriteEndpointFailoverPolicy enumerates the values for read write endpoint failover policy.
const ( // Automatic specifies the automatic state for read write endpoint failover policy. Automatic ReadWriteEndpointFailoverPolicy = "Automatic" // Manual specifies the manual state for read write endpoint failover policy. Manual ReadWriteEndpointFailoverPolicy = "Manual" )
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 ( // RecommendedIndexStateActive specifies the recommended index state active state for recommended index state. RecommendedIndexStateActive RecommendedIndexState = "Active" // RecommendedIndexStateBlocked specifies the recommended index state blocked state for recommended index state. RecommendedIndexStateBlocked RecommendedIndexState = "Blocked" // RecommendedIndexStateExecuting specifies the recommended index state executing state for recommended index state. RecommendedIndexStateExecuting RecommendedIndexState = "Executing" // RecommendedIndexStateExpired specifies the recommended index state expired state for recommended index state. RecommendedIndexStateExpired RecommendedIndexState = "Expired" // RecommendedIndexStateIgnored specifies the recommended index state ignored state for recommended index state. RecommendedIndexStateIgnored RecommendedIndexState = "Ignored" // RecommendedIndexStatePending specifies the recommended index state pending state for recommended index state. RecommendedIndexStatePending RecommendedIndexState = "Pending" // RecommendedIndexStatePendingRevert specifies the recommended index state pending revert state for recommended index // state. RecommendedIndexStatePendingRevert RecommendedIndexState = "Pending Revert" // RecommendedIndexStateReverted specifies the recommended index state reverted state for recommended index state. RecommendedIndexStateReverted RecommendedIndexState = "Reverted" // RecommendedIndexStateReverting specifies the recommended index state reverting state for recommended index state. RecommendedIndexStateReverting RecommendedIndexState = "Reverting" // RecommendedIndexStateSuccess specifies the recommended index state success state for recommended index state. RecommendedIndexStateSuccess RecommendedIndexState = "Success" // RecommendedIndexStateVerifying specifies the recommended index state verifying state for recommended index state. RecommendedIndexStateVerifying 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 RecoverableDatabase ¶
type RecoverableDatabase struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` *RecoverableDatabaseProperties `json:"properties,omitempty"` }
RecoverableDatabase is a recoverable database
type RecoverableDatabaseListResult ¶
type RecoverableDatabaseListResult struct { autorest.Response `json:"-"` Value *[]RecoverableDatabase `json:"value,omitempty"` }
RecoverableDatabaseListResult is the response to a list recoverable databases request
type RecoverableDatabaseProperties ¶
type RecoverableDatabaseProperties struct { Edition *string `json:"edition,omitempty"` ServiceLevelObjective *string `json:"serviceLevelObjective,omitempty"` ElasticPoolName *string `json:"elasticPoolName,omitempty"` LastAvailableBackupDate *date.Time `json:"lastAvailableBackupDate,omitempty"` }
RecoverableDatabaseProperties is the properties of a recoverable database
type RecoverableDatabasesClient ¶
type RecoverableDatabasesClient struct {
ManagementClient
}
RecoverableDatabasesClient 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 NewRecoverableDatabasesClient ¶
func NewRecoverableDatabasesClient(subscriptionID string) RecoverableDatabasesClient
NewRecoverableDatabasesClient creates an instance of the RecoverableDatabasesClient client.
func NewRecoverableDatabasesClientWithBaseURI ¶
func NewRecoverableDatabasesClientWithBaseURI(baseURI string, subscriptionID string) RecoverableDatabasesClient
NewRecoverableDatabasesClientWithBaseURI creates an instance of the RecoverableDatabasesClient client.
func (RecoverableDatabasesClient) Get ¶
func (client RecoverableDatabasesClient) Get(resourceGroupName string, serverName string, databaseName string) (result RecoverableDatabase, err error)
Get gets a recoverable database, which is a resource representing a database's geo backup
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
func (RecoverableDatabasesClient) GetPreparer ¶
func (client RecoverableDatabasesClient) GetPreparer(resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (RecoverableDatabasesClient) GetResponder ¶
func (client RecoverableDatabasesClient) GetResponder(resp *http.Response) (result RecoverableDatabase, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (RecoverableDatabasesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (RecoverableDatabasesClient) ListByServer ¶
func (client RecoverableDatabasesClient) ListByServer(resourceGroupName string, serverName string) (result RecoverableDatabaseListResult, err error)
ListByServer gets a list of recoverable databases
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 (RecoverableDatabasesClient) ListByServerPreparer ¶
func (client RecoverableDatabasesClient) ListByServerPreparer(resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (RecoverableDatabasesClient) ListByServerResponder ¶
func (client RecoverableDatabasesClient) ListByServerResponder(resp *http.Response) (result RecoverableDatabaseListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (RecoverableDatabasesClient) ListByServerSender ¶
func (client RecoverableDatabasesClient) ListByServerSender(req *http.Request) (*http.Response, error)
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
type 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 ResourceIdentity ¶
type ResourceIdentity struct { PrincipalID *uuid.UUID `json:"principalId,omitempty"` Type IdentityType `json:"type,omitempty"` TenantID *uuid.UUID `json:"tenantId,omitempty"` }
ResourceIdentity is azure Active Directory identity configuration for a resource.
type RestorableDroppedDatabase ¶
type RestorableDroppedDatabase struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` *RestorableDroppedDatabaseProperties `json:"properties,omitempty"` }
RestorableDroppedDatabase is a restorable dropped database
type RestorableDroppedDatabaseListResult ¶
type RestorableDroppedDatabaseListResult struct { autorest.Response `json:"-"` Value *[]RestorableDroppedDatabase `json:"value,omitempty"` }
RestorableDroppedDatabaseListResult is the response to a list restorable dropped databases request
type RestorableDroppedDatabaseProperties ¶
type RestorableDroppedDatabaseProperties struct { DatabaseName *string `json:"databaseName,omitempty"` Edition *string `json:"edition,omitempty"` MaxSizeBytes *string `json:"maxSizeBytes,omitempty"` ServiceLevelObjective *string `json:"serviceLevelObjective,omitempty"` ElasticPoolName *string `json:"elasticPoolName,omitempty"` CreationDate *date.Time `json:"creationDate,omitempty"` DeletionDate *date.Time `json:"deletionDate,omitempty"` EarliestRestoreDate *date.Time `json:"earliestRestoreDate,omitempty"` }
RestorableDroppedDatabaseProperties is the properties of a restorable dropped database
type RestorableDroppedDatabasesClient ¶
type RestorableDroppedDatabasesClient struct {
ManagementClient
}
RestorableDroppedDatabasesClient 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 NewRestorableDroppedDatabasesClient ¶
func NewRestorableDroppedDatabasesClient(subscriptionID string) RestorableDroppedDatabasesClient
NewRestorableDroppedDatabasesClient creates an instance of the RestorableDroppedDatabasesClient client.
func NewRestorableDroppedDatabasesClientWithBaseURI ¶
func NewRestorableDroppedDatabasesClientWithBaseURI(baseURI string, subscriptionID string) RestorableDroppedDatabasesClient
NewRestorableDroppedDatabasesClientWithBaseURI creates an instance of the RestorableDroppedDatabasesClient client.
func (RestorableDroppedDatabasesClient) Get ¶
func (client RestorableDroppedDatabasesClient) Get(resourceGroupName string, serverName string, restorableDroppededDatabaseID string) (result RestorableDroppedDatabase, err error)
Get gets a deleted database that can be restored
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. restorableDroppededDatabaseID is the id of the deleted database in the form of databaseName,deletionTimeInFileTimeFormat
func (RestorableDroppedDatabasesClient) GetPreparer ¶
func (client RestorableDroppedDatabasesClient) GetPreparer(resourceGroupName string, serverName string, restorableDroppededDatabaseID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (RestorableDroppedDatabasesClient) GetResponder ¶
func (client RestorableDroppedDatabasesClient) GetResponder(resp *http.Response) (result RestorableDroppedDatabase, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (RestorableDroppedDatabasesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (RestorableDroppedDatabasesClient) ListByServer ¶
func (client RestorableDroppedDatabasesClient) ListByServer(resourceGroupName string, serverName string) (result RestorableDroppedDatabaseListResult, err error)
ListByServer gets a list of deleted databases that can be restored
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 (RestorableDroppedDatabasesClient) ListByServerPreparer ¶
func (client RestorableDroppedDatabasesClient) ListByServerPreparer(resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (RestorableDroppedDatabasesClient) ListByServerResponder ¶
func (client RestorableDroppedDatabasesClient) ListByServerResponder(resp *http.Response) (result RestorableDroppedDatabaseListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (RestorableDroppedDatabasesClient) ListByServerSender ¶
func (client RestorableDroppedDatabasesClient) ListByServerSender(req *http.Request) (*http.Response, error)
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
type RestorePoint ¶
type RestorePoint struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` *RestorePointProperties `json:"properties,omitempty"` }
RestorePoint is a database restore point.
type RestorePointListResult ¶
type RestorePointListResult struct { autorest.Response `json:"-"` Value *[]RestorePoint `json:"value,omitempty"` }
RestorePointListResult is the response to a list database restore points request.
type RestorePointProperties ¶
type RestorePointProperties struct { RestorePointType RestorePointType `json:"restorePointType,omitempty"` RestorePointCreationDate *date.Time `json:"restorePointCreationDate,omitempty"` EarliestRestoreDate *date.Time `json:"earliestRestoreDate,omitempty"` }
RestorePointProperties is represents the properties of a database restore point.
type RestorePointType ¶
type RestorePointType string
RestorePointType enumerates the values for restore point type.
const ( // CONTINUOUS specifies the continuous state for restore point type. CONTINUOUS RestorePointType = "CONTINUOUS" // DISCRETE specifies the discrete state for restore point type. DISCRETE RestorePointType = "DISCRETE" )
type RestorePointsClient ¶
type RestorePointsClient struct {
ManagementClient
}
RestorePointsClient 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 NewRestorePointsClient ¶
func NewRestorePointsClient(subscriptionID string) RestorePointsClient
NewRestorePointsClient creates an instance of the RestorePointsClient client.
func NewRestorePointsClientWithBaseURI ¶
func NewRestorePointsClientWithBaseURI(baseURI string, subscriptionID string) RestorePointsClient
NewRestorePointsClientWithBaseURI creates an instance of the RestorePointsClient client.
func (RestorePointsClient) ListByDatabase ¶
func (client RestorePointsClient) ListByDatabase(resourceGroupName string, serverName string, databaseName string) (result RestorePointListResult, err error)
ListByDatabase gets a list of database restore points.
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 available restore points.
func (RestorePointsClient) ListByDatabasePreparer ¶
func (client RestorePointsClient) ListByDatabasePreparer(resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (RestorePointsClient) ListByDatabaseResponder ¶
func (client RestorePointsClient) ListByDatabaseResponder(resp *http.Response) (result RestorePointListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (RestorePointsClient) ListByDatabaseSender ¶
ListByDatabaseSender sends the ListByDatabase request. The method will close the http.Response Body if it receives an error.
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 Server ¶
type Server 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"` Identity *ResourceIdentity `json:"identity,omitempty"` Kind *string `json:"kind,omitempty"` *ServerProperties `json:"properties,omitempty"` }
Server is an Azure SQL Database server.
type ServerAdministratorListResult ¶
type ServerAdministratorListResult struct { autorest.Response `json:"-"` Value *[]ServerAzureADAdministrator `json:"value,omitempty"` }
ServerAdministratorListResult is the response to a list Active Directory Administrators request.
type ServerAdministratorProperties ¶
type ServerAdministratorProperties struct { AdministratorType *string `json:"administratorType,omitempty"` Login *string `json:"login,omitempty"` Sid *uuid.UUID `json:"sid,omitempty"` TenantID *uuid.UUID `json:"tenantId,omitempty"` }
ServerAdministratorProperties is the properties of an server Administrator.
type ServerAzureADAdministrator ¶
type ServerAzureADAdministrator struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` *ServerAdministratorProperties `json:"properties,omitempty"` }
ServerAzureADAdministrator is an server Active Directory Administrator.
type ServerAzureADAdministratorsClient ¶
type ServerAzureADAdministratorsClient struct {
ManagementClient
}
ServerAzureADAdministratorsClient 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 NewServerAzureADAdministratorsClient ¶
func NewServerAzureADAdministratorsClient(subscriptionID string) ServerAzureADAdministratorsClient
NewServerAzureADAdministratorsClient creates an instance of the ServerAzureADAdministratorsClient client.
func NewServerAzureADAdministratorsClientWithBaseURI ¶
func NewServerAzureADAdministratorsClientWithBaseURI(baseURI string, subscriptionID string) ServerAzureADAdministratorsClient
NewServerAzureADAdministratorsClientWithBaseURI creates an instance of the ServerAzureADAdministratorsClient client.
func (ServerAzureADAdministratorsClient) CreateOrUpdate ¶
func (client ServerAzureADAdministratorsClient) CreateOrUpdate(resourceGroupName string, serverName string, administratorName string, properties ServerAzureADAdministrator, cancel <-chan struct{}) (<-chan ServerAzureADAdministrator, <-chan error)
CreateOrUpdate creates a new Server Active Directory Administrator or updates an existing server Active Directory Administrator. 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. administratorName is name of the server administrator resource. properties is the required parameters for creating or updating an Active Directory Administrator.
func (ServerAzureADAdministratorsClient) CreateOrUpdatePreparer ¶
func (client ServerAzureADAdministratorsClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, administratorName string, properties ServerAzureADAdministrator, cancel <-chan struct{}) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ServerAzureADAdministratorsClient) CreateOrUpdateResponder ¶
func (client ServerAzureADAdministratorsClient) CreateOrUpdateResponder(resp *http.Response) (result ServerAzureADAdministrator, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ServerAzureADAdministratorsClient) CreateOrUpdateSender ¶
func (client ServerAzureADAdministratorsClient) 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 (ServerAzureADAdministratorsClient) Delete ¶
func (client ServerAzureADAdministratorsClient) Delete(resourceGroupName string, serverName string, administratorName string, cancel <-chan struct{}) (<-chan ServerAzureADAdministrator, <-chan error)
Delete deletes an existing server Active Directory Administrator. 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. administratorName is name of the server administrator resource.
func (ServerAzureADAdministratorsClient) DeletePreparer ¶
func (client ServerAzureADAdministratorsClient) DeletePreparer(resourceGroupName string, serverName string, administratorName string, cancel <-chan struct{}) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ServerAzureADAdministratorsClient) DeleteResponder ¶
func (client ServerAzureADAdministratorsClient) DeleteResponder(resp *http.Response) (result ServerAzureADAdministrator, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ServerAzureADAdministratorsClient) DeleteSender ¶
func (client ServerAzureADAdministratorsClient) DeleteSender(req *http.Request) (*http.Response, error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ServerAzureADAdministratorsClient) Get ¶
func (client ServerAzureADAdministratorsClient) Get(resourceGroupName string, serverName string, administratorName string) (result ServerAzureADAdministrator, err error)
Get returns an server Administrator.
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. administratorName is name of the server administrator resource.
func (ServerAzureADAdministratorsClient) GetPreparer ¶
func (client ServerAzureADAdministratorsClient) GetPreparer(resourceGroupName string, serverName string, administratorName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ServerAzureADAdministratorsClient) GetResponder ¶
func (client ServerAzureADAdministratorsClient) GetResponder(resp *http.Response) (result ServerAzureADAdministrator, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ServerAzureADAdministratorsClient) GetSender ¶
func (client ServerAzureADAdministratorsClient) GetSender(req *http.Request) (*http.Response, error)
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ServerAzureADAdministratorsClient) ListByServer ¶
func (client ServerAzureADAdministratorsClient) ListByServer(resourceGroupName string, serverName string) (result ServerAdministratorListResult, err error)
ListByServer returns a list of server Administrators.
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 (ServerAzureADAdministratorsClient) ListByServerPreparer ¶
func (client ServerAzureADAdministratorsClient) ListByServerPreparer(resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (ServerAzureADAdministratorsClient) ListByServerResponder ¶
func (client ServerAzureADAdministratorsClient) ListByServerResponder(resp *http.Response) (result ServerAdministratorListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (ServerAzureADAdministratorsClient) ListByServerSender ¶
func (client ServerAzureADAdministratorsClient) ListByServerSender(req *http.Request) (*http.Response, error)
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
type ServerCommunicationLink ¶
type ServerCommunicationLink struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` *ServerCommunicationLinkProperties `json:"properties,omitempty"` Location *string `json:"location,omitempty"` Kind *string `json:"kind,omitempty"` }
ServerCommunicationLink is server communication link.
type ServerCommunicationLinkListResult ¶
type ServerCommunicationLinkListResult struct { autorest.Response `json:"-"` Value *[]ServerCommunicationLink `json:"value,omitempty"` }
ServerCommunicationLinkListResult is a list of server communication links.
type ServerCommunicationLinkProperties ¶
type ServerCommunicationLinkProperties struct { State *string `json:"state,omitempty"` PartnerServer *string `json:"partnerServer,omitempty"` }
ServerCommunicationLinkProperties is the properties of a server communication link.
type ServerCommunicationLinksClient ¶
type ServerCommunicationLinksClient struct {
ManagementClient
}
ServerCommunicationLinksClient 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 NewServerCommunicationLinksClient ¶
func NewServerCommunicationLinksClient(subscriptionID string) ServerCommunicationLinksClient
NewServerCommunicationLinksClient creates an instance of the ServerCommunicationLinksClient client.
func NewServerCommunicationLinksClientWithBaseURI ¶
func NewServerCommunicationLinksClientWithBaseURI(baseURI string, subscriptionID string) ServerCommunicationLinksClient
NewServerCommunicationLinksClientWithBaseURI creates an instance of the ServerCommunicationLinksClient client.
func (ServerCommunicationLinksClient) CreateOrUpdate ¶
func (client ServerCommunicationLinksClient) CreateOrUpdate(resourceGroupName string, serverName string, communicationLinkName string, parameters ServerCommunicationLink, cancel <-chan struct{}) (<-chan ServerCommunicationLink, <-chan error)
CreateOrUpdate creates a server communication link. 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. communicationLinkName is the name of the server communication link. parameters is the required parameters for creating a server communication link.
func (ServerCommunicationLinksClient) CreateOrUpdatePreparer ¶
func (client ServerCommunicationLinksClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, communicationLinkName string, parameters ServerCommunicationLink, cancel <-chan struct{}) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ServerCommunicationLinksClient) CreateOrUpdateResponder ¶
func (client ServerCommunicationLinksClient) CreateOrUpdateResponder(resp *http.Response) (result ServerCommunicationLink, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ServerCommunicationLinksClient) CreateOrUpdateSender ¶
func (client ServerCommunicationLinksClient) 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 (ServerCommunicationLinksClient) Delete ¶
func (client ServerCommunicationLinksClient) Delete(resourceGroupName string, serverName string, communicationLinkName string) (result autorest.Response, err error)
Delete deletes a server communication 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. communicationLinkName is the name of the server communication link.
func (ServerCommunicationLinksClient) DeletePreparer ¶
func (client ServerCommunicationLinksClient) DeletePreparer(resourceGroupName string, serverName string, communicationLinkName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ServerCommunicationLinksClient) DeleteResponder ¶
func (client ServerCommunicationLinksClient) 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 (ServerCommunicationLinksClient) DeleteSender ¶
func (client ServerCommunicationLinksClient) DeleteSender(req *http.Request) (*http.Response, error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ServerCommunicationLinksClient) Get ¶
func (client ServerCommunicationLinksClient) Get(resourceGroupName string, serverName string, communicationLinkName string) (result ServerCommunicationLink, err error)
Get returns a server communication 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. communicationLinkName is the name of the server communication link.
func (ServerCommunicationLinksClient) GetPreparer ¶
func (client ServerCommunicationLinksClient) GetPreparer(resourceGroupName string, serverName string, communicationLinkName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ServerCommunicationLinksClient) GetResponder ¶
func (client ServerCommunicationLinksClient) GetResponder(resp *http.Response) (result ServerCommunicationLink, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ServerCommunicationLinksClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ServerCommunicationLinksClient) ListByServer ¶
func (client ServerCommunicationLinksClient) ListByServer(resourceGroupName string, serverName string) (result ServerCommunicationLinkListResult, err error)
ListByServer gets a list of server communication 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.
func (ServerCommunicationLinksClient) ListByServerPreparer ¶
func (client ServerCommunicationLinksClient) ListByServerPreparer(resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (ServerCommunicationLinksClient) ListByServerResponder ¶
func (client ServerCommunicationLinksClient) ListByServerResponder(resp *http.Response) (result ServerCommunicationLinkListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (ServerCommunicationLinksClient) ListByServerSender ¶
func (client ServerCommunicationLinksClient) ListByServerSender(req *http.Request) (*http.Response, error)
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
type ServerConnectionPoliciesClient ¶
type ServerConnectionPoliciesClient struct {
ManagementClient
}
ServerConnectionPoliciesClient 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 NewServerConnectionPoliciesClient ¶
func NewServerConnectionPoliciesClient(subscriptionID string) ServerConnectionPoliciesClient
NewServerConnectionPoliciesClient creates an instance of the ServerConnectionPoliciesClient client.
func NewServerConnectionPoliciesClientWithBaseURI ¶
func NewServerConnectionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ServerConnectionPoliciesClient
NewServerConnectionPoliciesClientWithBaseURI creates an instance of the ServerConnectionPoliciesClient client.
func (ServerConnectionPoliciesClient) CreateOrUpdate ¶
func (client ServerConnectionPoliciesClient) CreateOrUpdate(resourceGroupName string, serverName string, connectionPolicyName string, parameters ServerConnectionPolicy) (result ServerConnectionPolicy, err error)
CreateOrUpdate creates or updates the server's connection 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. connectionPolicyName is the name of the connection policy. parameters is the required parameters for updating a secure connection policy.
func (ServerConnectionPoliciesClient) CreateOrUpdatePreparer ¶
func (client ServerConnectionPoliciesClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, connectionPolicyName string, parameters ServerConnectionPolicy) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ServerConnectionPoliciesClient) CreateOrUpdateResponder ¶
func (client ServerConnectionPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ServerConnectionPolicy, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ServerConnectionPoliciesClient) CreateOrUpdateSender ¶
func (client ServerConnectionPoliciesClient) 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 (ServerConnectionPoliciesClient) Get ¶
func (client ServerConnectionPoliciesClient) Get(resourceGroupName string, serverName string, connectionPolicyName string) (result ServerConnectionPolicy, err error)
Get gets the server's secure connection 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. connectionPolicyName is the name of the connection policy.
func (ServerConnectionPoliciesClient) GetPreparer ¶
func (client ServerConnectionPoliciesClient) GetPreparer(resourceGroupName string, serverName string, connectionPolicyName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ServerConnectionPoliciesClient) GetResponder ¶
func (client ServerConnectionPoliciesClient) GetResponder(resp *http.Response) (result ServerConnectionPolicy, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type ServerConnectionPolicy ¶
type ServerConnectionPolicy 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"` *ServerConnectionPolicyProperties `json:"properties,omitempty"` }
ServerConnectionPolicy is a server secure connection policy.
type ServerConnectionPolicyProperties ¶
type ServerConnectionPolicyProperties struct {
ConnectionType ServerConnectionType `json:"connectionType,omitempty"`
}
ServerConnectionPolicyProperties is the properties of a server secure connection policy.
type ServerConnectionType ¶
type ServerConnectionType string
ServerConnectionType enumerates the values for server connection type.
const ( // ServerConnectionTypeDefault specifies the server connection type default state for server connection type. ServerConnectionTypeDefault ServerConnectionType = "Default" // ServerConnectionTypeProxy specifies the server connection type proxy state for server connection type. ServerConnectionTypeProxy ServerConnectionType = "Proxy" // ServerConnectionTypeRedirect specifies the server connection type redirect state for server connection type. ServerConnectionTypeRedirect ServerConnectionType = "Redirect" )
type ServerKey ¶
type ServerKey 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"` *ServerKeyProperties `json:"properties,omitempty"` }
ServerKey is a server key.
type ServerKeyListResult ¶
type ServerKeyListResult struct { autorest.Response `json:"-"` Value *[]ServerKey `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
ServerKeyListResult is a list of server keys.
func (ServerKeyListResult) ServerKeyListResultPreparer ¶
func (client ServerKeyListResult) ServerKeyListResultPreparer() (*http.Request, error)
ServerKeyListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type ServerKeyProperties ¶
type ServerKeyProperties struct { Subregion *string `json:"subregion,omitempty"` ServerKeyType ServerKeyType `json:"serverKeyType,omitempty"` URI *string `json:"uri,omitempty"` Thumbprint *string `json:"thumbprint,omitempty"` CreationDate *date.Time `json:"creationDate,omitempty"` }
ServerKeyProperties is properties for a server key execution.
type ServerKeyType ¶
type ServerKeyType string
ServerKeyType enumerates the values for server key type.
const ( // AzureKeyVault specifies the azure key vault state for server key type. AzureKeyVault ServerKeyType = "AzureKeyVault" // ServiceManaged specifies the service managed state for server key type. ServiceManaged ServerKeyType = "ServiceManaged" )
type ServerKeysClient ¶
type ServerKeysClient struct {
ManagementClient
}
ServerKeysClient 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 NewServerKeysClient ¶
func NewServerKeysClient(subscriptionID string) ServerKeysClient
NewServerKeysClient creates an instance of the ServerKeysClient client.
func NewServerKeysClientWithBaseURI ¶
func NewServerKeysClientWithBaseURI(baseURI string, subscriptionID string) ServerKeysClient
NewServerKeysClientWithBaseURI creates an instance of the ServerKeysClient client.
func (ServerKeysClient) CreateOrUpdate ¶
func (client ServerKeysClient) CreateOrUpdate(resourceGroupName string, serverName string, keyName string, parameters ServerKey, cancel <-chan struct{}) (<-chan ServerKey, <-chan error)
CreateOrUpdate creates or updates a server key. 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. keyName is the name of the server key to be operated on (updated or created). The key name is required to be in the format of 'vault_key_version'. For example, if the keyId is https://YourVaultName.vault.azure.net/keys/YourKeyName/01234567890123456789012345678901, then the server key name should be formatted as: YourVaultName_YourKeyName_01234567890123456789012345678901 parameters is the requested server key resource state.
func (ServerKeysClient) CreateOrUpdatePreparer ¶
func (client ServerKeysClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, keyName string, parameters ServerKey, cancel <-chan struct{}) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ServerKeysClient) CreateOrUpdateResponder ¶
func (client ServerKeysClient) CreateOrUpdateResponder(resp *http.Response) (result ServerKey, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ServerKeysClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ServerKeysClient) Delete ¶
func (client ServerKeysClient) Delete(resourceGroupName string, serverName string, keyName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
Delete deletes the server key with the given name. 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. keyName is the name of the server key to be deleted.
func (ServerKeysClient) DeletePreparer ¶
func (client ServerKeysClient) DeletePreparer(resourceGroupName string, serverName string, keyName string, cancel <-chan struct{}) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ServerKeysClient) DeleteResponder ¶
func (client ServerKeysClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ServerKeysClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ServerKeysClient) Get ¶
func (client ServerKeysClient) Get(resourceGroupName string, serverName string, keyName string) (result ServerKey, err error)
Get gets a server key.
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. keyName is the name of the server key to be retrieved.
func (ServerKeysClient) GetPreparer ¶
func (client ServerKeysClient) GetPreparer(resourceGroupName string, serverName string, keyName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ServerKeysClient) GetResponder ¶
func (client ServerKeysClient) GetResponder(resp *http.Response) (result ServerKey, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ServerKeysClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ServerKeysClient) ListByServer ¶
func (client ServerKeysClient) ListByServer(resourceGroupName string, serverName string) (result ServerKeyListResult, err error)
ListByServer gets a list of server keys.
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 (ServerKeysClient) ListByServerComplete ¶
func (client ServerKeysClient) ListByServerComplete(resourceGroupName string, serverName string, cancel <-chan struct{}) (<-chan ServerKey, <-chan error)
ListByServerComplete gets all elements from the list without paging.
func (ServerKeysClient) ListByServerNextResults ¶
func (client ServerKeysClient) ListByServerNextResults(lastResults ServerKeyListResult) (result ServerKeyListResult, err error)
ListByServerNextResults retrieves the next set of results, if any.
func (ServerKeysClient) ListByServerPreparer ¶
func (client ServerKeysClient) ListByServerPreparer(resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (ServerKeysClient) ListByServerResponder ¶
func (client ServerKeysClient) ListByServerResponder(resp *http.Response) (result ServerKeyListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (ServerKeysClient) ListByServerSender ¶
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
type ServerListResult ¶
type ServerListResult struct { autorest.Response `json:"-"` Value *[]Server `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
ServerListResult is a list of servers.
func (ServerListResult) ServerListResultPreparer ¶
func (client ServerListResult) ServerListResultPreparer() (*http.Request, error)
ServerListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type ServerProperties ¶
type ServerProperties struct { AdministratorLogin *string `json:"administratorLogin,omitempty"` AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` Version *string `json:"version,omitempty"` State *string `json:"state,omitempty"` FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty"` }
ServerProperties is the properties of a server.
type ServerUpdate ¶
type ServerUpdate struct { *ServerProperties `json:"properties,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` }
ServerUpdate is an update request for an Azure SQL Database server.
type ServerUsage ¶
type ServerUsage struct { Name *string `json:"name,omitempty"` ResourceName *string `json:"resourceName,omitempty"` DisplayName *string `json:"displayName,omitempty"` CurrentValue *float64 `json:"currentValue,omitempty"` Limit *float64 `json:"limit,omitempty"` Unit *string `json:"unit,omitempty"` NextResetTime *date.Time `json:"nextResetTime,omitempty"` }
ServerUsage is represents server metrics.
type ServerUsageListResult ¶
type ServerUsageListResult struct { autorest.Response `json:"-"` Value *[]ServerUsage `json:"value,omitempty"` }
ServerUsageListResult is represents the response to a list server metrics request.
type ServerUsagesClient ¶
type ServerUsagesClient struct {
ManagementClient
}
ServerUsagesClient 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 NewServerUsagesClient ¶
func NewServerUsagesClient(subscriptionID string) ServerUsagesClient
NewServerUsagesClient creates an instance of the ServerUsagesClient client.
func NewServerUsagesClientWithBaseURI ¶
func NewServerUsagesClientWithBaseURI(baseURI string, subscriptionID string) ServerUsagesClient
NewServerUsagesClientWithBaseURI creates an instance of the ServerUsagesClient client.
func (ServerUsagesClient) ListByServer ¶
func (client ServerUsagesClient) ListByServer(resourceGroupName string, serverName string) (result ServerUsageListResult, err error)
ListByServer returns server usages.
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 (ServerUsagesClient) ListByServerPreparer ¶
func (client ServerUsagesClient) ListByServerPreparer(resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (ServerUsagesClient) ListByServerResponder ¶
func (client ServerUsagesClient) ListByServerResponder(resp *http.Response) (result ServerUsageListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (ServerUsagesClient) ListByServerSender ¶
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
type ServerVersionCapability ¶
type ServerVersionCapability struct { Name *string `json:"name,omitempty"` Status CapabilityStatus `json:"status,omitempty"` SupportedEditions *[]EditionCapability `json:"supportedEditions,omitempty"` SupportedElasticPoolEditions *[]ElasticPoolEditionCapability `json:"supportedElasticPoolEditions,omitempty"` }
ServerVersionCapability is the server capabilities.
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.
func (ServersClient) CreateOrUpdate ¶
func (client ServersClient) CreateOrUpdate(resourceGroupName string, serverName string, parameters Server, cancel <-chan struct{}) (<-chan Server, <-chan error)
CreateOrUpdate creates or updates a server. 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 requested server resource state.
func (ServersClient) CreateOrUpdatePreparer ¶
func (client ServersClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, parameters Server, cancel <-chan struct{}) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ServersClient) CreateOrUpdateResponder ¶
func (client ServersClient) CreateOrUpdateResponder(resp *http.Response) (result Server, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ServersClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ServersClient) Delete ¶
func (client ServersClient) Delete(resourceGroupName string, serverName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
Delete deletes a server. 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.
func (ServersClient) DeletePreparer ¶
func (client ServersClient) DeletePreparer(resourceGroupName string, serverName string, cancel <-chan struct{}) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ServersClient) DeleteResponder ¶
func (client ServersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ServersClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ServersClient) Get ¶
func (client ServersClient) Get(resourceGroupName string, serverName string) (result Server, err error)
Get gets 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 (ServersClient) GetPreparer ¶
func (client ServersClient) GetPreparer(resourceGroupName string, serverName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ServersClient) GetResponder ¶
func (client ServersClient) GetResponder(resp *http.Response) (result Server, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ServersClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ServersClient) List ¶
func (client ServersClient) List() (result ServerListResult, err error)
List gets a list of all servers in the subscription.
func (ServersClient) ListByResourceGroup ¶
func (client ServersClient) ListByResourceGroup(resourceGroupName string) (result ServerListResult, err error)
ListByResourceGroup gets a list of servers in a resource groups.
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.
func (ServersClient) ListByResourceGroupComplete ¶
func (client ServersClient) ListByResourceGroupComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan Server, <-chan error)
ListByResourceGroupComplete gets all elements from the list without paging.
func (ServersClient) ListByResourceGroupNextResults ¶
func (client ServersClient) ListByResourceGroupNextResults(lastResults ServerListResult) (result ServerListResult, err error)
ListByResourceGroupNextResults retrieves the next set of results, if any.
func (ServersClient) ListByResourceGroupPreparer ¶
func (client ServersClient) ListByResourceGroupPreparer(resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (ServersClient) ListByResourceGroupResponder ¶
func (client ServersClient) ListByResourceGroupResponder(resp *http.Response) (result ServerListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (ServersClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (ServersClient) ListComplete ¶
func (client ServersClient) ListComplete(cancel <-chan struct{}) (<-chan Server, <-chan error)
ListComplete gets all elements from the list without paging.
func (ServersClient) ListNextResults ¶
func (client ServersClient) ListNextResults(lastResults ServerListResult) (result ServerListResult, err error)
ListNextResults retrieves the next set of results, if any.
func (ServersClient) ListPreparer ¶
func (client ServersClient) ListPreparer() (*http.Request, error)
ListPreparer prepares the List request.
func (ServersClient) ListResponder ¶
func (client ServersClient) ListResponder(resp *http.Response) (result ServerListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ServersClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (ServersClient) Update ¶
func (client ServersClient) Update(resourceGroupName string, serverName string, parameters ServerUpdate, cancel <-chan struct{}) (<-chan Server, <-chan error)
Update updates a server. 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 requested server resource state.
func (ServersClient) UpdatePreparer ¶
func (client ServersClient) UpdatePreparer(resourceGroupName string, serverName string, parameters ServerUpdate, cancel <-chan struct{}) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ServersClient) UpdateResponder ¶
func (client ServersClient) UpdateResponder(resp *http.Response) (result Server, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ServersClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ServiceObjective ¶
type ServiceObjective struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` *ServiceObjectiveProperties `json:"properties,omitempty"` }
ServiceObjective is represents a database service objective.
type ServiceObjectiveCapability ¶
type ServiceObjectiveCapability struct { Name *string `json:"name,omitempty"` Status CapabilityStatus `json:"status,omitempty"` *PerformanceLevel `json:"performanceLevel,omitempty"` ID *uuid.UUID `json:"id,omitempty"` SupportedMaxSizes *[]MaxSizeCapability `json:"supportedMaxSizes,omitempty"` IncludedMaxSize *MaxSizeCapability `json:"includedMaxSize,omitempty"` }
ServiceObjectiveCapability is the service objectives capability.
type ServiceObjectiveListResult ¶
type ServiceObjectiveListResult struct { autorest.Response `json:"-"` Value *[]ServiceObjective `json:"value,omitempty"` }
ServiceObjectiveListResult is represents the response to a get database service objectives request.
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 ServiceObjectiveProperties ¶
type ServiceObjectiveProperties struct { ServiceObjectiveName *string `json:"serviceObjectiveName,omitempty"` IsDefault *bool `json:"isDefault,omitempty"` IsSystem *bool `json:"isSystem,omitempty"` Description *string `json:"description,omitempty"` Enabled *bool `json:"enabled,omitempty"` }
ServiceObjectiveProperties is represents the properties of a database service objective.
type ServiceObjectivesClient ¶
type ServiceObjectivesClient struct {
ManagementClient
}
ServiceObjectivesClient 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 NewServiceObjectivesClient ¶
func NewServiceObjectivesClient(subscriptionID string) ServiceObjectivesClient
NewServiceObjectivesClient creates an instance of the ServiceObjectivesClient client.
func NewServiceObjectivesClientWithBaseURI ¶
func NewServiceObjectivesClientWithBaseURI(baseURI string, subscriptionID string) ServiceObjectivesClient
NewServiceObjectivesClientWithBaseURI creates an instance of the ServiceObjectivesClient client.
func (ServiceObjectivesClient) Get ¶
func (client ServiceObjectivesClient) Get(resourceGroupName string, serverName string, serviceObjectiveName string) (result ServiceObjective, err error)
Get gets a database service objective.
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. serviceObjectiveName is the name of the service objective to retrieve.
func (ServiceObjectivesClient) GetPreparer ¶
func (client ServiceObjectivesClient) GetPreparer(resourceGroupName string, serverName string, serviceObjectiveName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ServiceObjectivesClient) GetResponder ¶
func (client ServiceObjectivesClient) GetResponder(resp *http.Response) (result ServiceObjective, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ServiceObjectivesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ServiceObjectivesClient) ListByServer ¶
func (client ServiceObjectivesClient) ListByServer(resourceGroupName string, serverName string) (result ServiceObjectiveListResult, err error)
ListByServer returns database service objectives.
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 (ServiceObjectivesClient) ListByServerPreparer ¶
func (client ServiceObjectivesClient) ListByServerPreparer(resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (ServiceObjectivesClient) ListByServerResponder ¶
func (client ServiceObjectivesClient) ListByServerResponder(resp *http.Response) (result ServiceObjectiveListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (ServiceObjectivesClient) ListByServerSender ¶
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
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 SyncAgent ¶
type SyncAgent struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` *SyncAgentProperties `json:"properties,omitempty"` }
SyncAgent is an Azure SQL Database sync agent.
type SyncAgentKeyProperties ¶
type SyncAgentKeyProperties struct { autorest.Response `json:"-"` SyncAgentKey *string `json:"syncAgentKey,omitempty"` }
SyncAgentKeyProperties is properties of an Azure SQL Database sync agent key.
type SyncAgentLinkedDatabase ¶
type SyncAgentLinkedDatabase struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` *SyncAgentLinkedDatabaseProperties `json:"properties,omitempty"` }
SyncAgentLinkedDatabase is an Azure SQL Database sync agent linked database.
type SyncAgentLinkedDatabaseListResult ¶
type SyncAgentLinkedDatabaseListResult struct { autorest.Response `json:"-"` Value *[]SyncAgentLinkedDatabase `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
SyncAgentLinkedDatabaseListResult is a list of sync agent linked databases.
func (SyncAgentLinkedDatabaseListResult) SyncAgentLinkedDatabaseListResultPreparer ¶
func (client SyncAgentLinkedDatabaseListResult) SyncAgentLinkedDatabaseListResultPreparer() (*http.Request, error)
SyncAgentLinkedDatabaseListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type SyncAgentLinkedDatabaseProperties ¶
type SyncAgentLinkedDatabaseProperties struct { DatabaseType SyncMemberDbType `json:"databaseType,omitempty"` DatabaseID *string `json:"databaseId,omitempty"` Description *string `json:"description,omitempty"` ServerName *string `json:"serverName,omitempty"` DatabaseName *string `json:"databaseName,omitempty"` UserName *string `json:"userName,omitempty"` }
SyncAgentLinkedDatabaseProperties is properties of an Azure SQL Database sync agent linked database.
type SyncAgentListResult ¶
type SyncAgentListResult struct { autorest.Response `json:"-"` Value *[]SyncAgent `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
SyncAgentListResult is a list of sync agents.
func (SyncAgentListResult) SyncAgentListResultPreparer ¶
func (client SyncAgentListResult) SyncAgentListResultPreparer() (*http.Request, error)
SyncAgentListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type SyncAgentProperties ¶
type SyncAgentProperties struct { Name *string `json:"name,omitempty"` SyncDatabaseID *string `json:"syncDatabaseId,omitempty"` LastAliveTime *date.Time `json:"lastAliveTime,omitempty"` State SyncAgentState `json:"state,omitempty"` IsUpToDate *bool `json:"isUpToDate,omitempty"` ExpiryTime *date.Time `json:"expiryTime,omitempty"` Version *string `json:"version,omitempty"` }
SyncAgentProperties is properties of an Azure SQL Database sync agent.
type SyncAgentState ¶
type SyncAgentState string
SyncAgentState enumerates the values for sync agent state.
const ( // NeverConnected specifies the never connected state for sync agent state. NeverConnected SyncAgentState = "NeverConnected" // Offline specifies the offline state for sync agent state. Offline SyncAgentState = "Offline" // Online specifies the online state for sync agent state. Online SyncAgentState = "Online" )
type SyncAgentsClient ¶
type SyncAgentsClient struct {
ManagementClient
}
SyncAgentsClient 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 NewSyncAgentsClient ¶
func NewSyncAgentsClient(subscriptionID string) SyncAgentsClient
NewSyncAgentsClient creates an instance of the SyncAgentsClient client.
func NewSyncAgentsClientWithBaseURI ¶
func NewSyncAgentsClientWithBaseURI(baseURI string, subscriptionID string) SyncAgentsClient
NewSyncAgentsClientWithBaseURI creates an instance of the SyncAgentsClient client.
func (SyncAgentsClient) CreateOrUpdate ¶
func (client SyncAgentsClient) CreateOrUpdate(resourceGroupName string, serverName string, syncAgentName string, parameters SyncAgent, cancel <-chan struct{}) (<-chan SyncAgent, <-chan error)
CreateOrUpdate creates or updates a sync agent. 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 on which the sync agent is hosted. syncAgentName is the name of the sync agent. parameters is the requested sync agent resource state.
func (SyncAgentsClient) CreateOrUpdatePreparer ¶
func (client SyncAgentsClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, syncAgentName string, parameters SyncAgent, cancel <-chan struct{}) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (SyncAgentsClient) CreateOrUpdateResponder ¶
func (client SyncAgentsClient) CreateOrUpdateResponder(resp *http.Response) (result SyncAgent, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (SyncAgentsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (SyncAgentsClient) Delete ¶
func (client SyncAgentsClient) Delete(resourceGroupName string, serverName string, syncAgentName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
Delete deletes a sync agent. 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 on which the sync agent is hosted. syncAgentName is the name of the sync agent.
func (SyncAgentsClient) DeletePreparer ¶
func (client SyncAgentsClient) DeletePreparer(resourceGroupName string, serverName string, syncAgentName string, cancel <-chan struct{}) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (SyncAgentsClient) DeleteResponder ¶
func (client SyncAgentsClient) 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 (SyncAgentsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (SyncAgentsClient) GenerateKey ¶
func (client SyncAgentsClient) GenerateKey(resourceGroupName string, serverName string, syncAgentName string) (result SyncAgentKeyProperties, err error)
GenerateKey generates a sync agent key.
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 on which the sync agent is hosted. syncAgentName is the name of the sync agent.
func (SyncAgentsClient) GenerateKeyPreparer ¶
func (client SyncAgentsClient) GenerateKeyPreparer(resourceGroupName string, serverName string, syncAgentName string) (*http.Request, error)
GenerateKeyPreparer prepares the GenerateKey request.
func (SyncAgentsClient) GenerateKeyResponder ¶
func (client SyncAgentsClient) GenerateKeyResponder(resp *http.Response) (result SyncAgentKeyProperties, err error)
GenerateKeyResponder handles the response to the GenerateKey request. The method always closes the http.Response Body.
func (SyncAgentsClient) GenerateKeySender ¶
GenerateKeySender sends the GenerateKey request. The method will close the http.Response Body if it receives an error.
func (SyncAgentsClient) Get ¶
func (client SyncAgentsClient) Get(resourceGroupName string, serverName string, syncAgentName string) (result SyncAgent, err error)
Get gets a sync agent.
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 on which the sync agent is hosted. syncAgentName is the name of the sync agent.
func (SyncAgentsClient) GetPreparer ¶
func (client SyncAgentsClient) GetPreparer(resourceGroupName string, serverName string, syncAgentName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (SyncAgentsClient) GetResponder ¶
func (client SyncAgentsClient) GetResponder(resp *http.Response) (result SyncAgent, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (SyncAgentsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (SyncAgentsClient) ListByServer ¶
func (client SyncAgentsClient) ListByServer(resourceGroupName string, serverName string) (result SyncAgentListResult, err error)
ListByServer lists sync agents 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 on which the sync agent is hosted.
func (SyncAgentsClient) ListByServerComplete ¶
func (client SyncAgentsClient) ListByServerComplete(resourceGroupName string, serverName string, cancel <-chan struct{}) (<-chan SyncAgent, <-chan error)
ListByServerComplete gets all elements from the list without paging.
func (SyncAgentsClient) ListByServerNextResults ¶
func (client SyncAgentsClient) ListByServerNextResults(lastResults SyncAgentListResult) (result SyncAgentListResult, err error)
ListByServerNextResults retrieves the next set of results, if any.
func (SyncAgentsClient) ListByServerPreparer ¶
func (client SyncAgentsClient) ListByServerPreparer(resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (SyncAgentsClient) ListByServerResponder ¶
func (client SyncAgentsClient) ListByServerResponder(resp *http.Response) (result SyncAgentListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (SyncAgentsClient) ListByServerSender ¶
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
func (SyncAgentsClient) ListLinkedDatabases ¶
func (client SyncAgentsClient) ListLinkedDatabases(resourceGroupName string, serverName string, syncAgentName string) (result SyncAgentLinkedDatabaseListResult, err error)
ListLinkedDatabases lists databases linked to a sync agent.
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 on which the sync agent is hosted. syncAgentName is the name of the sync agent.
func (SyncAgentsClient) ListLinkedDatabasesComplete ¶
func (client SyncAgentsClient) ListLinkedDatabasesComplete(resourceGroupName string, serverName string, syncAgentName string, cancel <-chan struct{}) (<-chan SyncAgentLinkedDatabase, <-chan error)
ListLinkedDatabasesComplete gets all elements from the list without paging.
func (SyncAgentsClient) ListLinkedDatabasesNextResults ¶
func (client SyncAgentsClient) ListLinkedDatabasesNextResults(lastResults SyncAgentLinkedDatabaseListResult) (result SyncAgentLinkedDatabaseListResult, err error)
ListLinkedDatabasesNextResults retrieves the next set of results, if any.
func (SyncAgentsClient) ListLinkedDatabasesPreparer ¶
func (client SyncAgentsClient) ListLinkedDatabasesPreparer(resourceGroupName string, serverName string, syncAgentName string) (*http.Request, error)
ListLinkedDatabasesPreparer prepares the ListLinkedDatabases request.
func (SyncAgentsClient) ListLinkedDatabasesResponder ¶
func (client SyncAgentsClient) ListLinkedDatabasesResponder(resp *http.Response) (result SyncAgentLinkedDatabaseListResult, err error)
ListLinkedDatabasesResponder handles the response to the ListLinkedDatabases request. The method always closes the http.Response Body.
func (SyncAgentsClient) ListLinkedDatabasesSender ¶
ListLinkedDatabasesSender sends the ListLinkedDatabases request. The method will close the http.Response Body if it receives an error.
type SyncConflictResolutionPolicy ¶
type SyncConflictResolutionPolicy string
SyncConflictResolutionPolicy enumerates the values for sync conflict resolution policy.
const ( // HubWin specifies the hub win state for sync conflict resolution policy. HubWin SyncConflictResolutionPolicy = "HubWin" // MemberWin specifies the member win state for sync conflict resolution policy. MemberWin SyncConflictResolutionPolicy = "MemberWin" )
type SyncDatabaseIDListResult ¶
type SyncDatabaseIDListResult struct { autorest.Response `json:"-"` Value *[]SyncDatabaseIDProperties `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
SyncDatabaseIDListResult is a list of sync database ID properties.
func (SyncDatabaseIDListResult) SyncDatabaseIDListResultPreparer ¶
func (client SyncDatabaseIDListResult) SyncDatabaseIDListResultPreparer() (*http.Request, error)
SyncDatabaseIDListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type SyncDatabaseIDProperties ¶
type SyncDatabaseIDProperties struct {
ID *string `json:"id,omitempty"`
}
SyncDatabaseIDProperties is properties of the sync database id.
type SyncDirection ¶
type SyncDirection string
SyncDirection enumerates the values for sync direction.
const ( // Bidirectional specifies the bidirectional state for sync direction. Bidirectional SyncDirection = "Bidirectional" // OneWayHubToMember specifies the one way hub to member state for sync direction. OneWayHubToMember SyncDirection = "OneWayHubToMember" // OneWayMemberToHub specifies the one way member to hub state for sync direction. OneWayMemberToHub SyncDirection = "OneWayMemberToHub" )
type SyncFullSchemaProperties ¶
type SyncFullSchemaProperties struct { Tables *[]SyncFullSchemaTable `json:"tables,omitempty"` LastUpdateTime *date.Time `json:"lastUpdateTime,omitempty"` }
SyncFullSchemaProperties is properties of the database full schema.
type SyncFullSchemaPropertiesListResult ¶
type SyncFullSchemaPropertiesListResult struct { autorest.Response `json:"-"` Value *[]SyncFullSchemaProperties `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
SyncFullSchemaPropertiesListResult is a list of sync schema properties.
func (SyncFullSchemaPropertiesListResult) SyncFullSchemaPropertiesListResultPreparer ¶
func (client SyncFullSchemaPropertiesListResult) SyncFullSchemaPropertiesListResultPreparer() (*http.Request, error)
SyncFullSchemaPropertiesListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type SyncFullSchemaTable ¶
type SyncFullSchemaTable struct { Columns *[]SyncFullSchemaTableColumn `json:"columns,omitempty"` ErrorID *string `json:"errorId,omitempty"` HasError *bool `json:"hasError,omitempty"` Name *string `json:"name,omitempty"` QuotedName *string `json:"quotedName,omitempty"` }
SyncFullSchemaTable is properties of the table in the database full schema.
type SyncFullSchemaTableColumn ¶
type SyncFullSchemaTableColumn struct { DataSize *string `json:"dataSize,omitempty"` DataType *string `json:"dataType,omitempty"` ErrorID *string `json:"errorId,omitempty"` HasError *bool `json:"hasError,omitempty"` IsPrimaryKey *bool `json:"isPrimaryKey,omitempty"` Name *string `json:"name,omitempty"` QuotedName *string `json:"quotedName,omitempty"` }
SyncFullSchemaTableColumn is properties of the column in the table of database full schema.
type SyncGroup ¶
type SyncGroup struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` *SyncGroupProperties `json:"properties,omitempty"` }
SyncGroup is an Azure SQL Database sync group.
type SyncGroupListResult ¶
type SyncGroupListResult struct { autorest.Response `json:"-"` Value *[]SyncGroup `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
SyncGroupListResult is a list of sync groups.
func (SyncGroupListResult) SyncGroupListResultPreparer ¶
func (client SyncGroupListResult) SyncGroupListResultPreparer() (*http.Request, error)
SyncGroupListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type SyncGroupLogListResult ¶
type SyncGroupLogListResult struct { autorest.Response `json:"-"` Value *[]SyncGroupLogProperties `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
SyncGroupLogListResult is a list of sync group log properties.
func (SyncGroupLogListResult) SyncGroupLogListResultPreparer ¶
func (client SyncGroupLogListResult) SyncGroupLogListResultPreparer() (*http.Request, error)
SyncGroupLogListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type SyncGroupLogProperties ¶
type SyncGroupLogProperties struct { Timestamp *date.Time `json:"timestamp,omitempty"` Type SyncGroupLogType `json:"type,omitempty"` Source *string `json:"source,omitempty"` Details *string `json:"details,omitempty"` TracingID *uuid.UUID `json:"tracingId,omitempty"` OperationStatus *string `json:"operationStatus,omitempty"` }
SyncGroupLogProperties is properties of an Azure SQL Database sync group log.
type SyncGroupLogType ¶
type SyncGroupLogType string
SyncGroupLogType enumerates the values for sync group log type.
const ( // All specifies the all state for sync group log type. All SyncGroupLogType = "All" // Error specifies the error state for sync group log type. Error SyncGroupLogType = "Error" // Success specifies the success state for sync group log type. Success SyncGroupLogType = "Success" // Warning specifies the warning state for sync group log type. Warning SyncGroupLogType = "Warning" )
type SyncGroupProperties ¶
type SyncGroupProperties struct { Interval *int32 `json:"interval,omitempty"` LastSyncTime *date.Time `json:"lastSyncTime,omitempty"` ConflictResolutionPolicy SyncConflictResolutionPolicy `json:"conflictResolutionPolicy,omitempty"` SyncDatabaseID *string `json:"syncDatabaseId,omitempty"` HubDatabaseUserName *string `json:"hubDatabaseUserName,omitempty"` HubDatabasePassword *string `json:"hubDatabasePassword,omitempty"` SyncState SyncGroupState `json:"syncState,omitempty"` Schema *SyncGroupSchema `json:"schema,omitempty"` }
SyncGroupProperties is properties of a sync group.
type SyncGroupSchema ¶
type SyncGroupSchema struct { Tables *[]SyncGroupSchemaTable `json:"tables,omitempty"` MasterSyncMemberName *string `json:"masterSyncMemberName,omitempty"` }
SyncGroupSchema is properties of sync group schema.
type SyncGroupSchemaTable ¶
type SyncGroupSchemaTable struct { Columns *[]SyncGroupSchemaTableColumn `json:"columns,omitempty"` QuotedName *string `json:"quotedName,omitempty"` }
SyncGroupSchemaTable is properties of table in sync group schema.
type SyncGroupSchemaTableColumn ¶
type SyncGroupSchemaTableColumn struct { QuotedName *string `json:"quotedName,omitempty"` DataSize *string `json:"dataSize,omitempty"` DataType *string `json:"dataType,omitempty"` }
SyncGroupSchemaTableColumn is properties of column in sync group table.
type SyncGroupState ¶
type SyncGroupState string
SyncGroupState enumerates the values for sync group state.
const ( // SyncGroupStateError specifies the sync group state error state for sync group state. SyncGroupStateError SyncGroupState = "Error" // SyncGroupStateGood specifies the sync group state good state for sync group state. SyncGroupStateGood SyncGroupState = "Good" // SyncGroupStateNotReady specifies the sync group state not ready state for sync group state. SyncGroupStateNotReady SyncGroupState = "NotReady" // SyncGroupStateProgressing specifies the sync group state progressing state for sync group state. SyncGroupStateProgressing SyncGroupState = "Progressing" // SyncGroupStateWarning specifies the sync group state warning state for sync group state. SyncGroupStateWarning SyncGroupState = "Warning" )
type SyncGroupsClient ¶
type SyncGroupsClient struct {
ManagementClient
}
SyncGroupsClient 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 NewSyncGroupsClient ¶
func NewSyncGroupsClient(subscriptionID string) SyncGroupsClient
NewSyncGroupsClient creates an instance of the SyncGroupsClient client.
func NewSyncGroupsClientWithBaseURI ¶
func NewSyncGroupsClientWithBaseURI(baseURI string, subscriptionID string) SyncGroupsClient
NewSyncGroupsClientWithBaseURI creates an instance of the SyncGroupsClient client.
func (SyncGroupsClient) CancelSync ¶
func (client SyncGroupsClient) CancelSync(resourceGroupName string, serverName string, databaseName string, syncGroupName string) (result autorest.Response, err error)
CancelSync cancels a sync group synchronization.
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 on which the sync group is hosted. syncGroupName is the name of the sync group.
func (SyncGroupsClient) CancelSyncPreparer ¶
func (client SyncGroupsClient) CancelSyncPreparer(resourceGroupName string, serverName string, databaseName string, syncGroupName string) (*http.Request, error)
CancelSyncPreparer prepares the CancelSync request.
func (SyncGroupsClient) CancelSyncResponder ¶
func (client SyncGroupsClient) CancelSyncResponder(resp *http.Response) (result autorest.Response, err error)
CancelSyncResponder handles the response to the CancelSync request. The method always closes the http.Response Body.
func (SyncGroupsClient) CancelSyncSender ¶
CancelSyncSender sends the CancelSync request. The method will close the http.Response Body if it receives an error.
func (SyncGroupsClient) CreateOrUpdate ¶
func (client SyncGroupsClient) CreateOrUpdate(resourceGroupName string, serverName string, databaseName string, syncGroupName string, parameters SyncGroup, cancel <-chan struct{}) (<-chan SyncGroup, <-chan error)
CreateOrUpdate creates or updates a sync group. 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 on which the sync group is hosted. syncGroupName is the name of the sync group. parameters is the requested sync group resource state.
func (SyncGroupsClient) CreateOrUpdatePreparer ¶
func (client SyncGroupsClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, databaseName string, syncGroupName string, parameters SyncGroup, cancel <-chan struct{}) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (SyncGroupsClient) CreateOrUpdateResponder ¶
func (client SyncGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result SyncGroup, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (SyncGroupsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (SyncGroupsClient) Delete ¶
func (client SyncGroupsClient) Delete(resourceGroupName string, serverName string, databaseName string, syncGroupName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
Delete deletes a sync group. 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 on which the sync group is hosted. syncGroupName is the name of the sync group.
func (SyncGroupsClient) DeletePreparer ¶
func (client SyncGroupsClient) DeletePreparer(resourceGroupName string, serverName string, databaseName string, syncGroupName string, cancel <-chan struct{}) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (SyncGroupsClient) DeleteResponder ¶
func (client SyncGroupsClient) 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 (SyncGroupsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (SyncGroupsClient) Get ¶
func (client SyncGroupsClient) Get(resourceGroupName string, serverName string, databaseName string, syncGroupName string) (result SyncGroup, err error)
Get gets a sync group.
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 on which the sync group is hosted. syncGroupName is the name of the sync group.
func (SyncGroupsClient) GetPreparer ¶
func (client SyncGroupsClient) GetPreparer(resourceGroupName string, serverName string, databaseName string, syncGroupName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (SyncGroupsClient) GetResponder ¶
func (client SyncGroupsClient) GetResponder(resp *http.Response) (result SyncGroup, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (SyncGroupsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (SyncGroupsClient) ListByDatabase ¶
func (client SyncGroupsClient) ListByDatabase(resourceGroupName string, serverName string, databaseName string) (result SyncGroupListResult, err error)
ListByDatabase lists sync groups under a hub 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 on which the sync group is hosted.
func (SyncGroupsClient) ListByDatabaseComplete ¶
func (client SyncGroupsClient) ListByDatabaseComplete(resourceGroupName string, serverName string, databaseName string, cancel <-chan struct{}) (<-chan SyncGroup, <-chan error)
ListByDatabaseComplete gets all elements from the list without paging.
func (SyncGroupsClient) ListByDatabaseNextResults ¶
func (client SyncGroupsClient) ListByDatabaseNextResults(lastResults SyncGroupListResult) (result SyncGroupListResult, err error)
ListByDatabaseNextResults retrieves the next set of results, if any.
func (SyncGroupsClient) ListByDatabasePreparer ¶
func (client SyncGroupsClient) ListByDatabasePreparer(resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (SyncGroupsClient) ListByDatabaseResponder ¶
func (client SyncGroupsClient) ListByDatabaseResponder(resp *http.Response) (result SyncGroupListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (SyncGroupsClient) ListByDatabaseSender ¶
ListByDatabaseSender sends the ListByDatabase request. The method will close the http.Response Body if it receives an error.
func (SyncGroupsClient) ListHubSchemas ¶
func (client SyncGroupsClient) ListHubSchemas(resourceGroupName string, serverName string, databaseName string, syncGroupName string) (result SyncFullSchemaPropertiesListResult, err error)
ListHubSchemas gets a collection of hub database schemas.
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 on which the sync group is hosted. syncGroupName is the name of the sync group.
func (SyncGroupsClient) ListHubSchemasComplete ¶
func (client SyncGroupsClient) ListHubSchemasComplete(resourceGroupName string, serverName string, databaseName string, syncGroupName string, cancel <-chan struct{}) (<-chan SyncFullSchemaProperties, <-chan error)
ListHubSchemasComplete gets all elements from the list without paging.
func (SyncGroupsClient) ListHubSchemasNextResults ¶
func (client SyncGroupsClient) ListHubSchemasNextResults(lastResults SyncFullSchemaPropertiesListResult) (result SyncFullSchemaPropertiesListResult, err error)
ListHubSchemasNextResults retrieves the next set of results, if any.
func (SyncGroupsClient) ListHubSchemasPreparer ¶
func (client SyncGroupsClient) ListHubSchemasPreparer(resourceGroupName string, serverName string, databaseName string, syncGroupName string) (*http.Request, error)
ListHubSchemasPreparer prepares the ListHubSchemas request.
func (SyncGroupsClient) ListHubSchemasResponder ¶
func (client SyncGroupsClient) ListHubSchemasResponder(resp *http.Response) (result SyncFullSchemaPropertiesListResult, err error)
ListHubSchemasResponder handles the response to the ListHubSchemas request. The method always closes the http.Response Body.
func (SyncGroupsClient) ListHubSchemasSender ¶
ListHubSchemasSender sends the ListHubSchemas request. The method will close the http.Response Body if it receives an error.
func (SyncGroupsClient) ListLogs ¶
func (client SyncGroupsClient) ListLogs(resourceGroupName string, serverName string, databaseName string, syncGroupName string, startTime string, endTime string, typeParameter string, continuationToken string) (result SyncGroupLogListResult, err error)
ListLogs gets a collection of sync group logs.
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 on which the sync group is hosted. syncGroupName is the name of the sync group. startTime is get logs generated after this time. endTime is get logs generated before this time. typeParameter is the types of logs to retrieve. continuationToken is the continuation token for this operation.
func (SyncGroupsClient) ListLogsComplete ¶
func (client SyncGroupsClient) ListLogsComplete(resourceGroupName string, serverName string, databaseName string, syncGroupName string, startTime string, endTime string, typeParameter string, continuationToken string, cancel <-chan struct{}) (<-chan SyncGroupLogProperties, <-chan error)
ListLogsComplete gets all elements from the list without paging.
func (SyncGroupsClient) ListLogsNextResults ¶
func (client SyncGroupsClient) ListLogsNextResults(lastResults SyncGroupLogListResult) (result SyncGroupLogListResult, err error)
ListLogsNextResults retrieves the next set of results, if any.
func (SyncGroupsClient) ListLogsPreparer ¶
func (client SyncGroupsClient) ListLogsPreparer(resourceGroupName string, serverName string, databaseName string, syncGroupName string, startTime string, endTime string, typeParameter string, continuationToken string) (*http.Request, error)
ListLogsPreparer prepares the ListLogs request.
func (SyncGroupsClient) ListLogsResponder ¶
func (client SyncGroupsClient) ListLogsResponder(resp *http.Response) (result SyncGroupLogListResult, err error)
ListLogsResponder handles the response to the ListLogs request. The method always closes the http.Response Body.
func (SyncGroupsClient) ListLogsSender ¶
ListLogsSender sends the ListLogs request. The method will close the http.Response Body if it receives an error.
func (SyncGroupsClient) ListSyncDatabaseIds ¶
func (client SyncGroupsClient) ListSyncDatabaseIds(locationName string) (result SyncDatabaseIDListResult, err error)
ListSyncDatabaseIds gets a collection of sync database ids.
locationName is the name of the region where the resource is located.
func (SyncGroupsClient) ListSyncDatabaseIdsComplete ¶
func (client SyncGroupsClient) ListSyncDatabaseIdsComplete(locationName string, cancel <-chan struct{}) (<-chan SyncDatabaseIDProperties, <-chan error)
ListSyncDatabaseIdsComplete gets all elements from the list without paging.
func (SyncGroupsClient) ListSyncDatabaseIdsNextResults ¶
func (client SyncGroupsClient) ListSyncDatabaseIdsNextResults(lastResults SyncDatabaseIDListResult) (result SyncDatabaseIDListResult, err error)
ListSyncDatabaseIdsNextResults retrieves the next set of results, if any.
func (SyncGroupsClient) ListSyncDatabaseIdsPreparer ¶
func (client SyncGroupsClient) ListSyncDatabaseIdsPreparer(locationName string) (*http.Request, error)
ListSyncDatabaseIdsPreparer prepares the ListSyncDatabaseIds request.
func (SyncGroupsClient) ListSyncDatabaseIdsResponder ¶
func (client SyncGroupsClient) ListSyncDatabaseIdsResponder(resp *http.Response) (result SyncDatabaseIDListResult, err error)
ListSyncDatabaseIdsResponder handles the response to the ListSyncDatabaseIds request. The method always closes the http.Response Body.
func (SyncGroupsClient) ListSyncDatabaseIdsSender ¶
ListSyncDatabaseIdsSender sends the ListSyncDatabaseIds request. The method will close the http.Response Body if it receives an error.
func (SyncGroupsClient) RefreshHubSchema ¶
func (client SyncGroupsClient) RefreshHubSchema(resourceGroupName string, serverName string, databaseName string, syncGroupName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
RefreshHubSchema refreshes a hub database schema. 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 on which the sync group is hosted. syncGroupName is the name of the sync group.
func (SyncGroupsClient) RefreshHubSchemaPreparer ¶
func (client SyncGroupsClient) RefreshHubSchemaPreparer(resourceGroupName string, serverName string, databaseName string, syncGroupName string, cancel <-chan struct{}) (*http.Request, error)
RefreshHubSchemaPreparer prepares the RefreshHubSchema request.
func (SyncGroupsClient) RefreshHubSchemaResponder ¶
func (client SyncGroupsClient) RefreshHubSchemaResponder(resp *http.Response) (result autorest.Response, err error)
RefreshHubSchemaResponder handles the response to the RefreshHubSchema request. The method always closes the http.Response Body.
func (SyncGroupsClient) RefreshHubSchemaSender ¶
RefreshHubSchemaSender sends the RefreshHubSchema request. The method will close the http.Response Body if it receives an error.
func (SyncGroupsClient) TriggerSync ¶
func (client SyncGroupsClient) TriggerSync(resourceGroupName string, serverName string, databaseName string, syncGroupName string) (result autorest.Response, err error)
TriggerSync triggers a sync group synchronization.
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 on which the sync group is hosted. syncGroupName is the name of the sync group.
func (SyncGroupsClient) TriggerSyncPreparer ¶
func (client SyncGroupsClient) TriggerSyncPreparer(resourceGroupName string, serverName string, databaseName string, syncGroupName string) (*http.Request, error)
TriggerSyncPreparer prepares the TriggerSync request.
func (SyncGroupsClient) TriggerSyncResponder ¶
func (client SyncGroupsClient) TriggerSyncResponder(resp *http.Response) (result autorest.Response, err error)
TriggerSyncResponder handles the response to the TriggerSync request. The method always closes the http.Response Body.
func (SyncGroupsClient) TriggerSyncSender ¶
TriggerSyncSender sends the TriggerSync request. The method will close the http.Response Body if it receives an error.
func (SyncGroupsClient) Update ¶
func (client SyncGroupsClient) Update(resourceGroupName string, serverName string, databaseName string, syncGroupName string, parameters SyncGroup, cancel <-chan struct{}) (<-chan SyncGroup, <-chan error)
Update updates a sync group. 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 on which the sync group is hosted. syncGroupName is the name of the sync group. parameters is the requested sync group resource state.
func (SyncGroupsClient) UpdatePreparer ¶
func (client SyncGroupsClient) UpdatePreparer(resourceGroupName string, serverName string, databaseName string, syncGroupName string, parameters SyncGroup, cancel <-chan struct{}) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (SyncGroupsClient) UpdateResponder ¶
func (client SyncGroupsClient) UpdateResponder(resp *http.Response) (result SyncGroup, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (SyncGroupsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type SyncMember ¶
type SyncMember struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` *SyncMemberProperties `json:"properties,omitempty"` }
SyncMember is an Azure SQL Database sync member.
type SyncMemberDbType ¶
type SyncMemberDbType string
SyncMemberDbType enumerates the values for sync member db type.
const ( // AzureSQLDatabase specifies the azure sql database state for sync member db type. AzureSQLDatabase SyncMemberDbType = "AzureSqlDatabase" // SQLServerDatabase specifies the sql server database state for sync member db type. SQLServerDatabase SyncMemberDbType = "SqlServerDatabase" )
type SyncMemberListResult ¶
type SyncMemberListResult struct { autorest.Response `json:"-"` Value *[]SyncMember `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
SyncMemberListResult is a list of Azure SQL Database sync members.
func (SyncMemberListResult) SyncMemberListResultPreparer ¶
func (client SyncMemberListResult) SyncMemberListResultPreparer() (*http.Request, error)
SyncMemberListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type SyncMemberProperties ¶
type SyncMemberProperties struct { DatabaseType SyncMemberDbType `json:"databaseType,omitempty"` SyncAgentID *string `json:"syncAgentId,omitempty"` SQLServerDatabaseID *uuid.UUID `json:"sqlServerDatabaseId,omitempty"` ServerName *string `json:"serverName,omitempty"` DatabaseName *string `json:"databaseName,omitempty"` UserName *string `json:"userName,omitempty"` Password *string `json:"password,omitempty"` SyncDirection SyncDirection `json:"syncDirection,omitempty"` SyncState SyncMemberState `json:"syncState,omitempty"` }
SyncMemberProperties is properties of a sync member.
type SyncMemberState ¶
type SyncMemberState string
SyncMemberState enumerates the values for sync member state.
const ( // DeProvisioned specifies the de provisioned state for sync member state. DeProvisioned SyncMemberState = "DeProvisioned" // DeProvisionFailed specifies the de provision failed state for sync member state. DeProvisionFailed SyncMemberState = "DeProvisionFailed" // DeProvisioning specifies the de provisioning state for sync member state. DeProvisioning SyncMemberState = "DeProvisioning" // DisabledBackupRestore specifies the disabled backup restore state for sync member state. DisabledBackupRestore SyncMemberState = "DisabledBackupRestore" // DisabledTombstoneCleanup specifies the disabled tombstone cleanup state for sync member state. DisabledTombstoneCleanup SyncMemberState = "DisabledTombstoneCleanup" // Provisioned specifies the provisioned state for sync member state. Provisioned SyncMemberState = "Provisioned" // ProvisionFailed specifies the provision failed state for sync member state. ProvisionFailed SyncMemberState = "ProvisionFailed" // Provisioning specifies the provisioning state for sync member state. Provisioning SyncMemberState = "Provisioning" // ReprovisionFailed specifies the reprovision failed state for sync member state. ReprovisionFailed SyncMemberState = "ReprovisionFailed" // Reprovisioning specifies the reprovisioning state for sync member state. Reprovisioning SyncMemberState = "Reprovisioning" // SyncCancelled specifies the sync cancelled state for sync member state. SyncCancelled SyncMemberState = "SyncCancelled" // SyncCancelling specifies the sync cancelling state for sync member state. SyncCancelling SyncMemberState = "SyncCancelling" // SyncFailed specifies the sync failed state for sync member state. SyncFailed SyncMemberState = "SyncFailed" // SyncInProgress specifies the sync in progress state for sync member state. SyncInProgress SyncMemberState = "SyncInProgress" // SyncSucceeded specifies the sync succeeded state for sync member state. SyncSucceeded SyncMemberState = "SyncSucceeded" // SyncSucceededWithWarnings specifies the sync succeeded with warnings state for sync member state. SyncSucceededWithWarnings SyncMemberState = "SyncSucceededWithWarnings" // UnProvisioned specifies the un provisioned state for sync member state. UnProvisioned SyncMemberState = "UnProvisioned" // UnReprovisioned specifies the un reprovisioned state for sync member state. UnReprovisioned SyncMemberState = "UnReprovisioned" )
type SyncMembersClient ¶
type SyncMembersClient struct {
ManagementClient
}
SyncMembersClient 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 NewSyncMembersClient ¶
func NewSyncMembersClient(subscriptionID string) SyncMembersClient
NewSyncMembersClient creates an instance of the SyncMembersClient client.
func NewSyncMembersClientWithBaseURI ¶
func NewSyncMembersClientWithBaseURI(baseURI string, subscriptionID string) SyncMembersClient
NewSyncMembersClientWithBaseURI creates an instance of the SyncMembersClient client.
func (SyncMembersClient) CreateOrUpdate ¶
func (client SyncMembersClient) CreateOrUpdate(resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string, parameters SyncMember, cancel <-chan struct{}) (<-chan SyncMember, <-chan error)
CreateOrUpdate creates or updates a sync member. 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 on which the sync group is hosted. syncGroupName is the name of the sync group on which the sync member is hosted. syncMemberName is the name of the sync member. parameters is the requested sync member resource state.
func (SyncMembersClient) CreateOrUpdatePreparer ¶
func (client SyncMembersClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string, parameters SyncMember, cancel <-chan struct{}) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (SyncMembersClient) CreateOrUpdateResponder ¶
func (client SyncMembersClient) CreateOrUpdateResponder(resp *http.Response) (result SyncMember, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (SyncMembersClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (SyncMembersClient) Delete ¶
func (client SyncMembersClient) Delete(resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
Delete deletes a sync member. 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 on which the sync group is hosted. syncGroupName is the name of the sync group on which the sync member is hosted. syncMemberName is the name of the sync member.
func (SyncMembersClient) DeletePreparer ¶
func (client SyncMembersClient) DeletePreparer(resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string, cancel <-chan struct{}) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (SyncMembersClient) DeleteResponder ¶
func (client SyncMembersClient) 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 (SyncMembersClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (SyncMembersClient) Get ¶
func (client SyncMembersClient) Get(resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string) (result SyncMember, err error)
Get gets a sync member.
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 on which the sync group is hosted. syncGroupName is the name of the sync group on which the sync member is hosted. syncMemberName is the name of the sync member.
func (SyncMembersClient) GetPreparer ¶
func (client SyncMembersClient) GetPreparer(resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (SyncMembersClient) GetResponder ¶
func (client SyncMembersClient) GetResponder(resp *http.Response) (result SyncMember, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (SyncMembersClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (SyncMembersClient) ListBySyncGroup ¶
func (client SyncMembersClient) ListBySyncGroup(resourceGroupName string, serverName string, databaseName string, syncGroupName string) (result SyncMemberListResult, err error)
ListBySyncGroup lists sync members in the given sync group.
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 on which the sync group is hosted. syncGroupName is the name of the sync group.
func (SyncMembersClient) ListBySyncGroupComplete ¶
func (client SyncMembersClient) ListBySyncGroupComplete(resourceGroupName string, serverName string, databaseName string, syncGroupName string, cancel <-chan struct{}) (<-chan SyncMember, <-chan error)
ListBySyncGroupComplete gets all elements from the list without paging.
func (SyncMembersClient) ListBySyncGroupNextResults ¶
func (client SyncMembersClient) ListBySyncGroupNextResults(lastResults SyncMemberListResult) (result SyncMemberListResult, err error)
ListBySyncGroupNextResults retrieves the next set of results, if any.
func (SyncMembersClient) ListBySyncGroupPreparer ¶
func (client SyncMembersClient) ListBySyncGroupPreparer(resourceGroupName string, serverName string, databaseName string, syncGroupName string) (*http.Request, error)
ListBySyncGroupPreparer prepares the ListBySyncGroup request.
func (SyncMembersClient) ListBySyncGroupResponder ¶
func (client SyncMembersClient) ListBySyncGroupResponder(resp *http.Response) (result SyncMemberListResult, err error)
ListBySyncGroupResponder handles the response to the ListBySyncGroup request. The method always closes the http.Response Body.
func (SyncMembersClient) ListBySyncGroupSender ¶
ListBySyncGroupSender sends the ListBySyncGroup request. The method will close the http.Response Body if it receives an error.
func (SyncMembersClient) ListMemberSchemas ¶
func (client SyncMembersClient) ListMemberSchemas(resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string) (result SyncFullSchemaPropertiesListResult, err error)
ListMemberSchemas gets a sync member database schema.
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 on which the sync group is hosted. syncGroupName is the name of the sync group on which the sync member is hosted. syncMemberName is the name of the sync member.
func (SyncMembersClient) ListMemberSchemasComplete ¶
func (client SyncMembersClient) ListMemberSchemasComplete(resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string, cancel <-chan struct{}) (<-chan SyncFullSchemaProperties, <-chan error)
ListMemberSchemasComplete gets all elements from the list without paging.
func (SyncMembersClient) ListMemberSchemasNextResults ¶
func (client SyncMembersClient) ListMemberSchemasNextResults(lastResults SyncFullSchemaPropertiesListResult) (result SyncFullSchemaPropertiesListResult, err error)
ListMemberSchemasNextResults retrieves the next set of results, if any.
func (SyncMembersClient) ListMemberSchemasPreparer ¶
func (client SyncMembersClient) ListMemberSchemasPreparer(resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string) (*http.Request, error)
ListMemberSchemasPreparer prepares the ListMemberSchemas request.
func (SyncMembersClient) ListMemberSchemasResponder ¶
func (client SyncMembersClient) ListMemberSchemasResponder(resp *http.Response) (result SyncFullSchemaPropertiesListResult, err error)
ListMemberSchemasResponder handles the response to the ListMemberSchemas request. The method always closes the http.Response Body.
func (SyncMembersClient) ListMemberSchemasSender ¶
ListMemberSchemasSender sends the ListMemberSchemas request. The method will close the http.Response Body if it receives an error.
func (SyncMembersClient) RefreshMemberSchema ¶
func (client SyncMembersClient) RefreshMemberSchema(resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
RefreshMemberSchema refreshes a sync member database schema. 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 on which the sync group is hosted. syncGroupName is the name of the sync group on which the sync member is hosted. syncMemberName is the name of the sync member.
func (SyncMembersClient) RefreshMemberSchemaPreparer ¶
func (client SyncMembersClient) RefreshMemberSchemaPreparer(resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string, cancel <-chan struct{}) (*http.Request, error)
RefreshMemberSchemaPreparer prepares the RefreshMemberSchema request.
func (SyncMembersClient) RefreshMemberSchemaResponder ¶
func (client SyncMembersClient) RefreshMemberSchemaResponder(resp *http.Response) (result autorest.Response, err error)
RefreshMemberSchemaResponder handles the response to the RefreshMemberSchema request. The method always closes the http.Response Body.
func (SyncMembersClient) RefreshMemberSchemaSender ¶
func (client SyncMembersClient) RefreshMemberSchemaSender(req *http.Request) (*http.Response, error)
RefreshMemberSchemaSender sends the RefreshMemberSchema request. The method will close the http.Response Body if it receives an error.
func (SyncMembersClient) Update ¶
func (client SyncMembersClient) Update(resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string, parameters SyncMember, cancel <-chan struct{}) (<-chan SyncMember, <-chan error)
Update updates an existing sync member. 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 on which the sync group is hosted. syncGroupName is the name of the sync group on which the sync member is hosted. syncMemberName is the name of the sync member. parameters is the requested sync member resource state.
func (SyncMembersClient) UpdatePreparer ¶
func (client SyncMembersClient) UpdatePreparer(resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string, parameters SyncMember, cancel <-chan struct{}) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (SyncMembersClient) UpdateResponder ¶
func (client SyncMembersClient) UpdateResponder(resp *http.Response) (result SyncMember, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (SyncMembersClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
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.
type UnitDefinitionType ¶
type UnitDefinitionType string
UnitDefinitionType enumerates the values for unit definition type.
const ( // UnitDefinitionTypeBytes specifies the unit definition type bytes state for unit definition type. UnitDefinitionTypeBytes UnitDefinitionType = "Bytes" // UnitDefinitionTypeBytesPerSecond specifies the unit definition type bytes per second state for unit definition type. UnitDefinitionTypeBytesPerSecond UnitDefinitionType = "BytesPerSecond" // UnitDefinitionTypeCount specifies the unit definition type count state for unit definition type. UnitDefinitionTypeCount UnitDefinitionType = "Count" // UnitDefinitionTypeCountPerSecond specifies the unit definition type count per second state for unit definition type. UnitDefinitionTypeCountPerSecond UnitDefinitionType = "CountPerSecond" // UnitDefinitionTypePercent specifies the unit definition type percent state for unit definition type. UnitDefinitionTypePercent UnitDefinitionType = "Percent" // UnitDefinitionTypeSeconds specifies the unit definition type seconds state for unit definition type. UnitDefinitionTypeSeconds UnitDefinitionType = "Seconds" )
type UnitType ¶
type UnitType string
UnitType enumerates the values for unit type.
const ( // UnitTypeBytes specifies the unit type bytes state for unit type. UnitTypeBytes UnitType = "bytes" // UnitTypeBytesPerSecond specifies the unit type bytes per second state for unit type. UnitTypeBytesPerSecond UnitType = "bytesPerSecond" // UnitTypeCount specifies the unit type count state for unit type. UnitTypeCount UnitType = "count" // UnitTypeCountPerSecond specifies the unit type count per second state for unit type. UnitTypeCountPerSecond UnitType = "countPerSecond" // UnitTypePercent specifies the unit type percent state for unit type. UnitTypePercent UnitType = "percent" // UnitTypeSeconds specifies the unit type seconds state for unit type. UnitTypeSeconds UnitType = "seconds" )
type VirtualNetworkRule ¶
type VirtualNetworkRule struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` *VirtualNetworkRuleProperties `json:"properties,omitempty"` }
VirtualNetworkRule is a virtual network rule.
type VirtualNetworkRuleListResult ¶
type VirtualNetworkRuleListResult struct { autorest.Response `json:"-"` Value *[]VirtualNetworkRule `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
VirtualNetworkRuleListResult is a list of virtual network rules.
func (VirtualNetworkRuleListResult) VirtualNetworkRuleListResultPreparer ¶
func (client VirtualNetworkRuleListResult) VirtualNetworkRuleListResultPreparer() (*http.Request, error)
VirtualNetworkRuleListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type VirtualNetworkRuleProperties ¶
type VirtualNetworkRuleProperties struct { VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty"` IgnoreMissingVnetServiceEndpoint *bool `json:"ignoreMissingVnetServiceEndpoint,omitempty"` State VirtualNetworkRuleState `json:"state,omitempty"` }
VirtualNetworkRuleProperties is properties of a virtual network rule.
type VirtualNetworkRuleState ¶
type VirtualNetworkRuleState string
VirtualNetworkRuleState enumerates the values for virtual network rule state.
const ( // VirtualNetworkRuleStateDeleting specifies the virtual network rule state deleting state for virtual network rule // state. VirtualNetworkRuleStateDeleting VirtualNetworkRuleState = "Deleting" // VirtualNetworkRuleStateInitializing specifies the virtual network rule state initializing state for virtual network // rule state. VirtualNetworkRuleStateInitializing VirtualNetworkRuleState = "Initializing" // VirtualNetworkRuleStateInProgress specifies the virtual network rule state in progress state for virtual network // rule state. VirtualNetworkRuleStateInProgress VirtualNetworkRuleState = "InProgress" // VirtualNetworkRuleStateReady specifies the virtual network rule state ready state for virtual network rule state. VirtualNetworkRuleStateReady VirtualNetworkRuleState = "Ready" // VirtualNetworkRuleStateUnknown specifies the virtual network rule state unknown state for virtual network rule // state. VirtualNetworkRuleStateUnknown VirtualNetworkRuleState = "Unknown" )
type VirtualNetworkRulesClient ¶
type VirtualNetworkRulesClient struct {
ManagementClient
}
VirtualNetworkRulesClient 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 NewVirtualNetworkRulesClient ¶
func NewVirtualNetworkRulesClient(subscriptionID string) VirtualNetworkRulesClient
NewVirtualNetworkRulesClient creates an instance of the VirtualNetworkRulesClient client.
func NewVirtualNetworkRulesClientWithBaseURI ¶
func NewVirtualNetworkRulesClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkRulesClient
NewVirtualNetworkRulesClientWithBaseURI creates an instance of the VirtualNetworkRulesClient client.
func (VirtualNetworkRulesClient) CreateOrUpdate ¶
func (client VirtualNetworkRulesClient) CreateOrUpdate(resourceGroupName string, serverName string, virtualNetworkRuleName string, parameters VirtualNetworkRule, cancel <-chan struct{}) (<-chan VirtualNetworkRule, <-chan error)
CreateOrUpdate creates or updates an existing virtual network rule. 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. virtualNetworkRuleName is the name of the virtual network rule. parameters is the requested virtual Network Rule Resource state.
func (VirtualNetworkRulesClient) CreateOrUpdatePreparer ¶
func (client VirtualNetworkRulesClient) CreateOrUpdatePreparer(resourceGroupName string, serverName string, virtualNetworkRuleName string, parameters VirtualNetworkRule, cancel <-chan struct{}) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (VirtualNetworkRulesClient) CreateOrUpdateResponder ¶
func (client VirtualNetworkRulesClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkRule, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (VirtualNetworkRulesClient) CreateOrUpdateSender ¶
func (client VirtualNetworkRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (VirtualNetworkRulesClient) Delete ¶
func (client VirtualNetworkRulesClient) Delete(resourceGroupName string, serverName string, virtualNetworkRuleName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
Delete deletes the virtual network rule with the given name. 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. virtualNetworkRuleName is the name of the virtual network rule.
func (VirtualNetworkRulesClient) DeletePreparer ¶
func (client VirtualNetworkRulesClient) DeletePreparer(resourceGroupName string, serverName string, virtualNetworkRuleName string, cancel <-chan struct{}) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (VirtualNetworkRulesClient) DeleteResponder ¶
func (client VirtualNetworkRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (VirtualNetworkRulesClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (VirtualNetworkRulesClient) Get ¶
func (client VirtualNetworkRulesClient) Get(resourceGroupName string, serverName string, virtualNetworkRuleName string) (result VirtualNetworkRule, err error)
Get gets a virtual network 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. virtualNetworkRuleName is the name of the virtual network rule.
func (VirtualNetworkRulesClient) GetPreparer ¶
func (client VirtualNetworkRulesClient) GetPreparer(resourceGroupName string, serverName string, virtualNetworkRuleName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (VirtualNetworkRulesClient) GetResponder ¶
func (client VirtualNetworkRulesClient) GetResponder(resp *http.Response) (result VirtualNetworkRule, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (VirtualNetworkRulesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (VirtualNetworkRulesClient) ListByServer ¶
func (client VirtualNetworkRulesClient) ListByServer(resourceGroupName string, serverName string) (result VirtualNetworkRuleListResult, err error)
ListByServer gets a list of virtual network rules 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 (VirtualNetworkRulesClient) ListByServerComplete ¶
func (client VirtualNetworkRulesClient) ListByServerComplete(resourceGroupName string, serverName string, cancel <-chan struct{}) (<-chan VirtualNetworkRule, <-chan error)
ListByServerComplete gets all elements from the list without paging.
func (VirtualNetworkRulesClient) ListByServerNextResults ¶
func (client VirtualNetworkRulesClient) ListByServerNextResults(lastResults VirtualNetworkRuleListResult) (result VirtualNetworkRuleListResult, err error)
ListByServerNextResults retrieves the next set of results, if any.
func (VirtualNetworkRulesClient) ListByServerPreparer ¶
func (client VirtualNetworkRulesClient) ListByServerPreparer(resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (VirtualNetworkRulesClient) ListByServerResponder ¶
func (client VirtualNetworkRulesClient) ListByServerResponder(resp *http.Response) (result VirtualNetworkRuleListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (VirtualNetworkRulesClient) ListByServerSender ¶
func (client VirtualNetworkRulesClient) ListByServerSender(req *http.Request) (*http.Response, error)
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
Source Files ¶
- backuplongtermretentionpolicies.go
- backuplongtermretentionvaults.go
- capabilities.go
- client.go
- databaseblobauditingpolicies.go
- databaseoperations.go
- databases.go
- databasethreatdetectionpolicies.go
- databaseusages.go
- datamaskingpolicies.go
- datamaskingrules.go
- elasticpoolactivities.go
- elasticpooldatabaseactivities.go
- elasticpools.go
- encryptionprotectors.go
- failovergroups.go
- firewallrules.go
- geobackuppolicies.go
- models.go
- operations.go
- recommendedelasticpools.go
- recoverabledatabases.go
- replicationlinks.go
- restorabledroppeddatabases.go
- restorepoints.go
- serverazureadadministrators.go
- servercommunicationlinks.go
- serverconnectionpolicies.go
- serverkeys.go
- servers.go
- serverusages.go
- serviceobjectives.go
- servicetieradvisors.go
- syncagents.go
- syncgroups.go
- syncmembers.go
- transparentdataencryptionactivities.go
- transparentdataencryptions.go
- version.go
- virtualnetworkrules.go