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(ctx context.Context, resourceGroupName string, serverName string, ...) (result BackupLongTermRetentionPoliciesCreateOrUpdateFuture, err error)
- func (client BackupLongTermRetentionPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client BackupLongTermRetentionPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result BackupLongTermRetentionPolicy, err error)
- func (client BackupLongTermRetentionPoliciesClient) CreateOrUpdateSender(req *http.Request) (future BackupLongTermRetentionPoliciesCreateOrUpdateFuture, err error)
- func (client BackupLongTermRetentionPoliciesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result BackupLongTermRetentionPolicy, err error)
- func (client BackupLongTermRetentionPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName 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)
- func (client BackupLongTermRetentionPoliciesClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, ...) (result BackupLongTermRetentionPolicyListResult, err error)
- func (client BackupLongTermRetentionPoliciesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client BackupLongTermRetentionPoliciesClient) ListByDatabaseResponder(resp *http.Response) (result BackupLongTermRetentionPolicyListResult, err error)
- func (client BackupLongTermRetentionPoliciesClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- type BackupLongTermRetentionPoliciesCreateOrUpdateFuture
- type BackupLongTermRetentionPolicy
- type BackupLongTermRetentionPolicyListResult
- type BackupLongTermRetentionPolicyProperties
- type BackupLongTermRetentionPolicyState
- type BackupLongTermRetentionVault
- type BackupLongTermRetentionVaultListResult
- type BackupLongTermRetentionVaultProperties
- type BackupLongTermRetentionVaultsClient
- func (client BackupLongTermRetentionVaultsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result BackupLongTermRetentionVaultsCreateOrUpdateFuture, err error)
- func (client BackupLongTermRetentionVaultsClient) CreateOrUpdatePreparer(ctx context.Context, 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) (future BackupLongTermRetentionVaultsCreateOrUpdateFuture, err error)
- func (client BackupLongTermRetentionVaultsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result BackupLongTermRetentionVault, err error)
- func (client BackupLongTermRetentionVaultsClient) GetPreparer(ctx context.Context, 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)
- func (client BackupLongTermRetentionVaultsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result BackupLongTermRetentionVaultListResult, err error)
- func (client BackupLongTermRetentionVaultsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client BackupLongTermRetentionVaultsClient) ListByServerResponder(resp *http.Response) (result BackupLongTermRetentionVaultListResult, err error)
- func (client BackupLongTermRetentionVaultsClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type BackupLongTermRetentionVaultsCreateOrUpdateFuture
- type BaseClient
- type BlobAuditingPolicyState
- type CapabilitiesClient
- func (client CapabilitiesClient) ListByLocation(ctx context.Context, locationID string) (result LocationCapabilities, err error)
- func (client CapabilitiesClient) ListByLocationPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result DataMaskingPolicy, err error)
- func (client DataMaskingPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result DataMaskingPolicy, err error)
- func (client DataMaskingPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result DataMaskingRule, err error)
- func (client DataMaskingRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result DataMaskingRuleListResult, err error)
- func (client DataMaskingRulesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseBlobAuditingPolicy, err error)
- func (client DatabaseBlobAuditingPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseBlobAuditingPolicy, err error)
- func (client DatabaseBlobAuditingPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName 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 DatabaseOperationListResultIterator
- type DatabaseOperationListResultPage
- type DatabaseOperationProperties
- type DatabaseOperationsClient
- func (client DatabaseOperationsClient) Cancel(ctx context.Context, resourceGroupName string, serverName string, ...) (result autorest.Response, err error)
- func (client DatabaseOperationsClient) CancelPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseOperationListResultPage, err error)
- func (client DatabaseOperationsClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseOperationListResultIterator, err error)
- func (client DatabaseOperationsClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseSecurityAlertPolicy, err error)
- func (client DatabaseThreatDetectionPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseSecurityAlertPolicy, err error)
- func (client DatabaseThreatDetectionPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseUsageListResult, err error)
- func (client DatabaseUsagesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabasesCreateImportOperationFuture, err error)
- func (client DatabasesClient) CreateImportOperationPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabasesClient) CreateImportOperationResponder(resp *http.Response) (result ImportExportResponse, err error)
- func (client DatabasesClient) CreateImportOperationSender(req *http.Request) (future DatabasesCreateImportOperationFuture, err error)
- func (client DatabasesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabasesCreateOrUpdateFuture, err error)
- func (client DatabasesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabasesClient) CreateOrUpdateResponder(resp *http.Response) (result Database, err error)
- func (client DatabasesClient) CreateOrUpdateSender(req *http.Request) (future DatabasesCreateOrUpdateFuture, err error)
- func (client DatabasesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result autorest.Response, err error)
- func (client DatabasesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabasesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DatabasesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client DatabasesClient) Export(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabasesExportFuture, err error)
- func (client DatabasesClient) ExportPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabasesClient) ExportResponder(resp *http.Response) (result ImportExportResponse, err error)
- func (client DatabasesClient) ExportSender(req *http.Request) (future DatabasesExportFuture, err error)
- func (client DatabasesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result Database, err error)
- func (client DatabasesClient) GetByElasticPool(ctx context.Context, resourceGroupName string, serverName string, ...) (result Database, err error)
- func (client DatabasesClient) GetByElasticPoolPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result Database, err error)
- func (client DatabasesClient) GetByRecommendedElasticPoolPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabasesClient) GetResponder(resp *http.Response) (result Database, err error)
- func (client DatabasesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DatabasesClient) Import(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabasesImportFuture, err error)
- func (client DatabasesClient) ImportPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabasesClient) ImportResponder(resp *http.Response) (result ImportExportResponse, err error)
- func (client DatabasesClient) ImportSender(req *http.Request) (future DatabasesImportFuture, err error)
- func (client DatabasesClient) ListByElasticPool(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseListResult, err error)
- func (client DatabasesClient) ListByElasticPoolPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseListResult, err error)
- func (client DatabasesClient) ListByRecommendedElasticPoolPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseListResult, err error)
- func (client DatabasesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabasesClient) ListByServerResponder(resp *http.Response) (result DatabaseListResult, err error)
- func (client DatabasesClient) ListByServerSender(req *http.Request) (*http.Response, error)
- func (client DatabasesClient) ListMetricDefinitions(ctx context.Context, resourceGroupName string, serverName string, ...) (result MetricDefinitionListResult, err error)
- func (client DatabasesClient) ListMetricDefinitionsPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result MetricListResult, err error)
- func (client DatabasesClient) ListMetricsPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabasesPauseFuture, err error)
- func (client DatabasesClient) PausePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabasesClient) PauseResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DatabasesClient) PauseSender(req *http.Request) (future DatabasesPauseFuture, err error)
- func (client DatabasesClient) Rename(ctx context.Context, resourceGroupName string, serverName string, ...) (result autorest.Response, err error)
- func (client DatabasesClient) RenamePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabasesClient) RenameResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DatabasesClient) RenameSender(req *http.Request) (*http.Response, error)
- func (client DatabasesClient) Resume(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabasesResumeFuture, err error)
- func (client DatabasesClient) ResumePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabasesClient) ResumeResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DatabasesClient) ResumeSender(req *http.Request) (future DatabasesResumeFuture, err error)
- func (client DatabasesClient) Update(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabasesUpdateFuture, err error)
- func (client DatabasesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabasesClient) UpdateResponder(resp *http.Response) (result Database, err error)
- func (client DatabasesClient) UpdateSender(req *http.Request) (future DatabasesUpdateFuture, err error)
- type DatabasesCreateImportOperationFuture
- type DatabasesCreateOrUpdateFuture
- type DatabasesExportFuture
- type DatabasesImportFuture
- type DatabasesPauseFuture
- type DatabasesResumeFuture
- type DatabasesUpdateFuture
- type EditionCapability
- type ElasticPool
- type ElasticPoolActivitiesClient
- func (client ElasticPoolActivitiesClient) ListByElasticPool(ctx context.Context, resourceGroupName string, serverName string, ...) (result ElasticPoolActivityListResult, err error)
- func (client ElasticPoolActivitiesClient) ListByElasticPoolPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result ElasticPoolDatabaseActivityListResult, err error)
- func (client ElasticPoolDatabaseActivitiesClient) ListByElasticPoolPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result ElasticPoolsCreateOrUpdateFuture, err error)
- func (client ElasticPoolsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ElasticPoolsClient) CreateOrUpdateResponder(resp *http.Response) (result ElasticPool, err error)
- func (client ElasticPoolsClient) CreateOrUpdateSender(req *http.Request) (future ElasticPoolsCreateOrUpdateFuture, err error)
- func (client ElasticPoolsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result autorest.Response, err error)
- func (client ElasticPoolsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result ElasticPool, err error)
- func (client ElasticPoolsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string) (result ElasticPoolListResult, err error)
- func (client ElasticPoolsClient) ListByServerPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result MetricDefinitionListResult, err error)
- func (client ElasticPoolsClient) ListMetricDefinitionsPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result MetricListResult, err error)
- func (client ElasticPoolsClient) ListMetricsPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result ElasticPoolsUpdateFuture, err error)
- func (client ElasticPoolsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ElasticPoolsClient) UpdateResponder(resp *http.Response) (result ElasticPool, err error)
- func (client ElasticPoolsClient) UpdateSender(req *http.Request) (future ElasticPoolsUpdateFuture, err error)
- type ElasticPoolsCreateOrUpdateFuture
- type ElasticPoolsUpdateFuture
- type EncryptionProtector
- type EncryptionProtectorListResult
- type EncryptionProtectorListResultIterator
- type EncryptionProtectorListResultPage
- type EncryptionProtectorProperties
- type EncryptionProtectorsClient
- func (client EncryptionProtectorsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result EncryptionProtectorsCreateOrUpdateFuture, err error)
- func (client EncryptionProtectorsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client EncryptionProtectorsClient) CreateOrUpdateResponder(resp *http.Response) (result EncryptionProtector, err error)
- func (client EncryptionProtectorsClient) CreateOrUpdateSender(req *http.Request) (future EncryptionProtectorsCreateOrUpdateFuture, err error)
- func (client EncryptionProtectorsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result EncryptionProtector, err error)
- func (client EncryptionProtectorsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string) (result EncryptionProtectorListResultPage, err error)
- func (client EncryptionProtectorsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result EncryptionProtectorListResultIterator, err error)
- func (client EncryptionProtectorsClient) ListByServerPreparer(ctx context.Context, 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 EncryptionProtectorsCreateOrUpdateFuture
- type ExportRequest
- type FailoverGroup
- type FailoverGroupListResult
- type FailoverGroupListResultIterator
- type FailoverGroupListResultPage
- type FailoverGroupProperties
- type FailoverGroupReadOnlyEndpoint
- type FailoverGroupReadWriteEndpoint
- type FailoverGroupReplicationRole
- type FailoverGroupUpdate
- type FailoverGroupUpdateProperties
- type FailoverGroupsClient
- func (client FailoverGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result FailoverGroupsCreateOrUpdateFuture, err error)
- func (client FailoverGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client FailoverGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result FailoverGroup, err error)
- func (client FailoverGroupsClient) CreateOrUpdateSender(req *http.Request) (future FailoverGroupsCreateOrUpdateFuture, err error)
- func (client FailoverGroupsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result FailoverGroupsDeleteFuture, err error)
- func (client FailoverGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client FailoverGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client FailoverGroupsClient) DeleteSender(req *http.Request) (future FailoverGroupsDeleteFuture, err error)
- func (client FailoverGroupsClient) Failover(ctx context.Context, resourceGroupName string, serverName string, ...) (result FailoverGroupsFailoverFuture, err error)
- func (client FailoverGroupsClient) FailoverPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client FailoverGroupsClient) FailoverResponder(resp *http.Response) (result FailoverGroup, err error)
- func (client FailoverGroupsClient) FailoverSender(req *http.Request) (future FailoverGroupsFailoverFuture, err error)
- func (client FailoverGroupsClient) ForceFailoverAllowDataLoss(ctx context.Context, resourceGroupName string, serverName string, ...) (result FailoverGroupsForceFailoverAllowDataLossFuture, err error)
- func (client FailoverGroupsClient) ForceFailoverAllowDataLossPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client FailoverGroupsClient) ForceFailoverAllowDataLossResponder(resp *http.Response) (result FailoverGroup, err error)
- func (client FailoverGroupsClient) ForceFailoverAllowDataLossSender(req *http.Request) (future FailoverGroupsForceFailoverAllowDataLossFuture, err error)
- func (client FailoverGroupsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result FailoverGroup, err error)
- func (client FailoverGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string) (result FailoverGroupListResultPage, err error)
- func (client FailoverGroupsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result FailoverGroupListResultIterator, err error)
- func (client FailoverGroupsClient) ListByServerPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result FailoverGroupsUpdateFuture, err error)
- func (client FailoverGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client FailoverGroupsClient) UpdateResponder(resp *http.Response) (result FailoverGroup, err error)
- func (client FailoverGroupsClient) UpdateSender(req *http.Request) (future FailoverGroupsUpdateFuture, err error)
- type FailoverGroupsCreateOrUpdateFuture
- type FailoverGroupsDeleteFuture
- type FailoverGroupsFailoverFuture
- type FailoverGroupsForceFailoverAllowDataLossFuture
- type FailoverGroupsUpdateFuture
- type FirewallRule
- type FirewallRuleListResult
- type FirewallRuleProperties
- type FirewallRulesClient
- func (client FirewallRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result FirewallRule, err error)
- func (client FirewallRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client FirewallRulesClient) CreateOrUpdateResponder(resp *http.Response) (result FirewallRule, err error)
- func (client FirewallRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client FirewallRulesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result autorest.Response, err error)
- func (client FirewallRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client FirewallRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client FirewallRulesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client FirewallRulesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result FirewallRule, err error)
- func (client FirewallRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client FirewallRulesClient) GetResponder(resp *http.Response) (result FirewallRule, err error)
- func (client FirewallRulesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client FirewallRulesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result FirewallRuleListResult, err error)
- func (client FirewallRulesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client FirewallRulesClient) ListByServerResponder(resp *http.Response) (result FirewallRuleListResult, err error)
- func (client FirewallRulesClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type GeoBackupPoliciesClient
- func (client GeoBackupPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result GeoBackupPolicy, err error)
- func (client GeoBackupPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result GeoBackupPolicy, err error)
- func (client GeoBackupPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result GeoBackupPolicyListResult, err error)
- func (client GeoBackupPoliciesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName 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 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 OperationListResultIterator
- type OperationListResultPage
- type OperationOrigin
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)
- func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result RecommendedElasticPool, err error)
- func (client RecommendedElasticPoolsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string) (result RecommendedElasticPoolListResult, err error)
- func (client RecommendedElasticPoolsClient) ListByServerPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result RecommendedElasticPoolListMetricsResult, err error)
- func (client RecommendedElasticPoolsClient) ListMetricsPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result RecoverableDatabase, err error)
- func (client RecoverableDatabasesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string) (result RecoverableDatabaseListResult, err error)
- func (client RecoverableDatabasesClient) ListByServerPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result autorest.Response, err error)
- func (client ReplicationLinksClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result ReplicationLinksFailoverFuture, err error)
- func (client ReplicationLinksClient) FailoverAllowDataLoss(ctx context.Context, resourceGroupName string, serverName string, ...) (result ReplicationLinksFailoverAllowDataLossFuture, err error)
- func (client ReplicationLinksClient) FailoverAllowDataLossPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ReplicationLinksClient) FailoverAllowDataLossResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ReplicationLinksClient) FailoverAllowDataLossSender(req *http.Request) (future ReplicationLinksFailoverAllowDataLossFuture, err error)
- func (client ReplicationLinksClient) FailoverPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ReplicationLinksClient) FailoverResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ReplicationLinksClient) FailoverSender(req *http.Request) (future ReplicationLinksFailoverFuture, err error)
- func (client ReplicationLinksClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result ReplicationLink, err error)
- func (client ReplicationLinksClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result ReplicationLinkListResult, err error)
- func (client ReplicationLinksClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName 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 ReplicationLinksFailoverAllowDataLossFuture
- type ReplicationLinksFailoverFuture
- type ReplicationRole
- type ReplicationState
- type Resource
- type ResourceIdentity
- type ResourceMoveDefinition
- type RestorableDroppedDatabase
- type RestorableDroppedDatabaseListResult
- type RestorableDroppedDatabaseProperties
- type RestorableDroppedDatabasesClient
- func (client RestorableDroppedDatabasesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result RestorableDroppedDatabase, err error)
- func (client RestorableDroppedDatabasesClient) GetPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string) (result RestorableDroppedDatabaseListResult, err error)
- func (client RestorableDroppedDatabasesClient) ListByServerPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result RestorePointListResult, err error)
- func (client RestorePointsClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServerAzureADAdministratorsCreateOrUpdateFuture, err error)
- func (client ServerAzureADAdministratorsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServerAzureADAdministratorsClient) CreateOrUpdateResponder(resp *http.Response) (result ServerAzureADAdministrator, err error)
- func (client ServerAzureADAdministratorsClient) CreateOrUpdateSender(req *http.Request) (future ServerAzureADAdministratorsCreateOrUpdateFuture, err error)
- func (client ServerAzureADAdministratorsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServerAzureADAdministratorsDeleteFuture, err error)
- func (client ServerAzureADAdministratorsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServerAzureADAdministratorsClient) DeleteResponder(resp *http.Response) (result ServerAzureADAdministrator, err error)
- func (client ServerAzureADAdministratorsClient) DeleteSender(req *http.Request) (future ServerAzureADAdministratorsDeleteFuture, err error)
- func (client ServerAzureADAdministratorsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServerAzureADAdministrator, err error)
- func (client ServerAzureADAdministratorsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string) (result ServerAdministratorListResult, err error)
- func (client ServerAzureADAdministratorsClient) ListByServerPreparer(ctx context.Context, 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 ServerAzureADAdministratorsCreateOrUpdateFuture
- type ServerAzureADAdministratorsDeleteFuture
- type ServerCommunicationLink
- type ServerCommunicationLinkListResult
- type ServerCommunicationLinkProperties
- type ServerCommunicationLinksClient
- func (client ServerCommunicationLinksClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServerCommunicationLinksCreateOrUpdateFuture, err error)
- func (client ServerCommunicationLinksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServerCommunicationLinksClient) CreateOrUpdateResponder(resp *http.Response) (result ServerCommunicationLink, err error)
- func (client ServerCommunicationLinksClient) CreateOrUpdateSender(req *http.Request) (future ServerCommunicationLinksCreateOrUpdateFuture, err error)
- func (client ServerCommunicationLinksClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result autorest.Response, err error)
- func (client ServerCommunicationLinksClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServerCommunicationLink, err error)
- func (client ServerCommunicationLinksClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string) (result ServerCommunicationLinkListResult, err error)
- func (client ServerCommunicationLinksClient) ListByServerPreparer(ctx context.Context, 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 ServerCommunicationLinksCreateOrUpdateFuture
- type ServerConnectionPoliciesClient
- func (client ServerConnectionPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServerConnectionPolicy, err error)
- func (client ServerConnectionPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServerConnectionPolicy, err error)
- func (client ServerConnectionPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName 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 ServerDNSAlias
- type ServerDNSAliasAcquisition
- type ServerDNSAliasListResult
- type ServerDNSAliasListResultIterator
- type ServerDNSAliasListResultPage
- type ServerDNSAliasProperties
- type ServerDNSAliasesAcquireFuture
- type ServerDNSAliasesClient
- func (client ServerDNSAliasesClient) Acquire(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServerDNSAliasesAcquireFuture, err error)
- func (client ServerDNSAliasesClient) AcquirePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServerDNSAliasesClient) AcquireResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ServerDNSAliasesClient) AcquireSender(req *http.Request) (future ServerDNSAliasesAcquireFuture, err error)
- func (client ServerDNSAliasesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServerDNSAliasesCreateOrUpdateFuture, err error)
- func (client ServerDNSAliasesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServerDNSAliasesClient) CreateOrUpdateResponder(resp *http.Response) (result ServerDNSAlias, err error)
- func (client ServerDNSAliasesClient) CreateOrUpdateSender(req *http.Request) (future ServerDNSAliasesCreateOrUpdateFuture, err error)
- func (client ServerDNSAliasesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServerDNSAliasesDeleteFuture, err error)
- func (client ServerDNSAliasesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServerDNSAliasesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ServerDNSAliasesClient) DeleteSender(req *http.Request) (future ServerDNSAliasesDeleteFuture, err error)
- func (client ServerDNSAliasesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServerDNSAlias, err error)
- func (client ServerDNSAliasesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServerDNSAliasesClient) GetResponder(resp *http.Response) (result ServerDNSAlias, err error)
- func (client ServerDNSAliasesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ServerDNSAliasesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result ServerDNSAliasListResultPage, err error)
- func (client ServerDNSAliasesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result ServerDNSAliasListResultIterator, err error)
- func (client ServerDNSAliasesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServerDNSAliasesClient) ListByServerResponder(resp *http.Response) (result ServerDNSAliasListResult, err error)
- func (client ServerDNSAliasesClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type ServerDNSAliasesCreateOrUpdateFuture
- type ServerDNSAliasesDeleteFuture
- type ServerKey
- type ServerKeyListResult
- type ServerKeyListResultIterator
- type ServerKeyListResultPage
- type ServerKeyProperties
- type ServerKeyType
- type ServerKeysClient
- func (client ServerKeysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServerKeysCreateOrUpdateFuture, err error)
- func (client ServerKeysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServerKeysClient) CreateOrUpdateResponder(resp *http.Response) (result ServerKey, err error)
- func (client ServerKeysClient) CreateOrUpdateSender(req *http.Request) (future ServerKeysCreateOrUpdateFuture, err error)
- func (client ServerKeysClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServerKeysDeleteFuture, err error)
- func (client ServerKeysClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServerKeysClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ServerKeysClient) DeleteSender(req *http.Request) (future ServerKeysDeleteFuture, err error)
- func (client ServerKeysClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServerKey, err error)
- func (client ServerKeysClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServerKeysClient) GetResponder(resp *http.Response) (result ServerKey, err error)
- func (client ServerKeysClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ServerKeysClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result ServerKeyListResultPage, err error)
- func (client ServerKeysClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result ServerKeyListResultIterator, err error)
- func (client ServerKeysClient) ListByServerPreparer(ctx context.Context, 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 ServerKeysCreateOrUpdateFuture
- type ServerKeysDeleteFuture
- type ServerListResult
- type ServerListResultIterator
- type ServerListResultPage
- type ServerProperties
- type ServerUpdate
- type ServerUsage
- type ServerUsageListResult
- type ServerUsagesClient
- func (client ServerUsagesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result ServerUsageListResult, err error)
- func (client ServerUsagesClient) ListByServerPreparer(ctx context.Context, 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(ctx context.Context, parameters CheckNameAvailabilityRequest) (result CheckNameAvailabilityResponse, err error)
- func (client ServersClient) CheckNameAvailabilityPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServersCreateOrUpdateFuture, err error)
- func (client ServersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServersClient) CreateOrUpdateResponder(resp *http.Response) (result Server, err error)
- func (client ServersClient) CreateOrUpdateSender(req *http.Request) (future ServersCreateOrUpdateFuture, err error)
- func (client ServersClient) Delete(ctx context.Context, resourceGroupName string, serverName string) (result ServersDeleteFuture, err error)
- func (client ServersClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ServersClient) DeleteSender(req *http.Request) (future ServersDeleteFuture, err error)
- func (client ServersClient) Get(ctx context.Context, resourceGroupName string, serverName string) (result Server, err error)
- func (client ServersClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServersClient) GetResponder(resp *http.Response) (result Server, err error)
- func (client ServersClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ServersClient) List(ctx context.Context) (result ServerListResultPage, err error)
- func (client ServersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ServerListResultPage, err error)
- func (client ServersClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ServerListResultIterator, err error)
- func (client ServersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client ServersClient) ListByResourceGroupResponder(resp *http.Response) (result ServerListResult, err error)
- func (client ServersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client ServersClient) ListComplete(ctx context.Context) (result ServerListResultIterator, err error)
- func (client ServersClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client ServersClient) ListResponder(resp *http.Response) (result ServerListResult, err error)
- func (client ServersClient) ListSender(req *http.Request) (*http.Response, error)
- func (client ServersClient) Update(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServersUpdateFuture, err error)
- func (client ServersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServersClient) UpdateResponder(resp *http.Response) (result Server, err error)
- func (client ServersClient) UpdateSender(req *http.Request) (future ServersUpdateFuture, err error)
- type ServersCreateOrUpdateFuture
- type ServersDeleteFuture
- type ServersUpdateFuture
- type ServiceObjective
- type ServiceObjectiveCapability
- type ServiceObjectiveListResult
- type ServiceObjectiveName
- type ServiceObjectiveProperties
- type ServiceObjectivesClient
- func (client ServiceObjectivesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServiceObjective, err error)
- func (client ServiceObjectivesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string) (result ServiceObjectiveListResult, err error)
- func (client ServiceObjectivesClient) ListByServerPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServiceTierAdvisor, err error)
- func (client ServiceTierAdvisorsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServiceTierAdvisorListResult, err error)
- func (client ServiceTierAdvisorsClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName 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 SubscriptionUsage
- type SubscriptionUsageListResult
- type SubscriptionUsageListResultIterator
- type SubscriptionUsageListResultPage
- type SubscriptionUsageProperties
- type SubscriptionUsagesClient
- func (client SubscriptionUsagesClient) Get(ctx context.Context, locationName string, usageName string) (result SubscriptionUsage, err error)
- func (client SubscriptionUsagesClient) GetPreparer(ctx context.Context, locationName string, usageName string) (*http.Request, error)
- func (client SubscriptionUsagesClient) GetResponder(resp *http.Response) (result SubscriptionUsage, err error)
- func (client SubscriptionUsagesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client SubscriptionUsagesClient) ListByLocation(ctx context.Context, locationName string) (result SubscriptionUsageListResultPage, err error)
- func (client SubscriptionUsagesClient) ListByLocationComplete(ctx context.Context, locationName string) (result SubscriptionUsageListResultIterator, err error)
- func (client SubscriptionUsagesClient) ListByLocationPreparer(ctx context.Context, locationName string) (*http.Request, error)
- func (client SubscriptionUsagesClient) ListByLocationResponder(resp *http.Response) (result SubscriptionUsageListResult, err error)
- func (client SubscriptionUsagesClient) ListByLocationSender(req *http.Request) (*http.Response, error)
- type SyncAgent
- type SyncAgentKeyProperties
- type SyncAgentLinkedDatabase
- type SyncAgentLinkedDatabaseListResult
- type SyncAgentLinkedDatabaseListResultIterator
- func (iter *SyncAgentLinkedDatabaseListResultIterator) Next() error
- func (iter SyncAgentLinkedDatabaseListResultIterator) NotDone() bool
- func (iter SyncAgentLinkedDatabaseListResultIterator) Response() SyncAgentLinkedDatabaseListResult
- func (iter SyncAgentLinkedDatabaseListResultIterator) Value() SyncAgentLinkedDatabase
- type SyncAgentLinkedDatabaseListResultPage
- func (page *SyncAgentLinkedDatabaseListResultPage) Next() error
- func (page SyncAgentLinkedDatabaseListResultPage) NotDone() bool
- func (page SyncAgentLinkedDatabaseListResultPage) Response() SyncAgentLinkedDatabaseListResult
- func (page SyncAgentLinkedDatabaseListResultPage) Values() []SyncAgentLinkedDatabase
- type SyncAgentLinkedDatabaseProperties
- type SyncAgentListResult
- type SyncAgentListResultIterator
- type SyncAgentListResultPage
- type SyncAgentProperties
- type SyncAgentState
- type SyncAgentsClient
- func (client SyncAgentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result SyncAgentsCreateOrUpdateFuture, err error)
- func (client SyncAgentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client SyncAgentsClient) CreateOrUpdateResponder(resp *http.Response) (result SyncAgent, err error)
- func (client SyncAgentsClient) CreateOrUpdateSender(req *http.Request) (future SyncAgentsCreateOrUpdateFuture, err error)
- func (client SyncAgentsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result SyncAgentsDeleteFuture, err error)
- func (client SyncAgentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client SyncAgentsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SyncAgentsClient) DeleteSender(req *http.Request) (future SyncAgentsDeleteFuture, err error)
- func (client SyncAgentsClient) GenerateKey(ctx context.Context, resourceGroupName string, serverName string, ...) (result SyncAgentKeyProperties, err error)
- func (client SyncAgentsClient) GenerateKeyPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result SyncAgent, err error)
- func (client SyncAgentsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string) (result SyncAgentListResultPage, err error)
- func (client SyncAgentsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result SyncAgentListResultIterator, err error)
- func (client SyncAgentsClient) ListByServerPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result SyncAgentLinkedDatabaseListResultPage, err error)
- func (client SyncAgentsClient) ListLinkedDatabasesComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result SyncAgentLinkedDatabaseListResultIterator, err error)
- func (client SyncAgentsClient) ListLinkedDatabasesPreparer(ctx context.Context, resourceGroupName string, serverName 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 SyncAgentsCreateOrUpdateFuture
- type SyncAgentsDeleteFuture
- type SyncConflictResolutionPolicy
- type SyncDatabaseIDListResult
- type SyncDatabaseIDListResultIterator
- type SyncDatabaseIDListResultPage
- type SyncDatabaseIDProperties
- type SyncDirection
- type SyncFullSchemaProperties
- type SyncFullSchemaPropertiesListResult
- type SyncFullSchemaPropertiesListResultIterator
- func (iter *SyncFullSchemaPropertiesListResultIterator) Next() error
- func (iter SyncFullSchemaPropertiesListResultIterator) NotDone() bool
- func (iter SyncFullSchemaPropertiesListResultIterator) Response() SyncFullSchemaPropertiesListResult
- func (iter SyncFullSchemaPropertiesListResultIterator) Value() SyncFullSchemaProperties
- type SyncFullSchemaPropertiesListResultPage
- func (page *SyncFullSchemaPropertiesListResultPage) Next() error
- func (page SyncFullSchemaPropertiesListResultPage) NotDone() bool
- func (page SyncFullSchemaPropertiesListResultPage) Response() SyncFullSchemaPropertiesListResult
- func (page SyncFullSchemaPropertiesListResultPage) Values() []SyncFullSchemaProperties
- type SyncFullSchemaTable
- type SyncFullSchemaTableColumn
- type SyncGroup
- type SyncGroupListResult
- type SyncGroupListResultIterator
- type SyncGroupListResultPage
- type SyncGroupLogListResult
- type SyncGroupLogListResultIterator
- type SyncGroupLogListResultPage
- type SyncGroupLogProperties
- type SyncGroupLogType
- type SyncGroupProperties
- type SyncGroupSchema
- type SyncGroupSchemaTable
- type SyncGroupSchemaTableColumn
- type SyncGroupState
- type SyncGroupsClient
- func (client SyncGroupsClient) CancelSync(ctx context.Context, resourceGroupName string, serverName string, ...) (result autorest.Response, err error)
- func (client SyncGroupsClient) CancelSyncPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result SyncGroupsCreateOrUpdateFuture, err error)
- func (client SyncGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client SyncGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result SyncGroup, err error)
- func (client SyncGroupsClient) CreateOrUpdateSender(req *http.Request) (future SyncGroupsCreateOrUpdateFuture, err error)
- func (client SyncGroupsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result SyncGroupsDeleteFuture, err error)
- func (client SyncGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client SyncGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SyncGroupsClient) DeleteSender(req *http.Request) (future SyncGroupsDeleteFuture, err error)
- func (client SyncGroupsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result SyncGroup, err error)
- func (client SyncGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result SyncGroupListResultPage, err error)
- func (client SyncGroupsClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result SyncGroupListResultIterator, err error)
- func (client SyncGroupsClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result SyncFullSchemaPropertiesListResultPage, err error)
- func (client SyncGroupsClient) ListHubSchemasComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result SyncFullSchemaPropertiesListResultIterator, err error)
- func (client SyncGroupsClient) ListHubSchemasPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result SyncGroupLogListResultPage, err error)
- func (client SyncGroupsClient) ListLogsComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result SyncGroupLogListResultIterator, err error)
- func (client SyncGroupsClient) ListLogsPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, locationName string) (result SyncDatabaseIDListResultPage, err error)
- func (client SyncGroupsClient) ListSyncDatabaseIdsComplete(ctx context.Context, locationName string) (result SyncDatabaseIDListResultIterator, err error)
- func (client SyncGroupsClient) ListSyncDatabaseIdsPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result SyncGroupsRefreshHubSchemaFuture, err error)
- func (client SyncGroupsClient) RefreshHubSchemaPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client SyncGroupsClient) RefreshHubSchemaResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SyncGroupsClient) RefreshHubSchemaSender(req *http.Request) (future SyncGroupsRefreshHubSchemaFuture, err error)
- func (client SyncGroupsClient) TriggerSync(ctx context.Context, resourceGroupName string, serverName string, ...) (result autorest.Response, err error)
- func (client SyncGroupsClient) TriggerSyncPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result SyncGroupsUpdateFuture, err error)
- func (client SyncGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client SyncGroupsClient) UpdateResponder(resp *http.Response) (result SyncGroup, err error)
- func (client SyncGroupsClient) UpdateSender(req *http.Request) (future SyncGroupsUpdateFuture, err error)
- type SyncGroupsCreateOrUpdateFuture
- type SyncGroupsDeleteFuture
- type SyncGroupsRefreshHubSchemaFuture
- type SyncGroupsUpdateFuture
- type SyncMember
- type SyncMemberDbType
- type SyncMemberListResult
- type SyncMemberListResultIterator
- type SyncMemberListResultPage
- type SyncMemberProperties
- type SyncMemberState
- type SyncMembersClient
- func (client SyncMembersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result SyncMembersCreateOrUpdateFuture, err error)
- func (client SyncMembersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client SyncMembersClient) CreateOrUpdateResponder(resp *http.Response) (result SyncMember, err error)
- func (client SyncMembersClient) CreateOrUpdateSender(req *http.Request) (future SyncMembersCreateOrUpdateFuture, err error)
- func (client SyncMembersClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result SyncMembersDeleteFuture, err error)
- func (client SyncMembersClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client SyncMembersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SyncMembersClient) DeleteSender(req *http.Request) (future SyncMembersDeleteFuture, err error)
- func (client SyncMembersClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result SyncMember, err error)
- func (client SyncMembersClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result SyncMemberListResultPage, err error)
- func (client SyncMembersClient) ListBySyncGroupComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result SyncMemberListResultIterator, err error)
- func (client SyncMembersClient) ListBySyncGroupPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result SyncFullSchemaPropertiesListResultPage, err error)
- func (client SyncMembersClient) ListMemberSchemasComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result SyncFullSchemaPropertiesListResultIterator, err error)
- func (client SyncMembersClient) ListMemberSchemasPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result SyncMembersRefreshMemberSchemaFuture, err error)
- func (client SyncMembersClient) RefreshMemberSchemaPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client SyncMembersClient) RefreshMemberSchemaResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SyncMembersClient) RefreshMemberSchemaSender(req *http.Request) (future SyncMembersRefreshMemberSchemaFuture, err error)
- func (client SyncMembersClient) Update(ctx context.Context, resourceGroupName string, serverName string, ...) (result SyncMembersUpdateFuture, err error)
- func (client SyncMembersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client SyncMembersClient) UpdateResponder(resp *http.Response) (result SyncMember, err error)
- func (client SyncMembersClient) UpdateSender(req *http.Request) (future SyncMembersUpdateFuture, err error)
- type SyncMembersCreateOrUpdateFuture
- type SyncMembersDeleteFuture
- type SyncMembersRefreshMemberSchemaFuture
- type SyncMembersUpdateFuture
- type TrackedResource
- type TransparentDataEncryption
- type TransparentDataEncryptionActivitiesClient
- func (client TransparentDataEncryptionActivitiesClient) ListByConfiguration(ctx context.Context, resourceGroupName string, serverName string, ...) (result TransparentDataEncryptionActivityListResult, err error)
- func (client TransparentDataEncryptionActivitiesClient) ListByConfigurationPreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result TransparentDataEncryption, err error)
- func (client TransparentDataEncryptionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName 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(ctx context.Context, resourceGroupName string, serverName string, ...) (result TransparentDataEncryption, err error)
- func (client TransparentDataEncryptionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName 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 VirtualNetworkRuleListResultIterator
- type VirtualNetworkRuleListResultPage
- type VirtualNetworkRuleProperties
- type VirtualNetworkRuleState
- type VirtualNetworkRulesClient
- func (client VirtualNetworkRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result VirtualNetworkRulesCreateOrUpdateFuture, err error)
- func (client VirtualNetworkRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client VirtualNetworkRulesClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkRule, err error)
- func (client VirtualNetworkRulesClient) CreateOrUpdateSender(req *http.Request) (future VirtualNetworkRulesCreateOrUpdateFuture, err error)
- func (client VirtualNetworkRulesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result VirtualNetworkRulesDeleteFuture, err error)
- func (client VirtualNetworkRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client VirtualNetworkRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualNetworkRulesClient) DeleteSender(req *http.Request) (future VirtualNetworkRulesDeleteFuture, err error)
- func (client VirtualNetworkRulesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result VirtualNetworkRule, err error)
- func (client VirtualNetworkRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client VirtualNetworkRulesClient) GetResponder(resp *http.Response) (result VirtualNetworkRule, err error)
- func (client VirtualNetworkRulesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client VirtualNetworkRulesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result VirtualNetworkRuleListResultPage, err error)
- func (client VirtualNetworkRulesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result VirtualNetworkRuleListResultIterator, err error)
- func (client VirtualNetworkRulesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client VirtualNetworkRulesClient) ListByServerResponder(resp *http.Response) (result VirtualNetworkRuleListResult, err error)
- func (client VirtualNetworkRulesClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type VirtualNetworkRulesCreateOrUpdateFuture
- type VirtualNetworkRulesDeleteFuture
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 ... ADPassword AuthenticationType = "ADPassword" // SQL ... SQL AuthenticationType = "SQL" )
type BackupLongTermRetentionPoliciesClient ¶
type BackupLongTermRetentionPoliciesClient struct {
BaseClient
}
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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, backupLongTermRetentionPolicyName string, parameters BackupLongTermRetentionPolicy) (result BackupLongTermRetentionPoliciesCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates 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 parameters is the required parameters to update a backup long term retention policy
func (BackupLongTermRetentionPoliciesClient) CreateOrUpdatePreparer ¶
func (client BackupLongTermRetentionPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, backupLongTermRetentionPolicyName string, parameters BackupLongTermRetentionPolicy) (*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) (future BackupLongTermRetentionPoliciesCreateOrUpdateFuture, err 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(ctx context.Context, 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(ctx context.Context, 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.
func (BackupLongTermRetentionPoliciesClient) GetSender ¶
func (client BackupLongTermRetentionPoliciesClient) 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 (BackupLongTermRetentionPoliciesClient) ListByDatabase ¶
func (client BackupLongTermRetentionPoliciesClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result BackupLongTermRetentionPolicyListResult, err error)
ListByDatabase 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.
func (BackupLongTermRetentionPoliciesClient) ListByDatabasePreparer ¶
func (client BackupLongTermRetentionPoliciesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (BackupLongTermRetentionPoliciesClient) ListByDatabaseResponder ¶
func (client BackupLongTermRetentionPoliciesClient) ListByDatabaseResponder(resp *http.Response) (result BackupLongTermRetentionPolicyListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (BackupLongTermRetentionPoliciesClient) ListByDatabaseSender ¶
func (client BackupLongTermRetentionPoliciesClient) 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 BackupLongTermRetentionPoliciesCreateOrUpdateFuture ¶
type BackupLongTermRetentionPoliciesCreateOrUpdateFuture struct { azure.Future // contains filtered or unexported fields }
BackupLongTermRetentionPoliciesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (BackupLongTermRetentionPoliciesCreateOrUpdateFuture) Result ¶
func (future BackupLongTermRetentionPoliciesCreateOrUpdateFuture) Result(client BackupLongTermRetentionPoliciesClient) (bltrp BackupLongTermRetentionPolicy, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type BackupLongTermRetentionPolicy ¶
type BackupLongTermRetentionPolicy struct { autorest.Response `json:"-"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` // BackupLongTermRetentionPolicyProperties - The properties of the backup long term retention policy *BackupLongTermRetentionPolicyProperties `json:"properties,omitempty"` }
BackupLongTermRetentionPolicy a backup long term retention policy
func (*BackupLongTermRetentionPolicy) UnmarshalJSON ¶
func (bltrp *BackupLongTermRetentionPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for BackupLongTermRetentionPolicy struct.
type BackupLongTermRetentionPolicyListResult ¶
type BackupLongTermRetentionPolicyListResult struct { autorest.Response `json:"-"` // Value - The list of long-term retention policies in the database. Value *[]BackupLongTermRetentionPolicy `json:"value,omitempty"` }
BackupLongTermRetentionPolicyListResult represents the response to a list long-term retention policies request.
type BackupLongTermRetentionPolicyProperties ¶
type BackupLongTermRetentionPolicyProperties struct { // State - The status of the backup long term retention policy. Possible values include: 'Disabled', 'Enabled' State BackupLongTermRetentionPolicyState `json:"state,omitempty"` // RecoveryServicesBackupPolicyResourceID - The azure recovery services backup protection policy resource id RecoveryServicesBackupPolicyResourceID *string `json:"recoveryServicesBackupPolicyResourceId,omitempty"` }
BackupLongTermRetentionPolicyProperties 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 ... Disabled BackupLongTermRetentionPolicyState = "Disabled" // Enabled ... Enabled BackupLongTermRetentionPolicyState = "Enabled" )
type BackupLongTermRetentionVault ¶
type BackupLongTermRetentionVault struct { autorest.Response `json:"-"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` // BackupLongTermRetentionVaultProperties - The properties of the backup long term retention vault *BackupLongTermRetentionVaultProperties `json:"properties,omitempty"` }
BackupLongTermRetentionVault a backup long term retention vault
func (*BackupLongTermRetentionVault) UnmarshalJSON ¶
func (bltrv *BackupLongTermRetentionVault) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for BackupLongTermRetentionVault struct.
type BackupLongTermRetentionVaultListResult ¶
type BackupLongTermRetentionVaultListResult struct { autorest.Response `json:"-"` // Value - The list of vaults in the server. Value *[]BackupLongTermRetentionVault `json:"value,omitempty"` }
BackupLongTermRetentionVaultListResult represents the response to a list vaults request.
type BackupLongTermRetentionVaultProperties ¶
type BackupLongTermRetentionVaultProperties struct { // RecoveryServicesVaultResourceID - The azure recovery services vault resource id RecoveryServicesVaultResourceID *string `json:"recoveryServicesVaultResourceId,omitempty"` }
BackupLongTermRetentionVaultProperties the properties of a backup long term retention vault.
type BackupLongTermRetentionVaultsClient ¶
type BackupLongTermRetentionVaultsClient struct {
BaseClient
}
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(ctx context.Context, resourceGroupName string, serverName string, backupLongTermRetentionVaultName string, parameters BackupLongTermRetentionVault) (result BackupLongTermRetentionVaultsCreateOrUpdateFuture, err error)
CreateOrUpdate updates 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 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(ctx context.Context, resourceGroupName string, serverName string, backupLongTermRetentionVaultName string, parameters BackupLongTermRetentionVault) (*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) (future BackupLongTermRetentionVaultsCreateOrUpdateFuture, err 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(ctx context.Context, 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(ctx context.Context, 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.
func (BackupLongTermRetentionVaultsClient) GetSender ¶
func (client BackupLongTermRetentionVaultsClient) 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 (BackupLongTermRetentionVaultsClient) ListByServer ¶
func (client BackupLongTermRetentionVaultsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result BackupLongTermRetentionVaultListResult, err error)
ListByServer gets server backup long term retention vaults 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 (BackupLongTermRetentionVaultsClient) ListByServerPreparer ¶
func (client BackupLongTermRetentionVaultsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (BackupLongTermRetentionVaultsClient) ListByServerResponder ¶
func (client BackupLongTermRetentionVaultsClient) ListByServerResponder(resp *http.Response) (result BackupLongTermRetentionVaultListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (BackupLongTermRetentionVaultsClient) ListByServerSender ¶
func (client BackupLongTermRetentionVaultsClient) 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 BackupLongTermRetentionVaultsCreateOrUpdateFuture ¶
type BackupLongTermRetentionVaultsCreateOrUpdateFuture struct { azure.Future // contains filtered or unexported fields }
BackupLongTermRetentionVaultsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (BackupLongTermRetentionVaultsCreateOrUpdateFuture) Result ¶
func (future BackupLongTermRetentionVaultsCreateOrUpdateFuture) Result(client BackupLongTermRetentionVaultsClient) (bltrv BackupLongTermRetentionVault, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type BaseClient ¶
BaseClient is the base client for Sql.
func New ¶
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client.
type BlobAuditingPolicyState ¶
type BlobAuditingPolicyState string
BlobAuditingPolicyState enumerates the values for blob auditing policy state.
const ( // BlobAuditingPolicyStateDisabled ... BlobAuditingPolicyStateDisabled BlobAuditingPolicyState = "Disabled" // BlobAuditingPolicyStateEnabled ... BlobAuditingPolicyStateEnabled BlobAuditingPolicyState = "Enabled" )
type CapabilitiesClient ¶
type CapabilitiesClient struct {
BaseClient
}
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(ctx context.Context, 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(ctx context.Context, 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 ... CapabilityStatusAvailable CapabilityStatus = "Available" // CapabilityStatusDefault ... CapabilityStatusDefault CapabilityStatus = "Default" // CapabilityStatusDisabled ... CapabilityStatusDisabled CapabilityStatus = "Disabled" // CapabilityStatusVisible ... CapabilityStatusVisible CapabilityStatus = "Visible" )
type CheckNameAvailabilityReason ¶
type CheckNameAvailabilityReason string
CheckNameAvailabilityReason enumerates the values for check name availability reason.
const ( // AlreadyExists ... AlreadyExists CheckNameAvailabilityReason = "AlreadyExists" // Invalid ... Invalid CheckNameAvailabilityReason = "Invalid" )
type CheckNameAvailabilityRequest ¶
type CheckNameAvailabilityRequest struct { // Name - The name whose availability is to be checked. Name *string `json:"name,omitempty"` // Type - The type of resource that is used as the scope of the availability check. Type *string `json:"type,omitempty"` }
CheckNameAvailabilityRequest a request to check whether the specified name for a resource is available.
type CheckNameAvailabilityResponse ¶
type CheckNameAvailabilityResponse struct { autorest.Response `json:"-"` // Available - True if the name is available, otherwise false. Available *bool `json:"available,omitempty"` // Message - A message explaining why the name is unavailable. Will be null if the name is available. Message *string `json:"message,omitempty"` // Name - The name whose availability was checked. Name *string `json:"name,omitempty"` // Reason - The reason code explaining why the name is unavailable. Will be null if the name is available. Possible values include: 'Invalid', 'AlreadyExists' Reason CheckNameAvailabilityReason `json:"reason,omitempty"` }
CheckNameAvailabilityResponse 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 ... Copy CreateMode = "Copy" // Default ... Default CreateMode = "Default" // NonReadableSecondary ... NonReadableSecondary CreateMode = "NonReadableSecondary" // OnlineSecondary ... OnlineSecondary CreateMode = "OnlineSecondary" // PointInTimeRestore ... PointInTimeRestore CreateMode = "PointInTimeRestore" // Recovery ... Recovery CreateMode = "Recovery" // Restore ... Restore CreateMode = "Restore" // RestoreLongTermRetentionBackup ... RestoreLongTermRetentionBackup CreateMode = "RestoreLongTermRetentionBackup" )
type DataMaskingFunction ¶
type DataMaskingFunction string
DataMaskingFunction enumerates the values for data masking function.
const ( // DataMaskingFunctionCCN ... DataMaskingFunctionCCN DataMaskingFunction = "CCN" // DataMaskingFunctionDefault ... DataMaskingFunctionDefault DataMaskingFunction = "Default" // DataMaskingFunctionEmail ... DataMaskingFunctionEmail DataMaskingFunction = "Email" // DataMaskingFunctionNumber ... DataMaskingFunctionNumber DataMaskingFunction = "Number" // DataMaskingFunctionSSN ... DataMaskingFunctionSSN DataMaskingFunction = "SSN" // DataMaskingFunctionText ... DataMaskingFunctionText DataMaskingFunction = "Text" )
type DataMaskingPoliciesClient ¶
type DataMaskingPoliciesClient struct {
BaseClient
}
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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // DataMaskingPolicyProperties - The properties of the data masking policy. *DataMaskingPolicyProperties `json:"properties,omitempty"` // Location - The location of the data masking policy. Location *string `json:"location,omitempty"` // Kind - The kind of data masking policy. Metadata, used for Azure portal. Kind *string `json:"kind,omitempty"` }
DataMaskingPolicy represents a database data masking policy.
func (*DataMaskingPolicy) UnmarshalJSON ¶
func (dmp *DataMaskingPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DataMaskingPolicy struct.
type DataMaskingPolicyProperties ¶
type DataMaskingPolicyProperties struct { // DataMaskingState - The state of the data masking policy. Possible values include: 'DataMaskingStateDisabled', 'DataMaskingStateEnabled' DataMaskingState DataMaskingState `json:"dataMaskingState,omitempty"` // ExemptPrincipals - The list of the exempt principals. Specifies the semicolon-separated list of database users for which the data masking policy does not apply. The specified users receive data results without masking for all of the database queries. ExemptPrincipals *string `json:"exemptPrincipals,omitempty"` // ApplicationPrincipals - The list of the application principals. This is a legacy parameter and is no longer used. ApplicationPrincipals *string `json:"applicationPrincipals,omitempty"` // MaskingLevel - The masking level. This is a legacy parameter and is no longer used. MaskingLevel *string `json:"maskingLevel,omitempty"` }
DataMaskingPolicyProperties the properties of a database data masking policy.
type DataMaskingRule ¶
type DataMaskingRule struct { autorest.Response `json:"-"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // DataMaskingRuleProperties - The properties of the resource. *DataMaskingRuleProperties `json:"properties,omitempty"` // Location - The location of the data masking rule. Location *string `json:"location,omitempty"` // Kind - The kind of Data Masking Rule. Metadata, used for Azure portal. Kind *string `json:"kind,omitempty"` }
DataMaskingRule represents a database data masking rule.
func (*DataMaskingRule) UnmarshalJSON ¶
func (dmr *DataMaskingRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DataMaskingRule struct.
type DataMaskingRuleListResult ¶
type DataMaskingRuleListResult struct { autorest.Response `json:"-"` // Value - The list of database data masking rules. Value *[]DataMaskingRule `json:"value,omitempty"` }
DataMaskingRuleListResult the response to a list data masking rules request.
type DataMaskingRuleProperties ¶
type DataMaskingRuleProperties struct { // ID - The rule Id. ID *string `json:"id,omitempty"` // AliasName - The alias name. This is a legacy parameter and is no longer used. AliasName *string `json:"aliasName,omitempty"` // RuleState - The rule state. Used to delete a rule. To delete an existing rule, specify the schemaName, tableName, columnName, maskingFunction, and specify ruleState as disabled. However, if the rule doesn't already exist, the rule will be created with ruleState set to enabled, regardless of the provided value of ruleState. Possible values include: 'DataMaskingRuleStateDisabled', 'DataMaskingRuleStateEnabled' RuleState DataMaskingRuleState `json:"ruleState,omitempty"` // SchemaName - The schema name on which the data masking rule is applied. SchemaName *string `json:"schemaName,omitempty"` // TableName - The table name on which the data masking rule is applied. TableName *string `json:"tableName,omitempty"` // ColumnName - The column name on which the data masking rule is applied. ColumnName *string `json:"columnName,omitempty"` // MaskingFunction - The masking function that is used for the data masking rule. Possible values include: 'DataMaskingFunctionDefault', 'DataMaskingFunctionCCN', 'DataMaskingFunctionEmail', 'DataMaskingFunctionNumber', 'DataMaskingFunctionSSN', 'DataMaskingFunctionText' MaskingFunction DataMaskingFunction `json:"maskingFunction,omitempty"` // NumberFrom - The numberFrom property of the masking rule. Required if maskingFunction is set to Number, otherwise this parameter will be ignored. NumberFrom *string `json:"numberFrom,omitempty"` // NumberTo - The numberTo property of the data masking rule. Required if maskingFunction is set to Number, otherwise this parameter will be ignored. NumberTo *string `json:"numberTo,omitempty"` // PrefixSize - If maskingFunction is set to Text, the number of characters to show unmasked in the beginning of the string. Otherwise, this parameter will be ignored. PrefixSize *string `json:"prefixSize,omitempty"` // SuffixSize - If maskingFunction is set to Text, the number of characters to show unmasked at the end of the string. Otherwise, this parameter will be ignored. SuffixSize *string `json:"suffixSize,omitempty"` // ReplacementString - If maskingFunction is set to Text, the character to use for masking the unexposed part of the string. Otherwise, this parameter will be ignored. ReplacementString *string `json:"replacementString,omitempty"` }
DataMaskingRuleProperties the properties of a database data masking rule.
type DataMaskingRuleState ¶
type DataMaskingRuleState string
DataMaskingRuleState enumerates the values for data masking rule state.
const ( // DataMaskingRuleStateDisabled ... DataMaskingRuleStateDisabled DataMaskingRuleState = "Disabled" // DataMaskingRuleStateEnabled ... DataMaskingRuleStateEnabled DataMaskingRuleState = "Enabled" )
type DataMaskingRulesClient ¶
type DataMaskingRulesClient struct {
BaseClient
}
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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 ... DataMaskingStateDisabled DataMaskingState = "Disabled" // DataMaskingStateEnabled ... DataMaskingStateEnabled DataMaskingState = "Enabled" )
type Database ¶
type Database struct { autorest.Response `json:"-"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // Tags - Resource tags. Tags *map[string]*string `json:"tags,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Kind - Kind of database. This is metadata used for the Azure portal experience. Kind *string `json:"kind,omitempty"` // DatabaseProperties - The properties representing the resource. *DatabaseProperties `json:"properties,omitempty"` }
Database represents a database.
func (*Database) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Database struct.
type DatabaseBlobAuditingPoliciesClient ¶
type DatabaseBlobAuditingPoliciesClient struct {
BaseClient
}
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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // Kind - Resource kind. Kind *string `json:"kind,omitempty"` // DatabaseBlobAuditingPolicyProperties - Resource properties. *DatabaseBlobAuditingPolicyProperties `json:"properties,omitempty"` }
DatabaseBlobAuditingPolicy a database blob auditing policy.
func (*DatabaseBlobAuditingPolicy) UnmarshalJSON ¶
func (dbap *DatabaseBlobAuditingPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DatabaseBlobAuditingPolicy struct.
type DatabaseBlobAuditingPolicyProperties ¶
type DatabaseBlobAuditingPolicyProperties struct { // State - Specifies the state of the policy. If state is Enabled, storageEndpoint and storageAccountAccessKey are required. Possible values include: 'BlobAuditingPolicyStateEnabled', 'BlobAuditingPolicyStateDisabled' State BlobAuditingPolicyState `json:"state,omitempty"` // StorageEndpoint - Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is Enabled, storageEndpoint is required. StorageEndpoint *string `json:"storageEndpoint,omitempty"` // StorageAccountAccessKey - Specifies the identifier key of the auditing storage account. If state is Enabled, storageAccountAccessKey is required. StorageAccountAccessKey *string `json:"storageAccountAccessKey,omitempty"` // RetentionDays - Specifies the number of days to keep in the audit logs. RetentionDays *int32 `json:"retentionDays,omitempty"` // AuditActionsAndGroups - Specifies the Actions and Actions-Groups to audit. AuditActionsAndGroups *[]string `json:"auditActionsAndGroups,omitempty"` // StorageAccountSubscriptionID - Specifies the blob storage subscription Id. StorageAccountSubscriptionID *uuid.UUID `json:"storageAccountSubscriptionId,omitempty"` // IsStorageSecondaryKeyInUse - Specifies whether storageAccountAccessKey value is the storage’s secondary key. IsStorageSecondaryKeyInUse *bool `json:"isStorageSecondaryKeyInUse,omitempty"` }
DatabaseBlobAuditingPolicyProperties properties of a database blob auditing policy.
type DatabaseEdition ¶
type DatabaseEdition string
DatabaseEdition enumerates the values for database edition.
const ( // Basic ... Basic DatabaseEdition = "Basic" // Business ... Business DatabaseEdition = "Business" // DataWarehouse ... DataWarehouse DatabaseEdition = "DataWarehouse" // Free ... Free DatabaseEdition = "Free" // Premium ... Premium DatabaseEdition = "Premium" // PremiumRS ... PremiumRS DatabaseEdition = "PremiumRS" // Standard ... Standard DatabaseEdition = "Standard" // Stretch ... Stretch DatabaseEdition = "Stretch" // System ... System DatabaseEdition = "System" // System2 ... System2 DatabaseEdition = "System2" // Web ... Web DatabaseEdition = "Web" )
type DatabaseListResult ¶
type DatabaseListResult struct { autorest.Response `json:"-"` // Value - The list of databases housed in the server. Value *[]Database `json:"value,omitempty"` }
DatabaseListResult represents the response to a list database request.
type DatabaseOperation ¶
type DatabaseOperation struct { // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // DatabaseOperationProperties - Resource properties. *DatabaseOperationProperties `json:"properties,omitempty"` }
DatabaseOperation a database operation.
func (*DatabaseOperation) UnmarshalJSON ¶
func (do *DatabaseOperation) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DatabaseOperation struct.
type DatabaseOperationListResult ¶
type DatabaseOperationListResult struct { autorest.Response `json:"-"` // Value - Array of results. Value *[]DatabaseOperation `json:"value,omitempty"` // NextLink - Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
DatabaseOperationListResult the response to a list database operations request
func (DatabaseOperationListResult) IsEmpty ¶
func (dolr DatabaseOperationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type DatabaseOperationListResultIterator ¶
type DatabaseOperationListResultIterator struct {
// contains filtered or unexported fields
}
DatabaseOperationListResultIterator provides access to a complete listing of DatabaseOperation values.
func (*DatabaseOperationListResultIterator) Next ¶
func (iter *DatabaseOperationListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (DatabaseOperationListResultIterator) NotDone ¶
func (iter DatabaseOperationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DatabaseOperationListResultIterator) Response ¶
func (iter DatabaseOperationListResultIterator) Response() DatabaseOperationListResult
Response returns the raw server response from the last page request.
func (DatabaseOperationListResultIterator) Value ¶
func (iter DatabaseOperationListResultIterator) Value() DatabaseOperation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DatabaseOperationListResultPage ¶
type DatabaseOperationListResultPage struct {
// contains filtered or unexported fields
}
DatabaseOperationListResultPage contains a page of DatabaseOperation values.
func (*DatabaseOperationListResultPage) Next ¶
func (page *DatabaseOperationListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (DatabaseOperationListResultPage) NotDone ¶
func (page DatabaseOperationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DatabaseOperationListResultPage) Response ¶
func (page DatabaseOperationListResultPage) Response() DatabaseOperationListResult
Response returns the raw server response from the last page request.
func (DatabaseOperationListResultPage) Values ¶
func (page DatabaseOperationListResultPage) Values() []DatabaseOperation
Values returns the slice of values for the current page or nil if there are no values.
type DatabaseOperationProperties ¶
type DatabaseOperationProperties struct { // DatabaseName - The name of the database the operation is being performed on. DatabaseName *string `json:"databaseName,omitempty"` // Operation - The name of operation. Operation *string `json:"operation,omitempty"` // OperationFriendlyName - The friendly name of operation. OperationFriendlyName *string `json:"operationFriendlyName,omitempty"` // PercentComplete - The percentage of the operation completed. PercentComplete *int32 `json:"percentComplete,omitempty"` // ServerName - The name of the server. ServerName *string `json:"serverName,omitempty"` // StartTime - The operation start time. StartTime *date.Time `json:"startTime,omitempty"` // State - The operation state. Possible values include: 'Pending', 'InProgress', 'Succeeded', 'Failed', 'CancelInProgress', 'Cancelled' State ManagementOperationState `json:"state,omitempty"` // ErrorCode - The operation error code. ErrorCode *int32 `json:"errorCode,omitempty"` // ErrorDescription - The operation error description. ErrorDescription *string `json:"errorDescription,omitempty"` // ErrorSeverity - The operation error severity. ErrorSeverity *int32 `json:"errorSeverity,omitempty"` // IsUserError - Whether or not the error is a user error. IsUserError *bool `json:"isUserError,omitempty"` }
DatabaseOperationProperties the properties of a database operation.
type DatabaseOperationsClient ¶
type DatabaseOperationsClient struct {
BaseClient
}
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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result DatabaseOperationListResultPage, 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(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result DatabaseOperationListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (DatabaseOperationsClient) ListByDatabasePreparer ¶
func (client DatabaseOperationsClient) ListByDatabasePreparer(ctx context.Context, 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 - The collation of the database. If createMode is not Default, this value is ignored. Collation *string `json:"collation,omitempty"` // CreationDate - The creation date of the database (ISO8601 format). CreationDate *date.Time `json:"creationDate,omitempty"` // ContainmentState - The containment state of the database. ContainmentState *int64 `json:"containmentState,omitempty"` // CurrentServiceObjectiveID - The current service level objective ID of the database. This is the ID of the service level objective that is currently active. CurrentServiceObjectiveID *uuid.UUID `json:"currentServiceObjectiveId,omitempty"` // DatabaseID - The ID of the database. DatabaseID *uuid.UUID `json:"databaseId,omitempty"` // EarliestRestoreDate - This records the earliest start date and time that restore is available for this database (ISO8601 format). EarliestRestoreDate *date.Time `json:"earliestRestoreDate,omitempty"` // CreateMode - Specifies the mode of database creation. // Default: regular database creation. // Copy: creates a database as a copy of an existing database. sourceDatabaseId must be specified as the resource ID of the source database. // OnlineSecondary/NonReadableSecondary: creates a database as a (readable or nonreadable) secondary replica of an existing database. sourceDatabaseId must be specified as the resource ID of the existing primary database. // PointInTimeRestore: Creates a database by restoring a point in time backup of an existing database. sourceDatabaseId must be specified as the resource ID of the existing database, and restorePointInTime must be specified. // Recovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be specified as the recoverable database resource ID to restore. // Restore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must be specified. If sourceDatabaseId is the database's original resource ID, then sourceDatabaseDeletionDate must be specified. Otherwise sourceDatabaseId must be the restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time. // RestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention vault. recoveryServicesRecoveryPointResourceId must be specified as the recovery point resource ID. // Copy, NonReadableSecondary, OnlineSecondary and RestoreLongTermRetentionBackup are not supported for DataWarehouse edition. Possible values include: 'Copy', 'Default', 'NonReadableSecondary', 'OnlineSecondary', 'PointInTimeRestore', 'Recovery', 'Restore', 'RestoreLongTermRetentionBackup' CreateMode CreateMode `json:"createMode,omitempty"` // SourceDatabaseID - Conditional. If createMode is Copy, NonReadableSecondary, OnlineSecondary, PointInTimeRestore, Recovery, or Restore, then this value is required. Specifies the resource ID of the source database. If createMode is NonReadableSecondary or OnlineSecondary, the name of the source database must be the same as the new database being created. SourceDatabaseID *string `json:"sourceDatabaseId,omitempty"` // SourceDatabaseDeletionDate - Conditional. If createMode is Restore and sourceDatabaseId is the deleted database's original resource id when it existed (as opposed to its current restorable dropped database id), then this value is required. Specifies the time that the database was deleted. SourceDatabaseDeletionDate *date.Time `json:"sourceDatabaseDeletionDate,omitempty"` // RestorePointInTime - Conditional. If createMode is PointInTimeRestore, this value is required. If createMode is Restore, this value is optional. Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. Must be greater than or equal to the source database's earliestRestoreDate value. RestorePointInTime *date.Time `json:"restorePointInTime,omitempty"` // RecoveryServicesRecoveryPointResourceID - Conditional. If createMode is RestoreLongTermRetentionBackup, then this value is required. Specifies the resource ID of the recovery point to restore from. RecoveryServicesRecoveryPointResourceID *string `json:"recoveryServicesRecoveryPointResourceId,omitempty"` // Edition - The edition of the database. The DatabaseEditions enumeration contains all the valid editions. If createMode is NonReadableSecondary or OnlineSecondary, this value is ignored. To see possible values, query the capabilities API (/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationID}/capabilities) referred to by operationId: "Capabilities_ListByLocation." or use the Azure CLI command `az sql db list-editions -l westus --query [].name`. Possible values include: 'Web', 'Business', 'Basic', 'Standard', 'Premium', 'PremiumRS', 'Free', 'Stretch', 'DataWarehouse', 'System', 'System2' Edition DatabaseEdition `json:"edition,omitempty"` // MaxSizeBytes - The max size of the database expressed in bytes. If createMode is not Default, this value is ignored. To see possible values, query the capabilities API (/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationID}/capabilities) referred to by operationId: "Capabilities_ListByLocation." MaxSizeBytes *string `json:"maxSizeBytes,omitempty"` // RequestedServiceObjectiveID - The configured service level objective ID of the database. This is the service level objective that is in the process of being applied to the database. Once successfully updated, it will match the value of currentServiceObjectiveId property. If requestedServiceObjectiveId and requestedServiceObjectiveName are both updated, the value of requestedServiceObjectiveId overrides the value of requestedServiceObjectiveName. To see possible values, query the capabilities API (/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationID}/capabilities) referred to by operationId: "Capabilities_ListByLocation." or use the Azure CLI command `az sql db list-editions --location <location> --query [].supportedServiceLevelObjectives[].name` . RequestedServiceObjectiveID *uuid.UUID `json:"requestedServiceObjectiveId,omitempty"` // RequestedServiceObjectiveName - The name of the configured service level objective of the database. This is the service level objective that is in the process of being applied to the database. Once successfully updated, it will match the value of serviceLevelObjective property. To see possible values, query the capabilities API (/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationID}/capabilities) referred to by operationId: "Capabilities_ListByLocation." or use the Azure CLI command `az sql db list-editions --location <location> --query [].supportedServiceLevelObjectives[].name`. Possible values include: 'ServiceObjectiveNameSystem', 'ServiceObjectiveNameSystem0', 'ServiceObjectiveNameSystem1', 'ServiceObjectiveNameSystem2', 'ServiceObjectiveNameSystem3', 'ServiceObjectiveNameSystem4', 'ServiceObjectiveNameSystem2L', 'ServiceObjectiveNameSystem3L', 'ServiceObjectiveNameSystem4L', 'ServiceObjectiveNameFree', 'ServiceObjectiveNameBasic', 'ServiceObjectiveNameS0', 'ServiceObjectiveNameS1', 'ServiceObjectiveNameS2', 'ServiceObjectiveNameS3', 'ServiceObjectiveNameS4', 'ServiceObjectiveNameS6', 'ServiceObjectiveNameS7', 'ServiceObjectiveNameS9', 'ServiceObjectiveNameS12', 'ServiceObjectiveNameP1', 'ServiceObjectiveNameP2', 'ServiceObjectiveNameP3', 'ServiceObjectiveNameP4', 'ServiceObjectiveNameP6', 'ServiceObjectiveNameP11', 'ServiceObjectiveNameP15', 'ServiceObjectiveNamePRS1', 'ServiceObjectiveNamePRS2', 'ServiceObjectiveNamePRS4', 'ServiceObjectiveNamePRS6', 'ServiceObjectiveNameDW100', 'ServiceObjectiveNameDW200', 'ServiceObjectiveNameDW300', 'ServiceObjectiveNameDW400', 'ServiceObjectiveNameDW500', 'ServiceObjectiveNameDW600', 'ServiceObjectiveNameDW1000', 'ServiceObjectiveNameDW1200', 'ServiceObjectiveNameDW1000c', 'ServiceObjectiveNameDW1500', 'ServiceObjectiveNameDW1500c', 'ServiceObjectiveNameDW2000', 'ServiceObjectiveNameDW2000c', 'ServiceObjectiveNameDW3000', 'ServiceObjectiveNameDW2500c', 'ServiceObjectiveNameDW3000c', 'ServiceObjectiveNameDW6000', 'ServiceObjectiveNameDW5000c', 'ServiceObjectiveNameDW6000c', 'ServiceObjectiveNameDW7500c', 'ServiceObjectiveNameDW10000c', 'ServiceObjectiveNameDW15000c', 'ServiceObjectiveNameDW30000c', 'ServiceObjectiveNameDS100', 'ServiceObjectiveNameDS200', 'ServiceObjectiveNameDS300', 'ServiceObjectiveNameDS400', 'ServiceObjectiveNameDS500', 'ServiceObjectiveNameDS600', 'ServiceObjectiveNameDS1000', 'ServiceObjectiveNameDS1200', 'ServiceObjectiveNameDS1500', 'ServiceObjectiveNameDS2000', 'ServiceObjectiveNameElasticPool' RequestedServiceObjectiveName ServiceObjectiveName `json:"requestedServiceObjectiveName,omitempty"` // ServiceLevelObjective - The current service level objective of the database. Possible values include: 'ServiceObjectiveNameSystem', 'ServiceObjectiveNameSystem0', 'ServiceObjectiveNameSystem1', 'ServiceObjectiveNameSystem2', 'ServiceObjectiveNameSystem3', 'ServiceObjectiveNameSystem4', 'ServiceObjectiveNameSystem2L', 'ServiceObjectiveNameSystem3L', 'ServiceObjectiveNameSystem4L', 'ServiceObjectiveNameFree', 'ServiceObjectiveNameBasic', 'ServiceObjectiveNameS0', 'ServiceObjectiveNameS1', 'ServiceObjectiveNameS2', 'ServiceObjectiveNameS3', 'ServiceObjectiveNameS4', 'ServiceObjectiveNameS6', 'ServiceObjectiveNameS7', 'ServiceObjectiveNameS9', 'ServiceObjectiveNameS12', 'ServiceObjectiveNameP1', 'ServiceObjectiveNameP2', 'ServiceObjectiveNameP3', 'ServiceObjectiveNameP4', 'ServiceObjectiveNameP6', 'ServiceObjectiveNameP11', 'ServiceObjectiveNameP15', 'ServiceObjectiveNamePRS1', 'ServiceObjectiveNamePRS2', 'ServiceObjectiveNamePRS4', 'ServiceObjectiveNamePRS6', 'ServiceObjectiveNameDW100', 'ServiceObjectiveNameDW200', 'ServiceObjectiveNameDW300', 'ServiceObjectiveNameDW400', 'ServiceObjectiveNameDW500', 'ServiceObjectiveNameDW600', 'ServiceObjectiveNameDW1000', 'ServiceObjectiveNameDW1200', 'ServiceObjectiveNameDW1000c', 'ServiceObjectiveNameDW1500', 'ServiceObjectiveNameDW1500c', 'ServiceObjectiveNameDW2000', 'ServiceObjectiveNameDW2000c', 'ServiceObjectiveNameDW3000', 'ServiceObjectiveNameDW2500c', 'ServiceObjectiveNameDW3000c', 'ServiceObjectiveNameDW6000', 'ServiceObjectiveNameDW5000c', 'ServiceObjectiveNameDW6000c', 'ServiceObjectiveNameDW7500c', 'ServiceObjectiveNameDW10000c', 'ServiceObjectiveNameDW15000c', 'ServiceObjectiveNameDW30000c', 'ServiceObjectiveNameDS100', 'ServiceObjectiveNameDS200', 'ServiceObjectiveNameDS300', 'ServiceObjectiveNameDS400', 'ServiceObjectiveNameDS500', 'ServiceObjectiveNameDS600', 'ServiceObjectiveNameDS1000', 'ServiceObjectiveNameDS1200', 'ServiceObjectiveNameDS1500', 'ServiceObjectiveNameDS2000', 'ServiceObjectiveNameElasticPool' ServiceLevelObjective ServiceObjectiveName `json:"serviceLevelObjective,omitempty"` // Status - The status of the database. Status *string `json:"status,omitempty"` // ElasticPoolName - The name of the elastic pool the database is in. If elasticPoolName and requestedServiceObjectiveName are both updated, the value of requestedServiceObjectiveName is ignored. Not supported for DataWarehouse edition. ElasticPoolName *string `json:"elasticPoolName,omitempty"` // DefaultSecondaryLocation - The default secondary region for this database. DefaultSecondaryLocation *string `json:"defaultSecondaryLocation,omitempty"` // ServiceTierAdvisors - The list of service tier advisors for this database. Expanded property ServiceTierAdvisors *[]ServiceTierAdvisor `json:"serviceTierAdvisors,omitempty"` // TransparentDataEncryption - The transparent data encryption info for this database. TransparentDataEncryption *[]TransparentDataEncryption `json:"transparentDataEncryption,omitempty"` // RecommendedIndex - The recommended indices for this database. RecommendedIndex *[]RecommendedIndex `json:"recommendedIndex,omitempty"` // FailoverGroupID - The resource identifier of the failover group containing this database. FailoverGroupID *string `json:"failoverGroupId,omitempty"` // ReadScale - Conditional. If the database is a geo-secondary, readScale indicates whether read-only connections are allowed to this database or not. Not supported for DataWarehouse edition. Possible values include: 'ReadScaleEnabled', 'ReadScaleDisabled' ReadScale ReadScale `json:"readScale,omitempty"` // SampleName - Indicates the name of the sample schema to apply when creating this database. If createMode is not Default, this value is ignored. Not supported for DataWarehouse edition. Possible values include: 'AdventureWorksLT' SampleName SampleName `json:"sampleName,omitempty"` // ZoneRedundant - Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones. ZoneRedundant *bool `json:"zoneRedundant,omitempty"` }
DatabaseProperties represents the properties of a database.
type DatabaseSecurityAlertPolicy ¶
type DatabaseSecurityAlertPolicy struct { autorest.Response `json:"-"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` // Kind - Resource kind. Kind *string `json:"kind,omitempty"` // DatabaseSecurityAlertPolicyProperties - Properties of the security alert policy. *DatabaseSecurityAlertPolicyProperties `json:"properties,omitempty"` }
DatabaseSecurityAlertPolicy contains information about a database Threat Detection policy.
func (*DatabaseSecurityAlertPolicy) UnmarshalJSON ¶
func (dsap *DatabaseSecurityAlertPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DatabaseSecurityAlertPolicy struct.
type DatabaseSecurityAlertPolicyProperties ¶
type DatabaseSecurityAlertPolicyProperties struct { // State - Specifies the state of the policy. If state is Enabled, storageEndpoint and storageAccountAccessKey are required. Possible values include: 'SecurityAlertPolicyStateNew', 'SecurityAlertPolicyStateEnabled', 'SecurityAlertPolicyStateDisabled' State SecurityAlertPolicyState `json:"state,omitempty"` // DisabledAlerts - Specifies the semicolon-separated list of alerts that are disabled, or empty string to disable no alerts. Possible values: Sql_Injection; Sql_Injection_Vulnerability; Access_Anomaly; Usage_Anomaly. DisabledAlerts *string `json:"disabledAlerts,omitempty"` // EmailAddresses - Specifies the semicolon-separated list of e-mail addresses to which the alert is sent. EmailAddresses *string `json:"emailAddresses,omitempty"` // EmailAccountAdmins - Specifies that the alert is sent to the account administrators. Possible values include: 'SecurityAlertPolicyEmailAccountAdminsEnabled', 'SecurityAlertPolicyEmailAccountAdminsDisabled' EmailAccountAdmins SecurityAlertPolicyEmailAccountAdmins `json:"emailAccountAdmins,omitempty"` // StorageEndpoint - Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. If state is Enabled, storageEndpoint is required. StorageEndpoint *string `json:"storageEndpoint,omitempty"` // StorageAccountAccessKey - Specifies the identifier key of the Threat Detection audit storage account. If state is Enabled, storageAccountAccessKey is required. StorageAccountAccessKey *string `json:"storageAccountAccessKey,omitempty"` // RetentionDays - Specifies the number of days to keep in the Threat Detection audit logs. RetentionDays *int32 `json:"retentionDays,omitempty"` // UseServerDefault - Specifies whether to use the default server policy. Possible values include: 'SecurityAlertPolicyUseServerDefaultEnabled', 'SecurityAlertPolicyUseServerDefaultDisabled' UseServerDefault SecurityAlertPolicyUseServerDefault `json:"useServerDefault,omitempty"` }
DatabaseSecurityAlertPolicyProperties properties for a database Threat Detection policy.
type DatabaseThreatDetectionPoliciesClient ¶
type DatabaseThreatDetectionPoliciesClient struct {
BaseClient
}
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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // Tags - Resource tags. Tags *map[string]*string `json:"tags,omitempty"` // DatabaseProperties - The properties representing the resource. *DatabaseProperties `json:"properties,omitempty"` }
DatabaseUpdate represents a database update.
func (*DatabaseUpdate) UnmarshalJSON ¶
func (du *DatabaseUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DatabaseUpdate struct.
type DatabaseUsage ¶
type DatabaseUsage struct { // Name - The name of the usage metric. Name *string `json:"name,omitempty"` // ResourceName - The name of the resource. ResourceName *string `json:"resourceName,omitempty"` // DisplayName - The usage metric display name. DisplayName *string `json:"displayName,omitempty"` // CurrentValue - The current value of the usage metric. CurrentValue *float64 `json:"currentValue,omitempty"` // Limit - The current limit of the usage metric. Limit *float64 `json:"limit,omitempty"` // Unit - The units of the usage metric. Unit *string `json:"unit,omitempty"` // NextResetTime - The next reset time for the usage metric (ISO8601 format). NextResetTime *date.Time `json:"nextResetTime,omitempty"` }
DatabaseUsage the database usages.
type DatabaseUsageListResult ¶
type DatabaseUsageListResult struct { autorest.Response `json:"-"` // Value - The list of database usages for the database. Value *[]DatabaseUsage `json:"value,omitempty"` }
DatabaseUsageListResult the response to a list database metrics request.
type DatabaseUsagesClient ¶
type DatabaseUsagesClient struct {
BaseClient
}
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(ctx context.Context, 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(ctx context.Context, 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 {
BaseClient
}
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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, extensionName string, parameters ImportExtensionRequest) (result DatabasesCreateImportOperationFuture, err error)
CreateImportOperation creates an import operation that imports a bacpac into an existing database. The existing database must be empty.
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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, extensionName string, parameters ImportExtensionRequest) (*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) (future DatabasesCreateImportOperationFuture, err 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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters Database) (result DatabasesCreateOrUpdateFuture, err error)
CreateOrUpdate creates a new database or updates an existing database.
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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters Database) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (DatabasesClient) CreateOrUpdateResponder ¶
func (client DatabasesClient) CreateOrUpdateResponder(resp *http.Response) (result Database, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (DatabasesClient) CreateOrUpdateSender ¶
func (client DatabasesClient) CreateOrUpdateSender(req *http.Request) (future DatabasesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (DatabasesClient) Delete ¶
func (client DatabasesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result 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(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (DatabasesClient) DeleteResponder ¶
func (client DatabasesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (DatabasesClient) DeleteSender ¶
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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters ExportRequest) (result DatabasesExportFuture, err error)
Export exports a database to a bacpac.
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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters ExportRequest) (*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 ¶
func (client DatabasesClient) ExportSender(req *http.Request) (future DatabasesExportFuture, err error)
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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, parameters ImportRequest) (result DatabasesImportFuture, err error)
Import imports a bacpac into a new 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. parameters is the required parameters for importing a Bacpac into a database.
func (DatabasesClient) ImportPreparer ¶
func (client DatabasesClient) ImportPreparer(ctx context.Context, resourceGroupName string, serverName string, parameters ImportRequest) (*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 ¶
func (client DatabasesClient) ImportSender(req *http.Request) (future DatabasesImportFuture, err error)
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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result DatabasesPauseFuture, err error)
Pause pauses a data warehouse.
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(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*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 ¶
func (client DatabasesClient) PauseSender(req *http.Request) (future DatabasesPauseFuture, err error)
PauseSender sends the Pause request. The method will close the http.Response Body if it receives an error.
func (DatabasesClient) Rename ¶
func (client DatabasesClient) Rename(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters ResourceMoveDefinition) (result autorest.Response, err error)
Rename renames 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 rename. parameters is the resource move definition for renaming this database.
func (DatabasesClient) RenamePreparer ¶
func (client DatabasesClient) RenamePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters ResourceMoveDefinition) (*http.Request, error)
RenamePreparer prepares the Rename request.
func (DatabasesClient) RenameResponder ¶
func (client DatabasesClient) RenameResponder(resp *http.Response) (result autorest.Response, err error)
RenameResponder handles the response to the Rename request. The method always closes the http.Response Body.
func (DatabasesClient) RenameSender ¶
RenameSender sends the Rename request. The method will close the http.Response Body if it receives an error.
func (DatabasesClient) Resume ¶
func (client DatabasesClient) Resume(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result DatabasesResumeFuture, err error)
Resume resumes a data warehouse.
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(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*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 ¶
func (client DatabasesClient) ResumeSender(req *http.Request) (future DatabasesResumeFuture, err error)
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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters DatabaseUpdate) (result DatabasesUpdateFuture, err error)
Update updates an existing 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 updated. parameters is the required parameters for updating a database.
func (DatabasesClient) UpdatePreparer ¶
func (client DatabasesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters DatabaseUpdate) (*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 ¶
func (client DatabasesClient) UpdateSender(req *http.Request) (future DatabasesUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type DatabasesCreateImportOperationFuture ¶
type DatabasesCreateImportOperationFuture struct { azure.Future // contains filtered or unexported fields }
DatabasesCreateImportOperationFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (DatabasesCreateImportOperationFuture) Result ¶
func (future DatabasesCreateImportOperationFuture) Result(client DatabasesClient) (ier ImportExportResponse, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type DatabasesCreateOrUpdateFuture ¶
type DatabasesCreateOrUpdateFuture struct { azure.Future // contains filtered or unexported fields }
DatabasesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (DatabasesCreateOrUpdateFuture) Result ¶
func (future DatabasesCreateOrUpdateFuture) Result(client DatabasesClient) (d Database, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type DatabasesExportFuture ¶
DatabasesExportFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (DatabasesExportFuture) Result ¶
func (future DatabasesExportFuture) Result(client DatabasesClient) (ier ImportExportResponse, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type DatabasesImportFuture ¶
DatabasesImportFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (DatabasesImportFuture) Result ¶
func (future DatabasesImportFuture) Result(client DatabasesClient) (ier ImportExportResponse, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type DatabasesPauseFuture ¶
DatabasesPauseFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (DatabasesPauseFuture) Result ¶
func (future DatabasesPauseFuture) Result(client DatabasesClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type DatabasesResumeFuture ¶
DatabasesResumeFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (DatabasesResumeFuture) Result ¶
func (future DatabasesResumeFuture) Result(client DatabasesClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type DatabasesUpdateFuture ¶
DatabasesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (DatabasesUpdateFuture) Result ¶
func (future DatabasesUpdateFuture) Result(client DatabasesClient) (d Database, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type EditionCapability ¶
type EditionCapability struct { // Name - The edition name. Name *string `json:"name,omitempty"` // Status - The status of the edition. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // SupportedServiceLevelObjectives - The list of supported service objectives for the edition. SupportedServiceLevelObjectives *[]ServiceObjectiveCapability `json:"supportedServiceLevelObjectives,omitempty"` // ZoneRedundant - Whether or not zone redundancy is supported for the edition. ZoneRedundant *bool `json:"zoneRedundant,omitempty"` }
EditionCapability the database edition capabilities.
type ElasticPool ¶
type ElasticPool struct { autorest.Response `json:"-"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // Tags - Resource tags. Tags *map[string]*string `json:"tags,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // ElasticPoolProperties - The properties representing the resource. *ElasticPoolProperties `json:"properties,omitempty"` // Kind - Kind of elastic pool. This is metadata used for the Azure portal experience. Kind *string `json:"kind,omitempty"` }
ElasticPool represents a database elastic pool.
func (*ElasticPool) UnmarshalJSON ¶
func (ep *ElasticPool) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ElasticPool struct.
type ElasticPoolActivitiesClient ¶
type ElasticPoolActivitiesClient struct {
BaseClient
}
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(ctx context.Context, 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(ctx context.Context, 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 - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` // ElasticPoolActivityProperties - The properties representing the resource. *ElasticPoolActivityProperties `json:"properties,omitempty"` }
ElasticPoolActivity represents the activity on an elastic pool.
func (*ElasticPoolActivity) UnmarshalJSON ¶
func (epa *ElasticPoolActivity) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ElasticPoolActivity struct.
type ElasticPoolActivityListResult ¶
type ElasticPoolActivityListResult struct { autorest.Response `json:"-"` // Value - The list of elastic pool activities. Value *[]ElasticPoolActivity `json:"value,omitempty"` }
ElasticPoolActivityListResult represents the response to a list elastic pool activity request.
type ElasticPoolActivityProperties ¶
type ElasticPoolActivityProperties struct { // EndTime - The time the operation finished (ISO8601 format). EndTime *date.Time `json:"endTime,omitempty"` // ErrorCode - The error code if available. ErrorCode *int32 `json:"errorCode,omitempty"` // ErrorMessage - The error message if available. ErrorMessage *string `json:"errorMessage,omitempty"` // ErrorSeverity - The error severity if available. ErrorSeverity *int32 `json:"errorSeverity,omitempty"` // Operation - The operation name. Operation *string `json:"operation,omitempty"` // OperationID - The unique operation ID. OperationID *uuid.UUID `json:"operationId,omitempty"` // PercentComplete - The percentage complete if available. PercentComplete *int32 `json:"percentComplete,omitempty"` // RequestedDatabaseDtuMax - The requested max DTU per database if available. RequestedDatabaseDtuMax *int32 `json:"requestedDatabaseDtuMax,omitempty"` // RequestedDatabaseDtuMin - The requested min DTU per database if available. RequestedDatabaseDtuMin *int32 `json:"requestedDatabaseDtuMin,omitempty"` // RequestedDtu - The requested DTU for the pool if available. RequestedDtu *int32 `json:"requestedDtu,omitempty"` // RequestedElasticPoolName - The requested name for the elastic pool if available. RequestedElasticPoolName *string `json:"requestedElasticPoolName,omitempty"` // RequestedStorageLimitInGB - The requested storage limit for the pool in GB if available. RequestedStorageLimitInGB *int64 `json:"requestedStorageLimitInGB,omitempty"` // ElasticPoolName - The name of the elastic pool. ElasticPoolName *string `json:"elasticPoolName,omitempty"` // ServerName - The name of the server the elastic pool is in. ServerName *string `json:"serverName,omitempty"` // StartTime - The time the operation started (ISO8601 format). StartTime *date.Time `json:"startTime,omitempty"` // State - The current state of the operation. State *string `json:"state,omitempty"` // RequestedStorageLimitInMB - The requested storage limit in MB. RequestedStorageLimitInMB *int32 `json:"requestedStorageLimitInMB,omitempty"` // RequestedDatabaseDtuGuarantee - The requested per database DTU guarantee. RequestedDatabaseDtuGuarantee *int32 `json:"requestedDatabaseDtuGuarantee,omitempty"` // RequestedDatabaseDtuCap - The requested per database DTU cap. RequestedDatabaseDtuCap *int32 `json:"requestedDatabaseDtuCap,omitempty"` // RequestedDtuGuarantee - The requested DTU guarantee. RequestedDtuGuarantee *int32 `json:"requestedDtuGuarantee,omitempty"` }
ElasticPoolActivityProperties represents the properties of an elastic pool.
type ElasticPoolDatabaseActivitiesClient ¶
type ElasticPoolDatabaseActivitiesClient struct {
BaseClient
}
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(ctx context.Context, 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(ctx context.Context, 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 - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` // ElasticPoolDatabaseActivityProperties - The properties representing the resource. *ElasticPoolDatabaseActivityProperties `json:"properties,omitempty"` }
ElasticPoolDatabaseActivity represents the activity on an elastic pool.
func (*ElasticPoolDatabaseActivity) UnmarshalJSON ¶
func (epda *ElasticPoolDatabaseActivity) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ElasticPoolDatabaseActivity struct.
type ElasticPoolDatabaseActivityListResult ¶
type ElasticPoolDatabaseActivityListResult struct { autorest.Response `json:"-"` // Value - The list of elastic pool database activities. Value *[]ElasticPoolDatabaseActivity `json:"value,omitempty"` }
ElasticPoolDatabaseActivityListResult represents the response to a list elastic pool database activity request.
type ElasticPoolDatabaseActivityProperties ¶
type ElasticPoolDatabaseActivityProperties struct { // DatabaseName - The database name. DatabaseName *string `json:"databaseName,omitempty"` // EndTime - The time the operation finished (ISO8601 format). EndTime *date.Time `json:"endTime,omitempty"` // ErrorCode - The error code if available. ErrorCode *int32 `json:"errorCode,omitempty"` // ErrorMessage - The error message if available. ErrorMessage *string `json:"errorMessage,omitempty"` // ErrorSeverity - The error severity if available. ErrorSeverity *int32 `json:"errorSeverity,omitempty"` // Operation - The operation name. Operation *string `json:"operation,omitempty"` // OperationID - The unique operation ID. OperationID *uuid.UUID `json:"operationId,omitempty"` // PercentComplete - The percentage complete if available. PercentComplete *int32 `json:"percentComplete,omitempty"` // RequestedElasticPoolName - The name for the elastic pool the database is moving into if available. RequestedElasticPoolName *string `json:"requestedElasticPoolName,omitempty"` // CurrentElasticPoolName - The name of the current elastic pool the database is in if available. CurrentElasticPoolName *string `json:"currentElasticPoolName,omitempty"` // CurrentServiceObjective - The name of the current service objective if available. CurrentServiceObjective *string `json:"currentServiceObjective,omitempty"` // RequestedServiceObjective - The name of the requested service objective if available. RequestedServiceObjective *string `json:"requestedServiceObjective,omitempty"` // ServerName - The name of the server the elastic pool is in. ServerName *string `json:"serverName,omitempty"` // StartTime - The time the operation started (ISO8601 format). StartTime *date.Time `json:"startTime,omitempty"` // State - The current state of the operation. State *string `json:"state,omitempty"` }
ElasticPoolDatabaseActivityProperties represents the properties of an elastic pool database activity.
type ElasticPoolDtuCapability ¶
type ElasticPoolDtuCapability struct { // Limit - The maximum size of the database (see 'unit' for the units). Limit *int64 `json:"limit,omitempty"` // MaxDatabaseCount - The maximum number of databases supported. MaxDatabaseCount *int64 `json:"maxDatabaseCount,omitempty"` // Status - The status of the capability. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // SupportedMaxSizes - The list of supported max sizes. SupportedMaxSizes *[]MaxSizeCapability `json:"supportedMaxSizes,omitempty"` // IncludedMaxSize - The included (free) max size for this service level objective. IncludedMaxSize *MaxSizeCapability `json:"includedMaxSize,omitempty"` // SupportedPerDatabaseMaxSizes - The list of supported max database sizes. SupportedPerDatabaseMaxSizes *[]MaxSizeCapability `json:"supportedPerDatabaseMaxSizes,omitempty"` // SupportedPerDatabaseMaxDtus - The list of supported max database DTUs. SupportedPerDatabaseMaxDtus *[]ElasticPoolPerDatabaseMaxDtuCapability `json:"supportedPerDatabaseMaxDtus,omitempty"` }
ElasticPoolDtuCapability the Elastic Pool DTU capability.
type ElasticPoolEdition ¶
type ElasticPoolEdition string
ElasticPoolEdition enumerates the values for elastic pool edition.
const ( // ElasticPoolEditionBasic ... ElasticPoolEditionBasic ElasticPoolEdition = "Basic" // ElasticPoolEditionPremium ... ElasticPoolEditionPremium ElasticPoolEdition = "Premium" // ElasticPoolEditionStandard ... ElasticPoolEditionStandard ElasticPoolEdition = "Standard" )
type ElasticPoolEditionCapability ¶
type ElasticPoolEditionCapability struct { // Name - The elastic pool edition name. Name *string `json:"name,omitempty"` // Status - The status of the elastic pool edition. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // SupportedElasticPoolDtus - The list of supported elastic pool DTU levels for the edition. SupportedElasticPoolDtus *[]ElasticPoolDtuCapability `json:"supportedElasticPoolDtus,omitempty"` // ZoneRedundant - Whether or not zone redundancy is supported for the edition. ZoneRedundant *bool `json:"zoneRedundant,omitempty"` }
ElasticPoolEditionCapability the elastic pool edition capabilities.
type ElasticPoolListResult ¶
type ElasticPoolListResult struct { autorest.Response `json:"-"` // Value - The list of elastic pools hosted in the server. Value *[]ElasticPool `json:"value,omitempty"` }
ElasticPoolListResult represents the response to a list elastic pool request.
type ElasticPoolPerDatabaseMaxDtuCapability ¶
type ElasticPoolPerDatabaseMaxDtuCapability struct { // Limit - The maximum DTUs per database. Limit *int64 `json:"limit,omitempty"` // Status - The status of the capability. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // SupportedPerDatabaseMinDtus - The list of supported min database DTUs. SupportedPerDatabaseMinDtus *[]ElasticPoolPerDatabaseMinDtuCapability `json:"supportedPerDatabaseMinDtus,omitempty"` }
ElasticPoolPerDatabaseMaxDtuCapability the max per-database DTU capability.
type ElasticPoolPerDatabaseMinDtuCapability ¶
type ElasticPoolPerDatabaseMinDtuCapability struct { // Limit - The maximum DTUs per database. Limit *int64 `json:"limit,omitempty"` // Status - The status of the capability. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` }
ElasticPoolPerDatabaseMinDtuCapability the minimum per-database DTU capability.
type ElasticPoolProperties ¶
type ElasticPoolProperties struct { // CreationDate - The creation date of the elastic pool (ISO8601 format). CreationDate *date.Time `json:"creationDate,omitempty"` // State - The state of the elastic pool. Possible values include: 'ElasticPoolStateCreating', 'ElasticPoolStateReady', 'ElasticPoolStateDisabled' State ElasticPoolState `json:"state,omitempty"` // Edition - The edition of the elastic pool. Possible values include: 'ElasticPoolEditionBasic', 'ElasticPoolEditionStandard', 'ElasticPoolEditionPremium' Edition ElasticPoolEdition `json:"edition,omitempty"` // Dtu - The total shared DTU for the database elastic pool. Dtu *int32 `json:"dtu,omitempty"` // DatabaseDtuMax - The maximum DTU any one database can consume. DatabaseDtuMax *int32 `json:"databaseDtuMax,omitempty"` // DatabaseDtuMin - The minimum DTU all databases are guaranteed. DatabaseDtuMin *int32 `json:"databaseDtuMin,omitempty"` // StorageMB - Gets storage limit for the database elastic pool in MB. StorageMB *int32 `json:"storageMB,omitempty"` // ZoneRedundant - Whether or not this database elastic pool is zone redundant, which means the replicas of this database will be spread across multiple availability zones. ZoneRedundant *bool `json:"zoneRedundant,omitempty"` }
ElasticPoolProperties represents the properties of an elastic pool.
type ElasticPoolState ¶
type ElasticPoolState string
ElasticPoolState enumerates the values for elastic pool state.
const ( // ElasticPoolStateCreating ... ElasticPoolStateCreating ElasticPoolState = "Creating" // ElasticPoolStateDisabled ... ElasticPoolStateDisabled ElasticPoolState = "Disabled" // ElasticPoolStateReady ... ElasticPoolStateReady ElasticPoolState = "Ready" )
type ElasticPoolUpdate ¶
type ElasticPoolUpdate struct { // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // Tags - Resource tags. Tags *map[string]*string `json:"tags,omitempty"` // ElasticPoolProperties - The properties representing the resource. *ElasticPoolProperties `json:"properties,omitempty"` }
ElasticPoolUpdate represents an elastic pool update.
func (*ElasticPoolUpdate) UnmarshalJSON ¶
func (epu *ElasticPoolUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ElasticPoolUpdate struct.
type ElasticPoolsClient ¶
type ElasticPoolsClient struct {
BaseClient
}
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(ctx context.Context, resourceGroupName string, serverName string, elasticPoolName string, parameters ElasticPool) (result ElasticPoolsCreateOrUpdateFuture, err error)
CreateOrUpdate creates a new elastic pool or updates an existing 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 operated on (updated or created). parameters is the required parameters for creating or updating an elastic pool.
func (ElasticPoolsClient) CreateOrUpdatePreparer ¶
func (client ElasticPoolsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, elasticPoolName string, parameters ElasticPool) (*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 ¶
func (client ElasticPoolsClient) CreateOrUpdateSender(req *http.Request) (future ElasticPoolsCreateOrUpdateFuture, err error)
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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, elasticPoolName string, parameters ElasticPoolUpdate) (result ElasticPoolsUpdateFuture, err error)
Update updates an existing 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 updated. parameters is the required parameters for updating an elastic pool.
func (ElasticPoolsClient) UpdatePreparer ¶
func (client ElasticPoolsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, elasticPoolName string, parameters ElasticPoolUpdate) (*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 ¶
func (client ElasticPoolsClient) UpdateSender(req *http.Request) (future ElasticPoolsUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ElasticPoolsCreateOrUpdateFuture ¶
type ElasticPoolsCreateOrUpdateFuture struct { azure.Future // contains filtered or unexported fields }
ElasticPoolsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (ElasticPoolsCreateOrUpdateFuture) Result ¶
func (future ElasticPoolsCreateOrUpdateFuture) Result(client ElasticPoolsClient) (ep ElasticPool, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ElasticPoolsUpdateFuture ¶
ElasticPoolsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (ElasticPoolsUpdateFuture) Result ¶
func (future ElasticPoolsUpdateFuture) Result(client ElasticPoolsClient) (ep ElasticPool, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type EncryptionProtector ¶
type EncryptionProtector struct { autorest.Response `json:"-"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // Kind - Kind of encryption protector. This is metadata used for the Azure portal experience. Kind *string `json:"kind,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // EncryptionProtectorProperties - Resource properties. *EncryptionProtectorProperties `json:"properties,omitempty"` }
EncryptionProtector the server encryption protector.
func (*EncryptionProtector) UnmarshalJSON ¶
func (ep *EncryptionProtector) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for EncryptionProtector struct.
type EncryptionProtectorListResult ¶
type EncryptionProtectorListResult struct { autorest.Response `json:"-"` // Value - Array of results. Value *[]EncryptionProtector `json:"value,omitempty"` // NextLink - Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
EncryptionProtectorListResult a list of server encryption protectors.
func (EncryptionProtectorListResult) IsEmpty ¶
func (eplr EncryptionProtectorListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type EncryptionProtectorListResultIterator ¶
type EncryptionProtectorListResultIterator struct {
// contains filtered or unexported fields
}
EncryptionProtectorListResultIterator provides access to a complete listing of EncryptionProtector values.
func (*EncryptionProtectorListResultIterator) Next ¶
func (iter *EncryptionProtectorListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (EncryptionProtectorListResultIterator) NotDone ¶
func (iter EncryptionProtectorListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (EncryptionProtectorListResultIterator) Response ¶
func (iter EncryptionProtectorListResultIterator) Response() EncryptionProtectorListResult
Response returns the raw server response from the last page request.
func (EncryptionProtectorListResultIterator) Value ¶
func (iter EncryptionProtectorListResultIterator) Value() EncryptionProtector
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type EncryptionProtectorListResultPage ¶
type EncryptionProtectorListResultPage struct {
// contains filtered or unexported fields
}
EncryptionProtectorListResultPage contains a page of EncryptionProtector values.
func (*EncryptionProtectorListResultPage) Next ¶
func (page *EncryptionProtectorListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (EncryptionProtectorListResultPage) NotDone ¶
func (page EncryptionProtectorListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (EncryptionProtectorListResultPage) Response ¶
func (page EncryptionProtectorListResultPage) Response() EncryptionProtectorListResult
Response returns the raw server response from the last page request.
func (EncryptionProtectorListResultPage) Values ¶
func (page EncryptionProtectorListResultPage) Values() []EncryptionProtector
Values returns the slice of values for the current page or nil if there are no values.
type EncryptionProtectorProperties ¶
type EncryptionProtectorProperties struct { // Subregion - Subregion of the encryption protector. Subregion *string `json:"subregion,omitempty"` // ServerKeyName - The name of the server key. ServerKeyName *string `json:"serverKeyName,omitempty"` // ServerKeyType - The encryption protector type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: 'ServiceManaged', 'AzureKeyVault' ServerKeyType ServerKeyType `json:"serverKeyType,omitempty"` // URI - The URI of the server key. URI *string `json:"uri,omitempty"` // Thumbprint - Thumbprint of the server key. Thumbprint *string `json:"thumbprint,omitempty"` }
EncryptionProtectorProperties properties for an encryption protector execution.
type EncryptionProtectorsClient ¶
type EncryptionProtectorsClient struct {
BaseClient
}
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(ctx context.Context, resourceGroupName string, serverName string, encryptionProtectorName string, parameters EncryptionProtector) (result EncryptionProtectorsCreateOrUpdateFuture, err error)
CreateOrUpdate updates an existing 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 updated. parameters is the requested encryption protector resource state.
func (EncryptionProtectorsClient) CreateOrUpdatePreparer ¶
func (client EncryptionProtectorsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, encryptionProtectorName string, parameters EncryptionProtector) (*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) (future EncryptionProtectorsCreateOrUpdateFuture, err 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string) (result EncryptionProtectorListResultPage, 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(ctx context.Context, resourceGroupName string, serverName string) (result EncryptionProtectorListResultIterator, err error)
ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
func (EncryptionProtectorsClient) ListByServerPreparer ¶
func (client EncryptionProtectorsClient) ListByServerPreparer(ctx context.Context, 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 EncryptionProtectorsCreateOrUpdateFuture ¶
type EncryptionProtectorsCreateOrUpdateFuture struct { azure.Future // contains filtered or unexported fields }
EncryptionProtectorsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (EncryptionProtectorsCreateOrUpdateFuture) Result ¶
func (future EncryptionProtectorsCreateOrUpdateFuture) Result(client EncryptionProtectorsClient) (ep EncryptionProtector, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ExportRequest ¶
type ExportRequest struct { // StorageKeyType - The type of the storage key to use. Possible values include: 'StorageAccessKey', 'SharedAccessKey' StorageKeyType StorageKeyType `json:"storageKeyType,omitempty"` // StorageKey - The storage key to use. If storage key type is SharedAccessKey, it must be preceded with a "?." StorageKey *string `json:"storageKey,omitempty"` // StorageURI - The storage uri to use. StorageURI *string `json:"storageUri,omitempty"` // AdministratorLogin - The name of the SQL administrator. AdministratorLogin *string `json:"administratorLogin,omitempty"` // AdministratorLoginPassword - The password of the SQL administrator. AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` // AuthenticationType - The authentication type. Possible values include: 'SQL', 'ADPassword' AuthenticationType AuthenticationType `json:"authenticationType,omitempty"` }
ExportRequest export database parameters.
type FailoverGroup ¶
type FailoverGroup struct { autorest.Response `json:"-"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags *map[string]*string `json:"tags,omitempty"` // FailoverGroupProperties - Resource properties. *FailoverGroupProperties `json:"properties,omitempty"` }
FailoverGroup a failover group.
func (*FailoverGroup) UnmarshalJSON ¶
func (fg *FailoverGroup) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for FailoverGroup struct.
type FailoverGroupListResult ¶
type FailoverGroupListResult struct { autorest.Response `json:"-"` // Value - Array of results. Value *[]FailoverGroup `json:"value,omitempty"` // NextLink - Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
FailoverGroupListResult a list of failover groups.
func (FailoverGroupListResult) IsEmpty ¶
func (fglr FailoverGroupListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type FailoverGroupListResultIterator ¶
type FailoverGroupListResultIterator struct {
// contains filtered or unexported fields
}
FailoverGroupListResultIterator provides access to a complete listing of FailoverGroup values.
func (*FailoverGroupListResultIterator) Next ¶
func (iter *FailoverGroupListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (FailoverGroupListResultIterator) NotDone ¶
func (iter FailoverGroupListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (FailoverGroupListResultIterator) Response ¶
func (iter FailoverGroupListResultIterator) Response() FailoverGroupListResult
Response returns the raw server response from the last page request.
func (FailoverGroupListResultIterator) Value ¶
func (iter FailoverGroupListResultIterator) Value() FailoverGroup
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type FailoverGroupListResultPage ¶
type FailoverGroupListResultPage struct {
// contains filtered or unexported fields
}
FailoverGroupListResultPage contains a page of FailoverGroup values.
func (*FailoverGroupListResultPage) Next ¶
func (page *FailoverGroupListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (FailoverGroupListResultPage) NotDone ¶
func (page FailoverGroupListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (FailoverGroupListResultPage) Response ¶
func (page FailoverGroupListResultPage) Response() FailoverGroupListResult
Response returns the raw server response from the last page request.
func (FailoverGroupListResultPage) Values ¶
func (page FailoverGroupListResultPage) Values() []FailoverGroup
Values returns the slice of values for the current page or nil if there are no values.
type FailoverGroupProperties ¶
type FailoverGroupProperties struct { // ReadWriteEndpoint - Read-write endpoint of the failover group instance. ReadWriteEndpoint *FailoverGroupReadWriteEndpoint `json:"readWriteEndpoint,omitempty"` // ReadOnlyEndpoint - Read-only endpoint of the failover group instance. ReadOnlyEndpoint *FailoverGroupReadOnlyEndpoint `json:"readOnlyEndpoint,omitempty"` // ReplicationRole - Local replication role of the failover group instance. Possible values include: 'Primary', 'Secondary' ReplicationRole FailoverGroupReplicationRole `json:"replicationRole,omitempty"` // ReplicationState - Replication state of the failover group instance. ReplicationState *string `json:"replicationState,omitempty"` // PartnerServers - List of partner server information for the failover group. PartnerServers *[]PartnerInfo `json:"partnerServers,omitempty"` // Databases - List of databases in the failover group. Databases *[]string `json:"databases,omitempty"` }
FailoverGroupProperties properties of a failover group.
type FailoverGroupReadOnlyEndpoint ¶
type FailoverGroupReadOnlyEndpoint struct { // FailoverPolicy - Failover policy of the read-only endpoint for the failover group. Possible values include: 'ReadOnlyEndpointFailoverPolicyDisabled', 'ReadOnlyEndpointFailoverPolicyEnabled' FailoverPolicy ReadOnlyEndpointFailoverPolicy `json:"failoverPolicy,omitempty"` }
FailoverGroupReadOnlyEndpoint read-only endpoint of the failover group instance.
type FailoverGroupReadWriteEndpoint ¶
type FailoverGroupReadWriteEndpoint struct { // FailoverPolicy - Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required. Possible values include: 'Manual', 'Automatic' FailoverPolicy ReadWriteEndpointFailoverPolicy `json:"failoverPolicy,omitempty"` // FailoverWithDataLossGracePeriodMinutes - Grace period before failover with data loss is attempted for the read-write endpoint. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required. FailoverWithDataLossGracePeriodMinutes *int32 `json:"failoverWithDataLossGracePeriodMinutes,omitempty"` }
FailoverGroupReadWriteEndpoint read-write endpoint of the failover group instance.
type FailoverGroupReplicationRole ¶
type FailoverGroupReplicationRole string
FailoverGroupReplicationRole enumerates the values for failover group replication role.
const ( // Primary ... Primary FailoverGroupReplicationRole = "Primary" // Secondary ... Secondary FailoverGroupReplicationRole = "Secondary" )
type FailoverGroupUpdate ¶
type FailoverGroupUpdate struct { // FailoverGroupUpdateProperties - Resource properties. *FailoverGroupUpdateProperties `json:"properties,omitempty"` // Tags - Resource tags. Tags *map[string]*string `json:"tags,omitempty"` }
FailoverGroupUpdate a failover group update request.
func (*FailoverGroupUpdate) UnmarshalJSON ¶
func (fgu *FailoverGroupUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for FailoverGroupUpdate struct.
type FailoverGroupUpdateProperties ¶
type FailoverGroupUpdateProperties struct { // ReadWriteEndpoint - Read-write endpoint of the failover group instance. ReadWriteEndpoint *FailoverGroupReadWriteEndpoint `json:"readWriteEndpoint,omitempty"` // ReadOnlyEndpoint - Read-only endpoint of the failover group instance. ReadOnlyEndpoint *FailoverGroupReadOnlyEndpoint `json:"readOnlyEndpoint,omitempty"` // Databases - List of databases in the failover group. Databases *[]string `json:"databases,omitempty"` }
FailoverGroupUpdateProperties properties of a failover group update.
type FailoverGroupsClient ¶
type FailoverGroupsClient struct {
BaseClient
}
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(ctx context.Context, resourceGroupName string, serverName string, failoverGroupName string, parameters FailoverGroup) (result FailoverGroupsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates 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. parameters is the failover group parameters.
func (FailoverGroupsClient) CreateOrUpdatePreparer ¶
func (client FailoverGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, failoverGroupName string, parameters FailoverGroup) (*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 ¶
func (client FailoverGroupsClient) CreateOrUpdateSender(req *http.Request) (future FailoverGroupsCreateOrUpdateFuture, err error)
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(ctx context.Context, resourceGroupName string, serverName string, failoverGroupName string) (result FailoverGroupsDeleteFuture, err error)
Delete deletes 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) DeletePreparer ¶
func (client FailoverGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, failoverGroupName string) (*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 ¶
func (client FailoverGroupsClient) DeleteSender(req *http.Request) (future FailoverGroupsDeleteFuture, err error)
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(ctx context.Context, resourceGroupName string, serverName string, failoverGroupName string) (result FailoverGroupsFailoverFuture, err error)
Failover fails over from the current primary server to this 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. failoverGroupName is the name of the failover group.
func (FailoverGroupsClient) FailoverPreparer ¶
func (client FailoverGroupsClient) FailoverPreparer(ctx context.Context, resourceGroupName string, serverName string, failoverGroupName string) (*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 ¶
func (client FailoverGroupsClient) FailoverSender(req *http.Request) (future FailoverGroupsFailoverFuture, err error)
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(ctx context.Context, resourceGroupName string, serverName string, failoverGroupName string) (result FailoverGroupsForceFailoverAllowDataLossFuture, err error)
ForceFailoverAllowDataLoss fails over from the current primary server to this server. This operation might result in data loss.
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(ctx context.Context, resourceGroupName string, serverName string, failoverGroupName string) (*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) (future FailoverGroupsForceFailoverAllowDataLossFuture, err 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string) (result FailoverGroupListResultPage, 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(ctx context.Context, resourceGroupName string, serverName string) (result FailoverGroupListResultIterator, err error)
ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
func (FailoverGroupsClient) ListByServerPreparer ¶
func (client FailoverGroupsClient) ListByServerPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, failoverGroupName string, parameters FailoverGroupUpdate) (result FailoverGroupsUpdateFuture, err error)
Update updates 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. parameters is the failover group parameters.
func (FailoverGroupsClient) UpdatePreparer ¶
func (client FailoverGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, failoverGroupName string, parameters FailoverGroupUpdate) (*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 ¶
func (client FailoverGroupsClient) UpdateSender(req *http.Request) (future FailoverGroupsUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type FailoverGroupsCreateOrUpdateFuture ¶
type FailoverGroupsCreateOrUpdateFuture struct { azure.Future // contains filtered or unexported fields }
FailoverGroupsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (FailoverGroupsCreateOrUpdateFuture) Result ¶
func (future FailoverGroupsCreateOrUpdateFuture) Result(client FailoverGroupsClient) (fg FailoverGroup, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type FailoverGroupsDeleteFuture ¶
FailoverGroupsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (FailoverGroupsDeleteFuture) Result ¶
func (future FailoverGroupsDeleteFuture) Result(client FailoverGroupsClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type FailoverGroupsFailoverFuture ¶
FailoverGroupsFailoverFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (FailoverGroupsFailoverFuture) Result ¶
func (future FailoverGroupsFailoverFuture) Result(client FailoverGroupsClient) (fg FailoverGroup, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type FailoverGroupsForceFailoverAllowDataLossFuture ¶
type FailoverGroupsForceFailoverAllowDataLossFuture struct { azure.Future // contains filtered or unexported fields }
FailoverGroupsForceFailoverAllowDataLossFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (FailoverGroupsForceFailoverAllowDataLossFuture) Result ¶
func (future FailoverGroupsForceFailoverAllowDataLossFuture) Result(client FailoverGroupsClient) (fg FailoverGroup, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type FailoverGroupsUpdateFuture ¶
FailoverGroupsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (FailoverGroupsUpdateFuture) Result ¶
func (future FailoverGroupsUpdateFuture) Result(client FailoverGroupsClient) (fg FailoverGroup, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type FirewallRule ¶
type FirewallRule struct { autorest.Response `json:"-"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // Kind - Kind of server that contains this firewall rule. Kind *string `json:"kind,omitempty"` // Location - Location of the server that contains this firewall rule. Location *string `json:"location,omitempty"` // FirewallRuleProperties - The properties representing the resource. *FirewallRuleProperties `json:"properties,omitempty"` }
FirewallRule represents a server firewall rule.
func (*FirewallRule) UnmarshalJSON ¶
func (fr *FirewallRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for FirewallRule struct.
type FirewallRuleListResult ¶
type FirewallRuleListResult struct { autorest.Response `json:"-"` // Value - The list of server firewall rules. Value *[]FirewallRule `json:"value,omitempty"` }
FirewallRuleListResult represents the response to a List Firewall Rules request.
type FirewallRuleProperties ¶
type FirewallRuleProperties struct { // StartIPAddress - The start IP address of the firewall rule. Must be IPv4 format. Use value '0.0.0.0' to represent all Azure-internal IP addresses. StartIPAddress *string `json:"startIpAddress,omitempty"` // EndIPAddress - The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress. Use value '0.0.0.0' to represent all Azure-internal IP addresses. EndIPAddress *string `json:"endIpAddress,omitempty"` }
FirewallRuleProperties represents the properties of a server firewall rule.
type FirewallRulesClient ¶
type FirewallRulesClient struct {
BaseClient
}
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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string, parameters FirewallRule) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (FirewallRulesClient) CreateOrUpdateResponder ¶
func (client FirewallRulesClient) CreateOrUpdateResponder(resp *http.Response) (result FirewallRule, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (FirewallRulesClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (FirewallRulesClient) Delete ¶
func (client FirewallRulesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string) (result 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(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (FirewallRulesClient) DeleteResponder ¶
func (client FirewallRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (FirewallRulesClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (FirewallRulesClient) Get ¶
func (client FirewallRulesClient) Get(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string) (result FirewallRule, err error)
Get gets 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(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (FirewallRulesClient) GetResponder ¶
func (client FirewallRulesClient) GetResponder(resp *http.Response) (result FirewallRule, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (FirewallRulesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (FirewallRulesClient) ListByServer ¶
func (client FirewallRulesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result FirewallRuleListResult, err error)
ListByServer 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(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (FirewallRulesClient) ListByServerResponder ¶
func (client FirewallRulesClient) ListByServerResponder(resp *http.Response) (result FirewallRuleListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (FirewallRulesClient) ListByServerSender ¶
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
type GeoBackupPoliciesClient ¶
type GeoBackupPoliciesClient struct {
BaseClient
}
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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // GeoBackupPolicyProperties - The properties of the geo backup policy. *GeoBackupPolicyProperties `json:"properties,omitempty"` // Kind - Kind of geo backup policy. This is metadata used for the Azure portal experience. Kind *string `json:"kind,omitempty"` // Location - Backup policy location. Location *string `json:"location,omitempty"` }
GeoBackupPolicy a database geo backup policy.
func (*GeoBackupPolicy) UnmarshalJSON ¶
func (gbp *GeoBackupPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for GeoBackupPolicy struct.
type GeoBackupPolicyListResult ¶
type GeoBackupPolicyListResult struct { autorest.Response `json:"-"` // Value - The list of geo backup policies. Value *[]GeoBackupPolicy `json:"value,omitempty"` }
GeoBackupPolicyListResult the response to a list geo backup policies request.
type GeoBackupPolicyProperties ¶
type GeoBackupPolicyProperties struct { // State - The state of the geo backup policy. Possible values include: 'GeoBackupPolicyStateDisabled', 'GeoBackupPolicyStateEnabled' State GeoBackupPolicyState `json:"state,omitempty"` // StorageType - The storage type of the geo backup policy. StorageType *string `json:"storageType,omitempty"` }
GeoBackupPolicyProperties the properties of the geo backup policy.
type GeoBackupPolicyState ¶
type GeoBackupPolicyState string
GeoBackupPolicyState enumerates the values for geo backup policy state.
const ( // GeoBackupPolicyStateDisabled ... GeoBackupPolicyStateDisabled GeoBackupPolicyState = "Disabled" // GeoBackupPolicyStateEnabled ... GeoBackupPolicyStateEnabled GeoBackupPolicyState = "Enabled" )
type IdentityType ¶
type IdentityType string
IdentityType enumerates the values for identity type.
const ( // SystemAssigned ... SystemAssigned IdentityType = "SystemAssigned" )
type ImportExportResponse ¶
type ImportExportResponse struct { autorest.Response `json:"-"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // ImportExportResponseProperties - The import/export operation properties. *ImportExportResponseProperties `json:"properties,omitempty"` }
ImportExportResponse response for Import/Export Get operation.
func (*ImportExportResponse) UnmarshalJSON ¶
func (ier *ImportExportResponse) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ImportExportResponse struct.
type ImportExportResponseProperties ¶
type ImportExportResponseProperties struct { // RequestType - The request type of the operation. RequestType *string `json:"requestType,omitempty"` // RequestID - The request type of the operation. RequestID *uuid.UUID `json:"requestId,omitempty"` // ServerName - The name of the server. ServerName *string `json:"serverName,omitempty"` // DatabaseName - The name of the database. DatabaseName *string `json:"databaseName,omitempty"` // Status - The status message returned from the server. Status *string `json:"status,omitempty"` // LastModifiedTime - The operation status last modified time. LastModifiedTime *string `json:"lastModifiedTime,omitempty"` // QueuedTime - The operation queued time. QueuedTime *string `json:"queuedTime,omitempty"` // BlobURI - The blob uri. BlobURI *string `json:"blobUri,omitempty"` // ErrorMessage - The error message returned from the server. ErrorMessage *string `json:"errorMessage,omitempty"` }
ImportExportResponseProperties response for Import/Export Status operation.
type ImportExtensionProperties ¶
type ImportExtensionProperties struct { // StorageKeyType - The type of the storage key to use. Possible values include: 'StorageAccessKey', 'SharedAccessKey' StorageKeyType StorageKeyType `json:"storageKeyType,omitempty"` // StorageKey - The storage key to use. If storage key type is SharedAccessKey, it must be preceded with a "?." StorageKey *string `json:"storageKey,omitempty"` // StorageURI - The storage uri to use. StorageURI *string `json:"storageUri,omitempty"` // AdministratorLogin - The name of the SQL administrator. AdministratorLogin *string `json:"administratorLogin,omitempty"` // AdministratorLoginPassword - The password of the SQL administrator. AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` // AuthenticationType - The authentication type. Possible values include: 'SQL', 'ADPassword' AuthenticationType AuthenticationType `json:"authenticationType,omitempty"` // OperationMode - The type of import operation being performed. This is always Import. OperationMode *string `json:"operationMode,omitempty"` }
ImportExtensionProperties represents the properties for an import operation
type ImportExtensionRequest ¶
type ImportExtensionRequest struct { // Name - The name of the extension. Name *string `json:"name,omitempty"` // Type - The type of the extension. Type *string `json:"type,omitempty"` // ImportExtensionProperties - Represents the properties of the resource. *ImportExtensionProperties `json:"properties,omitempty"` }
ImportExtensionRequest import database parameters.
func (*ImportExtensionRequest) UnmarshalJSON ¶
func (ier *ImportExtensionRequest) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ImportExtensionRequest struct.
type ImportRequest ¶
type ImportRequest struct { // StorageKeyType - The type of the storage key to use. Possible values include: 'StorageAccessKey', 'SharedAccessKey' StorageKeyType StorageKeyType `json:"storageKeyType,omitempty"` // StorageKey - The storage key to use. If storage key type is SharedAccessKey, it must be preceded with a "?." StorageKey *string `json:"storageKey,omitempty"` // StorageURI - The storage uri to use. StorageURI *string `json:"storageUri,omitempty"` // AdministratorLogin - The name of the SQL administrator. AdministratorLogin *string `json:"administratorLogin,omitempty"` // AdministratorLoginPassword - The password of the SQL administrator. AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` // AuthenticationType - The authentication type. Possible values include: 'SQL', 'ADPassword' AuthenticationType AuthenticationType `json:"authenticationType,omitempty"` // DatabaseName - The name of the database to import. DatabaseName *string `json:"databaseName,omitempty"` // Edition - The edition for the database being created. Possible values include: 'Web', 'Business', 'Basic', 'Standard', 'Premium', 'PremiumRS', 'Free', 'Stretch', 'DataWarehouse', 'System', 'System2' Edition DatabaseEdition `json:"edition,omitempty"` // ServiceObjectiveName - The name of the service objective to assign to the database. Possible values include: 'ServiceObjectiveNameSystem', 'ServiceObjectiveNameSystem0', 'ServiceObjectiveNameSystem1', 'ServiceObjectiveNameSystem2', 'ServiceObjectiveNameSystem3', 'ServiceObjectiveNameSystem4', 'ServiceObjectiveNameSystem2L', 'ServiceObjectiveNameSystem3L', 'ServiceObjectiveNameSystem4L', 'ServiceObjectiveNameFree', 'ServiceObjectiveNameBasic', 'ServiceObjectiveNameS0', 'ServiceObjectiveNameS1', 'ServiceObjectiveNameS2', 'ServiceObjectiveNameS3', 'ServiceObjectiveNameS4', 'ServiceObjectiveNameS6', 'ServiceObjectiveNameS7', 'ServiceObjectiveNameS9', 'ServiceObjectiveNameS12', 'ServiceObjectiveNameP1', 'ServiceObjectiveNameP2', 'ServiceObjectiveNameP3', 'ServiceObjectiveNameP4', 'ServiceObjectiveNameP6', 'ServiceObjectiveNameP11', 'ServiceObjectiveNameP15', 'ServiceObjectiveNamePRS1', 'ServiceObjectiveNamePRS2', 'ServiceObjectiveNamePRS4', 'ServiceObjectiveNamePRS6', 'ServiceObjectiveNameDW100', 'ServiceObjectiveNameDW200', 'ServiceObjectiveNameDW300', 'ServiceObjectiveNameDW400', 'ServiceObjectiveNameDW500', 'ServiceObjectiveNameDW600', 'ServiceObjectiveNameDW1000', 'ServiceObjectiveNameDW1200', 'ServiceObjectiveNameDW1000c', 'ServiceObjectiveNameDW1500', 'ServiceObjectiveNameDW1500c', 'ServiceObjectiveNameDW2000', 'ServiceObjectiveNameDW2000c', 'ServiceObjectiveNameDW3000', 'ServiceObjectiveNameDW2500c', 'ServiceObjectiveNameDW3000c', 'ServiceObjectiveNameDW6000', 'ServiceObjectiveNameDW5000c', 'ServiceObjectiveNameDW6000c', 'ServiceObjectiveNameDW7500c', 'ServiceObjectiveNameDW10000c', 'ServiceObjectiveNameDW15000c', 'ServiceObjectiveNameDW30000c', 'ServiceObjectiveNameDS100', 'ServiceObjectiveNameDS200', 'ServiceObjectiveNameDS300', 'ServiceObjectiveNameDS400', 'ServiceObjectiveNameDS500', 'ServiceObjectiveNameDS600', 'ServiceObjectiveNameDS1000', 'ServiceObjectiveNameDS1200', 'ServiceObjectiveNameDS1500', 'ServiceObjectiveNameDS2000', 'ServiceObjectiveNameElasticPool' ServiceObjectiveName ServiceObjectiveName `json:"serviceObjectiveName,omitempty"` // MaxSizeBytes - The maximum size for the newly imported database. MaxSizeBytes *string `json:"maxSizeBytes,omitempty"` }
ImportRequest import database parameters.
type LocationCapabilities ¶
type LocationCapabilities struct { autorest.Response `json:"-"` // Name - The location name. Name *string `json:"name,omitempty"` // Status - Azure SQL Database's status for the location. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // SupportedServerVersions - The list of supported server versions. SupportedServerVersions *[]ServerVersionCapability `json:"supportedServerVersions,omitempty"` }
LocationCapabilities the capabilities for a location.
type ManagementOperationState ¶
type ManagementOperationState string
ManagementOperationState enumerates the values for management operation state.
const ( // CancelInProgress ... CancelInProgress ManagementOperationState = "CancelInProgress" // Cancelled ... Cancelled ManagementOperationState = "Cancelled" // Failed ... Failed ManagementOperationState = "Failed" // InProgress ... InProgress ManagementOperationState = "InProgress" // Pending ... Pending ManagementOperationState = "Pending" // Succeeded ... Succeeded ManagementOperationState = "Succeeded" )
type MaxSizeCapability ¶
type MaxSizeCapability struct { // Limit - The maximum size of the database (see 'unit' for the units). Limit *int64 `json:"limit,omitempty"` // Unit - The units that the limit is expressed in. Possible values include: 'Megabytes', 'Gigabytes', 'Terabytes', 'Petabytes' Unit MaxSizeUnits `json:"unit,omitempty"` // Status - The status of the maximum size capability. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` }
MaxSizeCapability the maximum size limits for a database.
type MaxSizeUnits ¶
type MaxSizeUnits string
MaxSizeUnits enumerates the values for max size units.
const ( // Gigabytes ... Gigabytes MaxSizeUnits = "Gigabytes" // Megabytes ... Megabytes MaxSizeUnits = "Megabytes" // Petabytes ... Petabytes MaxSizeUnits = "Petabytes" // Terabytes ... Terabytes MaxSizeUnits = "Terabytes" )
type Metric ¶
type Metric struct { // StartTime - The start time for the metric (ISO-8601 format). StartTime *date.Time `json:"startTime,omitempty"` // EndTime - The end time for the metric (ISO-8601 format). EndTime *date.Time `json:"endTime,omitempty"` // TimeGrain - The time step to be used to summarize the metric values. TimeGrain *string `json:"timeGrain,omitempty"` // Unit - The unit of the metric. Possible values include: 'UnitTypeCount', 'UnitTypeBytes', 'UnitTypeSeconds', 'UnitTypePercent', 'UnitTypeCountPerSecond', 'UnitTypeBytesPerSecond' Unit UnitType `json:"unit,omitempty"` // Name - The name information for the metric. Name *MetricName `json:"name,omitempty"` // MetricValues - The metric values for the specified time window and timestep. MetricValues *[]MetricValue `json:"metricValues,omitempty"` }
Metric database metrics.
type MetricAvailability ¶
type MetricAvailability struct { // Retention - The length of retention for the database metric. Retention *string `json:"retention,omitempty"` // TimeGrain - The granularity of the database metric. TimeGrain *string `json:"timeGrain,omitempty"` }
MetricAvailability a metric availability value.
type MetricDefinition ¶
type MetricDefinition struct { // Name - The name information for the metric. Name *MetricName `json:"name,omitempty"` // PrimaryAggregationType - The primary aggregation type defining how metric values are displayed. Possible values include: 'None', 'Average', 'Count', 'Minimum', 'Maximum', 'Total' PrimaryAggregationType PrimaryAggregationType `json:"primaryAggregationType,omitempty"` // ResourceURI - The resource uri of the database. ResourceURI *string `json:"resourceUri,omitempty"` // Unit - The unit of the metric. Possible values include: 'UnitDefinitionTypeCount', 'UnitDefinitionTypeBytes', 'UnitDefinitionTypeSeconds', 'UnitDefinitionTypePercent', 'UnitDefinitionTypeCountPerSecond', 'UnitDefinitionTypeBytesPerSecond' Unit UnitDefinitionType `json:"unit,omitempty"` // MetricAvailabilities - The list of database metric availabities for the metric. MetricAvailabilities *[]MetricAvailability `json:"metricAvailabilities,omitempty"` }
MetricDefinition a database metric definition.
type MetricDefinitionListResult ¶
type MetricDefinitionListResult struct { autorest.Response `json:"-"` // Value - The list of metric definitions for the database. Value *[]MetricDefinition `json:"value,omitempty"` }
MetricDefinitionListResult the response to a list database metric definitions request.
type MetricListResult ¶
type MetricListResult struct { autorest.Response `json:"-"` // Value - The list of metrics for the database. Value *[]Metric `json:"value,omitempty"` }
MetricListResult the response to a list database metrics request.
type MetricName ¶
type MetricName struct { // Value - The name of the database metric. Value *string `json:"value,omitempty"` // LocalizedValue - The friendly name of the database metric. LocalizedValue *string `json:"localizedValue,omitempty"` }
MetricName a database metric name.
type MetricValue ¶
type MetricValue struct { // Count - The number of values for the metric. Count *float64 `json:"count,omitempty"` // Average - The average value of the metric. Average *float64 `json:"average,omitempty"` // Maximum - The max value of the metric. Maximum *float64 `json:"maximum,omitempty"` // Minimum - The min value of the metric. Minimum *float64 `json:"minimum,omitempty"` // Timestamp - The metric timestamp (ISO-8601 format). Timestamp *date.Time `json:"timestamp,omitempty"` // Total - The total value of the metric. Total *float64 `json:"total,omitempty"` }
MetricValue represents database metrics.
type Operation ¶
type Operation struct { // Name - The name of the operation being performed on this particular object. Name *string `json:"name,omitempty"` // Display - The localized display information for this particular operation / action. Display *OperationDisplay `json:"display,omitempty"` // Origin - The intended executor of the operation. Possible values include: 'OperationOriginUser', 'OperationOriginSystem' Origin OperationOrigin `json:"origin,omitempty"` // Properties - Additional descriptions for the operation. Properties *map[string]*map[string]interface{} `json:"properties,omitempty"` }
Operation SQL REST API operation definition.
type OperationDisplay ¶
type OperationDisplay struct { // Provider - The localized friendly form of the resource provider name. Provider *string `json:"provider,omitempty"` // Resource - The localized friendly form of the resource type related to this action/operation. Resource *string `json:"resource,omitempty"` // Operation - The localized friendly name for the operation. Operation *string `json:"operation,omitempty"` // Description - The localized friendly description for the operation. Description *string `json:"description,omitempty"` }
OperationDisplay display metadata associated with the operation.
type OperationImpact ¶
type OperationImpact struct { // Name - The name of the impact dimension. Name *string `json:"name,omitempty"` // Unit - The unit in which estimated impact to dimension is measured. Unit *string `json:"unit,omitempty"` // ChangeValueAbsolute - The absolute impact to dimension. ChangeValueAbsolute *float64 `json:"changeValueAbsolute,omitempty"` // ChangeValueRelative - The relative impact to dimension (null if not applicable) ChangeValueRelative *float64 `json:"changeValueRelative,omitempty"` }
OperationImpact the impact of an operation, both in absolute and relative terms.
type OperationListResult ¶
type OperationListResult struct { autorest.Response `json:"-"` // Value - Array of results. Value *[]Operation `json:"value,omitempty"` // NextLink - Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
OperationListResult result of the request to list SQL operations.
func (OperationListResult) IsEmpty ¶
func (olr OperationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type OperationListResultIterator ¶
type OperationListResultIterator struct {
// contains filtered or unexported fields
}
OperationListResultIterator provides access to a complete listing of Operation values.
func (*OperationListResultIterator) Next ¶
func (iter *OperationListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (OperationListResultIterator) NotDone ¶
func (iter OperationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (OperationListResultIterator) Response ¶
func (iter OperationListResultIterator) Response() OperationListResult
Response returns the raw server response from the last page request.
func (OperationListResultIterator) Value ¶
func (iter OperationListResultIterator) Value() Operation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type OperationListResultPage ¶
type OperationListResultPage struct {
// contains filtered or unexported fields
}
OperationListResultPage contains a page of Operation values.
func (*OperationListResultPage) Next ¶
func (page *OperationListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (OperationListResultPage) NotDone ¶
func (page OperationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (OperationListResultPage) Response ¶
func (page OperationListResultPage) Response() OperationListResult
Response returns the raw server response from the last page request.
func (OperationListResultPage) Values ¶
func (page OperationListResultPage) Values() []Operation
Values returns the slice of values for the current page or nil if there are no values.
type OperationOrigin ¶
type OperationOrigin string
OperationOrigin enumerates the values for operation origin.
const ( // OperationOriginSystem ... OperationOriginSystem OperationOrigin = "system" // OperationOriginUser ... OperationOriginUser OperationOrigin = "user" )
type OperationsClient ¶
type OperationsClient struct {
BaseClient
}
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(ctx context.Context) (result OperationListResultPage, err error)
List lists all of the available SQL Rest API operations.
func (OperationsClient) ListComplete ¶
func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (OperationsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (OperationsClient) ListResponder ¶
func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (OperationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type PartnerInfo ¶
type PartnerInfo struct { // ID - Resource identifier of the partner server. ID *string `json:"id,omitempty"` // Location - Geo location of the partner server. Location *string `json:"location,omitempty"` // ReplicationRole - Replication role of the partner server. Possible values include: 'Primary', 'Secondary' ReplicationRole FailoverGroupReplicationRole `json:"replicationRole,omitempty"` }
PartnerInfo partner server information for the failover group.
type PerformanceLevel ¶
type PerformanceLevel struct { // Unit - Unit type used to measure service objective performance level. Possible values include: 'DTU' Unit PerformanceLevelUnit `json:"unit,omitempty"` // Value - Performance level value. Value *int32 `json:"value,omitempty"` }
PerformanceLevel a possible performance level of a service objective capability.
type PerformanceLevelUnit ¶
type PerformanceLevelUnit string
PerformanceLevelUnit enumerates the values for performance level unit.
const ( // DTU ... DTU PerformanceLevelUnit = "DTU" )
type PrimaryAggregationType ¶
type PrimaryAggregationType string
PrimaryAggregationType enumerates the values for primary aggregation type.
const ( // Average ... Average PrimaryAggregationType = "Average" // Count ... Count PrimaryAggregationType = "Count" // Maximum ... Maximum PrimaryAggregationType = "Maximum" // Minimum ... Minimum PrimaryAggregationType = "Minimum" // None ... None PrimaryAggregationType = "None" // Total ... Total PrimaryAggregationType = "Total" )
type ProxyResource ¶
type ProxyResource struct { // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` }
ProxyResource ARM proxy resource.
type ReadOnlyEndpointFailoverPolicy ¶
type ReadOnlyEndpointFailoverPolicy string
ReadOnlyEndpointFailoverPolicy enumerates the values for read only endpoint failover policy.
const ( // ReadOnlyEndpointFailoverPolicyDisabled ... ReadOnlyEndpointFailoverPolicyDisabled ReadOnlyEndpointFailoverPolicy = "Disabled" // ReadOnlyEndpointFailoverPolicyEnabled ... ReadOnlyEndpointFailoverPolicyEnabled ReadOnlyEndpointFailoverPolicy = "Enabled" )
type ReadWriteEndpointFailoverPolicy ¶
type ReadWriteEndpointFailoverPolicy string
ReadWriteEndpointFailoverPolicy enumerates the values for read write endpoint failover policy.
const ( // Automatic ... Automatic ReadWriteEndpointFailoverPolicy = "Automatic" // Manual ... Manual ReadWriteEndpointFailoverPolicy = "Manual" )
type RecommendedElasticPool ¶
type RecommendedElasticPool struct { autorest.Response `json:"-"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // RecommendedElasticPoolProperties - The properites representing the resource. *RecommendedElasticPoolProperties `json:"properties,omitempty"` }
RecommendedElasticPool represents a recommented elastic pool.
func (*RecommendedElasticPool) UnmarshalJSON ¶
func (rep *RecommendedElasticPool) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RecommendedElasticPool struct.
type RecommendedElasticPoolListMetricsResult ¶
type RecommendedElasticPoolListMetricsResult struct { autorest.Response `json:"-"` // Value - The list of recommended elastic pools metrics. Value *[]RecommendedElasticPoolMetric `json:"value,omitempty"` }
RecommendedElasticPoolListMetricsResult represents the response to a list recommended elastic pool metrics request.
type RecommendedElasticPoolListResult ¶
type RecommendedElasticPoolListResult struct { autorest.Response `json:"-"` // Value - The list of recommended elastic pools hosted in the server. Value *[]RecommendedElasticPool `json:"value,omitempty"` }
RecommendedElasticPoolListResult represents the response to a list recommended elastic pool request.
type RecommendedElasticPoolMetric ¶
type RecommendedElasticPoolMetric struct { // DateTime - The time of metric (ISO8601 format). DateTime *date.Time `json:"dateTime,omitempty"` // Dtu - Gets or sets the DTUs (Database Transaction Units). See https://azure.microsoft.com/documentation/articles/sql-database-what-is-a-dtu/ Dtu *float64 `json:"dtu,omitempty"` // SizeGB - Gets or sets size in gigabytes. SizeGB *float64 `json:"sizeGB,omitempty"` }
RecommendedElasticPoolMetric represents recommended elastic pool metric.
type RecommendedElasticPoolProperties ¶
type RecommendedElasticPoolProperties struct { // DatabaseEdition - The edition of the recommended elastic pool. The ElasticPoolEdition enumeration contains all the valid editions. Possible values include: 'ElasticPoolEditionBasic', 'ElasticPoolEditionStandard', 'ElasticPoolEditionPremium' DatabaseEdition ElasticPoolEdition `json:"databaseEdition,omitempty"` // Dtu - The DTU for the recommended elastic pool. Dtu *float64 `json:"dtu,omitempty"` // DatabaseDtuMin - The minimum DTU for the database. DatabaseDtuMin *float64 `json:"databaseDtuMin,omitempty"` // DatabaseDtuMax - The maximum DTU for the database. DatabaseDtuMax *float64 `json:"databaseDtuMax,omitempty"` // StorageMB - Gets storage size in megabytes. StorageMB *float64 `json:"storageMB,omitempty"` // ObservationPeriodStart - The observation period start (ISO8601 format). ObservationPeriodStart *date.Time `json:"observationPeriodStart,omitempty"` // ObservationPeriodEnd - The observation period start (ISO8601 format). ObservationPeriodEnd *date.Time `json:"observationPeriodEnd,omitempty"` // MaxObservedDtu - Gets maximum observed DTU. MaxObservedDtu *float64 `json:"maxObservedDtu,omitempty"` // MaxObservedStorageMB - Gets maximum observed storage in megabytes. MaxObservedStorageMB *float64 `json:"maxObservedStorageMB,omitempty"` // Databases - The list of databases in this pool. Expanded property Databases *[]Database `json:"databases,omitempty"` // Metrics - The list of databases housed in the server. Expanded property Metrics *[]RecommendedElasticPoolMetric `json:"metrics,omitempty"` }
RecommendedElasticPoolProperties represents the properties of a recommented elastic pool.
type RecommendedElasticPoolsClient ¶
type RecommendedElasticPoolsClient struct {
BaseClient
}
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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // RecommendedIndexProperties - The properties representing the resource. *RecommendedIndexProperties `json:"properties,omitempty"` }
RecommendedIndex represents a database recommended index.
func (*RecommendedIndex) UnmarshalJSON ¶
func (ri *RecommendedIndex) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RecommendedIndex struct.
type RecommendedIndexAction ¶
type RecommendedIndexAction string
RecommendedIndexAction enumerates the values for recommended index action.
const ( // Create ... Create RecommendedIndexAction = "Create" // Drop ... Drop RecommendedIndexAction = "Drop" // Rebuild ... Rebuild RecommendedIndexAction = "Rebuild" )
type RecommendedIndexProperties ¶
type RecommendedIndexProperties struct { // Action - The proposed index action. You can create a missing index, drop an unused index, or rebuild an existing index to improve its performance. Possible values include: 'Create', 'Drop', 'Rebuild' Action RecommendedIndexAction `json:"action,omitempty"` // State - The current recommendation state. Possible values include: 'RecommendedIndexStateActive', 'RecommendedIndexStatePending', 'RecommendedIndexStateExecuting', 'RecommendedIndexStateVerifying', 'RecommendedIndexStatePendingRevert', 'RecommendedIndexStateReverting', 'RecommendedIndexStateReverted', 'RecommendedIndexStateIgnored', 'RecommendedIndexStateExpired', 'RecommendedIndexStateBlocked', 'RecommendedIndexStateSuccess' State RecommendedIndexState `json:"state,omitempty"` // Created - The UTC datetime showing when this resource was created (ISO8601 format). Created *date.Time `json:"created,omitempty"` // LastModified - The UTC datetime of when was this resource last changed (ISO8601 format). LastModified *date.Time `json:"lastModified,omitempty"` // IndexType - The type of index (CLUSTERED, NONCLUSTERED, COLUMNSTORE, CLUSTERED COLUMNSTORE). Possible values include: 'CLUSTERED', 'NONCLUSTERED', 'COLUMNSTORE', 'CLUSTEREDCOLUMNSTORE' IndexType RecommendedIndexType `json:"indexType,omitempty"` // Schema - The schema where table to build index over resides Schema *string `json:"schema,omitempty"` // Table - The table on which to build index. Table *string `json:"table,omitempty"` // Columns - Columns over which to build index Columns *[]string `json:"columns,omitempty"` // IncludedColumns - The list of column names to be included in the index IncludedColumns *[]string `json:"includedColumns,omitempty"` // IndexScript - The full build index script IndexScript *string `json:"indexScript,omitempty"` // EstimatedImpact - The estimated impact of doing recommended index action. EstimatedImpact *[]OperationImpact `json:"estimatedImpact,omitempty"` // ReportedImpact - The values reported after index action is complete. ReportedImpact *[]OperationImpact `json:"reportedImpact,omitempty"` }
RecommendedIndexProperties represents the properties of a database recommended index.
type RecommendedIndexState ¶
type RecommendedIndexState string
RecommendedIndexState enumerates the values for recommended index state.
const ( // RecommendedIndexStateActive ... RecommendedIndexStateActive RecommendedIndexState = "Active" // RecommendedIndexStateBlocked ... RecommendedIndexStateBlocked RecommendedIndexState = "Blocked" // RecommendedIndexStateExecuting ... RecommendedIndexStateExecuting RecommendedIndexState = "Executing" // RecommendedIndexStateExpired ... RecommendedIndexStateExpired RecommendedIndexState = "Expired" // RecommendedIndexStateIgnored ... RecommendedIndexStateIgnored RecommendedIndexState = "Ignored" // RecommendedIndexStatePending ... RecommendedIndexStatePending RecommendedIndexState = "Pending" // RecommendedIndexStatePendingRevert ... RecommendedIndexStatePendingRevert RecommendedIndexState = "Pending Revert" // RecommendedIndexStateReverted ... RecommendedIndexStateReverted RecommendedIndexState = "Reverted" // RecommendedIndexStateReverting ... RecommendedIndexStateReverting RecommendedIndexState = "Reverting" // RecommendedIndexStateSuccess ... RecommendedIndexStateSuccess RecommendedIndexState = "Success" // RecommendedIndexStateVerifying ... RecommendedIndexStateVerifying RecommendedIndexState = "Verifying" )
type RecommendedIndexType ¶
type RecommendedIndexType string
RecommendedIndexType enumerates the values for recommended index type.
const ( // CLUSTERED ... CLUSTERED RecommendedIndexType = "CLUSTERED" // CLUSTEREDCOLUMNSTORE ... CLUSTEREDCOLUMNSTORE RecommendedIndexType = "CLUSTERED COLUMNSTORE" // COLUMNSTORE ... COLUMNSTORE RecommendedIndexType = "COLUMNSTORE" // NONCLUSTERED ... NONCLUSTERED RecommendedIndexType = "NONCLUSTERED" )
type RecoverableDatabase ¶
type RecoverableDatabase struct { autorest.Response `json:"-"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // RecoverableDatabaseProperties - The properties of a recoverable database *RecoverableDatabaseProperties `json:"properties,omitempty"` }
RecoverableDatabase a recoverable database
func (*RecoverableDatabase) UnmarshalJSON ¶
func (rd *RecoverableDatabase) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RecoverableDatabase struct.
type RecoverableDatabaseListResult ¶
type RecoverableDatabaseListResult struct { autorest.Response `json:"-"` // Value - A list of recoverable databases Value *[]RecoverableDatabase `json:"value,omitempty"` }
RecoverableDatabaseListResult the response to a list recoverable databases request
type RecoverableDatabaseProperties ¶
type RecoverableDatabaseProperties struct { // Edition - The edition of the database Edition *string `json:"edition,omitempty"` // ServiceLevelObjective - The service level objective name of the database ServiceLevelObjective *string `json:"serviceLevelObjective,omitempty"` // ElasticPoolName - The elastic pool name of the database ElasticPoolName *string `json:"elasticPoolName,omitempty"` // LastAvailableBackupDate - The last available backup date of the database (ISO8601 format) LastAvailableBackupDate *date.Time `json:"lastAvailableBackupDate,omitempty"` }
RecoverableDatabaseProperties the properties of a recoverable database
type RecoverableDatabasesClient ¶
type RecoverableDatabasesClient struct {
BaseClient
}
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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // Location - Location of the server that contains this firewall rule. Location *string `json:"location,omitempty"` // ReplicationLinkProperties - The properties representing the resource. *ReplicationLinkProperties `json:"properties,omitempty"` }
ReplicationLink represents a database replication link.
func (*ReplicationLink) UnmarshalJSON ¶
func (rl *ReplicationLink) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ReplicationLink struct.
type ReplicationLinkListResult ¶
type ReplicationLinkListResult struct { autorest.Response `json:"-"` // Value - The list of database replication links housed in the database. Value *[]ReplicationLink `json:"value,omitempty"` }
ReplicationLinkListResult represents the response to a List database replication link request.
type ReplicationLinkProperties ¶
type ReplicationLinkProperties struct { // IsTerminationAllowed - Legacy value indicating whether termination is allowed. Currently always returns true. IsTerminationAllowed *bool `json:"isTerminationAllowed,omitempty"` // ReplicationMode - Replication mode of this replication link. ReplicationMode *string `json:"replicationMode,omitempty"` // PartnerServer - The name of the server hosting the partner database. PartnerServer *string `json:"partnerServer,omitempty"` // PartnerDatabase - The name of the partner database. PartnerDatabase *string `json:"partnerDatabase,omitempty"` // PartnerLocation - The Azure Region of the partner database. PartnerLocation *string `json:"partnerLocation,omitempty"` // Role - The role of the database in the replication link. Possible values include: 'ReplicationRolePrimary', 'ReplicationRoleSecondary', 'ReplicationRoleNonReadableSecondary', 'ReplicationRoleSource', 'ReplicationRoleCopy' Role ReplicationRole `json:"role,omitempty"` // PartnerRole - The role of the partner database in the replication link. Possible values include: 'ReplicationRolePrimary', 'ReplicationRoleSecondary', 'ReplicationRoleNonReadableSecondary', 'ReplicationRoleSource', 'ReplicationRoleCopy' PartnerRole ReplicationRole `json:"partnerRole,omitempty"` // StartTime - The start time for the replication link. StartTime *date.Time `json:"startTime,omitempty"` // PercentComplete - The percentage of seeding complete for the replication link. PercentComplete *int32 `json:"percentComplete,omitempty"` // ReplicationState - The replication state for the replication link. Possible values include: 'PENDING', 'SEEDING', 'CATCHUP', 'SUSPENDED' ReplicationState ReplicationState `json:"replicationState,omitempty"` }
ReplicationLinkProperties represents the properties of a database replication link.
type ReplicationLinksClient ¶
type ReplicationLinksClient struct {
BaseClient
}
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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, linkID string) (result ReplicationLinksFailoverFuture, err error)
Failover sets which replica database is primary by failing over from the current primary replica 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 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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, linkID string) (result ReplicationLinksFailoverAllowDataLossFuture, err error)
FailoverAllowDataLoss sets which replica database is primary by failing over from the current primary replica database. This operation might result in data loss.
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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, linkID string) (*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) (future ReplicationLinksFailoverAllowDataLossFuture, err 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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, linkID string) (*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 ¶
func (client ReplicationLinksClient) FailoverSender(req *http.Request) (future ReplicationLinksFailoverFuture, err error)
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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 ReplicationLinksFailoverAllowDataLossFuture ¶
type ReplicationLinksFailoverAllowDataLossFuture struct { azure.Future // contains filtered or unexported fields }
ReplicationLinksFailoverAllowDataLossFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (ReplicationLinksFailoverAllowDataLossFuture) Result ¶
func (future ReplicationLinksFailoverAllowDataLossFuture) Result(client ReplicationLinksClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ReplicationLinksFailoverFuture ¶
type ReplicationLinksFailoverFuture struct { azure.Future // contains filtered or unexported fields }
ReplicationLinksFailoverFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (ReplicationLinksFailoverFuture) Result ¶
func (future ReplicationLinksFailoverFuture) Result(client ReplicationLinksClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ReplicationRole ¶
type ReplicationRole string
ReplicationRole enumerates the values for replication role.
const ( // ReplicationRoleCopy ... ReplicationRoleCopy ReplicationRole = "Copy" // ReplicationRoleNonReadableSecondary ... ReplicationRoleNonReadableSecondary ReplicationRole = "NonReadableSecondary" // ReplicationRolePrimary ... ReplicationRolePrimary ReplicationRole = "Primary" // ReplicationRoleSecondary ... ReplicationRoleSecondary ReplicationRole = "Secondary" // ReplicationRoleSource ... ReplicationRoleSource ReplicationRole = "Source" )
type ReplicationState ¶
type ReplicationState string
ReplicationState enumerates the values for replication state.
const ( // CATCHUP ... CATCHUP ReplicationState = "CATCH_UP" // PENDING ... PENDING ReplicationState = "PENDING" // SEEDING ... SEEDING ReplicationState = "SEEDING" // SUSPENDED ... SUSPENDED ReplicationState = "SUSPENDED" )
type Resource ¶
type Resource struct { // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` }
Resource ARM resource.
type ResourceIdentity ¶
type ResourceIdentity struct { // PrincipalID - The Azure Active Directory principal id. PrincipalID *uuid.UUID `json:"principalId,omitempty"` // Type - The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. Possible values include: 'SystemAssigned' Type IdentityType `json:"type,omitempty"` // TenantID - The Azure Active Directory tenant id. TenantID *uuid.UUID `json:"tenantId,omitempty"` }
ResourceIdentity azure Active Directory identity configuration for a resource.
type ResourceMoveDefinition ¶
type ResourceMoveDefinition struct { // ID - The target ID for the resource ID *string `json:"id,omitempty"` }
ResourceMoveDefinition contains the information necessary to perform a resource move (rename).
type RestorableDroppedDatabase ¶
type RestorableDroppedDatabase struct { autorest.Response `json:"-"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` // RestorableDroppedDatabaseProperties - The properties of a restorable dropped database *RestorableDroppedDatabaseProperties `json:"properties,omitempty"` }
RestorableDroppedDatabase a restorable dropped database
func (*RestorableDroppedDatabase) UnmarshalJSON ¶
func (rdd *RestorableDroppedDatabase) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RestorableDroppedDatabase struct.
type RestorableDroppedDatabaseListResult ¶
type RestorableDroppedDatabaseListResult struct { autorest.Response `json:"-"` // Value - A list of restorable dropped databases Value *[]RestorableDroppedDatabase `json:"value,omitempty"` }
RestorableDroppedDatabaseListResult the response to a list restorable dropped databases request
type RestorableDroppedDatabaseProperties ¶
type RestorableDroppedDatabaseProperties struct { // DatabaseName - The name of the database DatabaseName *string `json:"databaseName,omitempty"` // Edition - The edition of the database Edition *string `json:"edition,omitempty"` // MaxSizeBytes - The max size in bytes of the database MaxSizeBytes *string `json:"maxSizeBytes,omitempty"` // ServiceLevelObjective - The service level objective name of the database ServiceLevelObjective *string `json:"serviceLevelObjective,omitempty"` // ElasticPoolName - The elastic pool name of the database ElasticPoolName *string `json:"elasticPoolName,omitempty"` // CreationDate - The creation date of the database (ISO8601 format) CreationDate *date.Time `json:"creationDate,omitempty"` // DeletionDate - The deletion date of the database (ISO8601 format) DeletionDate *date.Time `json:"deletionDate,omitempty"` // EarliestRestoreDate - The earliest restore date of the database (ISO8601 format) EarliestRestoreDate *date.Time `json:"earliestRestoreDate,omitempty"` }
RestorableDroppedDatabaseProperties the properties of a restorable dropped database
type RestorableDroppedDatabasesClient ¶
type RestorableDroppedDatabasesClient struct {
BaseClient
}
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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // RestorePointProperties - The properties of the restore point. *RestorePointProperties `json:"properties,omitempty"` }
RestorePoint a database restore point.
func (*RestorePoint) UnmarshalJSON ¶
func (rp *RestorePoint) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RestorePoint struct.
type RestorePointListResult ¶
type RestorePointListResult struct { autorest.Response `json:"-"` // Value - The list of database restore points. Value *[]RestorePoint `json:"value,omitempty"` }
RestorePointListResult the response to a list database restore points request.
type RestorePointProperties ¶
type RestorePointProperties struct { // RestorePointType - The restore point type of the database restore point. Possible values include: 'DISCRETE', 'CONTINUOUS' RestorePointType RestorePointType `json:"restorePointType,omitempty"` // RestorePointCreationDate - Restore point creation time (ISO8601 format). Populated when restorePointType = CONTINUOUS. Null otherwise. RestorePointCreationDate *date.Time `json:"restorePointCreationDate,omitempty"` // EarliestRestoreDate - Earliest restore time (ISO8601 format). Populated when restorePointType = DISCRETE. Null otherwise. EarliestRestoreDate *date.Time `json:"earliestRestoreDate,omitempty"` }
RestorePointProperties represents the properties of a database restore point.
type RestorePointType ¶
type RestorePointType string
RestorePointType enumerates the values for restore point type.
const ( // CONTINUOUS ... CONTINUOUS RestorePointType = "CONTINUOUS" // DISCRETE ... DISCRETE RestorePointType = "DISCRETE" )
type RestorePointsClient ¶
type RestorePointsClient struct {
BaseClient
}
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(ctx context.Context, 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(ctx context.Context, 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 ... AdventureWorksLT SampleName = "AdventureWorksLT" )
type SecurityAlertPolicyEmailAccountAdmins ¶
type SecurityAlertPolicyEmailAccountAdmins string
SecurityAlertPolicyEmailAccountAdmins enumerates the values for security alert policy email account admins.
const ( // SecurityAlertPolicyEmailAccountAdminsDisabled ... SecurityAlertPolicyEmailAccountAdminsDisabled SecurityAlertPolicyEmailAccountAdmins = "Disabled" // SecurityAlertPolicyEmailAccountAdminsEnabled ... SecurityAlertPolicyEmailAccountAdminsEnabled SecurityAlertPolicyEmailAccountAdmins = "Enabled" )
type SecurityAlertPolicyState ¶
type SecurityAlertPolicyState string
SecurityAlertPolicyState enumerates the values for security alert policy state.
const ( // SecurityAlertPolicyStateDisabled ... SecurityAlertPolicyStateDisabled SecurityAlertPolicyState = "Disabled" // SecurityAlertPolicyStateEnabled ... SecurityAlertPolicyStateEnabled SecurityAlertPolicyState = "Enabled" // SecurityAlertPolicyStateNew ... SecurityAlertPolicyStateNew SecurityAlertPolicyState = "New" )
type SecurityAlertPolicyUseServerDefault ¶
type SecurityAlertPolicyUseServerDefault string
SecurityAlertPolicyUseServerDefault enumerates the values for security alert policy use server default.
const ( // SecurityAlertPolicyUseServerDefaultDisabled ... SecurityAlertPolicyUseServerDefaultDisabled SecurityAlertPolicyUseServerDefault = "Disabled" // SecurityAlertPolicyUseServerDefaultEnabled ... SecurityAlertPolicyUseServerDefaultEnabled SecurityAlertPolicyUseServerDefault = "Enabled" )
type Server ¶
type Server struct { autorest.Response `json:"-"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // Tags - Resource tags. Tags *map[string]*string `json:"tags,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Identity - The Azure Active Directory identity of the server. Identity *ResourceIdentity `json:"identity,omitempty"` // Kind - Kind of sql server. This is metadata used for the Azure portal experience. Kind *string `json:"kind,omitempty"` // ServerProperties - Resource properties. *ServerProperties `json:"properties,omitempty"` }
Server an Azure SQL Database server.
func (*Server) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Server struct.
type ServerAdministratorListResult ¶
type ServerAdministratorListResult struct { autorest.Response `json:"-"` // Value - The list of server Active Directory Administrators for the server. Value *[]ServerAzureADAdministrator `json:"value,omitempty"` }
ServerAdministratorListResult the response to a list Active Directory Administrators request.
type ServerAdministratorProperties ¶
type ServerAdministratorProperties struct { // AdministratorType - The type of administrator. AdministratorType *string `json:"administratorType,omitempty"` // Login - The server administrator login value. Login *string `json:"login,omitempty"` // Sid - The server administrator Sid (Secure ID). Sid *uuid.UUID `json:"sid,omitempty"` // TenantID - The server Active Directory Administrator tenant id. TenantID *uuid.UUID `json:"tenantId,omitempty"` }
ServerAdministratorProperties the properties of an server Administrator.
type ServerAzureADAdministrator ¶
type ServerAzureADAdministrator struct { autorest.Response `json:"-"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // ServerAdministratorProperties - The properties of the resource. *ServerAdministratorProperties `json:"properties,omitempty"` }
ServerAzureADAdministrator an server Active Directory Administrator.
func (*ServerAzureADAdministrator) UnmarshalJSON ¶
func (saaa *ServerAzureADAdministrator) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServerAzureADAdministrator struct.
type ServerAzureADAdministratorsClient ¶
type ServerAzureADAdministratorsClient struct {
BaseClient
}
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(ctx context.Context, resourceGroupName string, serverName string, administratorName string, properties ServerAzureADAdministrator) (result ServerAzureADAdministratorsCreateOrUpdateFuture, err error)
CreateOrUpdate creates a new Server Active Directory Administrator or updates an existing server Active Directory 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. properties is the required parameters for creating or updating an Active Directory Administrator.
func (ServerAzureADAdministratorsClient) CreateOrUpdatePreparer ¶
func (client ServerAzureADAdministratorsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, administratorName string, properties ServerAzureADAdministrator) (*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) (future ServerAzureADAdministratorsCreateOrUpdateFuture, err 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(ctx context.Context, resourceGroupName string, serverName string, administratorName string) (result ServerAzureADAdministratorsDeleteFuture, err error)
Delete deletes an existing server Active Directory 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) DeletePreparer ¶
func (client ServerAzureADAdministratorsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, administratorName string) (*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) (future ServerAzureADAdministratorsDeleteFuture, err 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 ServerAzureADAdministratorsCreateOrUpdateFuture ¶
type ServerAzureADAdministratorsCreateOrUpdateFuture struct { azure.Future // contains filtered or unexported fields }
ServerAzureADAdministratorsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (ServerAzureADAdministratorsCreateOrUpdateFuture) Result ¶
func (future ServerAzureADAdministratorsCreateOrUpdateFuture) Result(client ServerAzureADAdministratorsClient) (saaa ServerAzureADAdministrator, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ServerAzureADAdministratorsDeleteFuture ¶
type ServerAzureADAdministratorsDeleteFuture struct { azure.Future // contains filtered or unexported fields }
ServerAzureADAdministratorsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (ServerAzureADAdministratorsDeleteFuture) Result ¶
func (future ServerAzureADAdministratorsDeleteFuture) Result(client ServerAzureADAdministratorsClient) (saaa ServerAzureADAdministrator, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ServerCommunicationLink ¶
type ServerCommunicationLink struct { autorest.Response `json:"-"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // ServerCommunicationLinkProperties - The properties of resource. *ServerCommunicationLinkProperties `json:"properties,omitempty"` // Location - Communication link location. Location *string `json:"location,omitempty"` // Kind - Communication link kind. This property is used for Azure Portal metadata. Kind *string `json:"kind,omitempty"` }
ServerCommunicationLink server communication link.
func (*ServerCommunicationLink) UnmarshalJSON ¶
func (scl *ServerCommunicationLink) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServerCommunicationLink struct.
type ServerCommunicationLinkListResult ¶
type ServerCommunicationLinkListResult struct { autorest.Response `json:"-"` // Value - The list of server communication links. Value *[]ServerCommunicationLink `json:"value,omitempty"` }
ServerCommunicationLinkListResult a list of server communication links.
type ServerCommunicationLinkProperties ¶
type ServerCommunicationLinkProperties struct { // State - The state. State *string `json:"state,omitempty"` // PartnerServer - The name of the partner server. PartnerServer *string `json:"partnerServer,omitempty"` }
ServerCommunicationLinkProperties the properties of a server communication link.
type ServerCommunicationLinksClient ¶
type ServerCommunicationLinksClient struct {
BaseClient
}
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(ctx context.Context, resourceGroupName string, serverName string, communicationLinkName string, parameters ServerCommunicationLink) (result ServerCommunicationLinksCreateOrUpdateFuture, err error)
CreateOrUpdate creates 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. parameters is the required parameters for creating a server communication link.
func (ServerCommunicationLinksClient) CreateOrUpdatePreparer ¶
func (client ServerCommunicationLinksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, communicationLinkName string, parameters ServerCommunicationLink) (*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) (future ServerCommunicationLinksCreateOrUpdateFuture, err 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 ServerCommunicationLinksCreateOrUpdateFuture ¶
type ServerCommunicationLinksCreateOrUpdateFuture struct { azure.Future // contains filtered or unexported fields }
ServerCommunicationLinksCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (ServerCommunicationLinksCreateOrUpdateFuture) Result ¶
func (future ServerCommunicationLinksCreateOrUpdateFuture) Result(client ServerCommunicationLinksClient) (scl ServerCommunicationLink, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ServerConnectionPoliciesClient ¶
type ServerConnectionPoliciesClient struct {
BaseClient
}
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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // Kind - Metadata used for the Azure portal experience. Kind *string `json:"kind,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // ServerConnectionPolicyProperties - The properties of the server secure connection policy. *ServerConnectionPolicyProperties `json:"properties,omitempty"` }
ServerConnectionPolicy a server secure connection policy.
func (*ServerConnectionPolicy) UnmarshalJSON ¶
func (scp *ServerConnectionPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServerConnectionPolicy struct.
type ServerConnectionPolicyProperties ¶
type ServerConnectionPolicyProperties struct { // ConnectionType - The server connection type. Possible values include: 'ServerConnectionTypeDefault', 'ServerConnectionTypeProxy', 'ServerConnectionTypeRedirect' ConnectionType ServerConnectionType `json:"connectionType,omitempty"` }
ServerConnectionPolicyProperties the properties of a server secure connection policy.
type ServerConnectionType ¶
type ServerConnectionType string
ServerConnectionType enumerates the values for server connection type.
const ( // ServerConnectionTypeDefault ... ServerConnectionTypeDefault ServerConnectionType = "Default" // ServerConnectionTypeProxy ... ServerConnectionTypeProxy ServerConnectionType = "Proxy" // ServerConnectionTypeRedirect ... ServerConnectionTypeRedirect ServerConnectionType = "Redirect" )
type ServerDNSAlias ¶
type ServerDNSAlias struct { autorest.Response `json:"-"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // ServerDNSAliasProperties - Resource properties. *ServerDNSAliasProperties `json:"properties,omitempty"` }
ServerDNSAlias a server DNS alias.
func (*ServerDNSAlias) UnmarshalJSON ¶
func (sda *ServerDNSAlias) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServerDNSAlias struct.
type ServerDNSAliasAcquisition ¶
type ServerDNSAliasAcquisition struct { // OldServerDNSAliasID - The id of the server alias that will be acquired to point to this server instead. OldServerDNSAliasID *string `json:"oldServerDnsAliasId,omitempty"` }
ServerDNSAliasAcquisition a server DNS alias acquisition request.
type ServerDNSAliasListResult ¶
type ServerDNSAliasListResult struct { autorest.Response `json:"-"` // Value - Array of results. Value *[]ServerDNSAlias `json:"value,omitempty"` // NextLink - Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ServerDNSAliasListResult a list of server DNS aliases.
func (ServerDNSAliasListResult) IsEmpty ¶
func (sdalr ServerDNSAliasListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ServerDNSAliasListResultIterator ¶
type ServerDNSAliasListResultIterator struct {
// contains filtered or unexported fields
}
ServerDNSAliasListResultIterator provides access to a complete listing of ServerDNSAlias values.
func (*ServerDNSAliasListResultIterator) Next ¶
func (iter *ServerDNSAliasListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ServerDNSAliasListResultIterator) NotDone ¶
func (iter ServerDNSAliasListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ServerDNSAliasListResultIterator) Response ¶
func (iter ServerDNSAliasListResultIterator) Response() ServerDNSAliasListResult
Response returns the raw server response from the last page request.
func (ServerDNSAliasListResultIterator) Value ¶
func (iter ServerDNSAliasListResultIterator) Value() ServerDNSAlias
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ServerDNSAliasListResultPage ¶
type ServerDNSAliasListResultPage struct {
// contains filtered or unexported fields
}
ServerDNSAliasListResultPage contains a page of ServerDNSAlias values.
func (*ServerDNSAliasListResultPage) Next ¶
func (page *ServerDNSAliasListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ServerDNSAliasListResultPage) NotDone ¶
func (page ServerDNSAliasListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ServerDNSAliasListResultPage) Response ¶
func (page ServerDNSAliasListResultPage) Response() ServerDNSAliasListResult
Response returns the raw server response from the last page request.
func (ServerDNSAliasListResultPage) Values ¶
func (page ServerDNSAliasListResultPage) Values() []ServerDNSAlias
Values returns the slice of values for the current page or nil if there are no values.
type ServerDNSAliasProperties ¶
type ServerDNSAliasProperties struct { // AzureDNSRecord - The fully qualified DNS record for alias AzureDNSRecord *string `json:"azureDnsRecord,omitempty"` }
ServerDNSAliasProperties properties of a server DNS alias.
type ServerDNSAliasesAcquireFuture ¶
type ServerDNSAliasesAcquireFuture struct { azure.Future // contains filtered or unexported fields }
ServerDNSAliasesAcquireFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (ServerDNSAliasesAcquireFuture) Result ¶
func (future ServerDNSAliasesAcquireFuture) Result(client ServerDNSAliasesClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ServerDNSAliasesClient ¶
type ServerDNSAliasesClient struct {
BaseClient
}
ServerDNSAliasesClient 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 NewServerDNSAliasesClient ¶
func NewServerDNSAliasesClient(subscriptionID string) ServerDNSAliasesClient
NewServerDNSAliasesClient creates an instance of the ServerDNSAliasesClient client.
func NewServerDNSAliasesClientWithBaseURI ¶
func NewServerDNSAliasesClientWithBaseURI(baseURI string, subscriptionID string) ServerDNSAliasesClient
NewServerDNSAliasesClientWithBaseURI creates an instance of the ServerDNSAliasesClient client.
func (ServerDNSAliasesClient) Acquire ¶
func (client ServerDNSAliasesClient) Acquire(ctx context.Context, resourceGroupName string, serverName string, DNSAliasName string, parameters ServerDNSAliasAcquisition) (result ServerDNSAliasesAcquireFuture, err error)
Acquire acquires server DNS alias from another 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 that the alias is pointing to. DNSAliasName is the name of the server dns alias.
func (ServerDNSAliasesClient) AcquirePreparer ¶
func (client ServerDNSAliasesClient) AcquirePreparer(ctx context.Context, resourceGroupName string, serverName string, DNSAliasName string, parameters ServerDNSAliasAcquisition) (*http.Request, error)
AcquirePreparer prepares the Acquire request.
func (ServerDNSAliasesClient) AcquireResponder ¶
func (client ServerDNSAliasesClient) AcquireResponder(resp *http.Response) (result autorest.Response, err error)
AcquireResponder handles the response to the Acquire request. The method always closes the http.Response Body.
func (ServerDNSAliasesClient) AcquireSender ¶
func (client ServerDNSAliasesClient) AcquireSender(req *http.Request) (future ServerDNSAliasesAcquireFuture, err error)
AcquireSender sends the Acquire request. The method will close the http.Response Body if it receives an error.
func (ServerDNSAliasesClient) CreateOrUpdate ¶
func (client ServerDNSAliasesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, DNSAliasName string) (result ServerDNSAliasesCreateOrUpdateFuture, err error)
CreateOrUpdate creates a server dns alias.
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 that the alias is pointing to. DNSAliasName is the name of the server DNS alias.
func (ServerDNSAliasesClient) CreateOrUpdatePreparer ¶
func (client ServerDNSAliasesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, DNSAliasName string) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ServerDNSAliasesClient) CreateOrUpdateResponder ¶
func (client ServerDNSAliasesClient) CreateOrUpdateResponder(resp *http.Response) (result ServerDNSAlias, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ServerDNSAliasesClient) CreateOrUpdateSender ¶
func (client ServerDNSAliasesClient) CreateOrUpdateSender(req *http.Request) (future ServerDNSAliasesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ServerDNSAliasesClient) Delete ¶
func (client ServerDNSAliasesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, DNSAliasName string) (result ServerDNSAliasesDeleteFuture, err error)
Delete deletes the server DNS alias with the given name.
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 that the alias is pointing to. DNSAliasName is the name of the server DNS alias.
func (ServerDNSAliasesClient) DeletePreparer ¶
func (client ServerDNSAliasesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, DNSAliasName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ServerDNSAliasesClient) DeleteResponder ¶
func (client ServerDNSAliasesClient) 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 (ServerDNSAliasesClient) DeleteSender ¶
func (client ServerDNSAliasesClient) DeleteSender(req *http.Request) (future ServerDNSAliasesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ServerDNSAliasesClient) Get ¶
func (client ServerDNSAliasesClient) Get(ctx context.Context, resourceGroupName string, serverName string, DNSAliasName string) (result ServerDNSAlias, err error)
Get gets a server DNS alias.
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 that the alias is pointing to. DNSAliasName is the name of the server DNS alias.
func (ServerDNSAliasesClient) GetPreparer ¶
func (client ServerDNSAliasesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, DNSAliasName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ServerDNSAliasesClient) GetResponder ¶
func (client ServerDNSAliasesClient) GetResponder(resp *http.Response) (result ServerDNSAlias, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ServerDNSAliasesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ServerDNSAliasesClient) ListByServer ¶
func (client ServerDNSAliasesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result ServerDNSAliasListResultPage, err error)
ListByServer gets a list of server DNS aliases for 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 that the alias is pointing to.
func (ServerDNSAliasesClient) ListByServerComplete ¶
func (client ServerDNSAliasesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result ServerDNSAliasListResultIterator, err error)
ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
func (ServerDNSAliasesClient) ListByServerPreparer ¶
func (client ServerDNSAliasesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (ServerDNSAliasesClient) ListByServerResponder ¶
func (client ServerDNSAliasesClient) ListByServerResponder(resp *http.Response) (result ServerDNSAliasListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (ServerDNSAliasesClient) ListByServerSender ¶
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
type ServerDNSAliasesCreateOrUpdateFuture ¶
type ServerDNSAliasesCreateOrUpdateFuture struct { azure.Future // contains filtered or unexported fields }
ServerDNSAliasesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (ServerDNSAliasesCreateOrUpdateFuture) Result ¶
func (future ServerDNSAliasesCreateOrUpdateFuture) Result(client ServerDNSAliasesClient) (sda ServerDNSAlias, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ServerDNSAliasesDeleteFuture ¶
ServerDNSAliasesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (ServerDNSAliasesDeleteFuture) Result ¶
func (future ServerDNSAliasesDeleteFuture) Result(client ServerDNSAliasesClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ServerKey ¶
type ServerKey struct { autorest.Response `json:"-"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // Kind - Kind of encryption protector. This is metadata used for the Azure portal experience. Kind *string `json:"kind,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // ServerKeyProperties - Resource properties. *ServerKeyProperties `json:"properties,omitempty"` }
ServerKey a server key.
func (*ServerKey) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for ServerKey struct.
type ServerKeyListResult ¶
type ServerKeyListResult struct { autorest.Response `json:"-"` // Value - Array of results. Value *[]ServerKey `json:"value,omitempty"` // NextLink - Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ServerKeyListResult a list of server keys.
func (ServerKeyListResult) IsEmpty ¶
func (sklr ServerKeyListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ServerKeyListResultIterator ¶
type ServerKeyListResultIterator struct {
// contains filtered or unexported fields
}
ServerKeyListResultIterator provides access to a complete listing of ServerKey values.
func (*ServerKeyListResultIterator) Next ¶
func (iter *ServerKeyListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ServerKeyListResultIterator) NotDone ¶
func (iter ServerKeyListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ServerKeyListResultIterator) Response ¶
func (iter ServerKeyListResultIterator) Response() ServerKeyListResult
Response returns the raw server response from the last page request.
func (ServerKeyListResultIterator) Value ¶
func (iter ServerKeyListResultIterator) Value() ServerKey
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ServerKeyListResultPage ¶
type ServerKeyListResultPage struct {
// contains filtered or unexported fields
}
ServerKeyListResultPage contains a page of ServerKey values.
func (*ServerKeyListResultPage) Next ¶
func (page *ServerKeyListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ServerKeyListResultPage) NotDone ¶
func (page ServerKeyListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ServerKeyListResultPage) Response ¶
func (page ServerKeyListResultPage) Response() ServerKeyListResult
Response returns the raw server response from the last page request.
func (ServerKeyListResultPage) Values ¶
func (page ServerKeyListResultPage) Values() []ServerKey
Values returns the slice of values for the current page or nil if there are no values.
type ServerKeyProperties ¶
type ServerKeyProperties struct { // Subregion - Subregion of the server key. Subregion *string `json:"subregion,omitempty"` // ServerKeyType - The server key type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: 'ServiceManaged', 'AzureKeyVault' ServerKeyType ServerKeyType `json:"serverKeyType,omitempty"` // URI - The URI of the server key. URI *string `json:"uri,omitempty"` // Thumbprint - Thumbprint of the server key. Thumbprint *string `json:"thumbprint,omitempty"` // CreationDate - The server key creation date. CreationDate *date.Time `json:"creationDate,omitempty"` }
ServerKeyProperties properties for a server key execution.
type ServerKeyType ¶
type ServerKeyType string
ServerKeyType enumerates the values for server key type.
const ( // AzureKeyVault ... AzureKeyVault ServerKeyType = "AzureKeyVault" // ServiceManaged ... ServiceManaged ServerKeyType = "ServiceManaged" )
type ServerKeysClient ¶
type ServerKeysClient struct {
BaseClient
}
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(ctx context.Context, resourceGroupName string, serverName string, keyName string, parameters ServerKey) (result ServerKeysCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates 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 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(ctx context.Context, resourceGroupName string, serverName string, keyName string, parameters ServerKey) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ServerKeysClient) CreateOrUpdateResponder ¶
func (client ServerKeysClient) CreateOrUpdateResponder(resp *http.Response) (result ServerKey, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ServerKeysClient) CreateOrUpdateSender ¶
func (client ServerKeysClient) CreateOrUpdateSender(req *http.Request) (future ServerKeysCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ServerKeysClient) Delete ¶
func (client ServerKeysClient) Delete(ctx context.Context, resourceGroupName string, serverName string, keyName string) (result ServerKeysDeleteFuture, err error)
Delete deletes the server key with the given name.
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(ctx context.Context, resourceGroupName string, serverName string, keyName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ServerKeysClient) DeleteResponder ¶
func (client ServerKeysClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ServerKeysClient) DeleteSender ¶
func (client ServerKeysClient) DeleteSender(req *http.Request) (future ServerKeysDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ServerKeysClient) Get ¶
func (client ServerKeysClient) Get(ctx context.Context, resourceGroupName string, serverName string, keyName string) (result ServerKey, err error)
Get gets a 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(ctx context.Context, resourceGroupName string, serverName string, keyName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ServerKeysClient) GetResponder ¶
func (client ServerKeysClient) GetResponder(resp *http.Response) (result ServerKey, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ServerKeysClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ServerKeysClient) ListByServer ¶
func (client ServerKeysClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result ServerKeyListResultPage, 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(ctx context.Context, resourceGroupName string, serverName string) (result ServerKeyListResultIterator, err error)
ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
func (ServerKeysClient) ListByServerPreparer ¶
func (client ServerKeysClient) ListByServerPreparer(ctx context.Context, 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 ServerKeysCreateOrUpdateFuture ¶
type ServerKeysCreateOrUpdateFuture struct { azure.Future // contains filtered or unexported fields }
ServerKeysCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (ServerKeysCreateOrUpdateFuture) Result ¶
func (future ServerKeysCreateOrUpdateFuture) Result(client ServerKeysClient) (sk ServerKey, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ServerKeysDeleteFuture ¶
ServerKeysDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (ServerKeysDeleteFuture) Result ¶
func (future ServerKeysDeleteFuture) Result(client ServerKeysClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ServerListResult ¶
type ServerListResult struct { autorest.Response `json:"-"` // Value - Array of results. Value *[]Server `json:"value,omitempty"` // NextLink - Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ServerListResult a list of servers.
func (ServerListResult) IsEmpty ¶
func (slr ServerListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ServerListResultIterator ¶
type ServerListResultIterator struct {
// contains filtered or unexported fields
}
ServerListResultIterator provides access to a complete listing of Server values.
func (*ServerListResultIterator) Next ¶
func (iter *ServerListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ServerListResultIterator) NotDone ¶
func (iter ServerListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ServerListResultIterator) Response ¶
func (iter ServerListResultIterator) Response() ServerListResult
Response returns the raw server response from the last page request.
func (ServerListResultIterator) Value ¶
func (iter ServerListResultIterator) Value() Server
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ServerListResultPage ¶
type ServerListResultPage struct {
// contains filtered or unexported fields
}
ServerListResultPage contains a page of Server values.
func (*ServerListResultPage) Next ¶
func (page *ServerListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ServerListResultPage) NotDone ¶
func (page ServerListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ServerListResultPage) Response ¶
func (page ServerListResultPage) Response() ServerListResult
Response returns the raw server response from the last page request.
func (ServerListResultPage) Values ¶
func (page ServerListResultPage) Values() []Server
Values returns the slice of values for the current page or nil if there are no values.
type ServerProperties ¶
type ServerProperties struct { // AdministratorLogin - Administrator username for the server. Once created it cannot be changed. AdministratorLogin *string `json:"administratorLogin,omitempty"` // AdministratorLoginPassword - The administrator login password (required for server creation). AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` // Version - The version of the server. Version *string `json:"version,omitempty"` // State - The state of the server. State *string `json:"state,omitempty"` // FullyQualifiedDomainName - The fully qualified domain name of the server. FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty"` }
ServerProperties the properties of a server.
type ServerUpdate ¶
type ServerUpdate struct { // ServerProperties - Resource properties. *ServerProperties `json:"properties,omitempty"` // Tags - Resource tags. Tags *map[string]*string `json:"tags,omitempty"` }
ServerUpdate an update request for an Azure SQL Database server.
func (*ServerUpdate) UnmarshalJSON ¶
func (su *ServerUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServerUpdate struct.
type ServerUsage ¶
type ServerUsage struct { // Name - Name of the server usage metric. Name *string `json:"name,omitempty"` // ResourceName - The name of the resource. ResourceName *string `json:"resourceName,omitempty"` // DisplayName - The metric display name. DisplayName *string `json:"displayName,omitempty"` // CurrentValue - The current value of the metric. CurrentValue *float64 `json:"currentValue,omitempty"` // Limit - The current limit of the metric. Limit *float64 `json:"limit,omitempty"` // Unit - The units of the metric. Unit *string `json:"unit,omitempty"` // NextResetTime - The next reset time for the metric (ISO8601 format). NextResetTime *date.Time `json:"nextResetTime,omitempty"` }
ServerUsage represents server metrics.
type ServerUsageListResult ¶
type ServerUsageListResult struct { autorest.Response `json:"-"` // Value - The list of server metrics for the server. Value *[]ServerUsage `json:"value,omitempty"` }
ServerUsageListResult represents the response to a list server metrics request.
type ServerUsagesClient ¶
type ServerUsagesClient struct {
BaseClient
}
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(ctx context.Context, 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(ctx context.Context, 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 - The server version name. Name *string `json:"name,omitempty"` // Status - The status of the server version. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // SupportedEditions - The list of supported database editions. SupportedEditions *[]EditionCapability `json:"supportedEditions,omitempty"` // SupportedElasticPoolEditions - The list of supported elastic pool editions. SupportedElasticPoolEditions *[]ElasticPoolEditionCapability `json:"supportedElasticPoolEditions,omitempty"` }
ServerVersionCapability the server capabilities.
type ServersClient ¶
type ServersClient struct {
BaseClient
}
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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, parameters Server) (result ServersCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates 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. parameters is the requested server resource state.
func (ServersClient) CreateOrUpdatePreparer ¶
func (client ServersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, parameters Server) (*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 ¶
func (client ServersClient) CreateOrUpdateSender(req *http.Request) (future ServersCreateOrUpdateFuture, err error)
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(ctx context.Context, resourceGroupName string, serverName string) (result ServersDeleteFuture, err error)
Delete deletes 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) DeletePreparer ¶
func (client ServersClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ServersClient) DeleteResponder ¶
func (client ServersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ServersClient) DeleteSender ¶
func (client ServersClient) DeleteSender(req *http.Request) (future ServersDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ServersClient) Get ¶
func (client ServersClient) Get(ctx context.Context, resourceGroupName string, serverName string) (result Server, err error)
Get gets 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(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ServersClient) GetResponder ¶
func (client ServersClient) GetResponder(resp *http.Response) (result Server, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ServersClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ServersClient) List ¶
func (client ServersClient) List(ctx context.Context) (result ServerListResultPage, err error)
List gets a list of all servers in the subscription.
func (ServersClient) ListByResourceGroup ¶
func (client ServersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ServerListResultPage, 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(ctx context.Context, resourceGroupName string) (result ServerListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (ServersClient) ListByResourceGroupPreparer ¶
func (client ServersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (ServersClient) ListByResourceGroupResponder ¶
func (client ServersClient) ListByResourceGroupResponder(resp *http.Response) (result ServerListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (ServersClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (ServersClient) ListComplete ¶
func (client ServersClient) ListComplete(ctx context.Context) (result ServerListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (ServersClient) ListPreparer ¶
ListPreparer prepares the List request.
func (ServersClient) ListResponder ¶
func (client ServersClient) ListResponder(resp *http.Response) (result ServerListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ServersClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (ServersClient) Update ¶
func (client ServersClient) Update(ctx context.Context, resourceGroupName string, serverName string, parameters ServerUpdate) (result ServersUpdateFuture, err error)
Update updates 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. parameters is the requested server resource state.
func (ServersClient) UpdatePreparer ¶
func (client ServersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, parameters ServerUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ServersClient) UpdateResponder ¶
func (client ServersClient) UpdateResponder(resp *http.Response) (result Server, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ServersClient) UpdateSender ¶
func (client ServersClient) UpdateSender(req *http.Request) (future ServersUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ServersCreateOrUpdateFuture ¶
ServersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (ServersCreateOrUpdateFuture) Result ¶
func (future ServersCreateOrUpdateFuture) Result(client ServersClient) (s Server, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ServersDeleteFuture ¶
ServersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (ServersDeleteFuture) Result ¶
func (future ServersDeleteFuture) Result(client ServersClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ServersUpdateFuture ¶
ServersUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (ServersUpdateFuture) Result ¶
func (future ServersUpdateFuture) Result(client ServersClient) (s Server, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ServiceObjective ¶
type ServiceObjective struct { autorest.Response `json:"-"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // ServiceObjectiveProperties - Represents the properties of the resource. *ServiceObjectiveProperties `json:"properties,omitempty"` }
ServiceObjective represents a database service objective.
func (*ServiceObjective) UnmarshalJSON ¶
func (so *ServiceObjective) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServiceObjective struct.
type ServiceObjectiveCapability ¶
type ServiceObjectiveCapability struct { // Name - The service objective name. Name *string `json:"name,omitempty"` // Status - The status of the service objective. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // PerformanceLevel - The performance level of the service objective capability. *PerformanceLevel `json:"performanceLevel,omitempty"` // ID - The unique ID of the service objective. ID *uuid.UUID `json:"id,omitempty"` // SupportedMaxSizes - The list of supported maximum database sizes for this service objective. SupportedMaxSizes *[]MaxSizeCapability `json:"supportedMaxSizes,omitempty"` // IncludedMaxSize - The included (free) max size for this service level objective. IncludedMaxSize *MaxSizeCapability `json:"includedMaxSize,omitempty"` }
ServiceObjectiveCapability the service objectives capability.
func (*ServiceObjectiveCapability) UnmarshalJSON ¶
func (soc *ServiceObjectiveCapability) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServiceObjectiveCapability struct.
type ServiceObjectiveListResult ¶
type ServiceObjectiveListResult struct { autorest.Response `json:"-"` // Value - The list of database service objectives. Value *[]ServiceObjective `json:"value,omitempty"` }
ServiceObjectiveListResult 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 ... ServiceObjectiveNameBasic ServiceObjectiveName = "Basic" // ServiceObjectiveNameDS100 ... ServiceObjectiveNameDS100 ServiceObjectiveName = "DS100" // ServiceObjectiveNameDS1000 ... ServiceObjectiveNameDS1000 ServiceObjectiveName = "DS1000" // ServiceObjectiveNameDS1200 ... ServiceObjectiveNameDS1200 ServiceObjectiveName = "DS1200" // ServiceObjectiveNameDS1500 ... ServiceObjectiveNameDS1500 ServiceObjectiveName = "DS1500" // ServiceObjectiveNameDS200 ... ServiceObjectiveNameDS200 ServiceObjectiveName = "DS200" // ServiceObjectiveNameDS2000 ... ServiceObjectiveNameDS2000 ServiceObjectiveName = "DS2000" // ServiceObjectiveNameDS300 ... ServiceObjectiveNameDS300 ServiceObjectiveName = "DS300" // ServiceObjectiveNameDS400 ... ServiceObjectiveNameDS400 ServiceObjectiveName = "DS400" // ServiceObjectiveNameDS500 ... ServiceObjectiveNameDS500 ServiceObjectiveName = "DS500" // ServiceObjectiveNameDS600 ... ServiceObjectiveNameDS600 ServiceObjectiveName = "DS600" // ServiceObjectiveNameDW100 ... ServiceObjectiveNameDW100 ServiceObjectiveName = "DW100" // ServiceObjectiveNameDW1000 ... ServiceObjectiveNameDW1000 ServiceObjectiveName = "DW1000" // ServiceObjectiveNameDW10000c ... ServiceObjectiveNameDW10000c ServiceObjectiveName = "DW10000c" // ServiceObjectiveNameDW1000c ... ServiceObjectiveNameDW1000c ServiceObjectiveName = "DW1000c" // ServiceObjectiveNameDW1200 ... ServiceObjectiveNameDW1200 ServiceObjectiveName = "DW1200" // ServiceObjectiveNameDW1500 ... ServiceObjectiveNameDW1500 ServiceObjectiveName = "DW1500" // ServiceObjectiveNameDW15000c ... ServiceObjectiveNameDW15000c ServiceObjectiveName = "DW15000c" // ServiceObjectiveNameDW1500c ... ServiceObjectiveNameDW1500c ServiceObjectiveName = "DW1500c" // ServiceObjectiveNameDW200 ... ServiceObjectiveNameDW200 ServiceObjectiveName = "DW200" // ServiceObjectiveNameDW2000 ... ServiceObjectiveNameDW2000 ServiceObjectiveName = "DW2000" // ServiceObjectiveNameDW2000c ... ServiceObjectiveNameDW2000c ServiceObjectiveName = "DW2000c" // ServiceObjectiveNameDW2500c ... ServiceObjectiveNameDW2500c ServiceObjectiveName = "DW2500c" // ServiceObjectiveNameDW300 ... ServiceObjectiveNameDW300 ServiceObjectiveName = "DW300" // ServiceObjectiveNameDW3000 ... ServiceObjectiveNameDW3000 ServiceObjectiveName = "DW3000" // ServiceObjectiveNameDW30000c ... ServiceObjectiveNameDW30000c ServiceObjectiveName = "DW30000c" // ServiceObjectiveNameDW3000c ... ServiceObjectiveNameDW3000c ServiceObjectiveName = "DW3000c" // ServiceObjectiveNameDW400 ... ServiceObjectiveNameDW400 ServiceObjectiveName = "DW400" // ServiceObjectiveNameDW500 ... ServiceObjectiveNameDW500 ServiceObjectiveName = "DW500" // ServiceObjectiveNameDW5000c ... ServiceObjectiveNameDW5000c ServiceObjectiveName = "DW5000c" // ServiceObjectiveNameDW600 ... ServiceObjectiveNameDW600 ServiceObjectiveName = "DW600" // ServiceObjectiveNameDW6000 ... ServiceObjectiveNameDW6000 ServiceObjectiveName = "DW6000" // ServiceObjectiveNameDW6000c ... ServiceObjectiveNameDW6000c ServiceObjectiveName = "DW6000c" // ServiceObjectiveNameDW7500c ... ServiceObjectiveNameDW7500c ServiceObjectiveName = "DW7500c" // ServiceObjectiveNameElasticPool ... ServiceObjectiveNameElasticPool ServiceObjectiveName = "ElasticPool" // ServiceObjectiveNameFree ... ServiceObjectiveNameFree ServiceObjectiveName = "Free" // ServiceObjectiveNameP1 ... ServiceObjectiveNameP1 ServiceObjectiveName = "P1" // ServiceObjectiveNameP11 ... ServiceObjectiveNameP11 ServiceObjectiveName = "P11" // ServiceObjectiveNameP15 ... ServiceObjectiveNameP15 ServiceObjectiveName = "P15" // ServiceObjectiveNameP2 ... ServiceObjectiveNameP2 ServiceObjectiveName = "P2" // ServiceObjectiveNameP3 ... ServiceObjectiveNameP3 ServiceObjectiveName = "P3" // ServiceObjectiveNameP4 ... ServiceObjectiveNameP4 ServiceObjectiveName = "P4" // ServiceObjectiveNameP6 ... ServiceObjectiveNameP6 ServiceObjectiveName = "P6" // ServiceObjectiveNamePRS1 ... ServiceObjectiveNamePRS1 ServiceObjectiveName = "PRS1" // ServiceObjectiveNamePRS2 ... ServiceObjectiveNamePRS2 ServiceObjectiveName = "PRS2" // ServiceObjectiveNamePRS4 ... ServiceObjectiveNamePRS4 ServiceObjectiveName = "PRS4" // ServiceObjectiveNamePRS6 ... ServiceObjectiveNamePRS6 ServiceObjectiveName = "PRS6" // ServiceObjectiveNameS0 ... ServiceObjectiveNameS0 ServiceObjectiveName = "S0" // ServiceObjectiveNameS1 ... ServiceObjectiveNameS1 ServiceObjectiveName = "S1" // ServiceObjectiveNameS12 ... ServiceObjectiveNameS12 ServiceObjectiveName = "S12" // ServiceObjectiveNameS2 ... ServiceObjectiveNameS2 ServiceObjectiveName = "S2" // ServiceObjectiveNameS3 ... ServiceObjectiveNameS3 ServiceObjectiveName = "S3" // ServiceObjectiveNameS4 ... ServiceObjectiveNameS4 ServiceObjectiveName = "S4" // ServiceObjectiveNameS6 ... ServiceObjectiveNameS6 ServiceObjectiveName = "S6" // ServiceObjectiveNameS7 ... ServiceObjectiveNameS7 ServiceObjectiveName = "S7" // ServiceObjectiveNameS9 ... ServiceObjectiveNameS9 ServiceObjectiveName = "S9" // ServiceObjectiveNameSystem ... ServiceObjectiveNameSystem ServiceObjectiveName = "System" // ServiceObjectiveNameSystem0 ... ServiceObjectiveNameSystem0 ServiceObjectiveName = "System0" // ServiceObjectiveNameSystem1 ... ServiceObjectiveNameSystem1 ServiceObjectiveName = "System1" // ServiceObjectiveNameSystem2 ... ServiceObjectiveNameSystem2 ServiceObjectiveName = "System2" // ServiceObjectiveNameSystem2L ... ServiceObjectiveNameSystem2L ServiceObjectiveName = "System2L" // ServiceObjectiveNameSystem3 ... ServiceObjectiveNameSystem3 ServiceObjectiveName = "System3" // ServiceObjectiveNameSystem3L ... ServiceObjectiveNameSystem3L ServiceObjectiveName = "System3L" // ServiceObjectiveNameSystem4 ... ServiceObjectiveNameSystem4 ServiceObjectiveName = "System4" // ServiceObjectiveNameSystem4L ... ServiceObjectiveNameSystem4L ServiceObjectiveName = "System4L" )
type ServiceObjectiveProperties ¶
type ServiceObjectiveProperties struct { // ServiceObjectiveName - The name for the service objective. ServiceObjectiveName *string `json:"serviceObjectiveName,omitempty"` // IsDefault - Gets whether the service level objective is the default service objective. IsDefault *bool `json:"isDefault,omitempty"` // IsSystem - Gets whether the service level objective is a system service objective. IsSystem *bool `json:"isSystem,omitempty"` // Description - The description for the service level objective. Description *string `json:"description,omitempty"` // Enabled - Gets whether the service level objective is enabled. Enabled *bool `json:"enabled,omitempty"` }
ServiceObjectiveProperties represents the properties of a database service objective.
type ServiceObjectivesClient ¶
type ServiceObjectivesClient struct {
BaseClient
}
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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // ServiceTierAdvisorProperties - The properites representing the resource. *ServiceTierAdvisorProperties `json:"properties,omitempty"` }
ServiceTierAdvisor represents a Service Tier Advisor.
func (*ServiceTierAdvisor) UnmarshalJSON ¶
func (sta *ServiceTierAdvisor) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServiceTierAdvisor struct.
type ServiceTierAdvisorListResult ¶
type ServiceTierAdvisorListResult struct { autorest.Response `json:"-"` // Value - The list of service tier advisors for specified database. Value *[]ServiceTierAdvisor `json:"value,omitempty"` }
ServiceTierAdvisorListResult represents the response to a list service tier advisor request.
type ServiceTierAdvisorProperties ¶
type ServiceTierAdvisorProperties struct { // ObservationPeriodStart - The observation period start (ISO8601 format). ObservationPeriodStart *date.Time `json:"observationPeriodStart,omitempty"` // ObservationPeriodEnd - The observation period start (ISO8601 format). ObservationPeriodEnd *date.Time `json:"observationPeriodEnd,omitempty"` // ActiveTimeRatio - The activeTimeRatio for service tier advisor. ActiveTimeRatio *float64 `json:"activeTimeRatio,omitempty"` // MinDtu - Gets or sets minDtu for service tier advisor. MinDtu *float64 `json:"minDtu,omitempty"` // AvgDtu - Gets or sets avgDtu for service tier advisor. AvgDtu *float64 `json:"avgDtu,omitempty"` // MaxDtu - Gets or sets maxDtu for service tier advisor. MaxDtu *float64 `json:"maxDtu,omitempty"` // MaxSizeInGB - Gets or sets maxSizeInGB for service tier advisor. MaxSizeInGB *float64 `json:"maxSizeInGB,omitempty"` // ServiceLevelObjectiveUsageMetrics - Gets or sets serviceLevelObjectiveUsageMetrics for the service tier advisor. ServiceLevelObjectiveUsageMetrics *[]SloUsageMetric `json:"serviceLevelObjectiveUsageMetrics,omitempty"` // CurrentServiceLevelObjective - Gets or sets currentServiceLevelObjective for service tier advisor. CurrentServiceLevelObjective *string `json:"currentServiceLevelObjective,omitempty"` // CurrentServiceLevelObjectiveID - Gets or sets currentServiceLevelObjectiveId for service tier advisor. CurrentServiceLevelObjectiveID *uuid.UUID `json:"currentServiceLevelObjectiveId,omitempty"` // UsageBasedRecommendationServiceLevelObjective - Gets or sets usageBasedRecommendationServiceLevelObjective for service tier advisor. UsageBasedRecommendationServiceLevelObjective *string `json:"usageBasedRecommendationServiceLevelObjective,omitempty"` // UsageBasedRecommendationServiceLevelObjectiveID - Gets or sets usageBasedRecommendationServiceLevelObjectiveId for service tier advisor. UsageBasedRecommendationServiceLevelObjectiveID *uuid.UUID `json:"usageBasedRecommendationServiceLevelObjectiveId,omitempty"` // DatabaseSizeBasedRecommendationServiceLevelObjective - Gets or sets databaseSizeBasedRecommendationServiceLevelObjective for service tier advisor. DatabaseSizeBasedRecommendationServiceLevelObjective *string `json:"databaseSizeBasedRecommendationServiceLevelObjective,omitempty"` // DatabaseSizeBasedRecommendationServiceLevelObjectiveID - Gets or sets databaseSizeBasedRecommendationServiceLevelObjectiveId for service tier advisor. DatabaseSizeBasedRecommendationServiceLevelObjectiveID *uuid.UUID `json:"databaseSizeBasedRecommendationServiceLevelObjectiveId,omitempty"` // DisasterPlanBasedRecommendationServiceLevelObjective - Gets or sets disasterPlanBasedRecommendationServiceLevelObjective for service tier advisor. DisasterPlanBasedRecommendationServiceLevelObjective *string `json:"disasterPlanBasedRecommendationServiceLevelObjective,omitempty"` // DisasterPlanBasedRecommendationServiceLevelObjectiveID - Gets or sets disasterPlanBasedRecommendationServiceLevelObjectiveId for service tier advisor. DisasterPlanBasedRecommendationServiceLevelObjectiveID *uuid.UUID `json:"disasterPlanBasedRecommendationServiceLevelObjectiveId,omitempty"` // OverallRecommendationServiceLevelObjective - Gets or sets overallRecommendationServiceLevelObjective for service tier advisor. OverallRecommendationServiceLevelObjective *string `json:"overallRecommendationServiceLevelObjective,omitempty"` // OverallRecommendationServiceLevelObjectiveID - Gets or sets overallRecommendationServiceLevelObjectiveId for service tier advisor. OverallRecommendationServiceLevelObjectiveID *uuid.UUID `json:"overallRecommendationServiceLevelObjectiveId,omitempty"` // Confidence - Gets or sets confidence for service tier advisor. Confidence *float64 `json:"confidence,omitempty"` }
ServiceTierAdvisorProperties represents the properties of a Service Tier Advisor.
type ServiceTierAdvisorsClient ¶
type ServiceTierAdvisorsClient struct {
BaseClient
}
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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 - The serviceLevelObjective for SLO usage metric. Possible values include: 'ServiceObjectiveNameSystem', 'ServiceObjectiveNameSystem0', 'ServiceObjectiveNameSystem1', 'ServiceObjectiveNameSystem2', 'ServiceObjectiveNameSystem3', 'ServiceObjectiveNameSystem4', 'ServiceObjectiveNameSystem2L', 'ServiceObjectiveNameSystem3L', 'ServiceObjectiveNameSystem4L', 'ServiceObjectiveNameFree', 'ServiceObjectiveNameBasic', 'ServiceObjectiveNameS0', 'ServiceObjectiveNameS1', 'ServiceObjectiveNameS2', 'ServiceObjectiveNameS3', 'ServiceObjectiveNameS4', 'ServiceObjectiveNameS6', 'ServiceObjectiveNameS7', 'ServiceObjectiveNameS9', 'ServiceObjectiveNameS12', 'ServiceObjectiveNameP1', 'ServiceObjectiveNameP2', 'ServiceObjectiveNameP3', 'ServiceObjectiveNameP4', 'ServiceObjectiveNameP6', 'ServiceObjectiveNameP11', 'ServiceObjectiveNameP15', 'ServiceObjectiveNamePRS1', 'ServiceObjectiveNamePRS2', 'ServiceObjectiveNamePRS4', 'ServiceObjectiveNamePRS6', 'ServiceObjectiveNameDW100', 'ServiceObjectiveNameDW200', 'ServiceObjectiveNameDW300', 'ServiceObjectiveNameDW400', 'ServiceObjectiveNameDW500', 'ServiceObjectiveNameDW600', 'ServiceObjectiveNameDW1000', 'ServiceObjectiveNameDW1200', 'ServiceObjectiveNameDW1000c', 'ServiceObjectiveNameDW1500', 'ServiceObjectiveNameDW1500c', 'ServiceObjectiveNameDW2000', 'ServiceObjectiveNameDW2000c', 'ServiceObjectiveNameDW3000', 'ServiceObjectiveNameDW2500c', 'ServiceObjectiveNameDW3000c', 'ServiceObjectiveNameDW6000', 'ServiceObjectiveNameDW5000c', 'ServiceObjectiveNameDW6000c', 'ServiceObjectiveNameDW7500c', 'ServiceObjectiveNameDW10000c', 'ServiceObjectiveNameDW15000c', 'ServiceObjectiveNameDW30000c', 'ServiceObjectiveNameDS100', 'ServiceObjectiveNameDS200', 'ServiceObjectiveNameDS300', 'ServiceObjectiveNameDS400', 'ServiceObjectiveNameDS500', 'ServiceObjectiveNameDS600', 'ServiceObjectiveNameDS1000', 'ServiceObjectiveNameDS1200', 'ServiceObjectiveNameDS1500', 'ServiceObjectiveNameDS2000', 'ServiceObjectiveNameElasticPool' ServiceLevelObjective ServiceObjectiveName `json:"serviceLevelObjective,omitempty"` // ServiceLevelObjectiveID - The serviceLevelObjectiveId for SLO usage metric. ServiceLevelObjectiveID *uuid.UUID `json:"serviceLevelObjectiveId,omitempty"` // InRangeTimeRatio - Gets or sets inRangeTimeRatio for SLO usage metric. InRangeTimeRatio *float64 `json:"inRangeTimeRatio,omitempty"` }
SloUsageMetric a Slo Usage Metric.
type StorageKeyType ¶
type StorageKeyType string
StorageKeyType enumerates the values for storage key type.
const ( StorageKeyType = "SharedAccessKey" // StorageAccessKey ... StorageAccessKey StorageKeyType = "StorageAccessKey" )SharedAccessKey
type SubscriptionUsage ¶
type SubscriptionUsage struct { autorest.Response `json:"-"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // SubscriptionUsageProperties - Resource properties. *SubscriptionUsageProperties `json:"properties,omitempty"` }
SubscriptionUsage usage Metric of a Subscription in a Location.
func (*SubscriptionUsage) UnmarshalJSON ¶
func (su *SubscriptionUsage) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SubscriptionUsage struct.
type SubscriptionUsageListResult ¶
type SubscriptionUsageListResult struct { autorest.Response `json:"-"` // Value - Array of results. Value *[]SubscriptionUsage `json:"value,omitempty"` // NextLink - Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
SubscriptionUsageListResult a list of subscription usage metrics in a location.
func (SubscriptionUsageListResult) IsEmpty ¶
func (sulr SubscriptionUsageListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type SubscriptionUsageListResultIterator ¶
type SubscriptionUsageListResultIterator struct {
// contains filtered or unexported fields
}
SubscriptionUsageListResultIterator provides access to a complete listing of SubscriptionUsage values.
func (*SubscriptionUsageListResultIterator) Next ¶
func (iter *SubscriptionUsageListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (SubscriptionUsageListResultIterator) NotDone ¶
func (iter SubscriptionUsageListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SubscriptionUsageListResultIterator) Response ¶
func (iter SubscriptionUsageListResultIterator) Response() SubscriptionUsageListResult
Response returns the raw server response from the last page request.
func (SubscriptionUsageListResultIterator) Value ¶
func (iter SubscriptionUsageListResultIterator) Value() SubscriptionUsage
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SubscriptionUsageListResultPage ¶
type SubscriptionUsageListResultPage struct {
// contains filtered or unexported fields
}
SubscriptionUsageListResultPage contains a page of SubscriptionUsage values.
func (*SubscriptionUsageListResultPage) Next ¶
func (page *SubscriptionUsageListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (SubscriptionUsageListResultPage) NotDone ¶
func (page SubscriptionUsageListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SubscriptionUsageListResultPage) Response ¶
func (page SubscriptionUsageListResultPage) Response() SubscriptionUsageListResult
Response returns the raw server response from the last page request.
func (SubscriptionUsageListResultPage) Values ¶
func (page SubscriptionUsageListResultPage) Values() []SubscriptionUsage
Values returns the slice of values for the current page or nil if there are no values.
type SubscriptionUsageProperties ¶
type SubscriptionUsageProperties struct { // DisplayName - User-readable name of the metric. DisplayName *string `json:"displayName,omitempty"` // CurrentValue - Current value of the metric. CurrentValue *float64 `json:"currentValue,omitempty"` // Limit - Boundary value of the metric. Limit *float64 `json:"limit,omitempty"` // Unit - Unit of the metric. Unit *string `json:"unit,omitempty"` }
SubscriptionUsageProperties properties of a subscription usage.
type SubscriptionUsagesClient ¶
type SubscriptionUsagesClient struct {
BaseClient
}
SubscriptionUsagesClient 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 NewSubscriptionUsagesClient ¶
func NewSubscriptionUsagesClient(subscriptionID string) SubscriptionUsagesClient
NewSubscriptionUsagesClient creates an instance of the SubscriptionUsagesClient client.
func NewSubscriptionUsagesClientWithBaseURI ¶
func NewSubscriptionUsagesClientWithBaseURI(baseURI string, subscriptionID string) SubscriptionUsagesClient
NewSubscriptionUsagesClientWithBaseURI creates an instance of the SubscriptionUsagesClient client.
func (SubscriptionUsagesClient) Get ¶
func (client SubscriptionUsagesClient) Get(ctx context.Context, locationName string, usageName string) (result SubscriptionUsage, err error)
Get gets a subscription usage metric.
locationName is the name of the region where the resource is located. usageName is name of usage metric to return.
func (SubscriptionUsagesClient) GetPreparer ¶
func (client SubscriptionUsagesClient) GetPreparer(ctx context.Context, locationName string, usageName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (SubscriptionUsagesClient) GetResponder ¶
func (client SubscriptionUsagesClient) GetResponder(resp *http.Response) (result SubscriptionUsage, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (SubscriptionUsagesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (SubscriptionUsagesClient) ListByLocation ¶
func (client SubscriptionUsagesClient) ListByLocation(ctx context.Context, locationName string) (result SubscriptionUsageListResultPage, err error)
ListByLocation gets all subscription usage metrics in a given location.
locationName is the name of the region where the resource is located.
func (SubscriptionUsagesClient) ListByLocationComplete ¶
func (client SubscriptionUsagesClient) ListByLocationComplete(ctx context.Context, locationName string) (result SubscriptionUsageListResultIterator, err error)
ListByLocationComplete enumerates all values, automatically crossing page boundaries as required.
func (SubscriptionUsagesClient) ListByLocationPreparer ¶
func (client SubscriptionUsagesClient) ListByLocationPreparer(ctx context.Context, locationName string) (*http.Request, error)
ListByLocationPreparer prepares the ListByLocation request.
func (SubscriptionUsagesClient) ListByLocationResponder ¶
func (client SubscriptionUsagesClient) ListByLocationResponder(resp *http.Response) (result SubscriptionUsageListResult, err error)
ListByLocationResponder handles the response to the ListByLocation request. The method always closes the http.Response Body.
func (SubscriptionUsagesClient) ListByLocationSender ¶
func (client SubscriptionUsagesClient) ListByLocationSender(req *http.Request) (*http.Response, error)
ListByLocationSender sends the ListByLocation request. The method will close the http.Response Body if it receives an error.
type SyncAgent ¶
type SyncAgent struct { autorest.Response `json:"-"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // SyncAgentProperties - Resource properties. *SyncAgentProperties `json:"properties,omitempty"` }
SyncAgent an Azure SQL Database sync agent.
func (*SyncAgent) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for SyncAgent struct.
type SyncAgentKeyProperties ¶
type SyncAgentKeyProperties struct { autorest.Response `json:"-"` // SyncAgentKey - Key of sync agent. SyncAgentKey *string `json:"syncAgentKey,omitempty"` }
SyncAgentKeyProperties properties of an Azure SQL Database sync agent key.
type SyncAgentLinkedDatabase ¶
type SyncAgentLinkedDatabase struct { // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // SyncAgentLinkedDatabaseProperties - Resource properties. *SyncAgentLinkedDatabaseProperties `json:"properties,omitempty"` }
SyncAgentLinkedDatabase an Azure SQL Database sync agent linked database.
func (*SyncAgentLinkedDatabase) UnmarshalJSON ¶
func (sald *SyncAgentLinkedDatabase) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SyncAgentLinkedDatabase struct.
type SyncAgentLinkedDatabaseListResult ¶
type SyncAgentLinkedDatabaseListResult struct { autorest.Response `json:"-"` // Value - Array of results. Value *[]SyncAgentLinkedDatabase `json:"value,omitempty"` // NextLink - Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
SyncAgentLinkedDatabaseListResult a list of sync agent linked databases.
func (SyncAgentLinkedDatabaseListResult) IsEmpty ¶
func (saldlr SyncAgentLinkedDatabaseListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type SyncAgentLinkedDatabaseListResultIterator ¶
type SyncAgentLinkedDatabaseListResultIterator struct {
// contains filtered or unexported fields
}
SyncAgentLinkedDatabaseListResultIterator provides access to a complete listing of SyncAgentLinkedDatabase values.
func (*SyncAgentLinkedDatabaseListResultIterator) Next ¶
func (iter *SyncAgentLinkedDatabaseListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (SyncAgentLinkedDatabaseListResultIterator) NotDone ¶
func (iter SyncAgentLinkedDatabaseListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SyncAgentLinkedDatabaseListResultIterator) Response ¶
func (iter SyncAgentLinkedDatabaseListResultIterator) Response() SyncAgentLinkedDatabaseListResult
Response returns the raw server response from the last page request.
func (SyncAgentLinkedDatabaseListResultIterator) Value ¶
func (iter SyncAgentLinkedDatabaseListResultIterator) Value() SyncAgentLinkedDatabase
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SyncAgentLinkedDatabaseListResultPage ¶
type SyncAgentLinkedDatabaseListResultPage struct {
// contains filtered or unexported fields
}
SyncAgentLinkedDatabaseListResultPage contains a page of SyncAgentLinkedDatabase values.
func (*SyncAgentLinkedDatabaseListResultPage) Next ¶
func (page *SyncAgentLinkedDatabaseListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (SyncAgentLinkedDatabaseListResultPage) NotDone ¶
func (page SyncAgentLinkedDatabaseListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SyncAgentLinkedDatabaseListResultPage) Response ¶
func (page SyncAgentLinkedDatabaseListResultPage) Response() SyncAgentLinkedDatabaseListResult
Response returns the raw server response from the last page request.
func (SyncAgentLinkedDatabaseListResultPage) Values ¶
func (page SyncAgentLinkedDatabaseListResultPage) Values() []SyncAgentLinkedDatabase
Values returns the slice of values for the current page or nil if there are no values.
type SyncAgentLinkedDatabaseProperties ¶
type SyncAgentLinkedDatabaseProperties struct { // DatabaseType - Type of the sync agent linked database. Possible values include: 'AzureSQLDatabase', 'SQLServerDatabase' DatabaseType SyncMemberDbType `json:"databaseType,omitempty"` // DatabaseID - Id of the sync agent linked database. DatabaseID *string `json:"databaseId,omitempty"` // Description - Description of the sync agent linked database. Description *string `json:"description,omitempty"` // ServerName - Server name of the sync agent linked database. ServerName *string `json:"serverName,omitempty"` // DatabaseName - Database name of the sync agent linked database. DatabaseName *string `json:"databaseName,omitempty"` // UserName - User name of the sync agent linked database. UserName *string `json:"userName,omitempty"` }
SyncAgentLinkedDatabaseProperties properties of an Azure SQL Database sync agent linked database.
type SyncAgentListResult ¶
type SyncAgentListResult struct { autorest.Response `json:"-"` // Value - Array of results. Value *[]SyncAgent `json:"value,omitempty"` // NextLink - Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
SyncAgentListResult a list of sync agents.
func (SyncAgentListResult) IsEmpty ¶
func (salr SyncAgentListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type SyncAgentListResultIterator ¶
type SyncAgentListResultIterator struct {
// contains filtered or unexported fields
}
SyncAgentListResultIterator provides access to a complete listing of SyncAgent values.
func (*SyncAgentListResultIterator) Next ¶
func (iter *SyncAgentListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (SyncAgentListResultIterator) NotDone ¶
func (iter SyncAgentListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SyncAgentListResultIterator) Response ¶
func (iter SyncAgentListResultIterator) Response() SyncAgentListResult
Response returns the raw server response from the last page request.
func (SyncAgentListResultIterator) Value ¶
func (iter SyncAgentListResultIterator) Value() SyncAgent
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SyncAgentListResultPage ¶
type SyncAgentListResultPage struct {
// contains filtered or unexported fields
}
SyncAgentListResultPage contains a page of SyncAgent values.
func (*SyncAgentListResultPage) Next ¶
func (page *SyncAgentListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (SyncAgentListResultPage) NotDone ¶
func (page SyncAgentListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SyncAgentListResultPage) Response ¶
func (page SyncAgentListResultPage) Response() SyncAgentListResult
Response returns the raw server response from the last page request.
func (SyncAgentListResultPage) Values ¶
func (page SyncAgentListResultPage) Values() []SyncAgent
Values returns the slice of values for the current page or nil if there are no values.
type SyncAgentProperties ¶
type SyncAgentProperties struct { // Name - Name of the sync agent. Name *string `json:"name,omitempty"` // SyncDatabaseID - ARM resource id of the sync database in the sync agent. SyncDatabaseID *string `json:"syncDatabaseId,omitempty"` // LastAliveTime - Last alive time of the sync agent. LastAliveTime *date.Time `json:"lastAliveTime,omitempty"` // State - State of the sync agent. Possible values include: 'Online', 'Offline', 'NeverConnected' State SyncAgentState `json:"state,omitempty"` // IsUpToDate - If the sync agent version is up to date. IsUpToDate *bool `json:"isUpToDate,omitempty"` // ExpiryTime - Expiration time of the sync agent version. ExpiryTime *date.Time `json:"expiryTime,omitempty"` // Version - Version of the sync agent. Version *string `json:"version,omitempty"` }
SyncAgentProperties properties of an Azure SQL Database sync agent.
type SyncAgentState ¶
type SyncAgentState string
SyncAgentState enumerates the values for sync agent state.
const ( // NeverConnected ... NeverConnected SyncAgentState = "NeverConnected" // Offline ... Offline SyncAgentState = "Offline" // Online ... Online SyncAgentState = "Online" )
type SyncAgentsClient ¶
type SyncAgentsClient struct {
BaseClient
}
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(ctx context.Context, resourceGroupName string, serverName string, syncAgentName string, parameters SyncAgent) (result SyncAgentsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates 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. parameters is the requested sync agent resource state.
func (SyncAgentsClient) CreateOrUpdatePreparer ¶
func (client SyncAgentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, syncAgentName string, parameters SyncAgent) (*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 ¶
func (client SyncAgentsClient) CreateOrUpdateSender(req *http.Request) (future SyncAgentsCreateOrUpdateFuture, err error)
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(ctx context.Context, resourceGroupName string, serverName string, syncAgentName string) (result SyncAgentsDeleteFuture, err error)
Delete deletes 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) DeletePreparer ¶
func (client SyncAgentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, syncAgentName string) (*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 ¶
func (client SyncAgentsClient) DeleteSender(req *http.Request) (future SyncAgentsDeleteFuture, err error)
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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string) (result SyncAgentListResultPage, 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(ctx context.Context, resourceGroupName string, serverName string) (result SyncAgentListResultIterator, err error)
ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
func (SyncAgentsClient) ListByServerPreparer ¶
func (client SyncAgentsClient) ListByServerPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, syncAgentName string) (result SyncAgentLinkedDatabaseListResultPage, 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(ctx context.Context, resourceGroupName string, serverName string, syncAgentName string) (result SyncAgentLinkedDatabaseListResultIterator, err error)
ListLinkedDatabasesComplete enumerates all values, automatically crossing page boundaries as required.
func (SyncAgentsClient) ListLinkedDatabasesPreparer ¶
func (client SyncAgentsClient) ListLinkedDatabasesPreparer(ctx context.Context, 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 SyncAgentsCreateOrUpdateFuture ¶
type SyncAgentsCreateOrUpdateFuture struct { azure.Future // contains filtered or unexported fields }
SyncAgentsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (SyncAgentsCreateOrUpdateFuture) Result ¶
func (future SyncAgentsCreateOrUpdateFuture) Result(client SyncAgentsClient) (sa SyncAgent, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type SyncAgentsDeleteFuture ¶
SyncAgentsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (SyncAgentsDeleteFuture) Result ¶
func (future SyncAgentsDeleteFuture) Result(client SyncAgentsClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type SyncConflictResolutionPolicy ¶
type SyncConflictResolutionPolicy string
SyncConflictResolutionPolicy enumerates the values for sync conflict resolution policy.
const ( // HubWin ... HubWin SyncConflictResolutionPolicy = "HubWin" // MemberWin ... MemberWin SyncConflictResolutionPolicy = "MemberWin" )
type SyncDatabaseIDListResult ¶
type SyncDatabaseIDListResult struct { autorest.Response `json:"-"` // Value - Array of results. Value *[]SyncDatabaseIDProperties `json:"value,omitempty"` // NextLink - Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
SyncDatabaseIDListResult a list of sync database ID properties.
func (SyncDatabaseIDListResult) IsEmpty ¶
func (sdilr SyncDatabaseIDListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type SyncDatabaseIDListResultIterator ¶
type SyncDatabaseIDListResultIterator struct {
// contains filtered or unexported fields
}
SyncDatabaseIDListResultIterator provides access to a complete listing of SyncDatabaseIDProperties values.
func (*SyncDatabaseIDListResultIterator) Next ¶
func (iter *SyncDatabaseIDListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (SyncDatabaseIDListResultIterator) NotDone ¶
func (iter SyncDatabaseIDListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SyncDatabaseIDListResultIterator) Response ¶
func (iter SyncDatabaseIDListResultIterator) Response() SyncDatabaseIDListResult
Response returns the raw server response from the last page request.
func (SyncDatabaseIDListResultIterator) Value ¶
func (iter SyncDatabaseIDListResultIterator) Value() SyncDatabaseIDProperties
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SyncDatabaseIDListResultPage ¶
type SyncDatabaseIDListResultPage struct {
// contains filtered or unexported fields
}
SyncDatabaseIDListResultPage contains a page of SyncDatabaseIDProperties values.
func (*SyncDatabaseIDListResultPage) Next ¶
func (page *SyncDatabaseIDListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (SyncDatabaseIDListResultPage) NotDone ¶
func (page SyncDatabaseIDListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SyncDatabaseIDListResultPage) Response ¶
func (page SyncDatabaseIDListResultPage) Response() SyncDatabaseIDListResult
Response returns the raw server response from the last page request.
func (SyncDatabaseIDListResultPage) Values ¶
func (page SyncDatabaseIDListResultPage) Values() []SyncDatabaseIDProperties
Values returns the slice of values for the current page or nil if there are no values.
type SyncDatabaseIDProperties ¶
type SyncDatabaseIDProperties struct { // ID - ARM resource id of sync database. ID *string `json:"id,omitempty"` }
SyncDatabaseIDProperties properties of the sync database id.
type SyncDirection ¶
type SyncDirection string
SyncDirection enumerates the values for sync direction.
const ( // Bidirectional ... Bidirectional SyncDirection = "Bidirectional" // OneWayHubToMember ... OneWayHubToMember SyncDirection = "OneWayHubToMember" // OneWayMemberToHub ... OneWayMemberToHub SyncDirection = "OneWayMemberToHub" )
type SyncFullSchemaProperties ¶
type SyncFullSchemaProperties struct { // Tables - List of tables in the database full schema. Tables *[]SyncFullSchemaTable `json:"tables,omitempty"` // LastUpdateTime - Last update time of the database schema. LastUpdateTime *date.Time `json:"lastUpdateTime,omitempty"` }
SyncFullSchemaProperties properties of the database full schema.
type SyncFullSchemaPropertiesListResult ¶
type SyncFullSchemaPropertiesListResult struct { autorest.Response `json:"-"` // Value - Array of results. Value *[]SyncFullSchemaProperties `json:"value,omitempty"` // NextLink - Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
SyncFullSchemaPropertiesListResult a list of sync schema properties.
func (SyncFullSchemaPropertiesListResult) IsEmpty ¶
func (sfsplr SyncFullSchemaPropertiesListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type SyncFullSchemaPropertiesListResultIterator ¶
type SyncFullSchemaPropertiesListResultIterator struct {
// contains filtered or unexported fields
}
SyncFullSchemaPropertiesListResultIterator provides access to a complete listing of SyncFullSchemaProperties values.
func (*SyncFullSchemaPropertiesListResultIterator) Next ¶
func (iter *SyncFullSchemaPropertiesListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (SyncFullSchemaPropertiesListResultIterator) NotDone ¶
func (iter SyncFullSchemaPropertiesListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SyncFullSchemaPropertiesListResultIterator) Response ¶
func (iter SyncFullSchemaPropertiesListResultIterator) Response() SyncFullSchemaPropertiesListResult
Response returns the raw server response from the last page request.
func (SyncFullSchemaPropertiesListResultIterator) Value ¶
func (iter SyncFullSchemaPropertiesListResultIterator) Value() SyncFullSchemaProperties
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SyncFullSchemaPropertiesListResultPage ¶
type SyncFullSchemaPropertiesListResultPage struct {
// contains filtered or unexported fields
}
SyncFullSchemaPropertiesListResultPage contains a page of SyncFullSchemaProperties values.
func (*SyncFullSchemaPropertiesListResultPage) Next ¶
func (page *SyncFullSchemaPropertiesListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (SyncFullSchemaPropertiesListResultPage) NotDone ¶
func (page SyncFullSchemaPropertiesListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SyncFullSchemaPropertiesListResultPage) Response ¶
func (page SyncFullSchemaPropertiesListResultPage) Response() SyncFullSchemaPropertiesListResult
Response returns the raw server response from the last page request.
func (SyncFullSchemaPropertiesListResultPage) Values ¶
func (page SyncFullSchemaPropertiesListResultPage) Values() []SyncFullSchemaProperties
Values returns the slice of values for the current page or nil if there are no values.
type SyncFullSchemaTable ¶
type SyncFullSchemaTable struct { // Columns - List of columns in the table of database full schema. Columns *[]SyncFullSchemaTableColumn `json:"columns,omitempty"` // ErrorID - Error id of the table. ErrorID *string `json:"errorId,omitempty"` // HasError - If there is error in the table. HasError *bool `json:"hasError,omitempty"` // Name - Name of the table. Name *string `json:"name,omitempty"` // QuotedName - Quoted name of the table. QuotedName *string `json:"quotedName,omitempty"` }
SyncFullSchemaTable properties of the table in the database full schema.
type SyncFullSchemaTableColumn ¶
type SyncFullSchemaTableColumn struct { // DataSize - Data size of the column. DataSize *string `json:"dataSize,omitempty"` // DataType - Data type of the column. DataType *string `json:"dataType,omitempty"` // ErrorID - Error id of the column. ErrorID *string `json:"errorId,omitempty"` // HasError - If there is error in the table. HasError *bool `json:"hasError,omitempty"` // IsPrimaryKey - If it is the primary key of the table. IsPrimaryKey *bool `json:"isPrimaryKey,omitempty"` // Name - Name of the column. Name *string `json:"name,omitempty"` // QuotedName - Quoted name of the column. QuotedName *string `json:"quotedName,omitempty"` }
SyncFullSchemaTableColumn properties of the column in the table of database full schema.
type SyncGroup ¶
type SyncGroup struct { autorest.Response `json:"-"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // SyncGroupProperties - Resource properties. *SyncGroupProperties `json:"properties,omitempty"` }
SyncGroup an Azure SQL Database sync group.
func (*SyncGroup) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for SyncGroup struct.
type SyncGroupListResult ¶
type SyncGroupListResult struct { autorest.Response `json:"-"` // Value - Array of results. Value *[]SyncGroup `json:"value,omitempty"` // NextLink - Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
SyncGroupListResult a list of sync groups.
func (SyncGroupListResult) IsEmpty ¶
func (sglr SyncGroupListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type SyncGroupListResultIterator ¶
type SyncGroupListResultIterator struct {
// contains filtered or unexported fields
}
SyncGroupListResultIterator provides access to a complete listing of SyncGroup values.
func (*SyncGroupListResultIterator) Next ¶
func (iter *SyncGroupListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (SyncGroupListResultIterator) NotDone ¶
func (iter SyncGroupListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SyncGroupListResultIterator) Response ¶
func (iter SyncGroupListResultIterator) Response() SyncGroupListResult
Response returns the raw server response from the last page request.
func (SyncGroupListResultIterator) Value ¶
func (iter SyncGroupListResultIterator) Value() SyncGroup
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SyncGroupListResultPage ¶
type SyncGroupListResultPage struct {
// contains filtered or unexported fields
}
SyncGroupListResultPage contains a page of SyncGroup values.
func (*SyncGroupListResultPage) Next ¶
func (page *SyncGroupListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (SyncGroupListResultPage) NotDone ¶
func (page SyncGroupListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SyncGroupListResultPage) Response ¶
func (page SyncGroupListResultPage) Response() SyncGroupListResult
Response returns the raw server response from the last page request.
func (SyncGroupListResultPage) Values ¶
func (page SyncGroupListResultPage) Values() []SyncGroup
Values returns the slice of values for the current page or nil if there are no values.
type SyncGroupLogListResult ¶
type SyncGroupLogListResult struct { autorest.Response `json:"-"` // Value - Array of results. Value *[]SyncGroupLogProperties `json:"value,omitempty"` // NextLink - Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
SyncGroupLogListResult a list of sync group log properties.
func (SyncGroupLogListResult) IsEmpty ¶
func (sgllr SyncGroupLogListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type SyncGroupLogListResultIterator ¶
type SyncGroupLogListResultIterator struct {
// contains filtered or unexported fields
}
SyncGroupLogListResultIterator provides access to a complete listing of SyncGroupLogProperties values.
func (*SyncGroupLogListResultIterator) Next ¶
func (iter *SyncGroupLogListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (SyncGroupLogListResultIterator) NotDone ¶
func (iter SyncGroupLogListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SyncGroupLogListResultIterator) Response ¶
func (iter SyncGroupLogListResultIterator) Response() SyncGroupLogListResult
Response returns the raw server response from the last page request.
func (SyncGroupLogListResultIterator) Value ¶
func (iter SyncGroupLogListResultIterator) Value() SyncGroupLogProperties
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SyncGroupLogListResultPage ¶
type SyncGroupLogListResultPage struct {
// contains filtered or unexported fields
}
SyncGroupLogListResultPage contains a page of SyncGroupLogProperties values.
func (*SyncGroupLogListResultPage) Next ¶
func (page *SyncGroupLogListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (SyncGroupLogListResultPage) NotDone ¶
func (page SyncGroupLogListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SyncGroupLogListResultPage) Response ¶
func (page SyncGroupLogListResultPage) Response() SyncGroupLogListResult
Response returns the raw server response from the last page request.
func (SyncGroupLogListResultPage) Values ¶
func (page SyncGroupLogListResultPage) Values() []SyncGroupLogProperties
Values returns the slice of values for the current page or nil if there are no values.
type SyncGroupLogProperties ¶
type SyncGroupLogProperties struct { // Timestamp - Timestamp of the sync group log. Timestamp *date.Time `json:"timestamp,omitempty"` // Type - Type of the sync group log. Possible values include: 'All', 'Error', 'Warning', 'Success' Type SyncGroupLogType `json:"type,omitempty"` // Source - Source of the sync group log. Source *string `json:"source,omitempty"` // Details - Details of the sync group log. Details *string `json:"details,omitempty"` // TracingID - TracingId of the sync group log. TracingID *uuid.UUID `json:"tracingId,omitempty"` // OperationStatus - OperationStatus of the sync group log. OperationStatus *string `json:"operationStatus,omitempty"` }
SyncGroupLogProperties 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 ... All SyncGroupLogType = "All" // Error ... Error SyncGroupLogType = "Error" // Success ... Success SyncGroupLogType = "Success" // Warning ... Warning SyncGroupLogType = "Warning" )
type SyncGroupProperties ¶
type SyncGroupProperties struct { // Interval - Sync interval of the sync group. Interval *int32 `json:"interval,omitempty"` // LastSyncTime - Last sync time of the sync group. LastSyncTime *date.Time `json:"lastSyncTime,omitempty"` // ConflictResolutionPolicy - Conflict resolution policy of the sync group. Possible values include: 'HubWin', 'MemberWin' ConflictResolutionPolicy SyncConflictResolutionPolicy `json:"conflictResolutionPolicy,omitempty"` // SyncDatabaseID - ARM resource id of the sync database in the sync group. SyncDatabaseID *string `json:"syncDatabaseId,omitempty"` // HubDatabaseUserName - User name for the sync group hub database credential. HubDatabaseUserName *string `json:"hubDatabaseUserName,omitempty"` // HubDatabasePassword - Password for the sync group hub database credential. HubDatabasePassword *string `json:"hubDatabasePassword,omitempty"` // SyncState - Sync state of the sync group. Possible values include: 'SyncGroupStateNotReady', 'SyncGroupStateError', 'SyncGroupStateWarning', 'SyncGroupStateProgressing', 'SyncGroupStateGood' SyncState SyncGroupState `json:"syncState,omitempty"` // Schema - Sync schema of the sync group. Schema *SyncGroupSchema `json:"schema,omitempty"` }
SyncGroupProperties properties of a sync group.
type SyncGroupSchema ¶
type SyncGroupSchema struct { // Tables - List of tables in sync group schema. Tables *[]SyncGroupSchemaTable `json:"tables,omitempty"` // MasterSyncMemberName - Name of master sync member where the schema is from. MasterSyncMemberName *string `json:"masterSyncMemberName,omitempty"` }
SyncGroupSchema properties of sync group schema.
type SyncGroupSchemaTable ¶
type SyncGroupSchemaTable struct { // Columns - List of columns in sync group schema. Columns *[]SyncGroupSchemaTableColumn `json:"columns,omitempty"` // QuotedName - Quoted name of sync group schema table. QuotedName *string `json:"quotedName,omitempty"` }
SyncGroupSchemaTable properties of table in sync group schema.
type SyncGroupSchemaTableColumn ¶
type SyncGroupSchemaTableColumn struct { // QuotedName - Quoted name of sync group table column. QuotedName *string `json:"quotedName,omitempty"` // DataSize - Data size of the column. DataSize *string `json:"dataSize,omitempty"` // DataType - Data type of the column. DataType *string `json:"dataType,omitempty"` }
SyncGroupSchemaTableColumn properties of column in sync group table.
type SyncGroupState ¶
type SyncGroupState string
SyncGroupState enumerates the values for sync group state.
const ( // SyncGroupStateError ... SyncGroupStateError SyncGroupState = "Error" // SyncGroupStateGood ... SyncGroupStateGood SyncGroupState = "Good" // SyncGroupStateNotReady ... SyncGroupStateNotReady SyncGroupState = "NotReady" // SyncGroupStateProgressing ... SyncGroupStateProgressing SyncGroupState = "Progressing" // SyncGroupStateWarning ... SyncGroupStateWarning SyncGroupState = "Warning" )
type SyncGroupsClient ¶
type SyncGroupsClient struct {
BaseClient
}
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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string, parameters SyncGroup) (result SyncGroupsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates 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. parameters is the requested sync group resource state.
func (SyncGroupsClient) CreateOrUpdatePreparer ¶
func (client SyncGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string, parameters SyncGroup) (*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 ¶
func (client SyncGroupsClient) CreateOrUpdateSender(req *http.Request) (future SyncGroupsCreateOrUpdateFuture, err error)
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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string) (result SyncGroupsDeleteFuture, err error)
Delete deletes 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) DeletePreparer ¶
func (client SyncGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string) (*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 ¶
func (client SyncGroupsClient) DeleteSender(req *http.Request) (future SyncGroupsDeleteFuture, err error)
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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result SyncGroupListResultPage, 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(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result SyncGroupListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (SyncGroupsClient) ListByDatabasePreparer ¶
func (client SyncGroupsClient) ListByDatabasePreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string) (result SyncFullSchemaPropertiesListResultPage, 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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string) (result SyncFullSchemaPropertiesListResultIterator, err error)
ListHubSchemasComplete enumerates all values, automatically crossing page boundaries as required.
func (SyncGroupsClient) ListHubSchemasPreparer ¶
func (client SyncGroupsClient) ListHubSchemasPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string, startTime string, endTime string, typeParameter string, continuationToken string) (result SyncGroupLogListResultPage, 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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string, startTime string, endTime string, typeParameter string, continuationToken string) (result SyncGroupLogListResultIterator, err error)
ListLogsComplete enumerates all values, automatically crossing page boundaries as required.
func (SyncGroupsClient) ListLogsPreparer ¶
func (client SyncGroupsClient) ListLogsPreparer(ctx context.Context, 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(ctx context.Context, locationName string) (result SyncDatabaseIDListResultPage, 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(ctx context.Context, locationName string) (result SyncDatabaseIDListResultIterator, err error)
ListSyncDatabaseIdsComplete enumerates all values, automatically crossing page boundaries as required.
func (SyncGroupsClient) ListSyncDatabaseIdsPreparer ¶
func (client SyncGroupsClient) ListSyncDatabaseIdsPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string) (result SyncGroupsRefreshHubSchemaFuture, err error)
RefreshHubSchema refreshes a hub 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.
func (SyncGroupsClient) RefreshHubSchemaPreparer ¶
func (client SyncGroupsClient) RefreshHubSchemaPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string) (*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 ¶
func (client SyncGroupsClient) RefreshHubSchemaSender(req *http.Request) (future SyncGroupsRefreshHubSchemaFuture, err error)
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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string, parameters SyncGroup) (result SyncGroupsUpdateFuture, err error)
Update updates 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. parameters is the requested sync group resource state.
func (SyncGroupsClient) UpdatePreparer ¶
func (client SyncGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string, parameters SyncGroup) (*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 ¶
func (client SyncGroupsClient) UpdateSender(req *http.Request) (future SyncGroupsUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type SyncGroupsCreateOrUpdateFuture ¶
type SyncGroupsCreateOrUpdateFuture struct { azure.Future // contains filtered or unexported fields }
SyncGroupsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (SyncGroupsCreateOrUpdateFuture) Result ¶
func (future SyncGroupsCreateOrUpdateFuture) Result(client SyncGroupsClient) (sg SyncGroup, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type SyncGroupsDeleteFuture ¶
SyncGroupsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (SyncGroupsDeleteFuture) Result ¶
func (future SyncGroupsDeleteFuture) Result(client SyncGroupsClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type SyncGroupsRefreshHubSchemaFuture ¶
type SyncGroupsRefreshHubSchemaFuture struct { azure.Future // contains filtered or unexported fields }
SyncGroupsRefreshHubSchemaFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (SyncGroupsRefreshHubSchemaFuture) Result ¶
func (future SyncGroupsRefreshHubSchemaFuture) Result(client SyncGroupsClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type SyncGroupsUpdateFuture ¶
SyncGroupsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (SyncGroupsUpdateFuture) Result ¶
func (future SyncGroupsUpdateFuture) Result(client SyncGroupsClient) (sg SyncGroup, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type SyncMember ¶
type SyncMember struct { autorest.Response `json:"-"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // SyncMemberProperties - Resource properties. *SyncMemberProperties `json:"properties,omitempty"` }
SyncMember an Azure SQL Database sync member.
func (*SyncMember) UnmarshalJSON ¶
func (sm *SyncMember) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SyncMember struct.
type SyncMemberDbType ¶
type SyncMemberDbType string
SyncMemberDbType enumerates the values for sync member db type.
const ( // AzureSQLDatabase ... AzureSQLDatabase SyncMemberDbType = "AzureSqlDatabase" // SQLServerDatabase ... SQLServerDatabase SyncMemberDbType = "SqlServerDatabase" )
type SyncMemberListResult ¶
type SyncMemberListResult struct { autorest.Response `json:"-"` // Value - Array of results. Value *[]SyncMember `json:"value,omitempty"` // NextLink - Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
SyncMemberListResult a list of Azure SQL Database sync members.
func (SyncMemberListResult) IsEmpty ¶
func (smlr SyncMemberListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type SyncMemberListResultIterator ¶
type SyncMemberListResultIterator struct {
// contains filtered or unexported fields
}
SyncMemberListResultIterator provides access to a complete listing of SyncMember values.
func (*SyncMemberListResultIterator) Next ¶
func (iter *SyncMemberListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (SyncMemberListResultIterator) NotDone ¶
func (iter SyncMemberListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SyncMemberListResultIterator) Response ¶
func (iter SyncMemberListResultIterator) Response() SyncMemberListResult
Response returns the raw server response from the last page request.
func (SyncMemberListResultIterator) Value ¶
func (iter SyncMemberListResultIterator) Value() SyncMember
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SyncMemberListResultPage ¶
type SyncMemberListResultPage struct {
// contains filtered or unexported fields
}
SyncMemberListResultPage contains a page of SyncMember values.
func (*SyncMemberListResultPage) Next ¶
func (page *SyncMemberListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (SyncMemberListResultPage) NotDone ¶
func (page SyncMemberListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SyncMemberListResultPage) Response ¶
func (page SyncMemberListResultPage) Response() SyncMemberListResult
Response returns the raw server response from the last page request.
func (SyncMemberListResultPage) Values ¶
func (page SyncMemberListResultPage) Values() []SyncMember
Values returns the slice of values for the current page or nil if there are no values.
type SyncMemberProperties ¶
type SyncMemberProperties struct { // DatabaseType - Database type of the sync member. Possible values include: 'AzureSQLDatabase', 'SQLServerDatabase' DatabaseType SyncMemberDbType `json:"databaseType,omitempty"` // SyncAgentID - ARM resource id of the sync agent in the sync member. SyncAgentID *string `json:"syncAgentId,omitempty"` // SQLServerDatabaseID - SQL Server database id of the sync member. SQLServerDatabaseID *uuid.UUID `json:"sqlServerDatabaseId,omitempty"` // ServerName - Server name of the member database in the sync member ServerName *string `json:"serverName,omitempty"` // DatabaseName - Database name of the member database in the sync member. DatabaseName *string `json:"databaseName,omitempty"` // UserName - User name of the member database in the sync member. UserName *string `json:"userName,omitempty"` // Password - Password of the member database in the sync member. Password *string `json:"password,omitempty"` // SyncDirection - Sync direction of the sync member. Possible values include: 'Bidirectional', 'OneWayMemberToHub', 'OneWayHubToMember' SyncDirection SyncDirection `json:"syncDirection,omitempty"` // SyncState - Sync state of the sync member. Possible values include: 'SyncInProgress', 'SyncSucceeded', 'SyncFailed', 'DisabledTombstoneCleanup', 'DisabledBackupRestore', 'SyncSucceededWithWarnings', 'SyncCancelling', 'SyncCancelled', 'UnProvisioned', 'Provisioning', 'Provisioned', 'ProvisionFailed', 'DeProvisioning', 'DeProvisioned', 'DeProvisionFailed', 'Reprovisioning', 'ReprovisionFailed', 'UnReprovisioned' SyncState SyncMemberState `json:"syncState,omitempty"` }
SyncMemberProperties properties of a sync member.
type SyncMemberState ¶
type SyncMemberState string
SyncMemberState enumerates the values for sync member state.
const ( // DeProvisioned ... DeProvisioned SyncMemberState = "DeProvisioned" // DeProvisionFailed ... DeProvisionFailed SyncMemberState = "DeProvisionFailed" // DeProvisioning ... DeProvisioning SyncMemberState = "DeProvisioning" // DisabledBackupRestore ... DisabledBackupRestore SyncMemberState = "DisabledBackupRestore" // DisabledTombstoneCleanup ... DisabledTombstoneCleanup SyncMemberState = "DisabledTombstoneCleanup" // Provisioned ... Provisioned SyncMemberState = "Provisioned" // ProvisionFailed ... ProvisionFailed SyncMemberState = "ProvisionFailed" // Provisioning ... Provisioning SyncMemberState = "Provisioning" // ReprovisionFailed ... ReprovisionFailed SyncMemberState = "ReprovisionFailed" // Reprovisioning ... Reprovisioning SyncMemberState = "Reprovisioning" // SyncCancelled ... SyncCancelled SyncMemberState = "SyncCancelled" // SyncCancelling ... SyncCancelling SyncMemberState = "SyncCancelling" // SyncFailed ... SyncFailed SyncMemberState = "SyncFailed" // SyncInProgress ... SyncInProgress SyncMemberState = "SyncInProgress" // SyncSucceeded ... SyncSucceeded SyncMemberState = "SyncSucceeded" // SyncSucceededWithWarnings ... SyncSucceededWithWarnings SyncMemberState = "SyncSucceededWithWarnings" // UnProvisioned ... UnProvisioned SyncMemberState = "UnProvisioned" // UnReprovisioned ... UnReprovisioned SyncMemberState = "UnReprovisioned" )
type SyncMembersClient ¶
type SyncMembersClient struct {
BaseClient
}
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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string, parameters SyncMember) (result SyncMembersCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates 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. parameters is the requested sync member resource state.
func (SyncMembersClient) CreateOrUpdatePreparer ¶
func (client SyncMembersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string, parameters SyncMember) (*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 ¶
func (client SyncMembersClient) CreateOrUpdateSender(req *http.Request) (future SyncMembersCreateOrUpdateFuture, err error)
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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string) (result SyncMembersDeleteFuture, err error)
Delete deletes 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) DeletePreparer ¶
func (client SyncMembersClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string) (*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 ¶
func (client SyncMembersClient) DeleteSender(req *http.Request) (future SyncMembersDeleteFuture, err error)
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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string) (result SyncMemberListResultPage, 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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string) (result SyncMemberListResultIterator, err error)
ListBySyncGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (SyncMembersClient) ListBySyncGroupPreparer ¶
func (client SyncMembersClient) ListBySyncGroupPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string) (result SyncFullSchemaPropertiesListResultPage, 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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string) (result SyncFullSchemaPropertiesListResultIterator, err error)
ListMemberSchemasComplete enumerates all values, automatically crossing page boundaries as required.
func (SyncMembersClient) ListMemberSchemasPreparer ¶
func (client SyncMembersClient) ListMemberSchemasPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string) (result SyncMembersRefreshMemberSchemaFuture, err error)
RefreshMemberSchema refreshes 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) RefreshMemberSchemaPreparer ¶
func (client SyncMembersClient) RefreshMemberSchemaPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string) (*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) (future SyncMembersRefreshMemberSchemaFuture, err 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(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string, parameters SyncMember) (result SyncMembersUpdateFuture, err error)
Update updates an existing 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. parameters is the requested sync member resource state.
func (SyncMembersClient) UpdatePreparer ¶
func (client SyncMembersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string, parameters SyncMember) (*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 ¶
func (client SyncMembersClient) UpdateSender(req *http.Request) (future SyncMembersUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type SyncMembersCreateOrUpdateFuture ¶
type SyncMembersCreateOrUpdateFuture struct { azure.Future // contains filtered or unexported fields }
SyncMembersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (SyncMembersCreateOrUpdateFuture) Result ¶
func (future SyncMembersCreateOrUpdateFuture) Result(client SyncMembersClient) (sm SyncMember, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type SyncMembersDeleteFuture ¶
SyncMembersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (SyncMembersDeleteFuture) Result ¶
func (future SyncMembersDeleteFuture) Result(client SyncMembersClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type SyncMembersRefreshMemberSchemaFuture ¶
type SyncMembersRefreshMemberSchemaFuture struct { azure.Future // contains filtered or unexported fields }
SyncMembersRefreshMemberSchemaFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (SyncMembersRefreshMemberSchemaFuture) Result ¶
func (future SyncMembersRefreshMemberSchemaFuture) Result(client SyncMembersClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type SyncMembersUpdateFuture ¶
SyncMembersUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (SyncMembersUpdateFuture) Result ¶
func (future SyncMembersUpdateFuture) Result(client SyncMembersClient) (sm SyncMember, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type TrackedResource ¶
type TrackedResource struct { // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // Tags - Resource tags. Tags *map[string]*string `json:"tags,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` }
TrackedResource ARM tracked top level resource.
type TransparentDataEncryption ¶
type TransparentDataEncryption struct { autorest.Response `json:"-"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // TransparentDataEncryptionProperties - Represents the properties of the resource. *TransparentDataEncryptionProperties `json:"properties,omitempty"` }
TransparentDataEncryption represents a database transparent data encryption configuration.
func (*TransparentDataEncryption) UnmarshalJSON ¶
func (tde *TransparentDataEncryption) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for TransparentDataEncryption struct.
type TransparentDataEncryptionActivitiesClient ¶
type TransparentDataEncryptionActivitiesClient struct {
BaseClient
}
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(ctx context.Context, 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(ctx context.Context, 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 - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // TransparentDataEncryptionActivityProperties - Represents the properties of the resource. *TransparentDataEncryptionActivityProperties `json:"properties,omitempty"` }
TransparentDataEncryptionActivity represents a database transparent data encryption Scan.
func (*TransparentDataEncryptionActivity) UnmarshalJSON ¶
func (tdea *TransparentDataEncryptionActivity) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for TransparentDataEncryptionActivity struct.
type TransparentDataEncryptionActivityListResult ¶
type TransparentDataEncryptionActivityListResult struct { autorest.Response `json:"-"` // Value - The list of database transparent data encryption activities. Value *[]TransparentDataEncryptionActivity `json:"value,omitempty"` }
TransparentDataEncryptionActivityListResult represents the response to a list database transparent data encryption activity request.
type TransparentDataEncryptionActivityProperties ¶
type TransparentDataEncryptionActivityProperties struct { // Status - The status of the database. Possible values include: 'Encrypting', 'Decrypting' Status TransparentDataEncryptionActivityStatus `json:"status,omitempty"` // PercentComplete - The percent complete of the transparent data encryption scan for a database. PercentComplete *float64 `json:"percentComplete,omitempty"` }
TransparentDataEncryptionActivityProperties 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 ... Decrypting TransparentDataEncryptionActivityStatus = "Decrypting" // Encrypting ... Encrypting TransparentDataEncryptionActivityStatus = "Encrypting" )
type TransparentDataEncryptionProperties ¶
type TransparentDataEncryptionProperties struct { // Status - The status of the database transparent data encryption. Possible values include: 'TransparentDataEncryptionStatusEnabled', 'TransparentDataEncryptionStatusDisabled' Status TransparentDataEncryptionStatus `json:"status,omitempty"` }
TransparentDataEncryptionProperties 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 ... TransparentDataEncryptionStatusDisabled TransparentDataEncryptionStatus = "Disabled" // TransparentDataEncryptionStatusEnabled ... TransparentDataEncryptionStatusEnabled TransparentDataEncryptionStatus = "Enabled" )
type TransparentDataEncryptionsClient ¶
type TransparentDataEncryptionsClient struct {
BaseClient
}
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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 ... UnitDefinitionTypeBytes UnitDefinitionType = "Bytes" // UnitDefinitionTypeBytesPerSecond ... UnitDefinitionTypeBytesPerSecond UnitDefinitionType = "BytesPerSecond" // UnitDefinitionTypeCount ... UnitDefinitionTypeCount UnitDefinitionType = "Count" // UnitDefinitionTypeCountPerSecond ... UnitDefinitionTypeCountPerSecond UnitDefinitionType = "CountPerSecond" // UnitDefinitionTypePercent ... UnitDefinitionTypePercent UnitDefinitionType = "Percent" // UnitDefinitionTypeSeconds ... UnitDefinitionTypeSeconds UnitDefinitionType = "Seconds" )
type UnitType ¶
type UnitType string
UnitType enumerates the values for unit type.
const ( // UnitTypeBytes ... UnitTypeBytes UnitType = "bytes" // UnitTypeBytesPerSecond ... UnitTypeBytesPerSecond UnitType = "bytesPerSecond" // UnitTypeCount ... UnitTypeCount UnitType = "count" // UnitTypeCountPerSecond ... UnitTypeCountPerSecond UnitType = "countPerSecond" // UnitTypePercent ... UnitTypePercent UnitType = "percent" // UnitTypeSeconds ... UnitTypeSeconds UnitType = "seconds" )
type VirtualNetworkRule ¶
type VirtualNetworkRule struct { autorest.Response `json:"-"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // VirtualNetworkRuleProperties - Resource properties. *VirtualNetworkRuleProperties `json:"properties,omitempty"` }
VirtualNetworkRule a virtual network rule.
func (*VirtualNetworkRule) UnmarshalJSON ¶
func (vnr *VirtualNetworkRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualNetworkRule struct.
type VirtualNetworkRuleListResult ¶
type VirtualNetworkRuleListResult struct { autorest.Response `json:"-"` // Value - Array of results. Value *[]VirtualNetworkRule `json:"value,omitempty"` // NextLink - Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
VirtualNetworkRuleListResult a list of virtual network rules.
func (VirtualNetworkRuleListResult) IsEmpty ¶
func (vnrlr VirtualNetworkRuleListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type VirtualNetworkRuleListResultIterator ¶
type VirtualNetworkRuleListResultIterator struct {
// contains filtered or unexported fields
}
VirtualNetworkRuleListResultIterator provides access to a complete listing of VirtualNetworkRule values.
func (*VirtualNetworkRuleListResultIterator) Next ¶
func (iter *VirtualNetworkRuleListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (VirtualNetworkRuleListResultIterator) NotDone ¶
func (iter VirtualNetworkRuleListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (VirtualNetworkRuleListResultIterator) Response ¶
func (iter VirtualNetworkRuleListResultIterator) Response() VirtualNetworkRuleListResult
Response returns the raw server response from the last page request.
func (VirtualNetworkRuleListResultIterator) Value ¶
func (iter VirtualNetworkRuleListResultIterator) Value() VirtualNetworkRule
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type VirtualNetworkRuleListResultPage ¶
type VirtualNetworkRuleListResultPage struct {
// contains filtered or unexported fields
}
VirtualNetworkRuleListResultPage contains a page of VirtualNetworkRule values.
func (*VirtualNetworkRuleListResultPage) Next ¶
func (page *VirtualNetworkRuleListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (VirtualNetworkRuleListResultPage) NotDone ¶
func (page VirtualNetworkRuleListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (VirtualNetworkRuleListResultPage) Response ¶
func (page VirtualNetworkRuleListResultPage) Response() VirtualNetworkRuleListResult
Response returns the raw server response from the last page request.
func (VirtualNetworkRuleListResultPage) Values ¶
func (page VirtualNetworkRuleListResultPage) Values() []VirtualNetworkRule
Values returns the slice of values for the current page or nil if there are no values.
type VirtualNetworkRuleProperties ¶
type VirtualNetworkRuleProperties struct { // VirtualNetworkSubnetID - The ARM resource id of the virtual network subnet. VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty"` // IgnoreMissingVnetServiceEndpoint - Create firewall rule before the virtual network has vnet service endpoint enabled. IgnoreMissingVnetServiceEndpoint *bool `json:"ignoreMissingVnetServiceEndpoint,omitempty"` // State - Virtual Network Rule State. Possible values include: 'VirtualNetworkRuleStateInitializing', 'VirtualNetworkRuleStateInProgress', 'VirtualNetworkRuleStateReady', 'VirtualNetworkRuleStateDeleting', 'VirtualNetworkRuleStateUnknown' State VirtualNetworkRuleState `json:"state,omitempty"` }
VirtualNetworkRuleProperties properties of a virtual network rule.
type VirtualNetworkRuleState ¶
type VirtualNetworkRuleState string
VirtualNetworkRuleState enumerates the values for virtual network rule state.
const ( // VirtualNetworkRuleStateDeleting ... VirtualNetworkRuleStateDeleting VirtualNetworkRuleState = "Deleting" // VirtualNetworkRuleStateInitializing ... VirtualNetworkRuleStateInitializing VirtualNetworkRuleState = "Initializing" // VirtualNetworkRuleStateInProgress ... VirtualNetworkRuleStateInProgress VirtualNetworkRuleState = "InProgress" // VirtualNetworkRuleStateReady ... VirtualNetworkRuleStateReady VirtualNetworkRuleState = "Ready" // VirtualNetworkRuleStateUnknown ... VirtualNetworkRuleStateUnknown VirtualNetworkRuleState = "Unknown" )
type VirtualNetworkRulesClient ¶
type VirtualNetworkRulesClient struct {
BaseClient
}
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(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string, parameters VirtualNetworkRule) (result VirtualNetworkRulesCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates an existing 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. parameters is the requested virtual Network Rule Resource state.
func (VirtualNetworkRulesClient) CreateOrUpdatePreparer ¶
func (client VirtualNetworkRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string, parameters VirtualNetworkRule) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (VirtualNetworkRulesClient) CreateOrUpdateResponder ¶
func (client VirtualNetworkRulesClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkRule, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (VirtualNetworkRulesClient) CreateOrUpdateSender ¶
func (client VirtualNetworkRulesClient) CreateOrUpdateSender(req *http.Request) (future VirtualNetworkRulesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (VirtualNetworkRulesClient) Delete ¶
func (client VirtualNetworkRulesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string) (result VirtualNetworkRulesDeleteFuture, err error)
Delete deletes the virtual network rule with the given name.
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(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (VirtualNetworkRulesClient) DeleteResponder ¶
func (client VirtualNetworkRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (VirtualNetworkRulesClient) DeleteSender ¶
func (client VirtualNetworkRulesClient) DeleteSender(req *http.Request) (future VirtualNetworkRulesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (VirtualNetworkRulesClient) Get ¶
func (client VirtualNetworkRulesClient) Get(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string) (result VirtualNetworkRule, err error)
Get gets a virtual network rule.
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(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (VirtualNetworkRulesClient) GetResponder ¶
func (client VirtualNetworkRulesClient) GetResponder(resp *http.Response) (result VirtualNetworkRule, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (VirtualNetworkRulesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (VirtualNetworkRulesClient) ListByServer ¶
func (client VirtualNetworkRulesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result VirtualNetworkRuleListResultPage, err error)
ListByServer gets a list of virtual network rules in a server.
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(ctx context.Context, resourceGroupName string, serverName string) (result VirtualNetworkRuleListResultIterator, err error)
ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
func (VirtualNetworkRulesClient) ListByServerPreparer ¶
func (client VirtualNetworkRulesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (VirtualNetworkRulesClient) ListByServerResponder ¶
func (client VirtualNetworkRulesClient) ListByServerResponder(resp *http.Response) (result VirtualNetworkRuleListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (VirtualNetworkRulesClient) ListByServerSender ¶
func (client VirtualNetworkRulesClient) ListByServerSender(req *http.Request) (*http.Response, error)
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
type VirtualNetworkRulesCreateOrUpdateFuture ¶
type VirtualNetworkRulesCreateOrUpdateFuture struct { azure.Future // contains filtered or unexported fields }
VirtualNetworkRulesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualNetworkRulesCreateOrUpdateFuture) Result ¶
func (future VirtualNetworkRulesCreateOrUpdateFuture) Result(client VirtualNetworkRulesClient) (vnr VirtualNetworkRule, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualNetworkRulesDeleteFuture ¶
type VirtualNetworkRulesDeleteFuture struct { azure.Future // contains filtered or unexported fields }
VirtualNetworkRulesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualNetworkRulesDeleteFuture) Result ¶
func (future VirtualNetworkRulesDeleteFuture) Result(client VirtualNetworkRulesClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
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
- serverdnsaliases.go
- serverkeys.go
- servers.go
- serverusages.go
- serviceobjectives.go
- servicetieradvisors.go
- subscriptionusages.go
- syncagents.go
- syncgroups.go
- syncmembers.go
- transparentdataencryptionactivities.go
- transparentdataencryptions.go
- version.go
- virtualnetworkrules.go