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 AdministratorListResult
- type AdministratorListResultIterator
- func (iter *AdministratorListResultIterator) Next() error
- func (iter *AdministratorListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter AdministratorListResultIterator) NotDone() bool
- func (iter AdministratorListResultIterator) Response() AdministratorListResult
- func (iter AdministratorListResultIterator) Value() ServerAzureADAdministrator
- type AdministratorListResultPage
- func (page *AdministratorListResultPage) Next() error
- func (page *AdministratorListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page AdministratorListResultPage) NotDone() bool
- func (page AdministratorListResultPage) Response() AdministratorListResult
- func (page AdministratorListResultPage) Values() []ServerAzureADAdministrator
- type AdministratorProperties
- type AdministratorType
- type Advisor
- type AdvisorProperties
- type AdvisorStatus
- type AgentClient
- func (client AgentClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result AgentConfiguration, err error)
- func (client AgentClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client AgentClient) CreateOrUpdateResponder(resp *http.Response) (result AgentConfiguration, err error)
- func (client AgentClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client AgentClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string) (result AgentConfiguration, err error)
- func (client AgentClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
- func (client AgentClient) GetResponder(resp *http.Response) (result AgentConfiguration, err error)
- func (client AgentClient) GetSender(req *http.Request) (*http.Response, error)
- type AgentConfiguration
- type AgentConfigurationProperties
- type AggregationFunctionType
- type AutoExecuteStatus
- type AutoExecuteStatusInheritedFrom
- type AutoPauseDelayTimeRange
- type AutomaticTuningDisabledReason
- type AutomaticTuningMode
- type AutomaticTuningOptionModeActual
- type AutomaticTuningOptionModeDesired
- type AutomaticTuningOptions
- type AutomaticTuningServerMode
- type AutomaticTuningServerOptions
- type AutomaticTuningServerProperties
- type AutomaticTuningServerReason
- type AzureADOnlyAuthListResult
- type AzureADOnlyAuthListResultIterator
- func (iter *AzureADOnlyAuthListResultIterator) Next() error
- func (iter *AzureADOnlyAuthListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter AzureADOnlyAuthListResultIterator) NotDone() bool
- func (iter AzureADOnlyAuthListResultIterator) Response() AzureADOnlyAuthListResult
- func (iter AzureADOnlyAuthListResultIterator) Value() ServerAzureADOnlyAuthentication
- type AzureADOnlyAuthListResultPage
- func (page *AzureADOnlyAuthListResultPage) Next() error
- func (page *AzureADOnlyAuthListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page AzureADOnlyAuthListResultPage) NotDone() bool
- func (page AzureADOnlyAuthListResultPage) Response() AzureADOnlyAuthListResult
- func (page AzureADOnlyAuthListResultPage) Values() []ServerAzureADOnlyAuthentication
- type AzureADOnlyAuthProperties
- type BackupShortTermRetentionPoliciesClient
- func (client BackupShortTermRetentionPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result BackupShortTermRetentionPoliciesCreateOrUpdateFuture, err error)
- func (client BackupShortTermRetentionPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client BackupShortTermRetentionPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result BackupShortTermRetentionPolicy, err error)
- func (client BackupShortTermRetentionPoliciesClient) CreateOrUpdateSender(req *http.Request) (future BackupShortTermRetentionPoliciesCreateOrUpdateFuture, err error)
- func (client BackupShortTermRetentionPoliciesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result BackupShortTermRetentionPolicy, err error)
- func (client BackupShortTermRetentionPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client BackupShortTermRetentionPoliciesClient) GetResponder(resp *http.Response) (result BackupShortTermRetentionPolicy, err error)
- func (client BackupShortTermRetentionPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client BackupShortTermRetentionPoliciesClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, ...) (result BackupShortTermRetentionPolicyListResultPage, err error)
- func (client BackupShortTermRetentionPoliciesClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result BackupShortTermRetentionPolicyListResultIterator, err error)
- func (client BackupShortTermRetentionPoliciesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client BackupShortTermRetentionPoliciesClient) ListByDatabaseResponder(resp *http.Response) (result BackupShortTermRetentionPolicyListResult, err error)
- func (client BackupShortTermRetentionPoliciesClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- func (client BackupShortTermRetentionPoliciesClient) Update(ctx context.Context, resourceGroupName string, serverName string, ...) (result BackupShortTermRetentionPoliciesUpdateFuture, err error)
- func (client BackupShortTermRetentionPoliciesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client BackupShortTermRetentionPoliciesClient) UpdateResponder(resp *http.Response) (result BackupShortTermRetentionPolicy, err error)
- func (client BackupShortTermRetentionPoliciesClient) UpdateSender(req *http.Request) (future BackupShortTermRetentionPoliciesUpdateFuture, err error)
- type BackupShortTermRetentionPoliciesCreateOrUpdateFuture
- type BackupShortTermRetentionPoliciesUpdateFuture
- type BackupShortTermRetentionPolicy
- type BackupShortTermRetentionPolicyListResult
- type BackupShortTermRetentionPolicyListResultIterator
- func (iter *BackupShortTermRetentionPolicyListResultIterator) Next() error
- func (iter *BackupShortTermRetentionPolicyListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter BackupShortTermRetentionPolicyListResultIterator) NotDone() bool
- func (iter BackupShortTermRetentionPolicyListResultIterator) Response() BackupShortTermRetentionPolicyListResult
- func (iter BackupShortTermRetentionPolicyListResultIterator) Value() BackupShortTermRetentionPolicy
- type BackupShortTermRetentionPolicyListResultPage
- func (page *BackupShortTermRetentionPolicyListResultPage) Next() error
- func (page *BackupShortTermRetentionPolicyListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page BackupShortTermRetentionPolicyListResultPage) NotDone() bool
- func (page BackupShortTermRetentionPolicyListResultPage) Response() BackupShortTermRetentionPolicyListResult
- func (page BackupShortTermRetentionPolicyListResultPage) Values() []BackupShortTermRetentionPolicy
- type BackupShortTermRetentionPolicyProperties
- type BackupStorageRedundancy
- type BackupStorageRedundancy1
- type BaseClient
- type BaseLongTermRetentionPolicyProperties
- type BlobAuditingPolicyState
- type CapabilitiesClient
- func (client CapabilitiesClient) ListByLocation(ctx context.Context, locationName string, include CapabilityGroup) (result LocationCapabilities, err error)
- func (client CapabilitiesClient) ListByLocationPreparer(ctx context.Context, locationName string, include CapabilityGroup) (*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 CapabilityGroup
- type CapabilityStatus
- type CatalogCollationType
- type CheckNameAvailabilityReason
- type CheckNameAvailabilityRequest
- type CheckNameAvailabilityResponse
- type ColumnDataType
- type CompleteDatabaseRestoreDefinition
- type CopyLongTermRetentionBackupParameters
- type CopyLongTermRetentionBackupParametersProperties
- type CreateDatabaseRestorePointDefinition
- type CreateMode
- type CreatedByType
- type CurrentBackupStorageRedundancy
- type DNSRefreshConfigurationProperties
- 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 DataWarehouseUserActivities
- type DataWarehouseUserActivitiesClient
- func (client DataWarehouseUserActivitiesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result DataWarehouseUserActivities, err error)
- func (client DataWarehouseUserActivitiesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DataWarehouseUserActivitiesClient) GetResponder(resp *http.Response) (result DataWarehouseUserActivities, err error)
- func (client DataWarehouseUserActivitiesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DataWarehouseUserActivitiesClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, ...) (result DataWarehouseUserActivitiesListResultPage, err error)
- func (client DataWarehouseUserActivitiesClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result DataWarehouseUserActivitiesListResultIterator, err error)
- func (client DataWarehouseUserActivitiesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DataWarehouseUserActivitiesClient) ListByDatabaseResponder(resp *http.Response) (result DataWarehouseUserActivitiesListResult, err error)
- func (client DataWarehouseUserActivitiesClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- type DataWarehouseUserActivitiesListResult
- type DataWarehouseUserActivitiesListResultIterator
- func (iter *DataWarehouseUserActivitiesListResultIterator) Next() error
- func (iter *DataWarehouseUserActivitiesListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter DataWarehouseUserActivitiesListResultIterator) NotDone() bool
- func (iter DataWarehouseUserActivitiesListResultIterator) Response() DataWarehouseUserActivitiesListResult
- func (iter DataWarehouseUserActivitiesListResultIterator) Value() DataWarehouseUserActivities
- type DataWarehouseUserActivitiesListResultPage
- func (page *DataWarehouseUserActivitiesListResultPage) Next() error
- func (page *DataWarehouseUserActivitiesListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page DataWarehouseUserActivitiesListResultPage) NotDone() bool
- func (page DataWarehouseUserActivitiesListResultPage) Response() DataWarehouseUserActivitiesListResult
- func (page DataWarehouseUserActivitiesListResultPage) Values() []DataWarehouseUserActivities
- type DataWarehouseUserActivitiesProperties
- type Database
- type DatabaseAdvisorsClient
- func (client DatabaseAdvisorsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result Advisor, err error)
- func (client DatabaseAdvisorsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseAdvisorsClient) GetResponder(resp *http.Response) (result Advisor, err error)
- func (client DatabaseAdvisorsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DatabaseAdvisorsClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, ...) (result ListAdvisor, err error)
- func (client DatabaseAdvisorsClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseAdvisorsClient) ListByDatabaseResponder(resp *http.Response) (result ListAdvisor, err error)
- func (client DatabaseAdvisorsClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- func (client DatabaseAdvisorsClient) Update(ctx context.Context, resourceGroupName string, serverName string, ...) (result Advisor, err error)
- func (client DatabaseAdvisorsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseAdvisorsClient) UpdateResponder(resp *http.Response) (result Advisor, err error)
- func (client DatabaseAdvisorsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type DatabaseAutomaticTuning
- type DatabaseAutomaticTuningClient
- func (client DatabaseAutomaticTuningClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseAutomaticTuning, err error)
- func (client DatabaseAutomaticTuningClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseAutomaticTuningClient) GetResponder(resp *http.Response) (result DatabaseAutomaticTuning, err error)
- func (client DatabaseAutomaticTuningClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DatabaseAutomaticTuningClient) Update(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseAutomaticTuning, err error)
- func (client DatabaseAutomaticTuningClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseAutomaticTuningClient) UpdateResponder(resp *http.Response) (result DatabaseAutomaticTuning, err error)
- func (client DatabaseAutomaticTuningClient) UpdateSender(req *http.Request) (*http.Response, error)
- type DatabaseAutomaticTuningProperties
- 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)
- func (client DatabaseBlobAuditingPoliciesClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseBlobAuditingPolicyListResultPage, err error)
- func (client DatabaseBlobAuditingPoliciesClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseBlobAuditingPolicyListResultIterator, err error)
- func (client DatabaseBlobAuditingPoliciesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseBlobAuditingPoliciesClient) ListByDatabaseResponder(resp *http.Response) (result DatabaseBlobAuditingPolicyListResult, err error)
- func (client DatabaseBlobAuditingPoliciesClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- type DatabaseBlobAuditingPolicy
- type DatabaseBlobAuditingPolicyListResult
- type DatabaseBlobAuditingPolicyListResultIterator
- func (iter *DatabaseBlobAuditingPolicyListResultIterator) Next() error
- func (iter *DatabaseBlobAuditingPolicyListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter DatabaseBlobAuditingPolicyListResultIterator) NotDone() bool
- func (iter DatabaseBlobAuditingPolicyListResultIterator) Response() DatabaseBlobAuditingPolicyListResult
- func (iter DatabaseBlobAuditingPolicyListResultIterator) Value() DatabaseBlobAuditingPolicy
- type DatabaseBlobAuditingPolicyListResultPage
- func (page *DatabaseBlobAuditingPolicyListResultPage) Next() error
- func (page *DatabaseBlobAuditingPolicyListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page DatabaseBlobAuditingPolicyListResultPage) NotDone() bool
- func (page DatabaseBlobAuditingPolicyListResultPage) Response() DatabaseBlobAuditingPolicyListResult
- func (page DatabaseBlobAuditingPolicyListResultPage) Values() []DatabaseBlobAuditingPolicy
- type DatabaseBlobAuditingPolicyProperties
- type DatabaseColumn
- type DatabaseColumnListResult
- type DatabaseColumnListResultIterator
- func (iter *DatabaseColumnListResultIterator) Next() error
- func (iter *DatabaseColumnListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter DatabaseColumnListResultIterator) NotDone() bool
- func (iter DatabaseColumnListResultIterator) Response() DatabaseColumnListResult
- func (iter DatabaseColumnListResultIterator) Value() DatabaseColumn
- type DatabaseColumnListResultPage
- func (page *DatabaseColumnListResultPage) Next() error
- func (page *DatabaseColumnListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page DatabaseColumnListResultPage) NotDone() bool
- func (page DatabaseColumnListResultPage) Response() DatabaseColumnListResult
- func (page DatabaseColumnListResultPage) Values() []DatabaseColumn
- type DatabaseColumnProperties
- type DatabaseColumnsClient
- func (client DatabaseColumnsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseColumn, err error)
- func (client DatabaseColumnsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseColumnsClient) GetResponder(resp *http.Response) (result DatabaseColumn, err error)
- func (client DatabaseColumnsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DatabaseColumnsClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseColumnListResultPage, err error)
- func (client DatabaseColumnsClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseColumnListResultIterator, err error)
- func (client DatabaseColumnsClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseColumnsClient) ListByDatabaseResponder(resp *http.Response) (result DatabaseColumnListResult, err error)
- func (client DatabaseColumnsClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- func (client DatabaseColumnsClient) ListByTable(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseColumnListResultPage, err error)
- func (client DatabaseColumnsClient) ListByTableComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseColumnListResultIterator, err error)
- func (client DatabaseColumnsClient) ListByTablePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseColumnsClient) ListByTableResponder(resp *http.Response) (result DatabaseColumnListResult, err error)
- func (client DatabaseColumnsClient) ListByTableSender(req *http.Request) (*http.Response, error)
- type DatabaseExtensions
- type DatabaseExtensionsClient
- func (client DatabaseExtensionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseExtensionsCreateOrUpdateFuture, err error)
- func (client DatabaseExtensionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseExtensionsClient) CreateOrUpdateResponder(resp *http.Response) (result ImportExportExtensionsOperationResult, err error)
- func (client DatabaseExtensionsClient) CreateOrUpdateSender(req *http.Request) (future DatabaseExtensionsCreateOrUpdateFuture, err error)
- func (client DatabaseExtensionsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result autorest.Response, err error)
- func (client DatabaseExtensionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseExtensionsClient) GetResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DatabaseExtensionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DatabaseExtensionsClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, ...) (result ImportExportExtensionsOperationListResultPage, err error)
- func (client DatabaseExtensionsClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result ImportExportExtensionsOperationListResultIterator, err error)
- func (client DatabaseExtensionsClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseExtensionsClient) ListByDatabaseResponder(resp *http.Response) (result ImportExportExtensionsOperationListResult, err error)
- func (client DatabaseExtensionsClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- type DatabaseExtensionsCreateOrUpdateFuture
- type DatabaseExtensionsProperties
- type DatabaseLicenseType
- type DatabaseListResult
- type DatabaseListResultIterator
- func (iter *DatabaseListResultIterator) Next() error
- func (iter *DatabaseListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter DatabaseListResultIterator) NotDone() bool
- func (iter DatabaseListResultIterator) Response() DatabaseListResult
- func (iter DatabaseListResultIterator) Value() Database
- type DatabaseListResultPage
- func (page *DatabaseListResultPage) Next() error
- func (page *DatabaseListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page DatabaseListResultPage) NotDone() bool
- func (page DatabaseListResultPage) Response() DatabaseListResult
- func (page DatabaseListResultPage) Values() []Database
- type DatabaseOperation
- type DatabaseOperationListResult
- type DatabaseOperationListResultIterator
- func (iter *DatabaseOperationListResultIterator) Next() error
- func (iter *DatabaseOperationListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter DatabaseOperationListResultIterator) NotDone() bool
- func (iter DatabaseOperationListResultIterator) Response() DatabaseOperationListResult
- func (iter DatabaseOperationListResultIterator) Value() DatabaseOperation
- type DatabaseOperationListResultPage
- func (page *DatabaseOperationListResultPage) Next() error
- func (page *DatabaseOperationListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page DatabaseOperationListResultPage) NotDone() bool
- func (page DatabaseOperationListResultPage) Response() DatabaseOperationListResult
- func (page DatabaseOperationListResultPage) Values() []DatabaseOperation
- 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 DatabaseReadScale
- type DatabaseRecommendedActionsClient
- func (client DatabaseRecommendedActionsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result RecommendedAction, err error)
- func (client DatabaseRecommendedActionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseRecommendedActionsClient) GetResponder(resp *http.Response) (result RecommendedAction, err error)
- func (client DatabaseRecommendedActionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DatabaseRecommendedActionsClient) ListByDatabaseAdvisor(ctx context.Context, resourceGroupName string, serverName string, ...) (result ListRecommendedAction, err error)
- func (client DatabaseRecommendedActionsClient) ListByDatabaseAdvisorPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseRecommendedActionsClient) ListByDatabaseAdvisorResponder(resp *http.Response) (result ListRecommendedAction, err error)
- func (client DatabaseRecommendedActionsClient) ListByDatabaseAdvisorSender(req *http.Request) (*http.Response, error)
- func (client DatabaseRecommendedActionsClient) Update(ctx context.Context, resourceGroupName string, serverName string, ...) (result RecommendedAction, err error)
- func (client DatabaseRecommendedActionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseRecommendedActionsClient) UpdateResponder(resp *http.Response) (result RecommendedAction, err error)
- func (client DatabaseRecommendedActionsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type DatabaseSchema
- type DatabaseSchemaListResult
- type DatabaseSchemaListResultIterator
- func (iter *DatabaseSchemaListResultIterator) Next() error
- func (iter *DatabaseSchemaListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter DatabaseSchemaListResultIterator) NotDone() bool
- func (iter DatabaseSchemaListResultIterator) Response() DatabaseSchemaListResult
- func (iter DatabaseSchemaListResultIterator) Value() DatabaseSchema
- type DatabaseSchemaListResultPage
- func (page *DatabaseSchemaListResultPage) Next() error
- func (page *DatabaseSchemaListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page DatabaseSchemaListResultPage) NotDone() bool
- func (page DatabaseSchemaListResultPage) Response() DatabaseSchemaListResult
- func (page DatabaseSchemaListResultPage) Values() []DatabaseSchema
- type DatabaseSchemasClient
- func (client DatabaseSchemasClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseSchema, err error)
- func (client DatabaseSchemasClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseSchemasClient) GetResponder(resp *http.Response) (result DatabaseSchema, err error)
- func (client DatabaseSchemasClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DatabaseSchemasClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseSchemaListResultPage, err error)
- func (client DatabaseSchemasClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseSchemaListResultIterator, err error)
- func (client DatabaseSchemasClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseSchemasClient) ListByDatabaseResponder(resp *http.Response) (result DatabaseSchemaListResult, err error)
- func (client DatabaseSchemasClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- type DatabaseSecurityAlertListResult
- type DatabaseSecurityAlertListResultIterator
- func (iter *DatabaseSecurityAlertListResultIterator) Next() error
- func (iter *DatabaseSecurityAlertListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter DatabaseSecurityAlertListResultIterator) NotDone() bool
- func (iter DatabaseSecurityAlertListResultIterator) Response() DatabaseSecurityAlertListResult
- func (iter DatabaseSecurityAlertListResultIterator) Value() DatabaseSecurityAlertPolicy
- type DatabaseSecurityAlertListResultPage
- func (page *DatabaseSecurityAlertListResultPage) Next() error
- func (page *DatabaseSecurityAlertListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page DatabaseSecurityAlertListResultPage) NotDone() bool
- func (page DatabaseSecurityAlertListResultPage) Response() DatabaseSecurityAlertListResult
- func (page DatabaseSecurityAlertListResultPage) Values() []DatabaseSecurityAlertPolicy
- type DatabaseSecurityAlertPoliciesClient
- func (client DatabaseSecurityAlertPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseSecurityAlertPolicy, err error)
- func (client DatabaseSecurityAlertPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseSecurityAlertPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result DatabaseSecurityAlertPolicy, err error)
- func (client DatabaseSecurityAlertPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client DatabaseSecurityAlertPoliciesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseSecurityAlertPolicy, err error)
- func (client DatabaseSecurityAlertPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseSecurityAlertPoliciesClient) GetResponder(resp *http.Response) (result DatabaseSecurityAlertPolicy, err error)
- func (client DatabaseSecurityAlertPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DatabaseSecurityAlertPoliciesClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseSecurityAlertListResultPage, err error)
- func (client DatabaseSecurityAlertPoliciesClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseSecurityAlertListResultIterator, err error)
- func (client DatabaseSecurityAlertPoliciesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseSecurityAlertPoliciesClient) ListByDatabaseResponder(resp *http.Response) (result DatabaseSecurityAlertListResult, err error)
- func (client DatabaseSecurityAlertPoliciesClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- type DatabaseSecurityAlertPolicy
- type DatabaseState
- type DatabaseStatus
- type DatabaseTable
- type DatabaseTableListResult
- type DatabaseTableListResultIterator
- func (iter *DatabaseTableListResultIterator) Next() error
- func (iter *DatabaseTableListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter DatabaseTableListResultIterator) NotDone() bool
- func (iter DatabaseTableListResultIterator) Response() DatabaseTableListResult
- func (iter DatabaseTableListResultIterator) Value() DatabaseTable
- type DatabaseTableListResultPage
- func (page *DatabaseTableListResultPage) Next() error
- func (page *DatabaseTableListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page DatabaseTableListResultPage) NotDone() bool
- func (page DatabaseTableListResultPage) Response() DatabaseTableListResult
- func (page DatabaseTableListResultPage) Values() []DatabaseTable
- type DatabaseTableProperties
- type DatabaseTablesClient
- func (client DatabaseTablesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseTable, err error)
- func (client DatabaseTablesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseTablesClient) GetResponder(resp *http.Response) (result DatabaseTable, err error)
- func (client DatabaseTablesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DatabaseTablesClient) ListBySchema(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseTableListResultPage, err error)
- func (client DatabaseTablesClient) ListBySchemaComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseTableListResultIterator, err error)
- func (client DatabaseTablesClient) ListBySchemaPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseTablesClient) ListBySchemaResponder(resp *http.Response) (result DatabaseTableListResult, err error)
- func (client DatabaseTablesClient) ListBySchemaSender(req *http.Request) (*http.Response, error)
- type DatabaseUpdate
- type DatabaseUsage
- type DatabaseUsageListResult
- type DatabaseUsageListResultIterator
- func (iter *DatabaseUsageListResultIterator) Next() error
- func (iter *DatabaseUsageListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter DatabaseUsageListResultIterator) NotDone() bool
- func (iter DatabaseUsageListResultIterator) Response() DatabaseUsageListResult
- func (iter DatabaseUsageListResultIterator) Value() DatabaseUsage
- type DatabaseUsageListResultPage
- func (page *DatabaseUsageListResultPage) Next() error
- func (page *DatabaseUsageListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page DatabaseUsageListResultPage) NotDone() bool
- func (page DatabaseUsageListResultPage) Response() DatabaseUsageListResult
- func (page DatabaseUsageListResultPage) Values() []DatabaseUsage
- type DatabaseUsageProperties
- type DatabaseUsagesClient
- func (client DatabaseUsagesClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseUsageListResultPage, err error)
- func (client DatabaseUsagesClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseUsageListResultIterator, 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 DatabaseVulnerabilityAssessment
- type DatabaseVulnerabilityAssessmentListResult
- type DatabaseVulnerabilityAssessmentListResultIterator
- func (iter *DatabaseVulnerabilityAssessmentListResultIterator) Next() error
- func (iter *DatabaseVulnerabilityAssessmentListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter DatabaseVulnerabilityAssessmentListResultIterator) NotDone() bool
- func (iter DatabaseVulnerabilityAssessmentListResultIterator) Response() DatabaseVulnerabilityAssessmentListResult
- func (iter DatabaseVulnerabilityAssessmentListResultIterator) Value() DatabaseVulnerabilityAssessment
- type DatabaseVulnerabilityAssessmentListResultPage
- func (page *DatabaseVulnerabilityAssessmentListResultPage) Next() error
- func (page *DatabaseVulnerabilityAssessmentListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page DatabaseVulnerabilityAssessmentListResultPage) NotDone() bool
- func (page DatabaseVulnerabilityAssessmentListResultPage) Response() DatabaseVulnerabilityAssessmentListResult
- func (page DatabaseVulnerabilityAssessmentListResultPage) Values() []DatabaseVulnerabilityAssessment
- type DatabaseVulnerabilityAssessmentProperties
- type DatabaseVulnerabilityAssessmentRuleBaseline
- type DatabaseVulnerabilityAssessmentRuleBaselineItem
- type DatabaseVulnerabilityAssessmentRuleBaselineProperties
- type DatabaseVulnerabilityAssessmentRuleBaselinesClient
- func (client DatabaseVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseVulnerabilityAssessmentRuleBaseline, err error)
- func (client DatabaseVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdateResponder(resp *http.Response) (result DatabaseVulnerabilityAssessmentRuleBaseline, err error)
- func (client DatabaseVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client DatabaseVulnerabilityAssessmentRuleBaselinesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result autorest.Response, err error)
- func (client DatabaseVulnerabilityAssessmentRuleBaselinesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseVulnerabilityAssessmentRuleBaselinesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DatabaseVulnerabilityAssessmentRuleBaselinesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client DatabaseVulnerabilityAssessmentRuleBaselinesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseVulnerabilityAssessmentRuleBaseline, err error)
- func (client DatabaseVulnerabilityAssessmentRuleBaselinesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseVulnerabilityAssessmentRuleBaselinesClient) GetResponder(resp *http.Response) (result DatabaseVulnerabilityAssessmentRuleBaseline, err error)
- func (client DatabaseVulnerabilityAssessmentRuleBaselinesClient) GetSender(req *http.Request) (*http.Response, error)
- type DatabaseVulnerabilityAssessmentScanExportProperties
- type DatabaseVulnerabilityAssessmentScansClient
- func (client DatabaseVulnerabilityAssessmentScansClient) Export(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseVulnerabilityAssessmentScansExport, err error)
- func (client DatabaseVulnerabilityAssessmentScansClient) ExportPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseVulnerabilityAssessmentScansClient) ExportResponder(resp *http.Response) (result DatabaseVulnerabilityAssessmentScansExport, err error)
- func (client DatabaseVulnerabilityAssessmentScansClient) ExportSender(req *http.Request) (*http.Response, error)
- func (client DatabaseVulnerabilityAssessmentScansClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result VulnerabilityAssessmentScanRecord, err error)
- func (client DatabaseVulnerabilityAssessmentScansClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseVulnerabilityAssessmentScansClient) GetResponder(resp *http.Response) (result VulnerabilityAssessmentScanRecord, err error)
- func (client DatabaseVulnerabilityAssessmentScansClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DatabaseVulnerabilityAssessmentScansClient) InitiateScan(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseVulnerabilityAssessmentScansInitiateScanFuture, err error)
- func (client DatabaseVulnerabilityAssessmentScansClient) InitiateScanPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseVulnerabilityAssessmentScansClient) InitiateScanResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DatabaseVulnerabilityAssessmentScansClient) InitiateScanSender(req *http.Request) (future DatabaseVulnerabilityAssessmentScansInitiateScanFuture, err error)
- func (client DatabaseVulnerabilityAssessmentScansClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, ...) (result VulnerabilityAssessmentScanRecordListResultPage, err error)
- func (client DatabaseVulnerabilityAssessmentScansClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result VulnerabilityAssessmentScanRecordListResultIterator, err error)
- func (client DatabaseVulnerabilityAssessmentScansClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseVulnerabilityAssessmentScansClient) ListByDatabaseResponder(resp *http.Response) (result VulnerabilityAssessmentScanRecordListResult, err error)
- func (client DatabaseVulnerabilityAssessmentScansClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- type DatabaseVulnerabilityAssessmentScansExport
- type DatabaseVulnerabilityAssessmentScansInitiateScanFuture
- type DatabaseVulnerabilityAssessmentsClient
- func (client DatabaseVulnerabilityAssessmentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseVulnerabilityAssessment, err error)
- func (client DatabaseVulnerabilityAssessmentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseVulnerabilityAssessmentsClient) CreateOrUpdateResponder(resp *http.Response) (result DatabaseVulnerabilityAssessment, err error)
- func (client DatabaseVulnerabilityAssessmentsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client DatabaseVulnerabilityAssessmentsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result autorest.Response, err error)
- func (client DatabaseVulnerabilityAssessmentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseVulnerabilityAssessmentsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DatabaseVulnerabilityAssessmentsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client DatabaseVulnerabilityAssessmentsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseVulnerabilityAssessment, err error)
- func (client DatabaseVulnerabilityAssessmentsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseVulnerabilityAssessmentsClient) GetResponder(resp *http.Response) (result DatabaseVulnerabilityAssessment, err error)
- func (client DatabaseVulnerabilityAssessmentsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DatabaseVulnerabilityAssessmentsClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseVulnerabilityAssessmentListResultPage, err error)
- func (client DatabaseVulnerabilityAssessmentsClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseVulnerabilityAssessmentListResultIterator, err error)
- func (client DatabaseVulnerabilityAssessmentsClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabaseVulnerabilityAssessmentsClient) ListByDatabaseResponder(resp *http.Response) (result DatabaseVulnerabilityAssessmentListResult, err error)
- func (client DatabaseVulnerabilityAssessmentsClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- type DatabasesClient
- func (client DatabasesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabasesCreateOrUpdateFuture, err error)
- func (client DatabasesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabasesClient) CreateOrUpdateResponder(resp *http.Response) (result Database, err error)
- func (client DatabasesClient) CreateOrUpdateSender(req *http.Request) (future DatabasesCreateOrUpdateFuture, err error)
- func (client DatabasesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabasesDeleteFuture, err error)
- func (client DatabasesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabasesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DatabasesClient) DeleteSender(req *http.Request) (future DatabasesDeleteFuture, err error)
- func (client DatabasesClient) 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 ImportExportOperationResult, err error)
- func (client DatabasesClient) ExportSender(req *http.Request) (future DatabasesExportFuture, err error)
- func (client DatabasesClient) Failover(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabasesFailoverFuture, err error)
- func (client DatabasesClient) FailoverPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabasesClient) FailoverResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DatabasesClient) FailoverSender(req *http.Request) (future DatabasesFailoverFuture, err error)
- func (client DatabasesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result Database, err error)
- func (client DatabasesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabasesClient) GetResponder(resp *http.Response) (result Database, err error)
- func (client DatabasesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DatabasesClient) 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 ImportExportOperationResult, 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 DatabaseListResultPage, err error)
- func (client DatabasesClient) ListByElasticPoolComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseListResultIterator, 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) ListByServer(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseListResultPage, err error)
- func (client DatabasesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabaseListResultIterator, 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) ListInaccessibleByServer(ctx context.Context, resourceGroupName string, serverName string) (result DatabaseListResultPage, err error)
- func (client DatabasesClient) ListInaccessibleByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result DatabaseListResultIterator, err error)
- func (client DatabasesClient) ListInaccessibleByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client DatabasesClient) ListInaccessibleByServerResponder(resp *http.Response) (result DatabaseListResult, err error)
- func (client DatabasesClient) ListInaccessibleByServerSender(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 Database, 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 Database, 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)
- func (client DatabasesClient) UpgradeDataWarehouse(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabasesUpgradeDataWarehouseFuture, err error)
- func (client DatabasesClient) UpgradeDataWarehousePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client DatabasesClient) UpgradeDataWarehouseResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DatabasesClient) UpgradeDataWarehouseSender(req *http.Request) (future DatabasesUpgradeDataWarehouseFuture, err error)
- type DatabasesCreateOrUpdateFuture
- type DatabasesDeleteFuture
- type DatabasesExportFuture
- type DatabasesFailoverFuture
- type DatabasesImportFuture
- type DatabasesPauseFuture
- type DatabasesResumeFuture
- type DatabasesUpdateFuture
- type DatabasesUpgradeDataWarehouseFuture
- type DayOfWeek
- type DeletedServer
- type DeletedServerListResult
- type DeletedServerListResultIterator
- func (iter *DeletedServerListResultIterator) Next() error
- func (iter *DeletedServerListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter DeletedServerListResultIterator) NotDone() bool
- func (iter DeletedServerListResultIterator) Response() DeletedServerListResult
- func (iter DeletedServerListResultIterator) Value() DeletedServer
- type DeletedServerListResultPage
- func (page *DeletedServerListResultPage) Next() error
- func (page *DeletedServerListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page DeletedServerListResultPage) NotDone() bool
- func (page DeletedServerListResultPage) Response() DeletedServerListResult
- func (page DeletedServerListResultPage) Values() []DeletedServer
- type DeletedServerProperties
- type DeletedServersClient
- func (client DeletedServersClient) Get(ctx context.Context, locationName string, deletedServerName string) (result DeletedServer, err error)
- func (client DeletedServersClient) GetPreparer(ctx context.Context, locationName string, deletedServerName string) (*http.Request, error)
- func (client DeletedServersClient) GetResponder(resp *http.Response) (result DeletedServer, err error)
- func (client DeletedServersClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DeletedServersClient) List(ctx context.Context) (result DeletedServerListResultPage, err error)
- func (client DeletedServersClient) ListByLocation(ctx context.Context, locationName string) (result DeletedServerListResultPage, err error)
- func (client DeletedServersClient) ListByLocationComplete(ctx context.Context, locationName string) (result DeletedServerListResultIterator, err error)
- func (client DeletedServersClient) ListByLocationPreparer(ctx context.Context, locationName string) (*http.Request, error)
- func (client DeletedServersClient) ListByLocationResponder(resp *http.Response) (result DeletedServerListResult, err error)
- func (client DeletedServersClient) ListByLocationSender(req *http.Request) (*http.Response, error)
- func (client DeletedServersClient) ListComplete(ctx context.Context) (result DeletedServerListResultIterator, err error)
- func (client DeletedServersClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client DeletedServersClient) ListResponder(resp *http.Response) (result DeletedServerListResult, err error)
- func (client DeletedServersClient) ListSender(req *http.Request) (*http.Response, error)
- func (client DeletedServersClient) Recover(ctx context.Context, locationName string, deletedServerName string) (result DeletedServersRecoverFuture, err error)
- func (client DeletedServersClient) RecoverPreparer(ctx context.Context, locationName string, deletedServerName string) (*http.Request, error)
- func (client DeletedServersClient) RecoverResponder(resp *http.Response) (result DeletedServer, err error)
- func (client DeletedServersClient) RecoverSender(req *http.Request) (future DeletedServersRecoverFuture, err error)
- type DeletedServersRecoverFuture
- 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 ElasticPoolEditionCapability
- type ElasticPoolLicenseType
- type ElasticPoolListResult
- type ElasticPoolListResultIterator
- func (iter *ElasticPoolListResultIterator) Next() error
- func (iter *ElasticPoolListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ElasticPoolListResultIterator) NotDone() bool
- func (iter ElasticPoolListResultIterator) Response() ElasticPoolListResult
- func (iter ElasticPoolListResultIterator) Value() ElasticPool
- type ElasticPoolListResultPage
- func (page *ElasticPoolListResultPage) Next() error
- func (page *ElasticPoolListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ElasticPoolListResultPage) NotDone() bool
- func (page ElasticPoolListResultPage) Response() ElasticPoolListResult
- func (page ElasticPoolListResultPage) Values() []ElasticPool
- type ElasticPoolOperation
- type ElasticPoolOperationListResult
- type ElasticPoolOperationListResultIterator
- func (iter *ElasticPoolOperationListResultIterator) Next() error
- func (iter *ElasticPoolOperationListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ElasticPoolOperationListResultIterator) NotDone() bool
- func (iter ElasticPoolOperationListResultIterator) Response() ElasticPoolOperationListResult
- func (iter ElasticPoolOperationListResultIterator) Value() ElasticPoolOperation
- type ElasticPoolOperationListResultPage
- func (page *ElasticPoolOperationListResultPage) Next() error
- func (page *ElasticPoolOperationListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ElasticPoolOperationListResultPage) NotDone() bool
- func (page ElasticPoolOperationListResultPage) Response() ElasticPoolOperationListResult
- func (page ElasticPoolOperationListResultPage) Values() []ElasticPoolOperation
- type ElasticPoolOperationProperties
- type ElasticPoolOperationsClient
- func (client ElasticPoolOperationsClient) Cancel(ctx context.Context, resourceGroupName string, serverName string, ...) (result autorest.Response, err error)
- func (client ElasticPoolOperationsClient) CancelPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ElasticPoolOperationsClient) CancelResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ElasticPoolOperationsClient) CancelSender(req *http.Request) (*http.Response, error)
- func (client ElasticPoolOperationsClient) ListByElasticPool(ctx context.Context, resourceGroupName string, serverName string, ...) (result ElasticPoolOperationListResultPage, err error)
- func (client ElasticPoolOperationsClient) ListByElasticPoolComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result ElasticPoolOperationListResultIterator, err error)
- func (client ElasticPoolOperationsClient) ListByElasticPoolPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ElasticPoolOperationsClient) ListByElasticPoolResponder(resp *http.Response) (result ElasticPoolOperationListResult, err error)
- func (client ElasticPoolOperationsClient) ListByElasticPoolSender(req *http.Request) (*http.Response, error)
- type ElasticPoolPerDatabaseMaxPerformanceLevelCapability
- type ElasticPoolPerDatabaseMinPerformanceLevelCapability
- type ElasticPoolPerDatabaseSettings
- type ElasticPoolPerformanceLevelCapability
- type ElasticPoolProperties
- type ElasticPoolState
- type ElasticPoolUpdate
- type ElasticPoolUpdateProperties
- 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 ElasticPoolsDeleteFuture, 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) (future ElasticPoolsDeleteFuture, err error)
- func (client ElasticPoolsClient) Failover(ctx context.Context, resourceGroupName string, serverName string, ...) (result ElasticPoolsFailoverFuture, err error)
- func (client ElasticPoolsClient) FailoverPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ElasticPoolsClient) FailoverResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ElasticPoolsClient) FailoverSender(req *http.Request) (future ElasticPoolsFailoverFuture, err 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, skip *int32) (result ElasticPoolListResultPage, err error)
- func (client ElasticPoolsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string, skip *int32) (result ElasticPoolListResultIterator, err error)
- func (client ElasticPoolsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string, skip *int32) (*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 ElasticPoolsDeleteFuture
- type ElasticPoolsFailoverFuture
- type ElasticPoolsUpdateFuture
- type EncryptionProtector
- type EncryptionProtectorListResult
- type EncryptionProtectorListResultIterator
- func (iter *EncryptionProtectorListResultIterator) Next() error
- func (iter *EncryptionProtectorListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter EncryptionProtectorListResultIterator) NotDone() bool
- func (iter EncryptionProtectorListResultIterator) Response() EncryptionProtectorListResult
- func (iter EncryptionProtectorListResultIterator) Value() EncryptionProtector
- type EncryptionProtectorListResultPage
- func (page *EncryptionProtectorListResultPage) Next() error
- func (page *EncryptionProtectorListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page EncryptionProtectorListResultPage) NotDone() bool
- func (page EncryptionProtectorListResultPage) Response() EncryptionProtectorListResult
- func (page EncryptionProtectorListResultPage) Values() []EncryptionProtector
- 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)
- func (client EncryptionProtectorsClient) Revalidate(ctx context.Context, resourceGroupName string, serverName string) (result EncryptionProtectorsRevalidateFuture, err error)
- func (client EncryptionProtectorsClient) RevalidatePreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client EncryptionProtectorsClient) RevalidateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client EncryptionProtectorsClient) RevalidateSender(req *http.Request) (future EncryptionProtectorsRevalidateFuture, err error)
- type EncryptionProtectorsCreateOrUpdateFuture
- type EncryptionProtectorsRevalidateFuture
- type ExportDatabaseDefinition
- type ExtendedDatabaseBlobAuditingPoliciesClient
- func (client ExtendedDatabaseBlobAuditingPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result ExtendedDatabaseBlobAuditingPolicy, err error)
- func (client ExtendedDatabaseBlobAuditingPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ExtendedDatabaseBlobAuditingPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ExtendedDatabaseBlobAuditingPolicy, err error)
- func (client ExtendedDatabaseBlobAuditingPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ExtendedDatabaseBlobAuditingPoliciesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result ExtendedDatabaseBlobAuditingPolicy, err error)
- func (client ExtendedDatabaseBlobAuditingPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ExtendedDatabaseBlobAuditingPoliciesClient) GetResponder(resp *http.Response) (result ExtendedDatabaseBlobAuditingPolicy, err error)
- func (client ExtendedDatabaseBlobAuditingPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ExtendedDatabaseBlobAuditingPoliciesClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, ...) (result ExtendedDatabaseBlobAuditingPolicyListResultPage, err error)
- func (client ExtendedDatabaseBlobAuditingPoliciesClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result ExtendedDatabaseBlobAuditingPolicyListResultIterator, err error)
- func (client ExtendedDatabaseBlobAuditingPoliciesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ExtendedDatabaseBlobAuditingPoliciesClient) ListByDatabaseResponder(resp *http.Response) (result ExtendedDatabaseBlobAuditingPolicyListResult, err error)
- func (client ExtendedDatabaseBlobAuditingPoliciesClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- type ExtendedDatabaseBlobAuditingPolicy
- type ExtendedDatabaseBlobAuditingPolicyListResult
- type ExtendedDatabaseBlobAuditingPolicyListResultIterator
- func (iter *ExtendedDatabaseBlobAuditingPolicyListResultIterator) Next() error
- func (iter *ExtendedDatabaseBlobAuditingPolicyListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ExtendedDatabaseBlobAuditingPolicyListResultIterator) NotDone() bool
- func (iter ExtendedDatabaseBlobAuditingPolicyListResultIterator) Response() ExtendedDatabaseBlobAuditingPolicyListResult
- func (iter ExtendedDatabaseBlobAuditingPolicyListResultIterator) Value() ExtendedDatabaseBlobAuditingPolicy
- type ExtendedDatabaseBlobAuditingPolicyListResultPage
- func (page *ExtendedDatabaseBlobAuditingPolicyListResultPage) Next() error
- func (page *ExtendedDatabaseBlobAuditingPolicyListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ExtendedDatabaseBlobAuditingPolicyListResultPage) NotDone() bool
- func (page ExtendedDatabaseBlobAuditingPolicyListResultPage) Response() ExtendedDatabaseBlobAuditingPolicyListResult
- func (page ExtendedDatabaseBlobAuditingPolicyListResultPage) Values() []ExtendedDatabaseBlobAuditingPolicy
- type ExtendedDatabaseBlobAuditingPolicyProperties
- type ExtendedServerBlobAuditingPoliciesClient
- func (client ExtendedServerBlobAuditingPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result ExtendedServerBlobAuditingPoliciesCreateOrUpdateFuture, err error)
- func (client ExtendedServerBlobAuditingPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ExtendedServerBlobAuditingPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ExtendedServerBlobAuditingPolicy, err error)
- func (client ExtendedServerBlobAuditingPoliciesClient) CreateOrUpdateSender(req *http.Request) (future ExtendedServerBlobAuditingPoliciesCreateOrUpdateFuture, err error)
- func (client ExtendedServerBlobAuditingPoliciesClient) Get(ctx context.Context, resourceGroupName string, serverName string) (result ExtendedServerBlobAuditingPolicy, err error)
- func (client ExtendedServerBlobAuditingPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ExtendedServerBlobAuditingPoliciesClient) GetResponder(resp *http.Response) (result ExtendedServerBlobAuditingPolicy, err error)
- func (client ExtendedServerBlobAuditingPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ExtendedServerBlobAuditingPoliciesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result ExtendedServerBlobAuditingPolicyListResultPage, err error)
- func (client ExtendedServerBlobAuditingPoliciesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result ExtendedServerBlobAuditingPolicyListResultIterator, err error)
- func (client ExtendedServerBlobAuditingPoliciesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ExtendedServerBlobAuditingPoliciesClient) ListByServerResponder(resp *http.Response) (result ExtendedServerBlobAuditingPolicyListResult, err error)
- func (client ExtendedServerBlobAuditingPoliciesClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type ExtendedServerBlobAuditingPoliciesCreateOrUpdateFuture
- type ExtendedServerBlobAuditingPolicy
- type ExtendedServerBlobAuditingPolicyListResult
- type ExtendedServerBlobAuditingPolicyListResultIterator
- func (iter *ExtendedServerBlobAuditingPolicyListResultIterator) Next() error
- func (iter *ExtendedServerBlobAuditingPolicyListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ExtendedServerBlobAuditingPolicyListResultIterator) NotDone() bool
- func (iter ExtendedServerBlobAuditingPolicyListResultIterator) Response() ExtendedServerBlobAuditingPolicyListResult
- func (iter ExtendedServerBlobAuditingPolicyListResultIterator) Value() ExtendedServerBlobAuditingPolicy
- type ExtendedServerBlobAuditingPolicyListResultPage
- func (page *ExtendedServerBlobAuditingPolicyListResultPage) Next() error
- func (page *ExtendedServerBlobAuditingPolicyListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ExtendedServerBlobAuditingPolicyListResultPage) NotDone() bool
- func (page ExtendedServerBlobAuditingPolicyListResultPage) Response() ExtendedServerBlobAuditingPolicyListResult
- func (page ExtendedServerBlobAuditingPolicyListResultPage) Values() []ExtendedServerBlobAuditingPolicy
- type ExtendedServerBlobAuditingPolicyProperties
- type FailoverGroup
- type FailoverGroupListResult
- type FailoverGroupListResultIterator
- func (iter *FailoverGroupListResultIterator) Next() error
- func (iter *FailoverGroupListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter FailoverGroupListResultIterator) NotDone() bool
- func (iter FailoverGroupListResultIterator) Response() FailoverGroupListResult
- func (iter FailoverGroupListResultIterator) Value() FailoverGroup
- type FailoverGroupListResultPage
- func (page *FailoverGroupListResultPage) Next() error
- func (page *FailoverGroupListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page FailoverGroupListResultPage) NotDone() bool
- func (page FailoverGroupListResultPage) Response() FailoverGroupListResult
- func (page FailoverGroupListResultPage) Values() []FailoverGroup
- 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 FirewallRuleList
- type FirewallRuleListResult
- type FirewallRuleListResultIterator
- func (iter *FirewallRuleListResultIterator) Next() error
- func (iter *FirewallRuleListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter FirewallRuleListResultIterator) NotDone() bool
- func (iter FirewallRuleListResultIterator) Response() FirewallRuleListResult
- func (iter FirewallRuleListResultIterator) Value() FirewallRule
- type FirewallRuleListResultPage
- func (page *FirewallRuleListResultPage) Next() error
- func (page *FirewallRuleListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page FirewallRuleListResultPage) NotDone() bool
- func (page FirewallRuleListResultPage) Response() FirewallRuleListResult
- func (page FirewallRuleListResultPage) Values() []FirewallRule
- 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 FirewallRuleListResultPage, err error)
- func (client FirewallRulesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result FirewallRuleListResultIterator, 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)
- func (client FirewallRulesClient) Replace(ctx context.Context, resourceGroupName string, serverName string, ...) (result FirewallRule, err error)
- func (client FirewallRulesClient) ReplacePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client FirewallRulesClient) ReplaceResponder(resp *http.Response) (result FirewallRule, err error)
- func (client FirewallRulesClient) ReplaceSender(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 ImplementationMethod
- type ImportExistingDatabaseDefinition
- type ImportExportExtensionsOperationListResult
- type ImportExportExtensionsOperationListResultIterator
- func (iter *ImportExportExtensionsOperationListResultIterator) Next() error
- func (iter *ImportExportExtensionsOperationListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ImportExportExtensionsOperationListResultIterator) NotDone() bool
- func (iter ImportExportExtensionsOperationListResultIterator) Response() ImportExportExtensionsOperationListResult
- func (iter ImportExportExtensionsOperationListResultIterator) Value() ImportExportExtensionsOperationResult
- type ImportExportExtensionsOperationListResultPage
- func (page *ImportExportExtensionsOperationListResultPage) Next() error
- func (page *ImportExportExtensionsOperationListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ImportExportExtensionsOperationListResultPage) NotDone() bool
- func (page ImportExportExtensionsOperationListResultPage) Response() ImportExportExtensionsOperationListResult
- func (page ImportExportExtensionsOperationListResultPage) Values() []ImportExportExtensionsOperationResult
- type ImportExportExtensionsOperationResult
- type ImportExportExtensionsOperationResultProperties
- type ImportExportOperationResult
- type ImportExportOperationResultProperties
- type ImportNewDatabaseDefinition
- type InstanceFailoverGroup
- type InstanceFailoverGroupListResult
- type InstanceFailoverGroupListResultIterator
- func (iter *InstanceFailoverGroupListResultIterator) Next() error
- func (iter *InstanceFailoverGroupListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter InstanceFailoverGroupListResultIterator) NotDone() bool
- func (iter InstanceFailoverGroupListResultIterator) Response() InstanceFailoverGroupListResult
- func (iter InstanceFailoverGroupListResultIterator) Value() InstanceFailoverGroup
- type InstanceFailoverGroupListResultPage
- func (page *InstanceFailoverGroupListResultPage) Next() error
- func (page *InstanceFailoverGroupListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page InstanceFailoverGroupListResultPage) NotDone() bool
- func (page InstanceFailoverGroupListResultPage) Response() InstanceFailoverGroupListResult
- func (page InstanceFailoverGroupListResultPage) Values() []InstanceFailoverGroup
- type InstanceFailoverGroupProperties
- type InstanceFailoverGroupReadOnlyEndpoint
- type InstanceFailoverGroupReadWriteEndpoint
- type InstanceFailoverGroupReplicationRole
- type InstanceFailoverGroupsClient
- func (client InstanceFailoverGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, locationName string, ...) (result InstanceFailoverGroupsCreateOrUpdateFuture, err error)
- func (client InstanceFailoverGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, locationName string, ...) (*http.Request, error)
- func (client InstanceFailoverGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result InstanceFailoverGroup, err error)
- func (client InstanceFailoverGroupsClient) CreateOrUpdateSender(req *http.Request) (future InstanceFailoverGroupsCreateOrUpdateFuture, err error)
- func (client InstanceFailoverGroupsClient) Delete(ctx context.Context, resourceGroupName string, locationName string, ...) (result InstanceFailoverGroupsDeleteFuture, err error)
- func (client InstanceFailoverGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, locationName string, ...) (*http.Request, error)
- func (client InstanceFailoverGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client InstanceFailoverGroupsClient) DeleteSender(req *http.Request) (future InstanceFailoverGroupsDeleteFuture, err error)
- func (client InstanceFailoverGroupsClient) Failover(ctx context.Context, resourceGroupName string, locationName string, ...) (result InstanceFailoverGroupsFailoverFuture, err error)
- func (client InstanceFailoverGroupsClient) FailoverPreparer(ctx context.Context, resourceGroupName string, locationName string, ...) (*http.Request, error)
- func (client InstanceFailoverGroupsClient) FailoverResponder(resp *http.Response) (result InstanceFailoverGroup, err error)
- func (client InstanceFailoverGroupsClient) FailoverSender(req *http.Request) (future InstanceFailoverGroupsFailoverFuture, err error)
- func (client InstanceFailoverGroupsClient) ForceFailoverAllowDataLoss(ctx context.Context, resourceGroupName string, locationName string, ...) (result InstanceFailoverGroupsForceFailoverAllowDataLossFuture, err error)
- func (client InstanceFailoverGroupsClient) ForceFailoverAllowDataLossPreparer(ctx context.Context, resourceGroupName string, locationName string, ...) (*http.Request, error)
- func (client InstanceFailoverGroupsClient) ForceFailoverAllowDataLossResponder(resp *http.Response) (result InstanceFailoverGroup, err error)
- func (client InstanceFailoverGroupsClient) ForceFailoverAllowDataLossSender(req *http.Request) (future InstanceFailoverGroupsForceFailoverAllowDataLossFuture, err error)
- func (client InstanceFailoverGroupsClient) Get(ctx context.Context, resourceGroupName string, locationName string, ...) (result InstanceFailoverGroup, err error)
- func (client InstanceFailoverGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, locationName string, ...) (*http.Request, error)
- func (client InstanceFailoverGroupsClient) GetResponder(resp *http.Response) (result InstanceFailoverGroup, err error)
- func (client InstanceFailoverGroupsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client InstanceFailoverGroupsClient) ListByLocation(ctx context.Context, resourceGroupName string, locationName string) (result InstanceFailoverGroupListResultPage, err error)
- func (client InstanceFailoverGroupsClient) ListByLocationComplete(ctx context.Context, resourceGroupName string, locationName string) (result InstanceFailoverGroupListResultIterator, err error)
- func (client InstanceFailoverGroupsClient) ListByLocationPreparer(ctx context.Context, resourceGroupName string, locationName string) (*http.Request, error)
- func (client InstanceFailoverGroupsClient) ListByLocationResponder(resp *http.Response) (result InstanceFailoverGroupListResult, err error)
- func (client InstanceFailoverGroupsClient) ListByLocationSender(req *http.Request) (*http.Response, error)
- type InstanceFailoverGroupsCreateOrUpdateFuture
- type InstanceFailoverGroupsDeleteFuture
- type InstanceFailoverGroupsFailoverFuture
- type InstanceFailoverGroupsForceFailoverAllowDataLossFuture
- type InstancePool
- type InstancePoolEditionCapability
- type InstancePoolFamilyCapability
- type InstancePoolLicenseType
- type InstancePoolListResult
- type InstancePoolListResultIterator
- func (iter *InstancePoolListResultIterator) Next() error
- func (iter *InstancePoolListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter InstancePoolListResultIterator) NotDone() bool
- func (iter InstancePoolListResultIterator) Response() InstancePoolListResult
- func (iter InstancePoolListResultIterator) Value() InstancePool
- type InstancePoolListResultPage
- func (page *InstancePoolListResultPage) Next() error
- func (page *InstancePoolListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page InstancePoolListResultPage) NotDone() bool
- func (page InstancePoolListResultPage) Response() InstancePoolListResult
- func (page InstancePoolListResultPage) Values() []InstancePool
- type InstancePoolProperties
- type InstancePoolUpdate
- type InstancePoolVcoresCapability
- type InstancePoolsClient
- func (client InstancePoolsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, instancePoolName string, ...) (result InstancePoolsCreateOrUpdateFuture, err error)
- func (client InstancePoolsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, instancePoolName string, ...) (*http.Request, error)
- func (client InstancePoolsClient) CreateOrUpdateResponder(resp *http.Response) (result InstancePool, err error)
- func (client InstancePoolsClient) CreateOrUpdateSender(req *http.Request) (future InstancePoolsCreateOrUpdateFuture, err error)
- func (client InstancePoolsClient) Delete(ctx context.Context, resourceGroupName string, instancePoolName string) (result InstancePoolsDeleteFuture, err error)
- func (client InstancePoolsClient) DeletePreparer(ctx context.Context, resourceGroupName string, instancePoolName string) (*http.Request, error)
- func (client InstancePoolsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client InstancePoolsClient) DeleteSender(req *http.Request) (future InstancePoolsDeleteFuture, err error)
- func (client InstancePoolsClient) Get(ctx context.Context, resourceGroupName string, instancePoolName string) (result InstancePool, err error)
- func (client InstancePoolsClient) GetPreparer(ctx context.Context, resourceGroupName string, instancePoolName string) (*http.Request, error)
- func (client InstancePoolsClient) GetResponder(resp *http.Response) (result InstancePool, err error)
- func (client InstancePoolsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client InstancePoolsClient) List(ctx context.Context) (result InstancePoolListResultPage, err error)
- func (client InstancePoolsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result InstancePoolListResultPage, err error)
- func (client InstancePoolsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result InstancePoolListResultIterator, err error)
- func (client InstancePoolsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client InstancePoolsClient) ListByResourceGroupResponder(resp *http.Response) (result InstancePoolListResult, err error)
- func (client InstancePoolsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client InstancePoolsClient) ListComplete(ctx context.Context) (result InstancePoolListResultIterator, err error)
- func (client InstancePoolsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client InstancePoolsClient) ListResponder(resp *http.Response) (result InstancePoolListResult, err error)
- func (client InstancePoolsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client InstancePoolsClient) Update(ctx context.Context, resourceGroupName string, instancePoolName string, ...) (result InstancePoolsUpdateFuture, err error)
- func (client InstancePoolsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, instancePoolName string, ...) (*http.Request, error)
- func (client InstancePoolsClient) UpdateResponder(resp *http.Response) (result InstancePool, err error)
- func (client InstancePoolsClient) UpdateSender(req *http.Request) (future InstancePoolsUpdateFuture, err error)
- type InstancePoolsCreateOrUpdateFuture
- type InstancePoolsDeleteFuture
- type InstancePoolsUpdateFuture
- type IsRetryable
- type Job
- type JobAgent
- type JobAgentListResult
- type JobAgentListResultIterator
- func (iter *JobAgentListResultIterator) Next() error
- func (iter *JobAgentListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter JobAgentListResultIterator) NotDone() bool
- func (iter JobAgentListResultIterator) Response() JobAgentListResult
- func (iter JobAgentListResultIterator) Value() JobAgent
- type JobAgentListResultPage
- func (page *JobAgentListResultPage) Next() error
- func (page *JobAgentListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page JobAgentListResultPage) NotDone() bool
- func (page JobAgentListResultPage) Response() JobAgentListResult
- func (page JobAgentListResultPage) Values() []JobAgent
- type JobAgentProperties
- type JobAgentState
- type JobAgentUpdate
- type JobAgentsClient
- func (client JobAgentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobAgentsCreateOrUpdateFuture, err error)
- func (client JobAgentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobAgentsClient) CreateOrUpdateResponder(resp *http.Response) (result JobAgent, err error)
- func (client JobAgentsClient) CreateOrUpdateSender(req *http.Request) (future JobAgentsCreateOrUpdateFuture, err error)
- func (client JobAgentsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobAgentsDeleteFuture, err error)
- func (client JobAgentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobAgentsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client JobAgentsClient) DeleteSender(req *http.Request) (future JobAgentsDeleteFuture, err error)
- func (client JobAgentsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobAgent, err error)
- func (client JobAgentsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobAgentsClient) GetResponder(resp *http.Response) (result JobAgent, err error)
- func (client JobAgentsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client JobAgentsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result JobAgentListResultPage, err error)
- func (client JobAgentsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result JobAgentListResultIterator, err error)
- func (client JobAgentsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client JobAgentsClient) ListByServerResponder(resp *http.Response) (result JobAgentListResult, err error)
- func (client JobAgentsClient) ListByServerSender(req *http.Request) (*http.Response, error)
- func (client JobAgentsClient) Update(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobAgentsUpdateFuture, err error)
- func (client JobAgentsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobAgentsClient) UpdateResponder(resp *http.Response) (result JobAgent, err error)
- func (client JobAgentsClient) UpdateSender(req *http.Request) (future JobAgentsUpdateFuture, err error)
- type JobAgentsCreateOrUpdateFuture
- type JobAgentsDeleteFuture
- type JobAgentsUpdateFuture
- type JobCredential
- type JobCredentialListResult
- type JobCredentialListResultIterator
- func (iter *JobCredentialListResultIterator) Next() error
- func (iter *JobCredentialListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter JobCredentialListResultIterator) NotDone() bool
- func (iter JobCredentialListResultIterator) Response() JobCredentialListResult
- func (iter JobCredentialListResultIterator) Value() JobCredential
- type JobCredentialListResultPage
- func (page *JobCredentialListResultPage) Next() error
- func (page *JobCredentialListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page JobCredentialListResultPage) NotDone() bool
- func (page JobCredentialListResultPage) Response() JobCredentialListResult
- func (page JobCredentialListResultPage) Values() []JobCredential
- type JobCredentialProperties
- type JobCredentialsClient
- func (client JobCredentialsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobCredential, err error)
- func (client JobCredentialsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobCredentialsClient) CreateOrUpdateResponder(resp *http.Response) (result JobCredential, err error)
- func (client JobCredentialsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client JobCredentialsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result autorest.Response, err error)
- func (client JobCredentialsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobCredentialsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client JobCredentialsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client JobCredentialsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobCredential, err error)
- func (client JobCredentialsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobCredentialsClient) GetResponder(resp *http.Response) (result JobCredential, err error)
- func (client JobCredentialsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client JobCredentialsClient) ListByAgent(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobCredentialListResultPage, err error)
- func (client JobCredentialsClient) ListByAgentComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobCredentialListResultIterator, err error)
- func (client JobCredentialsClient) ListByAgentPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobCredentialsClient) ListByAgentResponder(resp *http.Response) (result JobCredentialListResult, err error)
- func (client JobCredentialsClient) ListByAgentSender(req *http.Request) (*http.Response, error)
- type JobExecution
- type JobExecutionLifecycle
- type JobExecutionListResult
- type JobExecutionListResultIterator
- func (iter *JobExecutionListResultIterator) Next() error
- func (iter *JobExecutionListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter JobExecutionListResultIterator) NotDone() bool
- func (iter JobExecutionListResultIterator) Response() JobExecutionListResult
- func (iter JobExecutionListResultIterator) Value() JobExecution
- type JobExecutionListResultPage
- func (page *JobExecutionListResultPage) Next() error
- func (page *JobExecutionListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page JobExecutionListResultPage) NotDone() bool
- func (page JobExecutionListResultPage) Response() JobExecutionListResult
- func (page JobExecutionListResultPage) Values() []JobExecution
- type JobExecutionProperties
- type JobExecutionTarget
- type JobExecutionsClient
- func (client JobExecutionsClient) Cancel(ctx context.Context, resourceGroupName string, serverName string, ...) (result autorest.Response, err error)
- func (client JobExecutionsClient) CancelPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobExecutionsClient) CancelResponder(resp *http.Response) (result autorest.Response, err error)
- func (client JobExecutionsClient) CancelSender(req *http.Request) (*http.Response, error)
- func (client JobExecutionsClient) Create(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobExecutionsCreateFuture, err error)
- func (client JobExecutionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobExecutionsCreateOrUpdateFuture, err error)
- func (client JobExecutionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobExecutionsClient) CreateOrUpdateResponder(resp *http.Response) (result JobExecution, err error)
- func (client JobExecutionsClient) CreateOrUpdateSender(req *http.Request) (future JobExecutionsCreateOrUpdateFuture, err error)
- func (client JobExecutionsClient) CreatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobExecutionsClient) CreateResponder(resp *http.Response) (result JobExecution, err error)
- func (client JobExecutionsClient) CreateSender(req *http.Request) (future JobExecutionsCreateFuture, err error)
- func (client JobExecutionsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobExecution, err error)
- func (client JobExecutionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobExecutionsClient) GetResponder(resp *http.Response) (result JobExecution, err error)
- func (client JobExecutionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client JobExecutionsClient) ListByAgent(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobExecutionListResultPage, err error)
- func (client JobExecutionsClient) ListByAgentComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobExecutionListResultIterator, err error)
- func (client JobExecutionsClient) ListByAgentPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobExecutionsClient) ListByAgentResponder(resp *http.Response) (result JobExecutionListResult, err error)
- func (client JobExecutionsClient) ListByAgentSender(req *http.Request) (*http.Response, error)
- func (client JobExecutionsClient) ListByJob(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobExecutionListResultPage, err error)
- func (client JobExecutionsClient) ListByJobComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobExecutionListResultIterator, err error)
- func (client JobExecutionsClient) ListByJobPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobExecutionsClient) ListByJobResponder(resp *http.Response) (result JobExecutionListResult, err error)
- func (client JobExecutionsClient) ListByJobSender(req *http.Request) (*http.Response, error)
- type JobExecutionsCreateFuture
- type JobExecutionsCreateOrUpdateFuture
- type JobListResult
- type JobListResultIterator
- type JobListResultPage
- type JobProperties
- type JobSchedule
- type JobScheduleType
- type JobStep
- type JobStepAction
- type JobStepActionSource
- type JobStepActionType
- type JobStepExecutionOptions
- type JobStepExecutionsClient
- func (client JobStepExecutionsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobExecution, err error)
- func (client JobStepExecutionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobStepExecutionsClient) GetResponder(resp *http.Response) (result JobExecution, err error)
- func (client JobStepExecutionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client JobStepExecutionsClient) ListByJobExecution(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobExecutionListResultPage, err error)
- func (client JobStepExecutionsClient) ListByJobExecutionComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobExecutionListResultIterator, err error)
- func (client JobStepExecutionsClient) ListByJobExecutionPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobStepExecutionsClient) ListByJobExecutionResponder(resp *http.Response) (result JobExecutionListResult, err error)
- func (client JobStepExecutionsClient) ListByJobExecutionSender(req *http.Request) (*http.Response, error)
- type JobStepListResult
- type JobStepListResultIterator
- func (iter *JobStepListResultIterator) Next() error
- func (iter *JobStepListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter JobStepListResultIterator) NotDone() bool
- func (iter JobStepListResultIterator) Response() JobStepListResult
- func (iter JobStepListResultIterator) Value() JobStep
- type JobStepListResultPage
- type JobStepOutput
- type JobStepOutputType
- type JobStepProperties
- type JobStepsClient
- func (client JobStepsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobStep, err error)
- func (client JobStepsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobStepsClient) CreateOrUpdateResponder(resp *http.Response) (result JobStep, err error)
- func (client JobStepsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client JobStepsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result autorest.Response, err error)
- func (client JobStepsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobStepsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client JobStepsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client JobStepsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobStep, err error)
- func (client JobStepsClient) GetByVersion(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobStep, err error)
- func (client JobStepsClient) GetByVersionPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobStepsClient) GetByVersionResponder(resp *http.Response) (result JobStep, err error)
- func (client JobStepsClient) GetByVersionSender(req *http.Request) (*http.Response, error)
- func (client JobStepsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobStepsClient) GetResponder(resp *http.Response) (result JobStep, err error)
- func (client JobStepsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client JobStepsClient) ListByJob(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobStepListResultPage, err error)
- func (client JobStepsClient) ListByJobComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobStepListResultIterator, err error)
- func (client JobStepsClient) ListByJobPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobStepsClient) ListByJobResponder(resp *http.Response) (result JobStepListResult, err error)
- func (client JobStepsClient) ListByJobSender(req *http.Request) (*http.Response, error)
- func (client JobStepsClient) ListByVersion(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobStepListResultPage, err error)
- func (client JobStepsClient) ListByVersionComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobStepListResultIterator, err error)
- func (client JobStepsClient) ListByVersionPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobStepsClient) ListByVersionResponder(resp *http.Response) (result JobStepListResult, err error)
- func (client JobStepsClient) ListByVersionSender(req *http.Request) (*http.Response, error)
- type JobTarget
- type JobTargetExecutionsClient
- func (client JobTargetExecutionsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobExecution, err error)
- func (client JobTargetExecutionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobTargetExecutionsClient) GetResponder(resp *http.Response) (result JobExecution, err error)
- func (client JobTargetExecutionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client JobTargetExecutionsClient) ListByJobExecution(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobExecutionListResultPage, err error)
- func (client JobTargetExecutionsClient) ListByJobExecutionComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobExecutionListResultIterator, err error)
- func (client JobTargetExecutionsClient) ListByJobExecutionPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobTargetExecutionsClient) ListByJobExecutionResponder(resp *http.Response) (result JobExecutionListResult, err error)
- func (client JobTargetExecutionsClient) ListByJobExecutionSender(req *http.Request) (*http.Response, error)
- func (client JobTargetExecutionsClient) ListByStep(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobExecutionListResultPage, err error)
- func (client JobTargetExecutionsClient) ListByStepComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobExecutionListResultIterator, err error)
- func (client JobTargetExecutionsClient) ListByStepPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobTargetExecutionsClient) ListByStepResponder(resp *http.Response) (result JobExecutionListResult, err error)
- func (client JobTargetExecutionsClient) ListByStepSender(req *http.Request) (*http.Response, error)
- type JobTargetGroup
- type JobTargetGroupListResult
- type JobTargetGroupListResultIterator
- func (iter *JobTargetGroupListResultIterator) Next() error
- func (iter *JobTargetGroupListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter JobTargetGroupListResultIterator) NotDone() bool
- func (iter JobTargetGroupListResultIterator) Response() JobTargetGroupListResult
- func (iter JobTargetGroupListResultIterator) Value() JobTargetGroup
- type JobTargetGroupListResultPage
- func (page *JobTargetGroupListResultPage) Next() error
- func (page *JobTargetGroupListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page JobTargetGroupListResultPage) NotDone() bool
- func (page JobTargetGroupListResultPage) Response() JobTargetGroupListResult
- func (page JobTargetGroupListResultPage) Values() []JobTargetGroup
- type JobTargetGroupMembershipType
- type JobTargetGroupProperties
- type JobTargetGroupsClient
- func (client JobTargetGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobTargetGroup, err error)
- func (client JobTargetGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobTargetGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result JobTargetGroup, err error)
- func (client JobTargetGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client JobTargetGroupsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result autorest.Response, err error)
- func (client JobTargetGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobTargetGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client JobTargetGroupsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client JobTargetGroupsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobTargetGroup, err error)
- func (client JobTargetGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobTargetGroupsClient) GetResponder(resp *http.Response) (result JobTargetGroup, err error)
- func (client JobTargetGroupsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client JobTargetGroupsClient) ListByAgent(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobTargetGroupListResultPage, err error)
- func (client JobTargetGroupsClient) ListByAgentComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobTargetGroupListResultIterator, err error)
- func (client JobTargetGroupsClient) ListByAgentPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobTargetGroupsClient) ListByAgentResponder(resp *http.Response) (result JobTargetGroupListResult, err error)
- func (client JobTargetGroupsClient) ListByAgentSender(req *http.Request) (*http.Response, error)
- type JobTargetType
- type JobVersion
- type JobVersionListResult
- type JobVersionListResultIterator
- func (iter *JobVersionListResultIterator) Next() error
- func (iter *JobVersionListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter JobVersionListResultIterator) NotDone() bool
- func (iter JobVersionListResultIterator) Response() JobVersionListResult
- func (iter JobVersionListResultIterator) Value() JobVersion
- type JobVersionListResultPage
- func (page *JobVersionListResultPage) Next() error
- func (page *JobVersionListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page JobVersionListResultPage) NotDone() bool
- func (page JobVersionListResultPage) Response() JobVersionListResult
- func (page JobVersionListResultPage) Values() []JobVersion
- type JobVersionsClient
- func (client JobVersionsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobVersion, err error)
- func (client JobVersionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobVersionsClient) GetResponder(resp *http.Response) (result JobVersion, err error)
- func (client JobVersionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client JobVersionsClient) ListByJob(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobVersionListResultPage, err error)
- func (client JobVersionsClient) ListByJobComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobVersionListResultIterator, err error)
- func (client JobVersionsClient) ListByJobPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobVersionsClient) ListByJobResponder(resp *http.Response) (result JobVersionListResult, err error)
- func (client JobVersionsClient) ListByJobSender(req *http.Request) (*http.Response, error)
- type JobsClient
- func (client JobsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result Job, err error)
- func (client JobsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobsClient) CreateOrUpdateResponder(resp *http.Response) (result Job, err error)
- func (client JobsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client JobsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result autorest.Response, err error)
- func (client JobsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client JobsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client JobsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result Job, err error)
- func (client JobsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobsClient) GetResponder(resp *http.Response) (result Job, err error)
- func (client JobsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client JobsClient) ListByAgent(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobListResultPage, err error)
- func (client JobsClient) ListByAgentComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result JobListResultIterator, err error)
- func (client JobsClient) ListByAgentPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client JobsClient) ListByAgentResponder(resp *http.Response) (result JobListResult, err error)
- func (client JobsClient) ListByAgentSender(req *http.Request) (*http.Response, error)
- type LedgerDigestUploads
- type LedgerDigestUploadsClient
- func (client LedgerDigestUploadsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result LedgerDigestUploads, err error)
- func (client LedgerDigestUploadsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client LedgerDigestUploadsClient) CreateOrUpdateResponder(resp *http.Response) (result LedgerDigestUploads, err error)
- func (client LedgerDigestUploadsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client LedgerDigestUploadsClient) Disable(ctx context.Context, resourceGroupName string, serverName string, ...) (result LedgerDigestUploads, err error)
- func (client LedgerDigestUploadsClient) DisablePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client LedgerDigestUploadsClient) DisableResponder(resp *http.Response) (result LedgerDigestUploads, err error)
- func (client LedgerDigestUploadsClient) DisableSender(req *http.Request) (*http.Response, error)
- func (client LedgerDigestUploadsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result LedgerDigestUploads, err error)
- func (client LedgerDigestUploadsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client LedgerDigestUploadsClient) GetResponder(resp *http.Response) (result LedgerDigestUploads, err error)
- func (client LedgerDigestUploadsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client LedgerDigestUploadsClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, ...) (result LedgerDigestUploadsListResultPage, err error)
- func (client LedgerDigestUploadsClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result LedgerDigestUploadsListResultIterator, err error)
- func (client LedgerDigestUploadsClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client LedgerDigestUploadsClient) ListByDatabaseResponder(resp *http.Response) (result LedgerDigestUploadsListResult, err error)
- func (client LedgerDigestUploadsClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- type LedgerDigestUploadsListResult
- type LedgerDigestUploadsListResultIterator
- func (iter *LedgerDigestUploadsListResultIterator) Next() error
- func (iter *LedgerDigestUploadsListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter LedgerDigestUploadsListResultIterator) NotDone() bool
- func (iter LedgerDigestUploadsListResultIterator) Response() LedgerDigestUploadsListResult
- func (iter LedgerDigestUploadsListResultIterator) Value() LedgerDigestUploads
- type LedgerDigestUploadsListResultPage
- func (page *LedgerDigestUploadsListResultPage) Next() error
- func (page *LedgerDigestUploadsListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page LedgerDigestUploadsListResultPage) NotDone() bool
- func (page LedgerDigestUploadsListResultPage) Response() LedgerDigestUploadsListResult
- func (page LedgerDigestUploadsListResultPage) Values() []LedgerDigestUploads
- type LedgerDigestUploadsProperties
- type LedgerDigestUploadsState
- type LicenseTypeCapability
- type ListAdvisor
- type ListRecommendedAction
- type LocationCapabilities
- type LogSizeCapability
- type LogSizeUnit
- type LogicalServerSecurityAlertPolicyListResult
- type LogicalServerSecurityAlertPolicyListResultIterator
- func (iter *LogicalServerSecurityAlertPolicyListResultIterator) Next() error
- func (iter *LogicalServerSecurityAlertPolicyListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter LogicalServerSecurityAlertPolicyListResultIterator) NotDone() bool
- func (iter LogicalServerSecurityAlertPolicyListResultIterator) Response() LogicalServerSecurityAlertPolicyListResult
- func (iter LogicalServerSecurityAlertPolicyListResultIterator) Value() ServerSecurityAlertPolicy
- type LogicalServerSecurityAlertPolicyListResultPage
- func (page *LogicalServerSecurityAlertPolicyListResultPage) Next() error
- func (page *LogicalServerSecurityAlertPolicyListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page LogicalServerSecurityAlertPolicyListResultPage) NotDone() bool
- func (page LogicalServerSecurityAlertPolicyListResultPage) Response() LogicalServerSecurityAlertPolicyListResult
- func (page LogicalServerSecurityAlertPolicyListResultPage) Values() []ServerSecurityAlertPolicy
- type LongTermRetentionBackup
- type LongTermRetentionBackupListResult
- type LongTermRetentionBackupListResultIterator
- func (iter *LongTermRetentionBackupListResultIterator) Next() error
- func (iter *LongTermRetentionBackupListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter LongTermRetentionBackupListResultIterator) NotDone() bool
- func (iter LongTermRetentionBackupListResultIterator) Response() LongTermRetentionBackupListResult
- func (iter LongTermRetentionBackupListResultIterator) Value() LongTermRetentionBackup
- type LongTermRetentionBackupListResultPage
- func (page *LongTermRetentionBackupListResultPage) Next() error
- func (page *LongTermRetentionBackupListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page LongTermRetentionBackupListResultPage) NotDone() bool
- func (page LongTermRetentionBackupListResultPage) Response() LongTermRetentionBackupListResult
- func (page LongTermRetentionBackupListResultPage) Values() []LongTermRetentionBackup
- type LongTermRetentionBackupOperationResult
- type LongTermRetentionBackupProperties
- type LongTermRetentionBackupsClient
- func (client LongTermRetentionBackupsClient) Copy(ctx context.Context, locationName string, longTermRetentionServerName string, ...) (result LongTermRetentionBackupsCopyFuture, err error)
- func (client LongTermRetentionBackupsClient) CopyByResourceGroup(ctx context.Context, resourceGroupName string, locationName string, ...) (result LongTermRetentionBackupsCopyByResourceGroupFuture, err error)
- func (client LongTermRetentionBackupsClient) CopyByResourceGroupPreparer(ctx context.Context, resourceGroupName string, locationName string, ...) (*http.Request, error)
- func (client LongTermRetentionBackupsClient) CopyByResourceGroupResponder(resp *http.Response) (result LongTermRetentionBackupOperationResult, err error)
- func (client LongTermRetentionBackupsClient) CopyByResourceGroupSender(req *http.Request) (future LongTermRetentionBackupsCopyByResourceGroupFuture, err error)
- func (client LongTermRetentionBackupsClient) CopyPreparer(ctx context.Context, locationName string, longTermRetentionServerName string, ...) (*http.Request, error)
- func (client LongTermRetentionBackupsClient) CopyResponder(resp *http.Response) (result LongTermRetentionBackupOperationResult, err error)
- func (client LongTermRetentionBackupsClient) CopySender(req *http.Request) (future LongTermRetentionBackupsCopyFuture, err error)
- func (client LongTermRetentionBackupsClient) Delete(ctx context.Context, locationName string, longTermRetentionServerName string, ...) (result LongTermRetentionBackupsDeleteFuture, err error)
- func (client LongTermRetentionBackupsClient) DeleteByResourceGroup(ctx context.Context, resourceGroupName string, locationName string, ...) (result LongTermRetentionBackupsDeleteByResourceGroupFuture, err error)
- func (client LongTermRetentionBackupsClient) DeleteByResourceGroupPreparer(ctx context.Context, resourceGroupName string, locationName string, ...) (*http.Request, error)
- func (client LongTermRetentionBackupsClient) DeleteByResourceGroupResponder(resp *http.Response) (result autorest.Response, err error)
- func (client LongTermRetentionBackupsClient) DeleteByResourceGroupSender(req *http.Request) (future LongTermRetentionBackupsDeleteByResourceGroupFuture, err error)
- func (client LongTermRetentionBackupsClient) DeletePreparer(ctx context.Context, locationName string, longTermRetentionServerName string, ...) (*http.Request, error)
- func (client LongTermRetentionBackupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client LongTermRetentionBackupsClient) DeleteSender(req *http.Request) (future LongTermRetentionBackupsDeleteFuture, err error)
- func (client LongTermRetentionBackupsClient) Get(ctx context.Context, locationName string, longTermRetentionServerName string, ...) (result LongTermRetentionBackup, err error)
- func (client LongTermRetentionBackupsClient) GetByResourceGroup(ctx context.Context, resourceGroupName string, locationName string, ...) (result LongTermRetentionBackup, err error)
- func (client LongTermRetentionBackupsClient) GetByResourceGroupPreparer(ctx context.Context, resourceGroupName string, locationName string, ...) (*http.Request, error)
- func (client LongTermRetentionBackupsClient) GetByResourceGroupResponder(resp *http.Response) (result LongTermRetentionBackup, err error)
- func (client LongTermRetentionBackupsClient) GetByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client LongTermRetentionBackupsClient) GetPreparer(ctx context.Context, locationName string, longTermRetentionServerName string, ...) (*http.Request, error)
- func (client LongTermRetentionBackupsClient) GetResponder(resp *http.Response) (result LongTermRetentionBackup, err error)
- func (client LongTermRetentionBackupsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client LongTermRetentionBackupsClient) ListByDatabase(ctx context.Context, locationName string, longTermRetentionServerName string, ...) (result LongTermRetentionBackupListResultPage, err error)
- func (client LongTermRetentionBackupsClient) ListByDatabaseComplete(ctx context.Context, locationName string, longTermRetentionServerName string, ...) (result LongTermRetentionBackupListResultIterator, err error)
- func (client LongTermRetentionBackupsClient) ListByDatabasePreparer(ctx context.Context, locationName string, longTermRetentionServerName string, ...) (*http.Request, error)
- func (client LongTermRetentionBackupsClient) ListByDatabaseResponder(resp *http.Response) (result LongTermRetentionBackupListResult, err error)
- func (client LongTermRetentionBackupsClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- func (client LongTermRetentionBackupsClient) ListByLocation(ctx context.Context, locationName string, onlyLatestPerDatabase *bool, ...) (result LongTermRetentionBackupListResultPage, err error)
- func (client LongTermRetentionBackupsClient) ListByLocationComplete(ctx context.Context, locationName string, onlyLatestPerDatabase *bool, ...) (result LongTermRetentionBackupListResultIterator, err error)
- func (client LongTermRetentionBackupsClient) ListByLocationPreparer(ctx context.Context, locationName string, onlyLatestPerDatabase *bool, ...) (*http.Request, error)
- func (client LongTermRetentionBackupsClient) ListByLocationResponder(resp *http.Response) (result LongTermRetentionBackupListResult, err error)
- func (client LongTermRetentionBackupsClient) ListByLocationSender(req *http.Request) (*http.Response, error)
- func (client LongTermRetentionBackupsClient) ListByResourceGroupDatabase(ctx context.Context, resourceGroupName string, locationName string, ...) (result LongTermRetentionBackupListResultPage, err error)
- func (client LongTermRetentionBackupsClient) ListByResourceGroupDatabaseComplete(ctx context.Context, resourceGroupName string, locationName string, ...) (result LongTermRetentionBackupListResultIterator, err error)
- func (client LongTermRetentionBackupsClient) ListByResourceGroupDatabasePreparer(ctx context.Context, resourceGroupName string, locationName string, ...) (*http.Request, error)
- func (client LongTermRetentionBackupsClient) ListByResourceGroupDatabaseResponder(resp *http.Response) (result LongTermRetentionBackupListResult, err error)
- func (client LongTermRetentionBackupsClient) ListByResourceGroupDatabaseSender(req *http.Request) (*http.Response, error)
- func (client LongTermRetentionBackupsClient) ListByResourceGroupLocation(ctx context.Context, resourceGroupName string, locationName string, ...) (result LongTermRetentionBackupListResultPage, err error)
- func (client LongTermRetentionBackupsClient) ListByResourceGroupLocationComplete(ctx context.Context, resourceGroupName string, locationName string, ...) (result LongTermRetentionBackupListResultIterator, err error)
- func (client LongTermRetentionBackupsClient) ListByResourceGroupLocationPreparer(ctx context.Context, resourceGroupName string, locationName string, ...) (*http.Request, error)
- func (client LongTermRetentionBackupsClient) ListByResourceGroupLocationResponder(resp *http.Response) (result LongTermRetentionBackupListResult, err error)
- func (client LongTermRetentionBackupsClient) ListByResourceGroupLocationSender(req *http.Request) (*http.Response, error)
- func (client LongTermRetentionBackupsClient) ListByResourceGroupServer(ctx context.Context, resourceGroupName string, locationName string, ...) (result LongTermRetentionBackupListResultPage, err error)
- func (client LongTermRetentionBackupsClient) ListByResourceGroupServerComplete(ctx context.Context, resourceGroupName string, locationName string, ...) (result LongTermRetentionBackupListResultIterator, err error)
- func (client LongTermRetentionBackupsClient) ListByResourceGroupServerPreparer(ctx context.Context, resourceGroupName string, locationName string, ...) (*http.Request, error)
- func (client LongTermRetentionBackupsClient) ListByResourceGroupServerResponder(resp *http.Response) (result LongTermRetentionBackupListResult, err error)
- func (client LongTermRetentionBackupsClient) ListByResourceGroupServerSender(req *http.Request) (*http.Response, error)
- func (client LongTermRetentionBackupsClient) ListByServer(ctx context.Context, locationName string, longTermRetentionServerName string, ...) (result LongTermRetentionBackupListResultPage, err error)
- func (client LongTermRetentionBackupsClient) ListByServerComplete(ctx context.Context, locationName string, longTermRetentionServerName string, ...) (result LongTermRetentionBackupListResultIterator, err error)
- func (client LongTermRetentionBackupsClient) ListByServerPreparer(ctx context.Context, locationName string, longTermRetentionServerName string, ...) (*http.Request, error)
- func (client LongTermRetentionBackupsClient) ListByServerResponder(resp *http.Response) (result LongTermRetentionBackupListResult, err error)
- func (client LongTermRetentionBackupsClient) ListByServerSender(req *http.Request) (*http.Response, error)
- func (client LongTermRetentionBackupsClient) Update(ctx context.Context, locationName string, longTermRetentionServerName string, ...) (result LongTermRetentionBackupsUpdateFuture, err error)
- func (client LongTermRetentionBackupsClient) UpdateByResourceGroup(ctx context.Context, resourceGroupName string, locationName string, ...) (result LongTermRetentionBackupsUpdateByResourceGroupFuture, err error)
- func (client LongTermRetentionBackupsClient) UpdateByResourceGroupPreparer(ctx context.Context, resourceGroupName string, locationName string, ...) (*http.Request, error)
- func (client LongTermRetentionBackupsClient) UpdateByResourceGroupResponder(resp *http.Response) (result LongTermRetentionBackupOperationResult, err error)
- func (client LongTermRetentionBackupsClient) UpdateByResourceGroupSender(req *http.Request) (future LongTermRetentionBackupsUpdateByResourceGroupFuture, err error)
- func (client LongTermRetentionBackupsClient) UpdatePreparer(ctx context.Context, locationName string, longTermRetentionServerName string, ...) (*http.Request, error)
- func (client LongTermRetentionBackupsClient) UpdateResponder(resp *http.Response) (result LongTermRetentionBackupOperationResult, err error)
- func (client LongTermRetentionBackupsClient) UpdateSender(req *http.Request) (future LongTermRetentionBackupsUpdateFuture, err error)
- type LongTermRetentionBackupsCopyByResourceGroupFuture
- type LongTermRetentionBackupsCopyFuture
- type LongTermRetentionBackupsDeleteByResourceGroupFuture
- type LongTermRetentionBackupsDeleteFuture
- type LongTermRetentionBackupsUpdateByResourceGroupFuture
- type LongTermRetentionBackupsUpdateFuture
- type LongTermRetentionManagedInstanceBackupsClient
- func (client LongTermRetentionManagedInstanceBackupsClient) Delete(ctx context.Context, locationName string, managedInstanceName string, ...) (result LongTermRetentionManagedInstanceBackupsDeleteFuture, err error)
- func (client LongTermRetentionManagedInstanceBackupsClient) DeleteByResourceGroup(ctx context.Context, resourceGroupName string, locationName string, ...) (result LongTermRetentionManagedInstanceBackupsDeleteByResourceGroupFuture, ...)
- func (client LongTermRetentionManagedInstanceBackupsClient) DeleteByResourceGroupPreparer(ctx context.Context, resourceGroupName string, locationName string, ...) (*http.Request, error)
- func (client LongTermRetentionManagedInstanceBackupsClient) DeleteByResourceGroupResponder(resp *http.Response) (result autorest.Response, err error)
- func (client LongTermRetentionManagedInstanceBackupsClient) DeleteByResourceGroupSender(req *http.Request) (future LongTermRetentionManagedInstanceBackupsDeleteByResourceGroupFuture, ...)
- func (client LongTermRetentionManagedInstanceBackupsClient) DeletePreparer(ctx context.Context, locationName string, managedInstanceName string, ...) (*http.Request, error)
- func (client LongTermRetentionManagedInstanceBackupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client LongTermRetentionManagedInstanceBackupsClient) DeleteSender(req *http.Request) (future LongTermRetentionManagedInstanceBackupsDeleteFuture, err error)
- func (client LongTermRetentionManagedInstanceBackupsClient) Get(ctx context.Context, locationName string, managedInstanceName string, ...) (result ManagedInstanceLongTermRetentionBackup, err error)
- func (client LongTermRetentionManagedInstanceBackupsClient) GetByResourceGroup(ctx context.Context, resourceGroupName string, locationName string, ...) (result ManagedInstanceLongTermRetentionBackup, err error)
- func (client LongTermRetentionManagedInstanceBackupsClient) GetByResourceGroupPreparer(ctx context.Context, resourceGroupName string, locationName string, ...) (*http.Request, error)
- func (client LongTermRetentionManagedInstanceBackupsClient) GetByResourceGroupResponder(resp *http.Response) (result ManagedInstanceLongTermRetentionBackup, err error)
- func (client LongTermRetentionManagedInstanceBackupsClient) GetByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client LongTermRetentionManagedInstanceBackupsClient) GetPreparer(ctx context.Context, locationName string, managedInstanceName string, ...) (*http.Request, error)
- func (client LongTermRetentionManagedInstanceBackupsClient) GetResponder(resp *http.Response) (result ManagedInstanceLongTermRetentionBackup, err error)
- func (client LongTermRetentionManagedInstanceBackupsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByDatabase(ctx context.Context, locationName string, managedInstanceName string, ...) (result ManagedInstanceLongTermRetentionBackupListResultPage, err error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByDatabaseComplete(ctx context.Context, locationName string, managedInstanceName string, ...) (result ManagedInstanceLongTermRetentionBackupListResultIterator, err error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByDatabasePreparer(ctx context.Context, locationName string, managedInstanceName string, ...) (*http.Request, error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByDatabaseResponder(resp *http.Response) (result ManagedInstanceLongTermRetentionBackupListResult, err error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByInstance(ctx context.Context, locationName string, managedInstanceName string, ...) (result ManagedInstanceLongTermRetentionBackupListResultPage, err error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByInstanceComplete(ctx context.Context, locationName string, managedInstanceName string, ...) (result ManagedInstanceLongTermRetentionBackupListResultIterator, err error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByInstancePreparer(ctx context.Context, locationName string, managedInstanceName string, ...) (*http.Request, error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByInstanceResponder(resp *http.Response) (result ManagedInstanceLongTermRetentionBackupListResult, err error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByInstanceSender(req *http.Request) (*http.Response, error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByLocation(ctx context.Context, locationName string, onlyLatestPerDatabase *bool, ...) (result ManagedInstanceLongTermRetentionBackupListResultPage, err error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByLocationComplete(ctx context.Context, locationName string, onlyLatestPerDatabase *bool, ...) (result ManagedInstanceLongTermRetentionBackupListResultIterator, err error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByLocationPreparer(ctx context.Context, locationName string, onlyLatestPerDatabase *bool, ...) (*http.Request, error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByLocationResponder(resp *http.Response) (result ManagedInstanceLongTermRetentionBackupListResult, err error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByLocationSender(req *http.Request) (*http.Response, error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupDatabase(ctx context.Context, resourceGroupName string, locationName string, ...) (result ManagedInstanceLongTermRetentionBackupListResultPage, err error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupDatabaseComplete(ctx context.Context, resourceGroupName string, locationName string, ...) (result ManagedInstanceLongTermRetentionBackupListResultIterator, err error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupDatabasePreparer(ctx context.Context, resourceGroupName string, locationName string, ...) (*http.Request, error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupDatabaseResponder(resp *http.Response) (result ManagedInstanceLongTermRetentionBackupListResult, err error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupDatabaseSender(req *http.Request) (*http.Response, error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupInstance(ctx context.Context, resourceGroupName string, locationName string, ...) (result ManagedInstanceLongTermRetentionBackupListResultPage, err error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupInstanceComplete(ctx context.Context, resourceGroupName string, locationName string, ...) (result ManagedInstanceLongTermRetentionBackupListResultIterator, err error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupInstancePreparer(ctx context.Context, resourceGroupName string, locationName string, ...) (*http.Request, error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupInstanceResponder(resp *http.Response) (result ManagedInstanceLongTermRetentionBackupListResult, err error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupInstanceSender(req *http.Request) (*http.Response, error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupLocation(ctx context.Context, resourceGroupName string, locationName string, ...) (result ManagedInstanceLongTermRetentionBackupListResultPage, err error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupLocationComplete(ctx context.Context, resourceGroupName string, locationName string, ...) (result ManagedInstanceLongTermRetentionBackupListResultIterator, err error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupLocationPreparer(ctx context.Context, resourceGroupName string, locationName string, ...) (*http.Request, error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupLocationResponder(resp *http.Response) (result ManagedInstanceLongTermRetentionBackupListResult, err error)
- func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupLocationSender(req *http.Request) (*http.Response, error)
- type LongTermRetentionManagedInstanceBackupsDeleteByResourceGroupFuture
- type LongTermRetentionManagedInstanceBackupsDeleteFuture
- type LongTermRetentionOperationResultProperties
- type LongTermRetentionPoliciesClient
- func (client LongTermRetentionPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result LongTermRetentionPoliciesCreateOrUpdateFuture, err error)
- func (client LongTermRetentionPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client LongTermRetentionPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result LongTermRetentionPolicy, err error)
- func (client LongTermRetentionPoliciesClient) CreateOrUpdateSender(req *http.Request) (future LongTermRetentionPoliciesCreateOrUpdateFuture, err error)
- func (client LongTermRetentionPoliciesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result LongTermRetentionPolicy, err error)
- func (client LongTermRetentionPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client LongTermRetentionPoliciesClient) GetResponder(resp *http.Response) (result LongTermRetentionPolicy, err error)
- func (client LongTermRetentionPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client LongTermRetentionPoliciesClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, ...) (result LongTermRetentionPolicyListResultPage, err error)
- func (client LongTermRetentionPoliciesClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result LongTermRetentionPolicyListResultIterator, err error)
- func (client LongTermRetentionPoliciesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client LongTermRetentionPoliciesClient) ListByDatabaseResponder(resp *http.Response) (result LongTermRetentionPolicyListResult, err error)
- func (client LongTermRetentionPoliciesClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- type LongTermRetentionPoliciesCreateOrUpdateFuture
- type LongTermRetentionPolicy
- type LongTermRetentionPolicyListResult
- type LongTermRetentionPolicyListResultIterator
- func (iter *LongTermRetentionPolicyListResultIterator) Next() error
- func (iter *LongTermRetentionPolicyListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter LongTermRetentionPolicyListResultIterator) NotDone() bool
- func (iter LongTermRetentionPolicyListResultIterator) Response() LongTermRetentionPolicyListResult
- func (iter LongTermRetentionPolicyListResultIterator) Value() LongTermRetentionPolicy
- type LongTermRetentionPolicyListResultPage
- func (page *LongTermRetentionPolicyListResultPage) Next() error
- func (page *LongTermRetentionPolicyListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page LongTermRetentionPolicyListResultPage) NotDone() bool
- func (page LongTermRetentionPolicyListResultPage) Response() LongTermRetentionPolicyListResult
- func (page LongTermRetentionPolicyListResultPage) Values() []LongTermRetentionPolicy
- type MaintenanceConfigurationCapability
- type MaintenanceWindowOptions
- type MaintenanceWindowOptionsClient
- func (client MaintenanceWindowOptionsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result MaintenanceWindowOptions, err error)
- func (client MaintenanceWindowOptionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client MaintenanceWindowOptionsClient) GetResponder(resp *http.Response) (result MaintenanceWindowOptions, err error)
- func (client MaintenanceWindowOptionsClient) GetSender(req *http.Request) (*http.Response, error)
- type MaintenanceWindowOptionsProperties
- type MaintenanceWindowTimeRange
- type MaintenanceWindows
- type MaintenanceWindowsClient
- func (client MaintenanceWindowsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result autorest.Response, err error)
- func (client MaintenanceWindowsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client MaintenanceWindowsClient) CreateOrUpdateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client MaintenanceWindowsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client MaintenanceWindowsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result MaintenanceWindows, err error)
- func (client MaintenanceWindowsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client MaintenanceWindowsClient) GetResponder(resp *http.Response) (result MaintenanceWindows, err error)
- func (client MaintenanceWindowsClient) GetSender(req *http.Request) (*http.Response, error)
- type MaintenanceWindowsProperties
- type ManagedBackupShortTermRetentionPoliciesClient
- func (client ManagedBackupShortTermRetentionPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedBackupShortTermRetentionPoliciesCreateOrUpdateFuture, err error)
- func (client ManagedBackupShortTermRetentionPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedBackupShortTermRetentionPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedBackupShortTermRetentionPolicy, err error)
- func (client ManagedBackupShortTermRetentionPoliciesClient) CreateOrUpdateSender(req *http.Request) (future ManagedBackupShortTermRetentionPoliciesCreateOrUpdateFuture, err error)
- func (client ManagedBackupShortTermRetentionPoliciesClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedBackupShortTermRetentionPolicy, err error)
- func (client ManagedBackupShortTermRetentionPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedBackupShortTermRetentionPoliciesClient) GetResponder(resp *http.Response) (result ManagedBackupShortTermRetentionPolicy, err error)
- func (client ManagedBackupShortTermRetentionPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ManagedBackupShortTermRetentionPoliciesClient) ListByDatabase(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedBackupShortTermRetentionPolicyListResultPage, err error)
- func (client ManagedBackupShortTermRetentionPoliciesClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedBackupShortTermRetentionPolicyListResultIterator, err error)
- func (client ManagedBackupShortTermRetentionPoliciesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedBackupShortTermRetentionPoliciesClient) ListByDatabaseResponder(resp *http.Response) (result ManagedBackupShortTermRetentionPolicyListResult, err error)
- func (client ManagedBackupShortTermRetentionPoliciesClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- func (client ManagedBackupShortTermRetentionPoliciesClient) Update(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedBackupShortTermRetentionPoliciesUpdateFuture, err error)
- func (client ManagedBackupShortTermRetentionPoliciesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedBackupShortTermRetentionPoliciesClient) UpdateResponder(resp *http.Response) (result ManagedBackupShortTermRetentionPolicy, err error)
- func (client ManagedBackupShortTermRetentionPoliciesClient) UpdateSender(req *http.Request) (future ManagedBackupShortTermRetentionPoliciesUpdateFuture, err error)
- type ManagedBackupShortTermRetentionPoliciesCreateOrUpdateFuture
- type ManagedBackupShortTermRetentionPoliciesUpdateFuture
- type ManagedBackupShortTermRetentionPolicy
- type ManagedBackupShortTermRetentionPolicyListResult
- type ManagedBackupShortTermRetentionPolicyListResultIterator
- func (iter *ManagedBackupShortTermRetentionPolicyListResultIterator) Next() error
- func (iter *ManagedBackupShortTermRetentionPolicyListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ManagedBackupShortTermRetentionPolicyListResultIterator) NotDone() bool
- func (iter ManagedBackupShortTermRetentionPolicyListResultIterator) Response() ManagedBackupShortTermRetentionPolicyListResult
- func (iter ManagedBackupShortTermRetentionPolicyListResultIterator) Value() ManagedBackupShortTermRetentionPolicy
- type ManagedBackupShortTermRetentionPolicyListResultPage
- func (page *ManagedBackupShortTermRetentionPolicyListResultPage) Next() error
- func (page *ManagedBackupShortTermRetentionPolicyListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ManagedBackupShortTermRetentionPolicyListResultPage) NotDone() bool
- func (page ManagedBackupShortTermRetentionPolicyListResultPage) Response() ManagedBackupShortTermRetentionPolicyListResult
- func (page ManagedBackupShortTermRetentionPolicyListResultPage) Values() []ManagedBackupShortTermRetentionPolicy
- type ManagedBackupShortTermRetentionPolicyProperties
- type ManagedDatabase
- type ManagedDatabaseColumnsClient
- func (client ManagedDatabaseColumnsClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result DatabaseColumn, err error)
- func (client ManagedDatabaseColumnsClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseColumnsClient) GetResponder(resp *http.Response) (result DatabaseColumn, err error)
- func (client ManagedDatabaseColumnsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ManagedDatabaseColumnsClient) ListByDatabase(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result DatabaseColumnListResultPage, err error)
- func (client ManagedDatabaseColumnsClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result DatabaseColumnListResultIterator, err error)
- func (client ManagedDatabaseColumnsClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseColumnsClient) ListByDatabaseResponder(resp *http.Response) (result DatabaseColumnListResult, err error)
- func (client ManagedDatabaseColumnsClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- func (client ManagedDatabaseColumnsClient) ListByTable(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result DatabaseColumnListResultPage, err error)
- func (client ManagedDatabaseColumnsClient) ListByTableComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result DatabaseColumnListResultIterator, err error)
- func (client ManagedDatabaseColumnsClient) ListByTablePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseColumnsClient) ListByTableResponder(resp *http.Response) (result DatabaseColumnListResult, err error)
- func (client ManagedDatabaseColumnsClient) ListByTableSender(req *http.Request) (*http.Response, error)
- type ManagedDatabaseCreateMode
- type ManagedDatabaseListResult
- type ManagedDatabaseListResultIterator
- func (iter *ManagedDatabaseListResultIterator) Next() error
- func (iter *ManagedDatabaseListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ManagedDatabaseListResultIterator) NotDone() bool
- func (iter ManagedDatabaseListResultIterator) Response() ManagedDatabaseListResult
- func (iter ManagedDatabaseListResultIterator) Value() ManagedDatabase
- type ManagedDatabaseListResultPage
- func (page *ManagedDatabaseListResultPage) Next() error
- func (page *ManagedDatabaseListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ManagedDatabaseListResultPage) NotDone() bool
- func (page ManagedDatabaseListResultPage) Response() ManagedDatabaseListResult
- func (page ManagedDatabaseListResultPage) Values() []ManagedDatabase
- type ManagedDatabaseProperties
- type ManagedDatabaseQueriesClient
- func (client ManagedDatabaseQueriesClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedInstanceQuery, err error)
- func (client ManagedDatabaseQueriesClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseQueriesClient) GetResponder(resp *http.Response) (result ManagedInstanceQuery, err error)
- func (client ManagedDatabaseQueriesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ManagedDatabaseQueriesClient) ListByQuery(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedInstanceQueryStatisticsPage, err error)
- func (client ManagedDatabaseQueriesClient) ListByQueryComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedInstanceQueryStatisticsIterator, err error)
- func (client ManagedDatabaseQueriesClient) ListByQueryPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseQueriesClient) ListByQueryResponder(resp *http.Response) (result ManagedInstanceQueryStatistics, err error)
- func (client ManagedDatabaseQueriesClient) ListByQuerySender(req *http.Request) (*http.Response, error)
- type ManagedDatabaseRecommendedSensitivityLabelsClient
- func (client ManagedDatabaseRecommendedSensitivityLabelsClient) Update(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result autorest.Response, err error)
- func (client ManagedDatabaseRecommendedSensitivityLabelsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseRecommendedSensitivityLabelsClient) UpdateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagedDatabaseRecommendedSensitivityLabelsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type ManagedDatabaseRestoreDetailsClient
- func (client ManagedDatabaseRestoreDetailsClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedDatabaseRestoreDetailsResult, err error)
- func (client ManagedDatabaseRestoreDetailsClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseRestoreDetailsClient) GetResponder(resp *http.Response) (result ManagedDatabaseRestoreDetailsResult, err error)
- func (client ManagedDatabaseRestoreDetailsClient) GetSender(req *http.Request) (*http.Response, error)
- type ManagedDatabaseRestoreDetailsProperties
- type ManagedDatabaseRestoreDetailsResult
- type ManagedDatabaseSchemasClient
- func (client ManagedDatabaseSchemasClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result DatabaseSchema, err error)
- func (client ManagedDatabaseSchemasClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseSchemasClient) GetResponder(resp *http.Response) (result DatabaseSchema, err error)
- func (client ManagedDatabaseSchemasClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ManagedDatabaseSchemasClient) ListByDatabase(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result DatabaseSchemaListResultPage, err error)
- func (client ManagedDatabaseSchemasClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result DatabaseSchemaListResultIterator, err error)
- func (client ManagedDatabaseSchemasClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseSchemasClient) ListByDatabaseResponder(resp *http.Response) (result DatabaseSchemaListResult, err error)
- func (client ManagedDatabaseSchemasClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- type ManagedDatabaseSecurityAlertPoliciesClient
- func (client ManagedDatabaseSecurityAlertPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedDatabaseSecurityAlertPolicy, err error)
- func (client ManagedDatabaseSecurityAlertPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseSecurityAlertPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedDatabaseSecurityAlertPolicy, err error)
- func (client ManagedDatabaseSecurityAlertPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ManagedDatabaseSecurityAlertPoliciesClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedDatabaseSecurityAlertPolicy, err error)
- func (client ManagedDatabaseSecurityAlertPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseSecurityAlertPoliciesClient) GetResponder(resp *http.Response) (result ManagedDatabaseSecurityAlertPolicy, err error)
- func (client ManagedDatabaseSecurityAlertPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ManagedDatabaseSecurityAlertPoliciesClient) ListByDatabase(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedDatabaseSecurityAlertPolicyListResultPage, err error)
- func (client ManagedDatabaseSecurityAlertPoliciesClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedDatabaseSecurityAlertPolicyListResultIterator, err error)
- func (client ManagedDatabaseSecurityAlertPoliciesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseSecurityAlertPoliciesClient) ListByDatabaseResponder(resp *http.Response) (result ManagedDatabaseSecurityAlertPolicyListResult, err error)
- func (client ManagedDatabaseSecurityAlertPoliciesClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- type ManagedDatabaseSecurityAlertPolicy
- type ManagedDatabaseSecurityAlertPolicyListResult
- type ManagedDatabaseSecurityAlertPolicyListResultIterator
- func (iter *ManagedDatabaseSecurityAlertPolicyListResultIterator) Next() error
- func (iter *ManagedDatabaseSecurityAlertPolicyListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ManagedDatabaseSecurityAlertPolicyListResultIterator) NotDone() bool
- func (iter ManagedDatabaseSecurityAlertPolicyListResultIterator) Response() ManagedDatabaseSecurityAlertPolicyListResult
- func (iter ManagedDatabaseSecurityAlertPolicyListResultIterator) Value() ManagedDatabaseSecurityAlertPolicy
- type ManagedDatabaseSecurityAlertPolicyListResultPage
- func (page *ManagedDatabaseSecurityAlertPolicyListResultPage) Next() error
- func (page *ManagedDatabaseSecurityAlertPolicyListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ManagedDatabaseSecurityAlertPolicyListResultPage) NotDone() bool
- func (page ManagedDatabaseSecurityAlertPolicyListResultPage) Response() ManagedDatabaseSecurityAlertPolicyListResult
- func (page ManagedDatabaseSecurityAlertPolicyListResultPage) Values() []ManagedDatabaseSecurityAlertPolicy
- type ManagedDatabaseSecurityEventsClient
- func (client ManagedDatabaseSecurityEventsClient) ListByDatabase(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result SecurityEventCollectionPage, err error)
- func (client ManagedDatabaseSecurityEventsClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result SecurityEventCollectionIterator, err error)
- func (client ManagedDatabaseSecurityEventsClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseSecurityEventsClient) ListByDatabaseResponder(resp *http.Response) (result SecurityEventCollection, err error)
- func (client ManagedDatabaseSecurityEventsClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- type ManagedDatabaseSensitivityLabelsClient
- func (client ManagedDatabaseSensitivityLabelsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result SensitivityLabel, err error)
- func (client ManagedDatabaseSensitivityLabelsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseSensitivityLabelsClient) CreateOrUpdateResponder(resp *http.Response) (result SensitivityLabel, err error)
- func (client ManagedDatabaseSensitivityLabelsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ManagedDatabaseSensitivityLabelsClient) Delete(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result autorest.Response, err error)
- func (client ManagedDatabaseSensitivityLabelsClient) DeletePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseSensitivityLabelsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagedDatabaseSensitivityLabelsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ManagedDatabaseSensitivityLabelsClient) DisableRecommendation(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result autorest.Response, err error)
- func (client ManagedDatabaseSensitivityLabelsClient) DisableRecommendationPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseSensitivityLabelsClient) DisableRecommendationResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagedDatabaseSensitivityLabelsClient) DisableRecommendationSender(req *http.Request) (*http.Response, error)
- func (client ManagedDatabaseSensitivityLabelsClient) EnableRecommendation(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result autorest.Response, err error)
- func (client ManagedDatabaseSensitivityLabelsClient) EnableRecommendationPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseSensitivityLabelsClient) EnableRecommendationResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagedDatabaseSensitivityLabelsClient) EnableRecommendationSender(req *http.Request) (*http.Response, error)
- func (client ManagedDatabaseSensitivityLabelsClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result SensitivityLabel, err error)
- func (client ManagedDatabaseSensitivityLabelsClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseSensitivityLabelsClient) GetResponder(resp *http.Response) (result SensitivityLabel, err error)
- func (client ManagedDatabaseSensitivityLabelsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ManagedDatabaseSensitivityLabelsClient) ListCurrentByDatabase(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result SensitivityLabelListResultPage, err error)
- func (client ManagedDatabaseSensitivityLabelsClient) ListCurrentByDatabaseComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result SensitivityLabelListResultIterator, err error)
- func (client ManagedDatabaseSensitivityLabelsClient) ListCurrentByDatabasePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseSensitivityLabelsClient) ListCurrentByDatabaseResponder(resp *http.Response) (result SensitivityLabelListResult, err error)
- func (client ManagedDatabaseSensitivityLabelsClient) ListCurrentByDatabaseSender(req *http.Request) (*http.Response, error)
- func (client ManagedDatabaseSensitivityLabelsClient) ListRecommendedByDatabase(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result SensitivityLabelListResultPage, err error)
- func (client ManagedDatabaseSensitivityLabelsClient) ListRecommendedByDatabaseComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result SensitivityLabelListResultIterator, err error)
- func (client ManagedDatabaseSensitivityLabelsClient) ListRecommendedByDatabasePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseSensitivityLabelsClient) ListRecommendedByDatabaseResponder(resp *http.Response) (result SensitivityLabelListResult, err error)
- func (client ManagedDatabaseSensitivityLabelsClient) ListRecommendedByDatabaseSender(req *http.Request) (*http.Response, error)
- func (client ManagedDatabaseSensitivityLabelsClient) Update(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result autorest.Response, err error)
- func (client ManagedDatabaseSensitivityLabelsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseSensitivityLabelsClient) UpdateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagedDatabaseSensitivityLabelsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type ManagedDatabaseStatus
- type ManagedDatabaseTablesClient
- func (client ManagedDatabaseTablesClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result DatabaseTable, err error)
- func (client ManagedDatabaseTablesClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseTablesClient) GetResponder(resp *http.Response) (result DatabaseTable, err error)
- func (client ManagedDatabaseTablesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ManagedDatabaseTablesClient) ListBySchema(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result DatabaseTableListResultPage, err error)
- func (client ManagedDatabaseTablesClient) ListBySchemaComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result DatabaseTableListResultIterator, err error)
- func (client ManagedDatabaseTablesClient) ListBySchemaPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseTablesClient) ListBySchemaResponder(resp *http.Response) (result DatabaseTableListResult, err error)
- func (client ManagedDatabaseTablesClient) ListBySchemaSender(req *http.Request) (*http.Response, error)
- type ManagedDatabaseTransparentDataEncryptionClient
- func (client ManagedDatabaseTransparentDataEncryptionClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedTransparentDataEncryption, err error)
- func (client ManagedDatabaseTransparentDataEncryptionClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseTransparentDataEncryptionClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedTransparentDataEncryption, err error)
- func (client ManagedDatabaseTransparentDataEncryptionClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ManagedDatabaseTransparentDataEncryptionClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedTransparentDataEncryption, err error)
- func (client ManagedDatabaseTransparentDataEncryptionClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseTransparentDataEncryptionClient) GetResponder(resp *http.Response) (result ManagedTransparentDataEncryption, err error)
- func (client ManagedDatabaseTransparentDataEncryptionClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ManagedDatabaseTransparentDataEncryptionClient) ListByDatabase(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedTransparentDataEncryptionListResultPage, err error)
- func (client ManagedDatabaseTransparentDataEncryptionClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedTransparentDataEncryptionListResultIterator, err error)
- func (client ManagedDatabaseTransparentDataEncryptionClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseTransparentDataEncryptionClient) ListByDatabaseResponder(resp *http.Response) (result ManagedTransparentDataEncryptionListResult, err error)
- func (client ManagedDatabaseTransparentDataEncryptionClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- type ManagedDatabaseUpdate
- type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient
- func NewManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient(subscriptionID string) ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient
- func NewManagedDatabaseVulnerabilityAssessmentRuleBaselinesClientWithBaseURI(baseURI string, subscriptionID string) ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient
- func (client ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result DatabaseVulnerabilityAssessmentRuleBaseline, err error)
- func (client ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdateResponder(resp *http.Response) (result DatabaseVulnerabilityAssessmentRuleBaseline, err error)
- func (client ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) Delete(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result autorest.Response, err error)
- func (client ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) DeletePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result DatabaseVulnerabilityAssessmentRuleBaseline, err error)
- func (client ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) GetResponder(resp *http.Response) (result DatabaseVulnerabilityAssessmentRuleBaseline, err error)
- func (client ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) GetSender(req *http.Request) (*http.Response, error)
- type ManagedDatabaseVulnerabilityAssessmentScansClient
- func (client ManagedDatabaseVulnerabilityAssessmentScansClient) Export(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result DatabaseVulnerabilityAssessmentScansExport, err error)
- func (client ManagedDatabaseVulnerabilityAssessmentScansClient) ExportPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseVulnerabilityAssessmentScansClient) ExportResponder(resp *http.Response) (result DatabaseVulnerabilityAssessmentScansExport, err error)
- func (client ManagedDatabaseVulnerabilityAssessmentScansClient) ExportSender(req *http.Request) (*http.Response, error)
- func (client ManagedDatabaseVulnerabilityAssessmentScansClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result VulnerabilityAssessmentScanRecord, err error)
- func (client ManagedDatabaseVulnerabilityAssessmentScansClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseVulnerabilityAssessmentScansClient) GetResponder(resp *http.Response) (result VulnerabilityAssessmentScanRecord, err error)
- func (client ManagedDatabaseVulnerabilityAssessmentScansClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ManagedDatabaseVulnerabilityAssessmentScansClient) InitiateScan(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedDatabaseVulnerabilityAssessmentScansInitiateScanFuture, ...)
- func (client ManagedDatabaseVulnerabilityAssessmentScansClient) InitiateScanPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseVulnerabilityAssessmentScansClient) InitiateScanResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagedDatabaseVulnerabilityAssessmentScansClient) InitiateScanSender(req *http.Request) (future ManagedDatabaseVulnerabilityAssessmentScansInitiateScanFuture, ...)
- func (client ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabase(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result VulnerabilityAssessmentScanRecordListResultPage, err error)
- func (client ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result VulnerabilityAssessmentScanRecordListResultIterator, err error)
- func (client ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabaseResponder(resp *http.Response) (result VulnerabilityAssessmentScanRecordListResult, err error)
- func (client ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- type ManagedDatabaseVulnerabilityAssessmentScansInitiateScanFuture
- type ManagedDatabaseVulnerabilityAssessmentsClient
- func (client ManagedDatabaseVulnerabilityAssessmentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result DatabaseVulnerabilityAssessment, err error)
- func (client ManagedDatabaseVulnerabilityAssessmentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseVulnerabilityAssessmentsClient) CreateOrUpdateResponder(resp *http.Response) (result DatabaseVulnerabilityAssessment, err error)
- func (client ManagedDatabaseVulnerabilityAssessmentsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ManagedDatabaseVulnerabilityAssessmentsClient) Delete(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result autorest.Response, err error)
- func (client ManagedDatabaseVulnerabilityAssessmentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseVulnerabilityAssessmentsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagedDatabaseVulnerabilityAssessmentsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ManagedDatabaseVulnerabilityAssessmentsClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result DatabaseVulnerabilityAssessment, err error)
- func (client ManagedDatabaseVulnerabilityAssessmentsClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseVulnerabilityAssessmentsClient) GetResponder(resp *http.Response) (result DatabaseVulnerabilityAssessment, err error)
- func (client ManagedDatabaseVulnerabilityAssessmentsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ManagedDatabaseVulnerabilityAssessmentsClient) ListByDatabase(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result DatabaseVulnerabilityAssessmentListResultPage, err error)
- func (client ManagedDatabaseVulnerabilityAssessmentsClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result DatabaseVulnerabilityAssessmentListResultIterator, err error)
- func (client ManagedDatabaseVulnerabilityAssessmentsClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabaseVulnerabilityAssessmentsClient) ListByDatabaseResponder(resp *http.Response) (result DatabaseVulnerabilityAssessmentListResult, err error)
- func (client ManagedDatabaseVulnerabilityAssessmentsClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- type ManagedDatabasesClient
- func (client ManagedDatabasesClient) CompleteRestore(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedDatabasesCompleteRestoreFuture, err error)
- func (client ManagedDatabasesClient) CompleteRestorePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabasesClient) CompleteRestoreResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagedDatabasesClient) CompleteRestoreSender(req *http.Request) (future ManagedDatabasesCompleteRestoreFuture, err error)
- func (client ManagedDatabasesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedDatabasesCreateOrUpdateFuture, err error)
- func (client ManagedDatabasesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabasesClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedDatabase, err error)
- func (client ManagedDatabasesClient) CreateOrUpdateSender(req *http.Request) (future ManagedDatabasesCreateOrUpdateFuture, err error)
- func (client ManagedDatabasesClient) Delete(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedDatabasesDeleteFuture, err error)
- func (client ManagedDatabasesClient) DeletePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabasesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagedDatabasesClient) DeleteSender(req *http.Request) (future ManagedDatabasesDeleteFuture, err error)
- func (client ManagedDatabasesClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedDatabase, err error)
- func (client ManagedDatabasesClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabasesClient) GetResponder(resp *http.Response) (result ManagedDatabase, err error)
- func (client ManagedDatabasesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ManagedDatabasesClient) ListByInstance(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedDatabaseListResultPage, err error)
- func (client ManagedDatabasesClient) ListByInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedDatabaseListResultIterator, err error)
- func (client ManagedDatabasesClient) ListByInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
- func (client ManagedDatabasesClient) ListByInstanceResponder(resp *http.Response) (result ManagedDatabaseListResult, err error)
- func (client ManagedDatabasesClient) ListByInstanceSender(req *http.Request) (*http.Response, error)
- func (client ManagedDatabasesClient) ListInaccessibleByInstance(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedDatabaseListResultPage, err error)
- func (client ManagedDatabasesClient) ListInaccessibleByInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedDatabaseListResultIterator, err error)
- func (client ManagedDatabasesClient) ListInaccessibleByInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
- func (client ManagedDatabasesClient) ListInaccessibleByInstanceResponder(resp *http.Response) (result ManagedDatabaseListResult, err error)
- func (client ManagedDatabasesClient) ListInaccessibleByInstanceSender(req *http.Request) (*http.Response, error)
- func (client ManagedDatabasesClient) Update(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedDatabasesUpdateFuture, err error)
- func (client ManagedDatabasesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedDatabasesClient) UpdateResponder(resp *http.Response) (result ManagedDatabase, err error)
- func (client ManagedDatabasesClient) UpdateSender(req *http.Request) (future ManagedDatabasesUpdateFuture, err error)
- type ManagedDatabasesCompleteRestoreFuture
- type ManagedDatabasesCreateOrUpdateFuture
- type ManagedDatabasesDeleteFuture
- type ManagedDatabasesUpdateFuture
- type ManagedInstance
- type ManagedInstanceAdministrator
- type ManagedInstanceAdministratorListResult
- type ManagedInstanceAdministratorListResultIterator
- func (iter *ManagedInstanceAdministratorListResultIterator) Next() error
- func (iter *ManagedInstanceAdministratorListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ManagedInstanceAdministratorListResultIterator) NotDone() bool
- func (iter ManagedInstanceAdministratorListResultIterator) Response() ManagedInstanceAdministratorListResult
- func (iter ManagedInstanceAdministratorListResultIterator) Value() ManagedInstanceAdministrator
- type ManagedInstanceAdministratorListResultPage
- func (page *ManagedInstanceAdministratorListResultPage) Next() error
- func (page *ManagedInstanceAdministratorListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ManagedInstanceAdministratorListResultPage) NotDone() bool
- func (page ManagedInstanceAdministratorListResultPage) Response() ManagedInstanceAdministratorListResult
- func (page ManagedInstanceAdministratorListResultPage) Values() []ManagedInstanceAdministrator
- type ManagedInstanceAdministratorProperties
- type ManagedInstanceAdministratorsClient
- func (client ManagedInstanceAdministratorsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedInstanceAdministratorsCreateOrUpdateFuture, err error)
- func (client ManagedInstanceAdministratorsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedInstanceAdministratorsClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedInstanceAdministrator, err error)
- func (client ManagedInstanceAdministratorsClient) CreateOrUpdateSender(req *http.Request) (future ManagedInstanceAdministratorsCreateOrUpdateFuture, err error)
- func (client ManagedInstanceAdministratorsClient) Delete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceAdministratorsDeleteFuture, err error)
- func (client ManagedInstanceAdministratorsClient) DeletePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
- func (client ManagedInstanceAdministratorsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagedInstanceAdministratorsClient) DeleteSender(req *http.Request) (future ManagedInstanceAdministratorsDeleteFuture, err error)
- func (client ManagedInstanceAdministratorsClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceAdministrator, err error)
- func (client ManagedInstanceAdministratorsClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
- func (client ManagedInstanceAdministratorsClient) GetResponder(resp *http.Response) (result ManagedInstanceAdministrator, err error)
- func (client ManagedInstanceAdministratorsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ManagedInstanceAdministratorsClient) ListByInstance(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceAdministratorListResultPage, err error)
- func (client ManagedInstanceAdministratorsClient) ListByInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceAdministratorListResultIterator, err error)
- func (client ManagedInstanceAdministratorsClient) ListByInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
- func (client ManagedInstanceAdministratorsClient) ListByInstanceResponder(resp *http.Response) (result ManagedInstanceAdministratorListResult, err error)
- func (client ManagedInstanceAdministratorsClient) ListByInstanceSender(req *http.Request) (*http.Response, error)
- type ManagedInstanceAdministratorsCreateOrUpdateFuture
- type ManagedInstanceAdministratorsDeleteFuture
- type ManagedInstanceAzureADOnlyAuthListResult
- type ManagedInstanceAzureADOnlyAuthListResultIterator
- func (iter *ManagedInstanceAzureADOnlyAuthListResultIterator) Next() error
- func (iter *ManagedInstanceAzureADOnlyAuthListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ManagedInstanceAzureADOnlyAuthListResultIterator) NotDone() bool
- func (iter ManagedInstanceAzureADOnlyAuthListResultIterator) Response() ManagedInstanceAzureADOnlyAuthListResult
- func (iter ManagedInstanceAzureADOnlyAuthListResultIterator) Value() ManagedInstanceAzureADOnlyAuthentication
- type ManagedInstanceAzureADOnlyAuthListResultPage
- func (page *ManagedInstanceAzureADOnlyAuthListResultPage) Next() error
- func (page *ManagedInstanceAzureADOnlyAuthListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ManagedInstanceAzureADOnlyAuthListResultPage) NotDone() bool
- func (page ManagedInstanceAzureADOnlyAuthListResultPage) Response() ManagedInstanceAzureADOnlyAuthListResult
- func (page ManagedInstanceAzureADOnlyAuthListResultPage) Values() []ManagedInstanceAzureADOnlyAuthentication
- type ManagedInstanceAzureADOnlyAuthProperties
- type ManagedInstanceAzureADOnlyAuthentication
- type ManagedInstanceAzureADOnlyAuthenticationsClient
- func (client ManagedInstanceAzureADOnlyAuthenticationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedInstanceAzureADOnlyAuthenticationsCreateOrUpdateFuture, ...)
- func (client ManagedInstanceAzureADOnlyAuthenticationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedInstanceAzureADOnlyAuthenticationsClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedInstanceAzureADOnlyAuthentication, err error)
- func (client ManagedInstanceAzureADOnlyAuthenticationsClient) CreateOrUpdateSender(req *http.Request) (future ManagedInstanceAzureADOnlyAuthenticationsCreateOrUpdateFuture, ...)
- func (client ManagedInstanceAzureADOnlyAuthenticationsClient) Delete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceAzureADOnlyAuthenticationsDeleteFuture, err error)
- func (client ManagedInstanceAzureADOnlyAuthenticationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
- func (client ManagedInstanceAzureADOnlyAuthenticationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagedInstanceAzureADOnlyAuthenticationsClient) DeleteSender(req *http.Request) (future ManagedInstanceAzureADOnlyAuthenticationsDeleteFuture, err error)
- func (client ManagedInstanceAzureADOnlyAuthenticationsClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceAzureADOnlyAuthentication, err error)
- func (client ManagedInstanceAzureADOnlyAuthenticationsClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
- func (client ManagedInstanceAzureADOnlyAuthenticationsClient) GetResponder(resp *http.Response) (result ManagedInstanceAzureADOnlyAuthentication, err error)
- func (client ManagedInstanceAzureADOnlyAuthenticationsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ManagedInstanceAzureADOnlyAuthenticationsClient) ListByInstance(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceAzureADOnlyAuthListResultPage, err error)
- func (client ManagedInstanceAzureADOnlyAuthenticationsClient) ListByInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceAzureADOnlyAuthListResultIterator, err error)
- func (client ManagedInstanceAzureADOnlyAuthenticationsClient) ListByInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
- func (client ManagedInstanceAzureADOnlyAuthenticationsClient) ListByInstanceResponder(resp *http.Response) (result ManagedInstanceAzureADOnlyAuthListResult, err error)
- func (client ManagedInstanceAzureADOnlyAuthenticationsClient) ListByInstanceSender(req *http.Request) (*http.Response, error)
- type ManagedInstanceAzureADOnlyAuthenticationsCreateOrUpdateFuture
- type ManagedInstanceAzureADOnlyAuthenticationsDeleteFuture
- type ManagedInstanceEditionCapability
- type ManagedInstanceEncryptionProtector
- type ManagedInstanceEncryptionProtectorListResult
- type ManagedInstanceEncryptionProtectorListResultIterator
- func (iter *ManagedInstanceEncryptionProtectorListResultIterator) Next() error
- func (iter *ManagedInstanceEncryptionProtectorListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ManagedInstanceEncryptionProtectorListResultIterator) NotDone() bool
- func (iter ManagedInstanceEncryptionProtectorListResultIterator) Response() ManagedInstanceEncryptionProtectorListResult
- func (iter ManagedInstanceEncryptionProtectorListResultIterator) Value() ManagedInstanceEncryptionProtector
- type ManagedInstanceEncryptionProtectorListResultPage
- func (page *ManagedInstanceEncryptionProtectorListResultPage) Next() error
- func (page *ManagedInstanceEncryptionProtectorListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ManagedInstanceEncryptionProtectorListResultPage) NotDone() bool
- func (page ManagedInstanceEncryptionProtectorListResultPage) Response() ManagedInstanceEncryptionProtectorListResult
- func (page ManagedInstanceEncryptionProtectorListResultPage) Values() []ManagedInstanceEncryptionProtector
- type ManagedInstanceEncryptionProtectorProperties
- type ManagedInstanceEncryptionProtectorsClient
- func (client ManagedInstanceEncryptionProtectorsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedInstanceEncryptionProtectorsCreateOrUpdateFuture, err error)
- func (client ManagedInstanceEncryptionProtectorsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedInstanceEncryptionProtectorsClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedInstanceEncryptionProtector, err error)
- func (client ManagedInstanceEncryptionProtectorsClient) CreateOrUpdateSender(req *http.Request) (future ManagedInstanceEncryptionProtectorsCreateOrUpdateFuture, err error)
- func (client ManagedInstanceEncryptionProtectorsClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceEncryptionProtector, err error)
- func (client ManagedInstanceEncryptionProtectorsClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
- func (client ManagedInstanceEncryptionProtectorsClient) GetResponder(resp *http.Response) (result ManagedInstanceEncryptionProtector, err error)
- func (client ManagedInstanceEncryptionProtectorsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ManagedInstanceEncryptionProtectorsClient) ListByInstance(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceEncryptionProtectorListResultPage, err error)
- func (client ManagedInstanceEncryptionProtectorsClient) ListByInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceEncryptionProtectorListResultIterator, err error)
- func (client ManagedInstanceEncryptionProtectorsClient) ListByInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
- func (client ManagedInstanceEncryptionProtectorsClient) ListByInstanceResponder(resp *http.Response) (result ManagedInstanceEncryptionProtectorListResult, err error)
- func (client ManagedInstanceEncryptionProtectorsClient) ListByInstanceSender(req *http.Request) (*http.Response, error)
- func (client ManagedInstanceEncryptionProtectorsClient) Revalidate(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceEncryptionProtectorsRevalidateFuture, err error)
- func (client ManagedInstanceEncryptionProtectorsClient) RevalidatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
- func (client ManagedInstanceEncryptionProtectorsClient) RevalidateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagedInstanceEncryptionProtectorsClient) RevalidateSender(req *http.Request) (future ManagedInstanceEncryptionProtectorsRevalidateFuture, err error)
- type ManagedInstanceEncryptionProtectorsCreateOrUpdateFuture
- type ManagedInstanceEncryptionProtectorsRevalidateFuture
- type ManagedInstanceExternalAdministrator
- type ManagedInstanceFamilyCapability
- type ManagedInstanceKey
- type ManagedInstanceKeyListResult
- type ManagedInstanceKeyListResultIterator
- func (iter *ManagedInstanceKeyListResultIterator) Next() error
- func (iter *ManagedInstanceKeyListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ManagedInstanceKeyListResultIterator) NotDone() bool
- func (iter ManagedInstanceKeyListResultIterator) Response() ManagedInstanceKeyListResult
- func (iter ManagedInstanceKeyListResultIterator) Value() ManagedInstanceKey
- type ManagedInstanceKeyListResultPage
- func (page *ManagedInstanceKeyListResultPage) Next() error
- func (page *ManagedInstanceKeyListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ManagedInstanceKeyListResultPage) NotDone() bool
- func (page ManagedInstanceKeyListResultPage) Response() ManagedInstanceKeyListResult
- func (page ManagedInstanceKeyListResultPage) Values() []ManagedInstanceKey
- type ManagedInstanceKeyProperties
- type ManagedInstanceKeysClient
- func (client ManagedInstanceKeysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedInstanceKeysCreateOrUpdateFuture, err error)
- func (client ManagedInstanceKeysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedInstanceKeysClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedInstanceKey, err error)
- func (client ManagedInstanceKeysClient) CreateOrUpdateSender(req *http.Request) (future ManagedInstanceKeysCreateOrUpdateFuture, err error)
- func (client ManagedInstanceKeysClient) Delete(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedInstanceKeysDeleteFuture, err error)
- func (client ManagedInstanceKeysClient) DeletePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedInstanceKeysClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagedInstanceKeysClient) DeleteSender(req *http.Request) (future ManagedInstanceKeysDeleteFuture, err error)
- func (client ManagedInstanceKeysClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedInstanceKey, err error)
- func (client ManagedInstanceKeysClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedInstanceKeysClient) GetResponder(resp *http.Response) (result ManagedInstanceKey, err error)
- func (client ManagedInstanceKeysClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ManagedInstanceKeysClient) ListByInstance(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedInstanceKeyListResultPage, err error)
- func (client ManagedInstanceKeysClient) ListByInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedInstanceKeyListResultIterator, err error)
- func (client ManagedInstanceKeysClient) ListByInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedInstanceKeysClient) ListByInstanceResponder(resp *http.Response) (result ManagedInstanceKeyListResult, err error)
- func (client ManagedInstanceKeysClient) ListByInstanceSender(req *http.Request) (*http.Response, error)
- type ManagedInstanceKeysCreateOrUpdateFuture
- type ManagedInstanceKeysDeleteFuture
- type ManagedInstanceLicenseType
- type ManagedInstanceListResult
- type ManagedInstanceListResultIterator
- func (iter *ManagedInstanceListResultIterator) Next() error
- func (iter *ManagedInstanceListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ManagedInstanceListResultIterator) NotDone() bool
- func (iter ManagedInstanceListResultIterator) Response() ManagedInstanceListResult
- func (iter ManagedInstanceListResultIterator) Value() ManagedInstance
- type ManagedInstanceListResultPage
- func (page *ManagedInstanceListResultPage) Next() error
- func (page *ManagedInstanceListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ManagedInstanceListResultPage) NotDone() bool
- func (page ManagedInstanceListResultPage) Response() ManagedInstanceListResult
- func (page ManagedInstanceListResultPage) Values() []ManagedInstance
- type ManagedInstanceLongTermRetentionBackup
- type ManagedInstanceLongTermRetentionBackupListResult
- type ManagedInstanceLongTermRetentionBackupListResultIterator
- func (iter *ManagedInstanceLongTermRetentionBackupListResultIterator) Next() error
- func (iter *ManagedInstanceLongTermRetentionBackupListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ManagedInstanceLongTermRetentionBackupListResultIterator) NotDone() bool
- func (iter ManagedInstanceLongTermRetentionBackupListResultIterator) Response() ManagedInstanceLongTermRetentionBackupListResult
- func (iter ManagedInstanceLongTermRetentionBackupListResultIterator) Value() ManagedInstanceLongTermRetentionBackup
- type ManagedInstanceLongTermRetentionBackupListResultPage
- func (page *ManagedInstanceLongTermRetentionBackupListResultPage) Next() error
- func (page *ManagedInstanceLongTermRetentionBackupListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ManagedInstanceLongTermRetentionBackupListResultPage) NotDone() bool
- func (page ManagedInstanceLongTermRetentionBackupListResultPage) Response() ManagedInstanceLongTermRetentionBackupListResult
- func (page ManagedInstanceLongTermRetentionBackupListResultPage) Values() []ManagedInstanceLongTermRetentionBackup
- type ManagedInstanceLongTermRetentionBackupProperties
- type ManagedInstanceLongTermRetentionPoliciesClient
- func (client ManagedInstanceLongTermRetentionPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedInstanceLongTermRetentionPoliciesCreateOrUpdateFuture, err error)
- func (client ManagedInstanceLongTermRetentionPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedInstanceLongTermRetentionPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedInstanceLongTermRetentionPolicy, err error)
- func (client ManagedInstanceLongTermRetentionPoliciesClient) CreateOrUpdateSender(req *http.Request) (future ManagedInstanceLongTermRetentionPoliciesCreateOrUpdateFuture, err error)
- func (client ManagedInstanceLongTermRetentionPoliciesClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedInstanceLongTermRetentionPolicy, err error)
- func (client ManagedInstanceLongTermRetentionPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedInstanceLongTermRetentionPoliciesClient) GetResponder(resp *http.Response) (result ManagedInstanceLongTermRetentionPolicy, err error)
- func (client ManagedInstanceLongTermRetentionPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ManagedInstanceLongTermRetentionPoliciesClient) ListByDatabase(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedInstanceLongTermRetentionPolicyListResultPage, err error)
- func (client ManagedInstanceLongTermRetentionPoliciesClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedInstanceLongTermRetentionPolicyListResultIterator, err error)
- func (client ManagedInstanceLongTermRetentionPoliciesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedInstanceLongTermRetentionPoliciesClient) ListByDatabaseResponder(resp *http.Response) (result ManagedInstanceLongTermRetentionPolicyListResult, err error)
- func (client ManagedInstanceLongTermRetentionPoliciesClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- type ManagedInstanceLongTermRetentionPoliciesCreateOrUpdateFuture
- type ManagedInstanceLongTermRetentionPolicy
- type ManagedInstanceLongTermRetentionPolicyListResult
- type ManagedInstanceLongTermRetentionPolicyListResultIterator
- func (iter *ManagedInstanceLongTermRetentionPolicyListResultIterator) Next() error
- func (iter *ManagedInstanceLongTermRetentionPolicyListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ManagedInstanceLongTermRetentionPolicyListResultIterator) NotDone() bool
- func (iter ManagedInstanceLongTermRetentionPolicyListResultIterator) Response() ManagedInstanceLongTermRetentionPolicyListResult
- func (iter ManagedInstanceLongTermRetentionPolicyListResultIterator) Value() ManagedInstanceLongTermRetentionPolicy
- type ManagedInstanceLongTermRetentionPolicyListResultPage
- func (page *ManagedInstanceLongTermRetentionPolicyListResultPage) Next() error
- func (page *ManagedInstanceLongTermRetentionPolicyListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ManagedInstanceLongTermRetentionPolicyListResultPage) NotDone() bool
- func (page ManagedInstanceLongTermRetentionPolicyListResultPage) Response() ManagedInstanceLongTermRetentionPolicyListResult
- func (page ManagedInstanceLongTermRetentionPolicyListResultPage) Values() []ManagedInstanceLongTermRetentionPolicy
- type ManagedInstanceMaintenanceConfigurationCapability
- type ManagedInstanceOperation
- type ManagedInstanceOperationListResult
- type ManagedInstanceOperationListResultIterator
- func (iter *ManagedInstanceOperationListResultIterator) Next() error
- func (iter *ManagedInstanceOperationListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ManagedInstanceOperationListResultIterator) NotDone() bool
- func (iter ManagedInstanceOperationListResultIterator) Response() ManagedInstanceOperationListResult
- func (iter ManagedInstanceOperationListResultIterator) Value() ManagedInstanceOperation
- type ManagedInstanceOperationListResultPage
- func (page *ManagedInstanceOperationListResultPage) Next() error
- func (page *ManagedInstanceOperationListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ManagedInstanceOperationListResultPage) NotDone() bool
- func (page ManagedInstanceOperationListResultPage) Response() ManagedInstanceOperationListResult
- func (page ManagedInstanceOperationListResultPage) Values() []ManagedInstanceOperation
- type ManagedInstanceOperationParametersPair
- type ManagedInstanceOperationProperties
- type ManagedInstanceOperationSteps
- type ManagedInstanceOperationsClient
- func (client ManagedInstanceOperationsClient) Cancel(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result autorest.Response, err error)
- func (client ManagedInstanceOperationsClient) CancelPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedInstanceOperationsClient) CancelResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagedInstanceOperationsClient) CancelSender(req *http.Request) (*http.Response, error)
- func (client ManagedInstanceOperationsClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedInstanceOperation, err error)
- func (client ManagedInstanceOperationsClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedInstanceOperationsClient) GetResponder(resp *http.Response) (result ManagedInstanceOperation, err error)
- func (client ManagedInstanceOperationsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ManagedInstanceOperationsClient) ListByManagedInstance(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceOperationListResultPage, err error)
- func (client ManagedInstanceOperationsClient) ListByManagedInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceOperationListResultIterator, err error)
- func (client ManagedInstanceOperationsClient) ListByManagedInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
- func (client ManagedInstanceOperationsClient) ListByManagedInstanceResponder(resp *http.Response) (result ManagedInstanceOperationListResult, err error)
- func (client ManagedInstanceOperationsClient) ListByManagedInstanceSender(req *http.Request) (*http.Response, error)
- type ManagedInstancePairInfo
- type ManagedInstancePecProperty
- type ManagedInstancePrivateEndpointConnection
- type ManagedInstancePrivateEndpointConnectionListResult
- type ManagedInstancePrivateEndpointConnectionListResultIterator
- func (iter *ManagedInstancePrivateEndpointConnectionListResultIterator) Next() error
- func (iter *ManagedInstancePrivateEndpointConnectionListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ManagedInstancePrivateEndpointConnectionListResultIterator) NotDone() bool
- func (iter ManagedInstancePrivateEndpointConnectionListResultIterator) Response() ManagedInstancePrivateEndpointConnectionListResult
- func (iter ManagedInstancePrivateEndpointConnectionListResultIterator) Value() ManagedInstancePrivateEndpointConnection
- type ManagedInstancePrivateEndpointConnectionListResultPage
- func (page *ManagedInstancePrivateEndpointConnectionListResultPage) Next() error
- func (page *ManagedInstancePrivateEndpointConnectionListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ManagedInstancePrivateEndpointConnectionListResultPage) NotDone() bool
- func (page ManagedInstancePrivateEndpointConnectionListResultPage) Response() ManagedInstancePrivateEndpointConnectionListResult
- func (page ManagedInstancePrivateEndpointConnectionListResultPage) Values() []ManagedInstancePrivateEndpointConnection
- type ManagedInstancePrivateEndpointConnectionProperties
- type ManagedInstancePrivateEndpointConnectionsClient
- func (client ManagedInstancePrivateEndpointConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedInstancePrivateEndpointConnectionsCreateOrUpdateFuture, ...)
- func (client ManagedInstancePrivateEndpointConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedInstancePrivateEndpointConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedInstancePrivateEndpointConnection, err error)
- func (client ManagedInstancePrivateEndpointConnectionsClient) CreateOrUpdateSender(req *http.Request) (future ManagedInstancePrivateEndpointConnectionsCreateOrUpdateFuture, ...)
- func (client ManagedInstancePrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedInstancePrivateEndpointConnectionsDeleteFuture, err error)
- func (client ManagedInstancePrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedInstancePrivateEndpointConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagedInstancePrivateEndpointConnectionsClient) DeleteSender(req *http.Request) (future ManagedInstancePrivateEndpointConnectionsDeleteFuture, err error)
- func (client ManagedInstancePrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedInstancePrivateEndpointConnection, err error)
- func (client ManagedInstancePrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedInstancePrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result ManagedInstancePrivateEndpointConnection, err error)
- func (client ManagedInstancePrivateEndpointConnectionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ManagedInstancePrivateEndpointConnectionsClient) ListByManagedInstance(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstancePrivateEndpointConnectionListResultPage, err error)
- func (client ManagedInstancePrivateEndpointConnectionsClient) ListByManagedInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstancePrivateEndpointConnectionListResultIterator, err error)
- func (client ManagedInstancePrivateEndpointConnectionsClient) ListByManagedInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
- func (client ManagedInstancePrivateEndpointConnectionsClient) ListByManagedInstanceResponder(resp *http.Response) (result ManagedInstancePrivateEndpointConnectionListResult, err error)
- func (client ManagedInstancePrivateEndpointConnectionsClient) ListByManagedInstanceSender(req *http.Request) (*http.Response, error)
- type ManagedInstancePrivateEndpointConnectionsCreateOrUpdateFuture
- type ManagedInstancePrivateEndpointConnectionsDeleteFuture
- type ManagedInstancePrivateEndpointProperty
- type ManagedInstancePrivateLink
- type ManagedInstancePrivateLinkListResult
- type ManagedInstancePrivateLinkListResultIterator
- func (iter *ManagedInstancePrivateLinkListResultIterator) Next() error
- func (iter *ManagedInstancePrivateLinkListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ManagedInstancePrivateLinkListResultIterator) NotDone() bool
- func (iter ManagedInstancePrivateLinkListResultIterator) Response() ManagedInstancePrivateLinkListResult
- func (iter ManagedInstancePrivateLinkListResultIterator) Value() ManagedInstancePrivateLink
- type ManagedInstancePrivateLinkListResultPage
- func (page *ManagedInstancePrivateLinkListResultPage) Next() error
- func (page *ManagedInstancePrivateLinkListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ManagedInstancePrivateLinkListResultPage) NotDone() bool
- func (page ManagedInstancePrivateLinkListResultPage) Response() ManagedInstancePrivateLinkListResult
- func (page ManagedInstancePrivateLinkListResultPage) Values() []ManagedInstancePrivateLink
- type ManagedInstancePrivateLinkProperties
- type ManagedInstancePrivateLinkResourcesClient
- func (client ManagedInstancePrivateLinkResourcesClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedInstancePrivateLink, err error)
- func (client ManagedInstancePrivateLinkResourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedInstancePrivateLinkResourcesClient) GetResponder(resp *http.Response) (result ManagedInstancePrivateLink, err error)
- func (client ManagedInstancePrivateLinkResourcesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ManagedInstancePrivateLinkResourcesClient) ListByManagedInstance(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstancePrivateLinkListResultPage, err error)
- func (client ManagedInstancePrivateLinkResourcesClient) ListByManagedInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstancePrivateLinkListResultIterator, err error)
- func (client ManagedInstancePrivateLinkResourcesClient) ListByManagedInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
- func (client ManagedInstancePrivateLinkResourcesClient) ListByManagedInstanceResponder(resp *http.Response) (result ManagedInstancePrivateLinkListResult, err error)
- func (client ManagedInstancePrivateLinkResourcesClient) ListByManagedInstanceSender(req *http.Request) (*http.Response, error)
- type ManagedInstancePrivateLinkServiceConnectionStateProperty
- type ManagedInstanceProperties
- type ManagedInstanceProxyOverride
- type ManagedInstanceQuery
- type ManagedInstanceQueryStatistics
- type ManagedInstanceQueryStatisticsIterator
- func (iter *ManagedInstanceQueryStatisticsIterator) Next() error
- func (iter *ManagedInstanceQueryStatisticsIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ManagedInstanceQueryStatisticsIterator) NotDone() bool
- func (iter ManagedInstanceQueryStatisticsIterator) Response() ManagedInstanceQueryStatistics
- func (iter ManagedInstanceQueryStatisticsIterator) Value() QueryStatistics
- type ManagedInstanceQueryStatisticsPage
- func (page *ManagedInstanceQueryStatisticsPage) Next() error
- func (page *ManagedInstanceQueryStatisticsPage) NextWithContext(ctx context.Context) (err error)
- func (page ManagedInstanceQueryStatisticsPage) NotDone() bool
- func (page ManagedInstanceQueryStatisticsPage) Response() ManagedInstanceQueryStatistics
- func (page ManagedInstanceQueryStatisticsPage) Values() []QueryStatistics
- type ManagedInstanceTdeCertificatesClient
- func (client ManagedInstanceTdeCertificatesClient) Create(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedInstanceTdeCertificatesCreateFuture, err error)
- func (client ManagedInstanceTdeCertificatesClient) CreatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedInstanceTdeCertificatesClient) CreateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagedInstanceTdeCertificatesClient) CreateSender(req *http.Request) (future ManagedInstanceTdeCertificatesCreateFuture, err error)
- type ManagedInstanceTdeCertificatesCreateFuture
- type ManagedInstanceUpdate
- type ManagedInstanceVcoresCapability
- type ManagedInstanceVersionCapability
- type ManagedInstanceVulnerabilityAssessment
- type ManagedInstanceVulnerabilityAssessmentListResult
- type ManagedInstanceVulnerabilityAssessmentListResultIterator
- func (iter *ManagedInstanceVulnerabilityAssessmentListResultIterator) Next() error
- func (iter *ManagedInstanceVulnerabilityAssessmentListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ManagedInstanceVulnerabilityAssessmentListResultIterator) NotDone() bool
- func (iter ManagedInstanceVulnerabilityAssessmentListResultIterator) Response() ManagedInstanceVulnerabilityAssessmentListResult
- func (iter ManagedInstanceVulnerabilityAssessmentListResultIterator) Value() ManagedInstanceVulnerabilityAssessment
- type ManagedInstanceVulnerabilityAssessmentListResultPage
- func (page *ManagedInstanceVulnerabilityAssessmentListResultPage) Next() error
- func (page *ManagedInstanceVulnerabilityAssessmentListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ManagedInstanceVulnerabilityAssessmentListResultPage) NotDone() bool
- func (page ManagedInstanceVulnerabilityAssessmentListResultPage) Response() ManagedInstanceVulnerabilityAssessmentListResult
- func (page ManagedInstanceVulnerabilityAssessmentListResultPage) Values() []ManagedInstanceVulnerabilityAssessment
- type ManagedInstanceVulnerabilityAssessmentProperties
- type ManagedInstanceVulnerabilityAssessmentsClient
- func (client ManagedInstanceVulnerabilityAssessmentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedInstanceVulnerabilityAssessment, err error)
- func (client ManagedInstanceVulnerabilityAssessmentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedInstanceVulnerabilityAssessmentsClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedInstanceVulnerabilityAssessment, err error)
- func (client ManagedInstanceVulnerabilityAssessmentsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ManagedInstanceVulnerabilityAssessmentsClient) Delete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result autorest.Response, err error)
- func (client ManagedInstanceVulnerabilityAssessmentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
- func (client ManagedInstanceVulnerabilityAssessmentsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagedInstanceVulnerabilityAssessmentsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ManagedInstanceVulnerabilityAssessmentsClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceVulnerabilityAssessment, err error)
- func (client ManagedInstanceVulnerabilityAssessmentsClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
- func (client ManagedInstanceVulnerabilityAssessmentsClient) GetResponder(resp *http.Response) (result ManagedInstanceVulnerabilityAssessment, err error)
- func (client ManagedInstanceVulnerabilityAssessmentsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ManagedInstanceVulnerabilityAssessmentsClient) ListByInstance(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceVulnerabilityAssessmentListResultPage, err error)
- func (client ManagedInstanceVulnerabilityAssessmentsClient) ListByInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceVulnerabilityAssessmentListResultIterator, err error)
- func (client ManagedInstanceVulnerabilityAssessmentsClient) ListByInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
- func (client ManagedInstanceVulnerabilityAssessmentsClient) ListByInstanceResponder(resp *http.Response) (result ManagedInstanceVulnerabilityAssessmentListResult, err error)
- func (client ManagedInstanceVulnerabilityAssessmentsClient) ListByInstanceSender(req *http.Request) (*http.Response, error)
- type ManagedInstancesClient
- func (client ManagedInstancesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedInstancesCreateOrUpdateFuture, err error)
- func (client ManagedInstancesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedInstancesClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedInstance, err error)
- func (client ManagedInstancesClient) CreateOrUpdateSender(req *http.Request) (future ManagedInstancesCreateOrUpdateFuture, err error)
- func (client ManagedInstancesClient) Delete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstancesDeleteFuture, err error)
- func (client ManagedInstancesClient) DeletePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
- func (client ManagedInstancesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagedInstancesClient) DeleteSender(req *http.Request) (future ManagedInstancesDeleteFuture, err error)
- func (client ManagedInstancesClient) Failover(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedInstancesFailoverFuture, err error)
- func (client ManagedInstancesClient) FailoverPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedInstancesClient) FailoverResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagedInstancesClient) FailoverSender(req *http.Request) (future ManagedInstancesFailoverFuture, err error)
- func (client ManagedInstancesClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedInstance, err error)
- func (client ManagedInstancesClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedInstancesClient) GetResponder(resp *http.Response) (result ManagedInstance, err error)
- func (client ManagedInstancesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ManagedInstancesClient) List(ctx context.Context, expand string) (result ManagedInstanceListResultPage, err error)
- func (client ManagedInstancesClient) ListByInstancePool(ctx context.Context, resourceGroupName string, instancePoolName string, ...) (result ManagedInstanceListResultPage, err error)
- func (client ManagedInstancesClient) ListByInstancePoolComplete(ctx context.Context, resourceGroupName string, instancePoolName string, ...) (result ManagedInstanceListResultIterator, err error)
- func (client ManagedInstancesClient) ListByInstancePoolPreparer(ctx context.Context, resourceGroupName string, instancePoolName string, ...) (*http.Request, error)
- func (client ManagedInstancesClient) ListByInstancePoolResponder(resp *http.Response) (result ManagedInstanceListResult, err error)
- func (client ManagedInstancesClient) ListByInstancePoolSender(req *http.Request) (*http.Response, error)
- func (client ManagedInstancesClient) ListByManagedInstance(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result TopQueriesListResultPage, err error)
- func (client ManagedInstancesClient) ListByManagedInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result TopQueriesListResultIterator, err error)
- func (client ManagedInstancesClient) ListByManagedInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedInstancesClient) ListByManagedInstanceResponder(resp *http.Response) (result TopQueriesListResult, err error)
- func (client ManagedInstancesClient) ListByManagedInstanceSender(req *http.Request) (*http.Response, error)
- func (client ManagedInstancesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, expand string) (result ManagedInstanceListResultPage, err error)
- func (client ManagedInstancesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, expand string) (result ManagedInstanceListResultIterator, err error)
- func (client ManagedInstancesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, expand string) (*http.Request, error)
- func (client ManagedInstancesClient) ListByResourceGroupResponder(resp *http.Response) (result ManagedInstanceListResult, err error)
- func (client ManagedInstancesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client ManagedInstancesClient) ListComplete(ctx context.Context, expand string) (result ManagedInstanceListResultIterator, err error)
- func (client ManagedInstancesClient) ListPreparer(ctx context.Context, expand string) (*http.Request, error)
- func (client ManagedInstancesClient) ListResponder(resp *http.Response) (result ManagedInstanceListResult, err error)
- func (client ManagedInstancesClient) ListSender(req *http.Request) (*http.Response, error)
- func (client ManagedInstancesClient) Update(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedInstancesUpdateFuture, err error)
- func (client ManagedInstancesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedInstancesClient) UpdateResponder(resp *http.Response) (result ManagedInstance, err error)
- func (client ManagedInstancesClient) UpdateSender(req *http.Request) (future ManagedInstancesUpdateFuture, err error)
- type ManagedInstancesCreateOrUpdateFuture
- type ManagedInstancesDeleteFuture
- type ManagedInstancesFailoverFuture
- type ManagedInstancesUpdateFuture
- type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient
- func NewManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient(subscriptionID string) ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient
- func NewManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient
- func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (...)
- func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedBackupShortTermRetentionPolicy, err error)
- func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) CreateOrUpdateSender(req *http.Request) (...)
- func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedBackupShortTermRetentionPolicy, err error)
- func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) GetResponder(resp *http.Response) (result ManagedBackupShortTermRetentionPolicy, err error)
- func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabase(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedBackupShortTermRetentionPolicyListResultPage, err error)
- func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabaseComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedBackupShortTermRetentionPolicyListResultIterator, err error)
- func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabasePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabaseResponder(resp *http.Response) (result ManagedBackupShortTermRetentionPolicyListResult, err error)
- func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabaseSender(req *http.Request) (*http.Response, error)
- func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) Update(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (...)
- func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) UpdateResponder(resp *http.Response) (result ManagedBackupShortTermRetentionPolicy, err error)
- func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) UpdateSender(req *http.Request) (...)
- type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateFuture
- type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpdateFuture
- type ManagedServerCreateMode
- type ManagedServerSecurityAlertPoliciesClient
- func (client ManagedServerSecurityAlertPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result ManagedServerSecurityAlertPoliciesCreateOrUpdateFuture, err error)
- func (client ManagedServerSecurityAlertPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client ManagedServerSecurityAlertPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedServerSecurityAlertPolicy, err error)
- func (client ManagedServerSecurityAlertPoliciesClient) CreateOrUpdateSender(req *http.Request) (future ManagedServerSecurityAlertPoliciesCreateOrUpdateFuture, err error)
- func (client ManagedServerSecurityAlertPoliciesClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedServerSecurityAlertPolicy, err error)
- func (client ManagedServerSecurityAlertPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
- func (client ManagedServerSecurityAlertPoliciesClient) GetResponder(resp *http.Response) (result ManagedServerSecurityAlertPolicy, err error)
- func (client ManagedServerSecurityAlertPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ManagedServerSecurityAlertPoliciesClient) ListByInstance(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedServerSecurityAlertPolicyListResultPage, err error)
- func (client ManagedServerSecurityAlertPoliciesClient) ListByInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedServerSecurityAlertPolicyListResultIterator, err error)
- func (client ManagedServerSecurityAlertPoliciesClient) ListByInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
- func (client ManagedServerSecurityAlertPoliciesClient) ListByInstanceResponder(resp *http.Response) (result ManagedServerSecurityAlertPolicyListResult, err error)
- func (client ManagedServerSecurityAlertPoliciesClient) ListByInstanceSender(req *http.Request) (*http.Response, error)
- type ManagedServerSecurityAlertPoliciesCreateOrUpdateFuture
- type ManagedServerSecurityAlertPolicy
- type ManagedServerSecurityAlertPolicyListResult
- type ManagedServerSecurityAlertPolicyListResultIterator
- func (iter *ManagedServerSecurityAlertPolicyListResultIterator) Next() error
- func (iter *ManagedServerSecurityAlertPolicyListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ManagedServerSecurityAlertPolicyListResultIterator) NotDone() bool
- func (iter ManagedServerSecurityAlertPolicyListResultIterator) Response() ManagedServerSecurityAlertPolicyListResult
- func (iter ManagedServerSecurityAlertPolicyListResultIterator) Value() ManagedServerSecurityAlertPolicy
- type ManagedServerSecurityAlertPolicyListResultPage
- func (page *ManagedServerSecurityAlertPolicyListResultPage) Next() error
- func (page *ManagedServerSecurityAlertPolicyListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ManagedServerSecurityAlertPolicyListResultPage) NotDone() bool
- func (page ManagedServerSecurityAlertPolicyListResultPage) Response() ManagedServerSecurityAlertPolicyListResult
- func (page ManagedServerSecurityAlertPolicyListResultPage) Values() []ManagedServerSecurityAlertPolicy
- type ManagedTransparentDataEncryption
- type ManagedTransparentDataEncryptionListResult
- type ManagedTransparentDataEncryptionListResultIterator
- func (iter *ManagedTransparentDataEncryptionListResultIterator) Next() error
- func (iter *ManagedTransparentDataEncryptionListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ManagedTransparentDataEncryptionListResultIterator) NotDone() bool
- func (iter ManagedTransparentDataEncryptionListResultIterator) Response() ManagedTransparentDataEncryptionListResult
- func (iter ManagedTransparentDataEncryptionListResultIterator) Value() ManagedTransparentDataEncryption
- type ManagedTransparentDataEncryptionListResultPage
- func (page *ManagedTransparentDataEncryptionListResultPage) Next() error
- func (page *ManagedTransparentDataEncryptionListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ManagedTransparentDataEncryptionListResultPage) NotDone() bool
- func (page ManagedTransparentDataEncryptionListResultPage) Response() ManagedTransparentDataEncryptionListResult
- func (page ManagedTransparentDataEncryptionListResultPage) Values() []ManagedTransparentDataEncryption
- type ManagedTransparentDataEncryptionProperties
- type ManagementOperationState
- type MaxSizeCapability
- type MaxSizeRangeCapability
- type MaxSizeUnit
- type Metric
- type MetricAvailability
- type MetricDefinition
- type MetricDefinitionListResult
- type MetricListResult
- type MetricName
- type MetricType
- type MetricValue
- type MinCapacityCapability
- type Name
- type NetworkIsolationSettings
- type Operation
- type OperationDisplay
- type OperationImpact
- type OperationListResult
- type OperationListResultIterator
- func (iter *OperationListResultIterator) Next() error
- func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter OperationListResultIterator) NotDone() bool
- func (iter OperationListResultIterator) Response() OperationListResult
- func (iter OperationListResultIterator) Value() Operation
- type OperationListResultPage
- func (page *OperationListResultPage) Next() error
- func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page OperationListResultPage) NotDone() bool
- func (page OperationListResultPage) Response() OperationListResult
- func (page OperationListResultPage) Values() []Operation
- 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 OperationsHealth
- type OperationsHealthClient
- func (client OperationsHealthClient) ListByLocation(ctx context.Context, locationName string) (result OperationsHealthListResultPage, err error)
- func (client OperationsHealthClient) ListByLocationComplete(ctx context.Context, locationName string) (result OperationsHealthListResultIterator, err error)
- func (client OperationsHealthClient) ListByLocationPreparer(ctx context.Context, locationName string) (*http.Request, error)
- func (client OperationsHealthClient) ListByLocationResponder(resp *http.Response) (result OperationsHealthListResult, err error)
- func (client OperationsHealthClient) ListByLocationSender(req *http.Request) (*http.Response, error)
- type OperationsHealthListResult
- type OperationsHealthListResultIterator
- func (iter *OperationsHealthListResultIterator) Next() error
- func (iter *OperationsHealthListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter OperationsHealthListResultIterator) NotDone() bool
- func (iter OperationsHealthListResultIterator) Response() OperationsHealthListResult
- func (iter OperationsHealthListResultIterator) Value() OperationsHealth
- type OperationsHealthListResultPage
- func (page *OperationsHealthListResultPage) Next() error
- func (page *OperationsHealthListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page OperationsHealthListResultPage) NotDone() bool
- func (page OperationsHealthListResultPage) Response() OperationsHealthListResult
- func (page OperationsHealthListResultPage) Values() []OperationsHealth
- type OperationsHealthProperties
- type OutboundFirewallRule
- type OutboundFirewallRuleListResult
- type OutboundFirewallRuleListResultIterator
- func (iter *OutboundFirewallRuleListResultIterator) Next() error
- func (iter *OutboundFirewallRuleListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter OutboundFirewallRuleListResultIterator) NotDone() bool
- func (iter OutboundFirewallRuleListResultIterator) Response() OutboundFirewallRuleListResult
- func (iter OutboundFirewallRuleListResultIterator) Value() OutboundFirewallRule
- type OutboundFirewallRuleListResultPage
- func (page *OutboundFirewallRuleListResultPage) Next() error
- func (page *OutboundFirewallRuleListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page OutboundFirewallRuleListResultPage) NotDone() bool
- func (page OutboundFirewallRuleListResultPage) Response() OutboundFirewallRuleListResult
- func (page OutboundFirewallRuleListResultPage) Values() []OutboundFirewallRule
- type OutboundFirewallRuleProperties
- type OutboundFirewallRulesClient
- func (client OutboundFirewallRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result OutboundFirewallRulesCreateOrUpdateFuture, err error)
- func (client OutboundFirewallRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client OutboundFirewallRulesClient) CreateOrUpdateResponder(resp *http.Response) (result OutboundFirewallRule, err error)
- func (client OutboundFirewallRulesClient) CreateOrUpdateSender(req *http.Request) (future OutboundFirewallRulesCreateOrUpdateFuture, err error)
- func (client OutboundFirewallRulesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result OutboundFirewallRulesDeleteFuture, err error)
- func (client OutboundFirewallRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client OutboundFirewallRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client OutboundFirewallRulesClient) DeleteSender(req *http.Request) (future OutboundFirewallRulesDeleteFuture, err error)
- func (client OutboundFirewallRulesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result OutboundFirewallRule, err error)
- func (client OutboundFirewallRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client OutboundFirewallRulesClient) GetResponder(resp *http.Response) (result OutboundFirewallRule, err error)
- func (client OutboundFirewallRulesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client OutboundFirewallRulesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result OutboundFirewallRuleListResultPage, err error)
- func (client OutboundFirewallRulesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result OutboundFirewallRuleListResultIterator, err error)
- func (client OutboundFirewallRulesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client OutboundFirewallRulesClient) ListByServerResponder(resp *http.Response) (result OutboundFirewallRuleListResult, err error)
- func (client OutboundFirewallRulesClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type OutboundFirewallRulesCreateOrUpdateFuture
- type OutboundFirewallRulesDeleteFuture
- type PartnerInfo
- type PartnerRegionInfo
- type PauseDelayTimeUnit
- type PerformanceLevelCapability
- type PerformanceLevelUnit
- type PrimaryAggregationType
- type PrincipalType
- type PrivateEndpointConnection
- type PrivateEndpointConnectionListResult
- type PrivateEndpointConnectionListResultIterator
- func (iter *PrivateEndpointConnectionListResultIterator) Next() error
- func (iter *PrivateEndpointConnectionListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter PrivateEndpointConnectionListResultIterator) NotDone() bool
- func (iter PrivateEndpointConnectionListResultIterator) Response() PrivateEndpointConnectionListResult
- func (iter PrivateEndpointConnectionListResultIterator) Value() PrivateEndpointConnection
- type PrivateEndpointConnectionListResultPage
- func (page *PrivateEndpointConnectionListResultPage) Next() error
- func (page *PrivateEndpointConnectionListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page PrivateEndpointConnectionListResultPage) NotDone() bool
- func (page PrivateEndpointConnectionListResultPage) Response() PrivateEndpointConnectionListResult
- func (page PrivateEndpointConnectionListResultPage) Values() []PrivateEndpointConnection
- type PrivateEndpointConnectionProperties
- type PrivateEndpointConnectionRequestStatus
- type PrivateEndpointConnectionsClient
- func (client PrivateEndpointConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result PrivateEndpointConnectionsCreateOrUpdateFuture, err error)
- func (client PrivateEndpointConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client PrivateEndpointConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
- func (client PrivateEndpointConnectionsClient) CreateOrUpdateSender(req *http.Request) (future PrivateEndpointConnectionsCreateOrUpdateFuture, err error)
- func (client PrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result PrivateEndpointConnectionsDeleteFuture, err error)
- func (client PrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client PrivateEndpointConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client PrivateEndpointConnectionsClient) DeleteSender(req *http.Request) (future PrivateEndpointConnectionsDeleteFuture, err error)
- func (client PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result PrivateEndpointConnection, err error)
- func (client PrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client PrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
- func (client PrivateEndpointConnectionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client PrivateEndpointConnectionsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result PrivateEndpointConnectionListResultPage, err error)
- func (client PrivateEndpointConnectionsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result PrivateEndpointConnectionListResultIterator, err error)
- func (client PrivateEndpointConnectionsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client PrivateEndpointConnectionsClient) ListByServerResponder(resp *http.Response) (result PrivateEndpointConnectionListResult, err error)
- func (client PrivateEndpointConnectionsClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type PrivateEndpointConnectionsCreateOrUpdateFuture
- type PrivateEndpointConnectionsDeleteFuture
- type PrivateEndpointProperty
- type PrivateEndpointProvisioningState
- type PrivateLinkResource
- type PrivateLinkResourceListResult
- type PrivateLinkResourceListResultIterator
- func (iter *PrivateLinkResourceListResultIterator) Next() error
- func (iter *PrivateLinkResourceListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter PrivateLinkResourceListResultIterator) NotDone() bool
- func (iter PrivateLinkResourceListResultIterator) Response() PrivateLinkResourceListResult
- func (iter PrivateLinkResourceListResultIterator) Value() PrivateLinkResource
- type PrivateLinkResourceListResultPage
- func (page *PrivateLinkResourceListResultPage) Next() error
- func (page *PrivateLinkResourceListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page PrivateLinkResourceListResultPage) NotDone() bool
- func (page PrivateLinkResourceListResultPage) Response() PrivateLinkResourceListResult
- func (page PrivateLinkResourceListResultPage) Values() []PrivateLinkResource
- type PrivateLinkResourceProperties
- type PrivateLinkResourcesClient
- func (client PrivateLinkResourcesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result PrivateLinkResource, err error)
- func (client PrivateLinkResourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client PrivateLinkResourcesClient) GetResponder(resp *http.Response) (result PrivateLinkResource, err error)
- func (client PrivateLinkResourcesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client PrivateLinkResourcesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result PrivateLinkResourceListResultPage, err error)
- func (client PrivateLinkResourcesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result PrivateLinkResourceListResultIterator, err error)
- func (client PrivateLinkResourcesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client PrivateLinkResourcesClient) ListByServerResponder(resp *http.Response) (result PrivateLinkResourceListResult, err error)
- func (client PrivateLinkResourcesClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type PrivateLinkServiceConnectionStateActionsRequire
- type PrivateLinkServiceConnectionStateProperty
- type PrivateLinkServiceConnectionStateStatus
- type ProvisioningState
- type ProvisioningState1
- type ProxyResource
- type ProxyResourceWithWritableName
- type QueryMetricInterval
- type QueryMetricProperties
- type QueryMetricUnitType
- type QueryProperties
- type QueryStatistics
- type QueryStatisticsProperties
- type QueryTimeGrainType
- type ReadOnlyEndpointFailoverPolicy
- type ReadScaleCapability
- type ReadWriteEndpointFailoverPolicy
- type RecommendedAction
- type RecommendedActionCurrentState
- type RecommendedActionErrorInfo
- type RecommendedActionImpactRecord
- type RecommendedActionImplementationInfo
- type RecommendedActionInitiatedBy
- type RecommendedActionMetricInfo
- type RecommendedActionProperties
- type RecommendedActionStateInfo
- type RecommendedSensitivityLabelUpdate
- type RecommendedSensitivityLabelUpdateKind
- type RecommendedSensitivityLabelUpdateList
- type RecommendedSensitivityLabelUpdateProperties
- type RecommendedSensitivityLabelsClient
- func (client RecommendedSensitivityLabelsClient) Update(ctx context.Context, resourceGroupName string, serverName string, ...) (result autorest.Response, err error)
- func (client RecommendedSensitivityLabelsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client RecommendedSensitivityLabelsClient) UpdateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client RecommendedSensitivityLabelsClient) UpdateSender(req *http.Request) (*http.Response, error)
- 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 RecoverableManagedDatabase
- type RecoverableManagedDatabaseListResult
- type RecoverableManagedDatabaseListResultIterator
- func (iter *RecoverableManagedDatabaseListResultIterator) Next() error
- func (iter *RecoverableManagedDatabaseListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter RecoverableManagedDatabaseListResultIterator) NotDone() bool
- func (iter RecoverableManagedDatabaseListResultIterator) Response() RecoverableManagedDatabaseListResult
- func (iter RecoverableManagedDatabaseListResultIterator) Value() RecoverableManagedDatabase
- type RecoverableManagedDatabaseListResultPage
- func (page *RecoverableManagedDatabaseListResultPage) Next() error
- func (page *RecoverableManagedDatabaseListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page RecoverableManagedDatabaseListResultPage) NotDone() bool
- func (page RecoverableManagedDatabaseListResultPage) Response() RecoverableManagedDatabaseListResult
- func (page RecoverableManagedDatabaseListResultPage) Values() []RecoverableManagedDatabase
- type RecoverableManagedDatabaseProperties
- type RecoverableManagedDatabasesClient
- func (client RecoverableManagedDatabasesClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result RecoverableManagedDatabase, err error)
- func (client RecoverableManagedDatabasesClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client RecoverableManagedDatabasesClient) GetResponder(resp *http.Response) (result RecoverableManagedDatabase, err error)
- func (client RecoverableManagedDatabasesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client RecoverableManagedDatabasesClient) ListByInstance(ctx context.Context, resourceGroupName string, managedInstanceName string) (result RecoverableManagedDatabaseListResultPage, err error)
- func (client RecoverableManagedDatabasesClient) ListByInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result RecoverableManagedDatabaseListResultIterator, err error)
- func (client RecoverableManagedDatabasesClient) ListByInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
- func (client RecoverableManagedDatabasesClient) ListByInstanceResponder(resp *http.Response) (result RecoverableManagedDatabaseListResult, err error)
- func (client RecoverableManagedDatabasesClient) ListByInstanceSender(req *http.Request) (*http.Response, error)
- type ReplicaType
- type ReplicationLink
- type ReplicationLinkListResult
- type ReplicationLinkListResultIterator
- func (iter *ReplicationLinkListResultIterator) Next() error
- func (iter *ReplicationLinkListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ReplicationLinkListResultIterator) NotDone() bool
- func (iter ReplicationLinkListResultIterator) Response() ReplicationLinkListResult
- func (iter ReplicationLinkListResultIterator) Value() ReplicationLink
- type ReplicationLinkListResultPage
- func (page *ReplicationLinkListResultPage) Next() error
- func (page *ReplicationLinkListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ReplicationLinkListResultPage) NotDone() bool
- func (page ReplicationLinkListResultPage) Response() ReplicationLinkListResult
- func (page ReplicationLinkListResultPage) Values() []ReplicationLink
- type ReplicationLinkProperties
- type ReplicationLinkType
- 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 ReplicationLinkListResultPage, err error)
- func (client ReplicationLinksClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result ReplicationLinkListResultIterator, 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)
- func (client ReplicationLinksClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result ReplicationLinkListResultPage, err error)
- func (client ReplicationLinksClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result ReplicationLinkListResultIterator, err error)
- func (client ReplicationLinksClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ReplicationLinksClient) ListByServerResponder(resp *http.Response) (result ReplicationLinkListResult, err error)
- func (client ReplicationLinksClient) ListByServerSender(req *http.Request) (*http.Response, error)
- func (client ReplicationLinksClient) Unlink(ctx context.Context, resourceGroupName string, serverName string, ...) (result ReplicationLinksUnlinkFuture, err error)
- func (client ReplicationLinksClient) UnlinkPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ReplicationLinksClient) UnlinkResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ReplicationLinksClient) UnlinkSender(req *http.Request) (future ReplicationLinksUnlinkFuture, err error)
- type ReplicationLinksFailoverAllowDataLossFuture
- type ReplicationLinksFailoverFuture
- type ReplicationLinksUnlinkFuture
- type ReplicationRole
- type ReplicationState
- type RequestedBackupStorageRedundancy
- type Resource
- type ResourceIdentity
- type ResourceIdentityWithUserAssignedIdentities
- type ResourceMoveDefinition
- type ResourceWithWritableName
- type RestorableDroppedDatabase
- type RestorableDroppedDatabaseListResult
- type RestorableDroppedDatabaseListResultIterator
- func (iter *RestorableDroppedDatabaseListResultIterator) Next() error
- func (iter *RestorableDroppedDatabaseListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter RestorableDroppedDatabaseListResultIterator) NotDone() bool
- func (iter RestorableDroppedDatabaseListResultIterator) Response() RestorableDroppedDatabaseListResult
- func (iter RestorableDroppedDatabaseListResultIterator) Value() RestorableDroppedDatabase
- type RestorableDroppedDatabaseListResultPage
- func (page *RestorableDroppedDatabaseListResultPage) Next() error
- func (page *RestorableDroppedDatabaseListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page RestorableDroppedDatabaseListResultPage) NotDone() bool
- func (page RestorableDroppedDatabaseListResultPage) Response() RestorableDroppedDatabaseListResult
- func (page RestorableDroppedDatabaseListResultPage) Values() []RestorableDroppedDatabase
- 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 RestorableDroppedDatabaseListResultPage, err error)
- func (client RestorableDroppedDatabasesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result RestorableDroppedDatabaseListResultIterator, 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 RestorableDroppedManagedDatabase
- type RestorableDroppedManagedDatabaseListResult
- type RestorableDroppedManagedDatabaseListResultIterator
- func (iter *RestorableDroppedManagedDatabaseListResultIterator) Next() error
- func (iter *RestorableDroppedManagedDatabaseListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter RestorableDroppedManagedDatabaseListResultIterator) NotDone() bool
- func (iter RestorableDroppedManagedDatabaseListResultIterator) Response() RestorableDroppedManagedDatabaseListResult
- func (iter RestorableDroppedManagedDatabaseListResultIterator) Value() RestorableDroppedManagedDatabase
- type RestorableDroppedManagedDatabaseListResultPage
- func (page *RestorableDroppedManagedDatabaseListResultPage) Next() error
- func (page *RestorableDroppedManagedDatabaseListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page RestorableDroppedManagedDatabaseListResultPage) NotDone() bool
- func (page RestorableDroppedManagedDatabaseListResultPage) Response() RestorableDroppedManagedDatabaseListResult
- func (page RestorableDroppedManagedDatabaseListResultPage) Values() []RestorableDroppedManagedDatabase
- type RestorableDroppedManagedDatabaseProperties
- type RestorableDroppedManagedDatabasesClient
- func (client RestorableDroppedManagedDatabasesClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (result RestorableDroppedManagedDatabase, err error)
- func (client RestorableDroppedManagedDatabasesClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, ...) (*http.Request, error)
- func (client RestorableDroppedManagedDatabasesClient) GetResponder(resp *http.Response) (result RestorableDroppedManagedDatabase, err error)
- func (client RestorableDroppedManagedDatabasesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client RestorableDroppedManagedDatabasesClient) ListByInstance(ctx context.Context, resourceGroupName string, managedInstanceName string) (result RestorableDroppedManagedDatabaseListResultPage, err error)
- func (client RestorableDroppedManagedDatabasesClient) ListByInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result RestorableDroppedManagedDatabaseListResultIterator, err error)
- func (client RestorableDroppedManagedDatabasesClient) ListByInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
- func (client RestorableDroppedManagedDatabasesClient) ListByInstanceResponder(resp *http.Response) (result RestorableDroppedManagedDatabaseListResult, err error)
- func (client RestorableDroppedManagedDatabasesClient) ListByInstanceSender(req *http.Request) (*http.Response, error)
- type RestorePoint
- type RestorePointListResult
- type RestorePointListResultIterator
- func (iter *RestorePointListResultIterator) Next() error
- func (iter *RestorePointListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter RestorePointListResultIterator) NotDone() bool
- func (iter RestorePointListResultIterator) Response() RestorePointListResult
- func (iter RestorePointListResultIterator) Value() RestorePoint
- type RestorePointListResultPage
- func (page *RestorePointListResultPage) Next() error
- func (page *RestorePointListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page RestorePointListResultPage) NotDone() bool
- func (page RestorePointListResultPage) Response() RestorePointListResult
- func (page RestorePointListResultPage) Values() []RestorePoint
- type RestorePointProperties
- type RestorePointType
- type RestorePointsClient
- func (client RestorePointsClient) Create(ctx context.Context, resourceGroupName string, serverName string, ...) (result RestorePointsCreateFuture, err error)
- func (client RestorePointsClient) CreatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client RestorePointsClient) CreateResponder(resp *http.Response) (result RestorePoint, err error)
- func (client RestorePointsClient) CreateSender(req *http.Request) (future RestorePointsCreateFuture, err error)
- func (client RestorePointsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result autorest.Response, err error)
- func (client RestorePointsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client RestorePointsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client RestorePointsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client RestorePointsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result RestorePoint, err error)
- func (client RestorePointsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client RestorePointsClient) GetResponder(resp *http.Response) (result RestorePoint, err error)
- func (client RestorePointsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client RestorePointsClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, ...) (result RestorePointListResultPage, err error)
- func (client RestorePointsClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result RestorePointListResultIterator, 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 RestorePointsCreateFuture
- type SampleName
- type SecondaryType
- type SecurityAlertPolicyProperties
- type SecurityAlertPolicyState
- type SecurityAlertsPolicyProperties
- type SecurityAlertsPolicyState
- type SecurityEvent
- type SecurityEventCollection
- type SecurityEventCollectionIterator
- func (iter *SecurityEventCollectionIterator) Next() error
- func (iter *SecurityEventCollectionIterator) NextWithContext(ctx context.Context) (err error)
- func (iter SecurityEventCollectionIterator) NotDone() bool
- func (iter SecurityEventCollectionIterator) Response() SecurityEventCollection
- func (iter SecurityEventCollectionIterator) Value() SecurityEvent
- type SecurityEventCollectionPage
- func (page *SecurityEventCollectionPage) Next() error
- func (page *SecurityEventCollectionPage) NextWithContext(ctx context.Context) (err error)
- func (page SecurityEventCollectionPage) NotDone() bool
- func (page SecurityEventCollectionPage) Response() SecurityEventCollection
- func (page SecurityEventCollectionPage) Values() []SecurityEvent
- type SecurityEventProperties
- type SecurityEventSQLInjectionAdditionalProperties
- type SecurityEventType
- type SecurityEventsFilterParameters
- type SensitivityLabel
- type SensitivityLabelListResult
- type SensitivityLabelListResultIterator
- func (iter *SensitivityLabelListResultIterator) Next() error
- func (iter *SensitivityLabelListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter SensitivityLabelListResultIterator) NotDone() bool
- func (iter SensitivityLabelListResultIterator) Response() SensitivityLabelListResult
- func (iter SensitivityLabelListResultIterator) Value() SensitivityLabel
- type SensitivityLabelListResultPage
- func (page *SensitivityLabelListResultPage) Next() error
- func (page *SensitivityLabelListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page SensitivityLabelListResultPage) NotDone() bool
- func (page SensitivityLabelListResultPage) Response() SensitivityLabelListResult
- func (page SensitivityLabelListResultPage) Values() []SensitivityLabel
- type SensitivityLabelProperties
- type SensitivityLabelRank
- type SensitivityLabelSource
- type SensitivityLabelUpdate
- type SensitivityLabelUpdateKind
- type SensitivityLabelUpdateList
- type SensitivityLabelUpdateProperties
- type SensitivityLabelsClient
- func (client SensitivityLabelsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result SensitivityLabel, err error)
- func (client SensitivityLabelsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client SensitivityLabelsClient) CreateOrUpdateResponder(resp *http.Response) (result SensitivityLabel, err error)
- func (client SensitivityLabelsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client SensitivityLabelsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result autorest.Response, err error)
- func (client SensitivityLabelsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client SensitivityLabelsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SensitivityLabelsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client SensitivityLabelsClient) DisableRecommendation(ctx context.Context, resourceGroupName string, serverName string, ...) (result autorest.Response, err error)
- func (client SensitivityLabelsClient) DisableRecommendationPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client SensitivityLabelsClient) DisableRecommendationResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SensitivityLabelsClient) DisableRecommendationSender(req *http.Request) (*http.Response, error)
- func (client SensitivityLabelsClient) EnableRecommendation(ctx context.Context, resourceGroupName string, serverName string, ...) (result autorest.Response, err error)
- func (client SensitivityLabelsClient) EnableRecommendationPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client SensitivityLabelsClient) EnableRecommendationResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SensitivityLabelsClient) EnableRecommendationSender(req *http.Request) (*http.Response, error)
- func (client SensitivityLabelsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result SensitivityLabel, err error)
- func (client SensitivityLabelsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client SensitivityLabelsClient) GetResponder(resp *http.Response) (result SensitivityLabel, err error)
- func (client SensitivityLabelsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client SensitivityLabelsClient) ListCurrentByDatabase(ctx context.Context, resourceGroupName string, serverName string, ...) (result SensitivityLabelListResultPage, err error)
- func (client SensitivityLabelsClient) ListCurrentByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result SensitivityLabelListResultIterator, err error)
- func (client SensitivityLabelsClient) ListCurrentByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client SensitivityLabelsClient) ListCurrentByDatabaseResponder(resp *http.Response) (result SensitivityLabelListResult, err error)
- func (client SensitivityLabelsClient) ListCurrentByDatabaseSender(req *http.Request) (*http.Response, error)
- func (client SensitivityLabelsClient) ListRecommendedByDatabase(ctx context.Context, resourceGroupName string, serverName string, ...) (result SensitivityLabelListResultPage, err error)
- func (client SensitivityLabelsClient) ListRecommendedByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result SensitivityLabelListResultIterator, err error)
- func (client SensitivityLabelsClient) ListRecommendedByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client SensitivityLabelsClient) ListRecommendedByDatabaseResponder(resp *http.Response) (result SensitivityLabelListResult, err error)
- func (client SensitivityLabelsClient) ListRecommendedByDatabaseSender(req *http.Request) (*http.Response, error)
- func (client SensitivityLabelsClient) Update(ctx context.Context, resourceGroupName string, serverName string, ...) (result autorest.Response, err error)
- func (client SensitivityLabelsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client SensitivityLabelsClient) UpdateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SensitivityLabelsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type Server
- type ServerAdvisorsClient
- func (client ServerAdvisorsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result Advisor, err error)
- func (client ServerAdvisorsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServerAdvisorsClient) GetResponder(resp *http.Response) (result Advisor, err error)
- func (client ServerAdvisorsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ServerAdvisorsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string, ...) (result ListAdvisor, err error)
- func (client ServerAdvisorsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServerAdvisorsClient) ListByServerResponder(resp *http.Response) (result ListAdvisor, err error)
- func (client ServerAdvisorsClient) ListByServerSender(req *http.Request) (*http.Response, error)
- func (client ServerAdvisorsClient) Update(ctx context.Context, resourceGroupName string, serverName string, ...) (result Advisor, err error)
- func (client ServerAdvisorsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServerAdvisorsClient) UpdateResponder(resp *http.Response) (result Advisor, err error)
- func (client ServerAdvisorsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type ServerAutomaticTuning
- type ServerAutomaticTuningClient
- func (client ServerAutomaticTuningClient) Get(ctx context.Context, resourceGroupName string, serverName string) (result ServerAutomaticTuning, err error)
- func (client ServerAutomaticTuningClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServerAutomaticTuningClient) GetResponder(resp *http.Response) (result ServerAutomaticTuning, err error)
- func (client ServerAutomaticTuningClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ServerAutomaticTuningClient) Update(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServerAutomaticTuning, err error)
- func (client ServerAutomaticTuningClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServerAutomaticTuningClient) UpdateResponder(resp *http.Response) (result ServerAutomaticTuning, err error)
- func (client ServerAutomaticTuningClient) UpdateSender(req *http.Request) (*http.Response, error)
- 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 autorest.Response, 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 AdministratorListResultPage, err error)
- func (client ServerAzureADAdministratorsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result AdministratorListResultIterator, err error)
- func (client ServerAzureADAdministratorsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServerAzureADAdministratorsClient) ListByServerResponder(resp *http.Response) (result AdministratorListResult, err error)
- func (client ServerAzureADAdministratorsClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type ServerAzureADAdministratorsCreateOrUpdateFuture
- type ServerAzureADAdministratorsDeleteFuture
- type ServerAzureADOnlyAuthentication
- type ServerAzureADOnlyAuthenticationsClient
- func (client ServerAzureADOnlyAuthenticationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServerAzureADOnlyAuthenticationsCreateOrUpdateFuture, err error)
- func (client ServerAzureADOnlyAuthenticationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServerAzureADOnlyAuthenticationsClient) CreateOrUpdateResponder(resp *http.Response) (result ServerAzureADOnlyAuthentication, err error)
- func (client ServerAzureADOnlyAuthenticationsClient) CreateOrUpdateSender(req *http.Request) (future ServerAzureADOnlyAuthenticationsCreateOrUpdateFuture, err error)
- func (client ServerAzureADOnlyAuthenticationsClient) Delete(ctx context.Context, resourceGroupName string, serverName string) (result ServerAzureADOnlyAuthenticationsDeleteFuture, err error)
- func (client ServerAzureADOnlyAuthenticationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServerAzureADOnlyAuthenticationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ServerAzureADOnlyAuthenticationsClient) DeleteSender(req *http.Request) (future ServerAzureADOnlyAuthenticationsDeleteFuture, err error)
- func (client ServerAzureADOnlyAuthenticationsClient) Get(ctx context.Context, resourceGroupName string, serverName string) (result ServerAzureADOnlyAuthentication, err error)
- func (client ServerAzureADOnlyAuthenticationsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServerAzureADOnlyAuthenticationsClient) GetResponder(resp *http.Response) (result ServerAzureADOnlyAuthentication, err error)
- func (client ServerAzureADOnlyAuthenticationsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ServerAzureADOnlyAuthenticationsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result AzureADOnlyAuthListResultPage, err error)
- func (client ServerAzureADOnlyAuthenticationsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result AzureADOnlyAuthListResultIterator, err error)
- func (client ServerAzureADOnlyAuthenticationsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServerAzureADOnlyAuthenticationsClient) ListByServerResponder(resp *http.Response) (result AzureADOnlyAuthListResult, err error)
- func (client ServerAzureADOnlyAuthenticationsClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type ServerAzureADOnlyAuthenticationsCreateOrUpdateFuture
- type ServerAzureADOnlyAuthenticationsDeleteFuture
- type ServerBlobAuditingPoliciesClient
- func (client ServerBlobAuditingPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServerBlobAuditingPoliciesCreateOrUpdateFuture, err error)
- func (client ServerBlobAuditingPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServerBlobAuditingPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ServerBlobAuditingPolicy, err error)
- func (client ServerBlobAuditingPoliciesClient) CreateOrUpdateSender(req *http.Request) (future ServerBlobAuditingPoliciesCreateOrUpdateFuture, err error)
- func (client ServerBlobAuditingPoliciesClient) Get(ctx context.Context, resourceGroupName string, serverName string) (result ServerBlobAuditingPolicy, err error)
- func (client ServerBlobAuditingPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServerBlobAuditingPoliciesClient) GetResponder(resp *http.Response) (result ServerBlobAuditingPolicy, err error)
- func (client ServerBlobAuditingPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ServerBlobAuditingPoliciesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result ServerBlobAuditingPolicyListResultPage, err error)
- func (client ServerBlobAuditingPoliciesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result ServerBlobAuditingPolicyListResultIterator, err error)
- func (client ServerBlobAuditingPoliciesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServerBlobAuditingPoliciesClient) ListByServerResponder(resp *http.Response) (result ServerBlobAuditingPolicyListResult, err error)
- func (client ServerBlobAuditingPoliciesClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type ServerBlobAuditingPoliciesCreateOrUpdateFuture
- type ServerBlobAuditingPolicy
- type ServerBlobAuditingPolicyListResult
- type ServerBlobAuditingPolicyListResultIterator
- func (iter *ServerBlobAuditingPolicyListResultIterator) Next() error
- func (iter *ServerBlobAuditingPolicyListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ServerBlobAuditingPolicyListResultIterator) NotDone() bool
- func (iter ServerBlobAuditingPolicyListResultIterator) Response() ServerBlobAuditingPolicyListResult
- func (iter ServerBlobAuditingPolicyListResultIterator) Value() ServerBlobAuditingPolicy
- type ServerBlobAuditingPolicyListResultPage
- func (page *ServerBlobAuditingPolicyListResultPage) Next() error
- func (page *ServerBlobAuditingPolicyListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ServerBlobAuditingPolicyListResultPage) NotDone() bool
- func (page ServerBlobAuditingPolicyListResultPage) Response() ServerBlobAuditingPolicyListResult
- func (page ServerBlobAuditingPolicyListResultPage) Values() []ServerBlobAuditingPolicy
- type ServerBlobAuditingPolicyProperties
- 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
- func (iter *ServerDNSAliasListResultIterator) Next() error
- func (iter *ServerDNSAliasListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ServerDNSAliasListResultIterator) NotDone() bool
- func (iter ServerDNSAliasListResultIterator) Response() ServerDNSAliasListResult
- func (iter ServerDNSAliasListResultIterator) Value() ServerDNSAlias
- type ServerDNSAliasListResultPage
- func (page *ServerDNSAliasListResultPage) Next() error
- func (page *ServerDNSAliasListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ServerDNSAliasListResultPage) NotDone() bool
- func (page ServerDNSAliasListResultPage) Response() ServerDNSAliasListResult
- func (page ServerDNSAliasListResultPage) Values() []ServerDNSAlias
- 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 ServerDNSAlias, 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 ServerDevOpsAuditSettingsClient
- func (client ServerDevOpsAuditSettingsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServerDevOpsAuditSettingsCreateOrUpdateFuture, err error)
- func (client ServerDevOpsAuditSettingsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServerDevOpsAuditSettingsClient) CreateOrUpdateResponder(resp *http.Response) (result ServerDevOpsAuditingSettings, err error)
- func (client ServerDevOpsAuditSettingsClient) CreateOrUpdateSender(req *http.Request) (future ServerDevOpsAuditSettingsCreateOrUpdateFuture, err error)
- func (client ServerDevOpsAuditSettingsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServerDevOpsAuditingSettings, err error)
- func (client ServerDevOpsAuditSettingsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServerDevOpsAuditSettingsClient) GetResponder(resp *http.Response) (result ServerDevOpsAuditingSettings, err error)
- func (client ServerDevOpsAuditSettingsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ServerDevOpsAuditSettingsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result ServerDevOpsAuditSettingsListResultPage, err error)
- func (client ServerDevOpsAuditSettingsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result ServerDevOpsAuditSettingsListResultIterator, err error)
- func (client ServerDevOpsAuditSettingsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServerDevOpsAuditSettingsClient) ListByServerResponder(resp *http.Response) (result ServerDevOpsAuditSettingsListResult, err error)
- func (client ServerDevOpsAuditSettingsClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type ServerDevOpsAuditSettingsCreateOrUpdateFuture
- type ServerDevOpsAuditSettingsListResult
- type ServerDevOpsAuditSettingsListResultIterator
- func (iter *ServerDevOpsAuditSettingsListResultIterator) Next() error
- func (iter *ServerDevOpsAuditSettingsListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ServerDevOpsAuditSettingsListResultIterator) NotDone() bool
- func (iter ServerDevOpsAuditSettingsListResultIterator) Response() ServerDevOpsAuditSettingsListResult
- func (iter ServerDevOpsAuditSettingsListResultIterator) Value() ServerDevOpsAuditingSettings
- type ServerDevOpsAuditSettingsListResultPage
- func (page *ServerDevOpsAuditSettingsListResultPage) Next() error
- func (page *ServerDevOpsAuditSettingsListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ServerDevOpsAuditSettingsListResultPage) NotDone() bool
- func (page ServerDevOpsAuditSettingsListResultPage) Response() ServerDevOpsAuditSettingsListResult
- func (page ServerDevOpsAuditSettingsListResultPage) Values() []ServerDevOpsAuditingSettings
- type ServerDevOpsAuditSettingsProperties
- type ServerDevOpsAuditingSettings
- type ServerExternalAdministrator
- type ServerFirewallRuleProperties
- type ServerInfo
- type ServerKey
- type ServerKeyListResult
- type ServerKeyListResultIterator
- func (iter *ServerKeyListResultIterator) Next() error
- func (iter *ServerKeyListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ServerKeyListResultIterator) NotDone() bool
- func (iter ServerKeyListResultIterator) Response() ServerKeyListResult
- func (iter ServerKeyListResultIterator) Value() ServerKey
- type ServerKeyListResultPage
- func (page *ServerKeyListResultPage) Next() error
- func (page *ServerKeyListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ServerKeyListResultPage) NotDone() bool
- func (page ServerKeyListResultPage) Response() ServerKeyListResult
- func (page ServerKeyListResultPage) Values() []ServerKey
- type ServerKeyProperties
- type 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
- func (iter *ServerListResultIterator) Next() error
- func (iter *ServerListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ServerListResultIterator) NotDone() bool
- func (iter ServerListResultIterator) Response() ServerListResult
- func (iter ServerListResultIterator) Value() Server
- type ServerListResultPage
- type ServerNetworkAccessFlag
- type ServerOperation
- type ServerOperationListResult
- type ServerOperationListResultIterator
- func (iter *ServerOperationListResultIterator) Next() error
- func (iter *ServerOperationListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ServerOperationListResultIterator) NotDone() bool
- func (iter ServerOperationListResultIterator) Response() ServerOperationListResult
- func (iter ServerOperationListResultIterator) Value() ServerOperation
- type ServerOperationListResultPage
- func (page *ServerOperationListResultPage) Next() error
- func (page *ServerOperationListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ServerOperationListResultPage) NotDone() bool
- func (page ServerOperationListResultPage) Response() ServerOperationListResult
- func (page ServerOperationListResultPage) Values() []ServerOperation
- type ServerOperationProperties
- type ServerOperationsClient
- func (client ServerOperationsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result ServerOperationListResultPage, err error)
- func (client ServerOperationsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result ServerOperationListResultIterator, err error)
- func (client ServerOperationsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServerOperationsClient) ListByServerResponder(resp *http.Response) (result ServerOperationListResult, err error)
- func (client ServerOperationsClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type ServerPrivateEndpointConnection
- type ServerProperties
- type ServerSecurityAlertPoliciesClient
- func (client ServerSecurityAlertPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServerSecurityAlertPoliciesCreateOrUpdateFuture, err error)
- func (client ServerSecurityAlertPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServerSecurityAlertPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ServerSecurityAlertPolicy, err error)
- func (client ServerSecurityAlertPoliciesClient) CreateOrUpdateSender(req *http.Request) (future ServerSecurityAlertPoliciesCreateOrUpdateFuture, err error)
- func (client ServerSecurityAlertPoliciesClient) Get(ctx context.Context, resourceGroupName string, serverName string) (result ServerSecurityAlertPolicy, err error)
- func (client ServerSecurityAlertPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServerSecurityAlertPoliciesClient) GetResponder(resp *http.Response) (result ServerSecurityAlertPolicy, err error)
- func (client ServerSecurityAlertPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ServerSecurityAlertPoliciesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result LogicalServerSecurityAlertPolicyListResultPage, err error)
- func (client ServerSecurityAlertPoliciesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result LogicalServerSecurityAlertPolicyListResultIterator, err error)
- func (client ServerSecurityAlertPoliciesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServerSecurityAlertPoliciesClient) ListByServerResponder(resp *http.Response) (result LogicalServerSecurityAlertPolicyListResult, err error)
- func (client ServerSecurityAlertPoliciesClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type ServerSecurityAlertPoliciesCreateOrUpdateFuture
- type ServerSecurityAlertPolicy
- type ServerTrustGroup
- type ServerTrustGroupListResult
- type ServerTrustGroupListResultIterator
- func (iter *ServerTrustGroupListResultIterator) Next() error
- func (iter *ServerTrustGroupListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ServerTrustGroupListResultIterator) NotDone() bool
- func (iter ServerTrustGroupListResultIterator) Response() ServerTrustGroupListResult
- func (iter ServerTrustGroupListResultIterator) Value() ServerTrustGroup
- type ServerTrustGroupListResultPage
- func (page *ServerTrustGroupListResultPage) Next() error
- func (page *ServerTrustGroupListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ServerTrustGroupListResultPage) NotDone() bool
- func (page ServerTrustGroupListResultPage) Response() ServerTrustGroupListResult
- func (page ServerTrustGroupListResultPage) Values() []ServerTrustGroup
- type ServerTrustGroupProperties
- type ServerTrustGroupsClient
- func (client ServerTrustGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, locationName string, ...) (result ServerTrustGroupsCreateOrUpdateFuture, err error)
- func (client ServerTrustGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, locationName string, ...) (*http.Request, error)
- func (client ServerTrustGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result ServerTrustGroup, err error)
- func (client ServerTrustGroupsClient) CreateOrUpdateSender(req *http.Request) (future ServerTrustGroupsCreateOrUpdateFuture, err error)
- func (client ServerTrustGroupsClient) Delete(ctx context.Context, resourceGroupName string, locationName string, ...) (result ServerTrustGroupsDeleteFuture, err error)
- func (client ServerTrustGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, locationName string, ...) (*http.Request, error)
- func (client ServerTrustGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ServerTrustGroupsClient) DeleteSender(req *http.Request) (future ServerTrustGroupsDeleteFuture, err error)
- func (client ServerTrustGroupsClient) Get(ctx context.Context, resourceGroupName string, locationName string, ...) (result ServerTrustGroup, err error)
- func (client ServerTrustGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, locationName string, ...) (*http.Request, error)
- func (client ServerTrustGroupsClient) GetResponder(resp *http.Response) (result ServerTrustGroup, err error)
- func (client ServerTrustGroupsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ServerTrustGroupsClient) ListByInstance(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ServerTrustGroupListResultPage, err error)
- func (client ServerTrustGroupsClient) ListByInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ServerTrustGroupListResultIterator, err error)
- func (client ServerTrustGroupsClient) ListByInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
- func (client ServerTrustGroupsClient) ListByInstanceResponder(resp *http.Response) (result ServerTrustGroupListResult, err error)
- func (client ServerTrustGroupsClient) ListByInstanceSender(req *http.Request) (*http.Response, error)
- func (client ServerTrustGroupsClient) ListByLocation(ctx context.Context, resourceGroupName string, locationName string) (result ServerTrustGroupListResultPage, err error)
- func (client ServerTrustGroupsClient) ListByLocationComplete(ctx context.Context, resourceGroupName string, locationName string) (result ServerTrustGroupListResultIterator, err error)
- func (client ServerTrustGroupsClient) ListByLocationPreparer(ctx context.Context, resourceGroupName string, locationName string) (*http.Request, error)
- func (client ServerTrustGroupsClient) ListByLocationResponder(resp *http.Response) (result ServerTrustGroupListResult, err error)
- func (client ServerTrustGroupsClient) ListByLocationSender(req *http.Request) (*http.Response, error)
- type ServerTrustGroupsCreateOrUpdateFuture
- type ServerTrustGroupsDeleteFuture
- 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 ServerVulnerabilityAssessment
- type ServerVulnerabilityAssessmentListResult
- type ServerVulnerabilityAssessmentListResultIterator
- func (iter *ServerVulnerabilityAssessmentListResultIterator) Next() error
- func (iter *ServerVulnerabilityAssessmentListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ServerVulnerabilityAssessmentListResultIterator) NotDone() bool
- func (iter ServerVulnerabilityAssessmentListResultIterator) Response() ServerVulnerabilityAssessmentListResult
- func (iter ServerVulnerabilityAssessmentListResultIterator) Value() ServerVulnerabilityAssessment
- type ServerVulnerabilityAssessmentListResultPage
- func (page *ServerVulnerabilityAssessmentListResultPage) Next() error
- func (page *ServerVulnerabilityAssessmentListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ServerVulnerabilityAssessmentListResultPage) NotDone() bool
- func (page ServerVulnerabilityAssessmentListResultPage) Response() ServerVulnerabilityAssessmentListResult
- func (page ServerVulnerabilityAssessmentListResultPage) Values() []ServerVulnerabilityAssessment
- type ServerVulnerabilityAssessmentProperties
- type ServerVulnerabilityAssessmentsClient
- func (client ServerVulnerabilityAssessmentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServerVulnerabilityAssessment, err error)
- func (client ServerVulnerabilityAssessmentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServerVulnerabilityAssessmentsClient) CreateOrUpdateResponder(resp *http.Response) (result ServerVulnerabilityAssessment, err error)
- func (client ServerVulnerabilityAssessmentsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ServerVulnerabilityAssessmentsClient) Delete(ctx context.Context, resourceGroupName string, serverName string) (result autorest.Response, err error)
- func (client ServerVulnerabilityAssessmentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServerVulnerabilityAssessmentsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ServerVulnerabilityAssessmentsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ServerVulnerabilityAssessmentsClient) Get(ctx context.Context, resourceGroupName string, serverName string) (result ServerVulnerabilityAssessment, err error)
- func (client ServerVulnerabilityAssessmentsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServerVulnerabilityAssessmentsClient) GetResponder(resp *http.Response) (result ServerVulnerabilityAssessment, err error)
- func (client ServerVulnerabilityAssessmentsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ServerVulnerabilityAssessmentsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result ServerVulnerabilityAssessmentListResultPage, err error)
- func (client ServerVulnerabilityAssessmentsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result ServerVulnerabilityAssessmentListResultIterator, err error)
- func (client ServerVulnerabilityAssessmentsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServerVulnerabilityAssessmentsClient) ListByServerResponder(resp *http.Response) (result ServerVulnerabilityAssessmentListResult, err error)
- func (client ServerVulnerabilityAssessmentsClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type ServerWorkspaceFeature
- 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) ImportDatabase(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServersImportDatabaseFuture, err error)
- func (client ServersClient) ImportDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServersClient) ImportDatabaseResponder(resp *http.Response) (result ImportExportOperationResult, err error)
- func (client ServersClient) ImportDatabaseSender(req *http.Request) (future ServersImportDatabaseFuture, err error)
- func (client ServersClient) List(ctx context.Context, expand string) (result ServerListResultPage, err error)
- func (client ServersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, expand string) (result ServerListResultPage, err error)
- func (client ServersClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, expand string) (result ServerListResultIterator, err error)
- func (client ServersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, expand 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, expand string) (result ServerListResultIterator, err error)
- func (client ServersClient) ListPreparer(ctx context.Context, expand string) (*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 ServersImportDatabaseFuture
- 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 Sku
- type SloUsageMetric
- type State
- type Status
- type Status1
- type StorageAccountType
- type StorageAccountType1
- type StorageCapability
- type StorageKeyType
- type SubscriptionUsage
- type SubscriptionUsageListResult
- type SubscriptionUsageListResultIterator
- func (iter *SubscriptionUsageListResultIterator) Next() error
- func (iter *SubscriptionUsageListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter SubscriptionUsageListResultIterator) NotDone() bool
- func (iter SubscriptionUsageListResultIterator) Response() SubscriptionUsageListResult
- func (iter SubscriptionUsageListResultIterator) Value() SubscriptionUsage
- type SubscriptionUsageListResultPage
- func (page *SubscriptionUsageListResultPage) Next() error
- func (page *SubscriptionUsageListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page SubscriptionUsageListResultPage) NotDone() bool
- func (page SubscriptionUsageListResultPage) Response() SubscriptionUsageListResult
- func (page SubscriptionUsageListResultPage) Values() []SubscriptionUsage
- 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) NextWithContext(ctx context.Context) (err 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) NextWithContext(ctx context.Context) (err error)
- func (page SyncAgentLinkedDatabaseListResultPage) NotDone() bool
- func (page SyncAgentLinkedDatabaseListResultPage) Response() SyncAgentLinkedDatabaseListResult
- func (page SyncAgentLinkedDatabaseListResultPage) Values() []SyncAgentLinkedDatabase
- type SyncAgentLinkedDatabaseProperties
- type SyncAgentListResult
- type SyncAgentListResultIterator
- func (iter *SyncAgentListResultIterator) Next() error
- func (iter *SyncAgentListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter SyncAgentListResultIterator) NotDone() bool
- func (iter SyncAgentListResultIterator) Response() SyncAgentListResult
- func (iter SyncAgentListResultIterator) Value() SyncAgent
- type SyncAgentListResultPage
- func (page *SyncAgentListResultPage) Next() error
- func (page *SyncAgentListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page SyncAgentListResultPage) NotDone() bool
- func (page SyncAgentListResultPage) Response() SyncAgentListResult
- func (page SyncAgentListResultPage) Values() []SyncAgent
- 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
- func (iter *SyncDatabaseIDListResultIterator) Next() error
- func (iter *SyncDatabaseIDListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter SyncDatabaseIDListResultIterator) NotDone() bool
- func (iter SyncDatabaseIDListResultIterator) Response() SyncDatabaseIDListResult
- func (iter SyncDatabaseIDListResultIterator) Value() SyncDatabaseIDProperties
- type SyncDatabaseIDListResultPage
- func (page *SyncDatabaseIDListResultPage) Next() error
- func (page *SyncDatabaseIDListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page SyncDatabaseIDListResultPage) NotDone() bool
- func (page SyncDatabaseIDListResultPage) Response() SyncDatabaseIDListResult
- func (page SyncDatabaseIDListResultPage) Values() []SyncDatabaseIDProperties
- type SyncDatabaseIDProperties
- type SyncDirection
- type SyncFullSchemaProperties
- type SyncFullSchemaPropertiesListResult
- type SyncFullSchemaPropertiesListResultIterator
- func (iter *SyncFullSchemaPropertiesListResultIterator) Next() error
- func (iter *SyncFullSchemaPropertiesListResultIterator) NextWithContext(ctx context.Context) (err 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) NextWithContext(ctx context.Context) (err 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
- func (iter *SyncGroupListResultIterator) Next() error
- func (iter *SyncGroupListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter SyncGroupListResultIterator) NotDone() bool
- func (iter SyncGroupListResultIterator) Response() SyncGroupListResult
- func (iter SyncGroupListResultIterator) Value() SyncGroup
- type SyncGroupListResultPage
- func (page *SyncGroupListResultPage) Next() error
- func (page *SyncGroupListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page SyncGroupListResultPage) NotDone() bool
- func (page SyncGroupListResultPage) Response() SyncGroupListResult
- func (page SyncGroupListResultPage) Values() []SyncGroup
- type SyncGroupLogListResult
- type SyncGroupLogListResultIterator
- func (iter *SyncGroupLogListResultIterator) Next() error
- func (iter *SyncGroupLogListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter SyncGroupLogListResultIterator) NotDone() bool
- func (iter SyncGroupLogListResultIterator) Response() SyncGroupLogListResult
- func (iter SyncGroupLogListResultIterator) Value() SyncGroupLogProperties
- type SyncGroupLogListResultPage
- func (page *SyncGroupLogListResultPage) Next() error
- func (page *SyncGroupLogListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page SyncGroupLogListResultPage) NotDone() bool
- func (page SyncGroupLogListResultPage) Response() SyncGroupLogListResult
- func (page SyncGroupLogListResultPage) Values() []SyncGroupLogProperties
- 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
- func (iter *SyncMemberListResultIterator) Next() error
- func (iter *SyncMemberListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter SyncMemberListResultIterator) NotDone() bool
- func (iter SyncMemberListResultIterator) Response() SyncMemberListResult
- func (iter SyncMemberListResultIterator) Value() SyncMember
- type SyncMemberListResultPage
- func (page *SyncMemberListResultPage) Next() error
- func (page *SyncMemberListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page SyncMemberListResultPage) NotDone() bool
- func (page SyncMemberListResultPage) Response() SyncMemberListResult
- func (page SyncMemberListResultPage) Values() []SyncMember
- 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 SystemData
- type TableTemporalType
- type TargetBackupStorageRedundancy
- type TdeCertificate
- type TdeCertificateProperties
- type TdeCertificatesClient
- func (client TdeCertificatesClient) Create(ctx context.Context, resourceGroupName string, serverName string, ...) (result TdeCertificatesCreateFuture, err error)
- func (client TdeCertificatesClient) CreatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client TdeCertificatesClient) CreateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client TdeCertificatesClient) CreateSender(req *http.Request) (future TdeCertificatesCreateFuture, err error)
- type TdeCertificatesCreateFuture
- type TimeZone
- type TimeZoneListResult
- type TimeZoneListResultIterator
- func (iter *TimeZoneListResultIterator) Next() error
- func (iter *TimeZoneListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter TimeZoneListResultIterator) NotDone() bool
- func (iter TimeZoneListResultIterator) Response() TimeZoneListResult
- func (iter TimeZoneListResultIterator) Value() TimeZone
- type TimeZoneListResultPage
- func (page *TimeZoneListResultPage) Next() error
- func (page *TimeZoneListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page TimeZoneListResultPage) NotDone() bool
- func (page TimeZoneListResultPage) Response() TimeZoneListResult
- func (page TimeZoneListResultPage) Values() []TimeZone
- type TimeZoneProperties
- type TimeZonesClient
- func (client TimeZonesClient) Get(ctx context.Context, locationName string, timeZoneID string) (result TimeZone, err error)
- func (client TimeZonesClient) GetPreparer(ctx context.Context, locationName string, timeZoneID string) (*http.Request, error)
- func (client TimeZonesClient) GetResponder(resp *http.Response) (result TimeZone, err error)
- func (client TimeZonesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client TimeZonesClient) ListByLocation(ctx context.Context, locationName string) (result TimeZoneListResultPage, err error)
- func (client TimeZonesClient) ListByLocationComplete(ctx context.Context, locationName string) (result TimeZoneListResultIterator, err error)
- func (client TimeZonesClient) ListByLocationPreparer(ctx context.Context, locationName string) (*http.Request, error)
- func (client TimeZonesClient) ListByLocationResponder(resp *http.Response) (result TimeZoneListResult, err error)
- func (client TimeZonesClient) ListByLocationSender(req *http.Request) (*http.Response, error)
- type TopQueries
- type TopQueriesListResult
- type TopQueriesListResultIterator
- func (iter *TopQueriesListResultIterator) Next() error
- func (iter *TopQueriesListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter TopQueriesListResultIterator) NotDone() bool
- func (iter TopQueriesListResultIterator) Response() TopQueriesListResult
- func (iter TopQueriesListResultIterator) Value() TopQueries
- type TopQueriesListResultPage
- func (page *TopQueriesListResultPage) Next() error
- func (page *TopQueriesListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page TopQueriesListResultPage) NotDone() bool
- func (page TopQueriesListResultPage) Response() TopQueriesListResult
- func (page TopQueriesListResultPage) Values() []TopQueries
- 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 TransparentDataEncryptionState
- 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 UnlinkParameters
- type UpdateLongTermRetentionBackupParameters
- type UpdateLongTermRetentionBackupParametersProperties
- type UpdateManagedInstanceDNSServersOperation
- type UpsertManagedServerOperationParameters
- type UpsertManagedServerOperationStep
- type Usage
- type UsageListResult
- type UsageListResultIterator
- type UsageListResultPage
- type UsagesClient
- func (client UsagesClient) ListByInstancePool(ctx context.Context, resourceGroupName string, instancePoolName string, ...) (result UsageListResultPage, err error)
- func (client UsagesClient) ListByInstancePoolComplete(ctx context.Context, resourceGroupName string, instancePoolName string, ...) (result UsageListResultIterator, err error)
- func (client UsagesClient) ListByInstancePoolPreparer(ctx context.Context, resourceGroupName string, instancePoolName string, ...) (*http.Request, error)
- func (client UsagesClient) ListByInstancePoolResponder(resp *http.Response) (result UsageListResult, err error)
- func (client UsagesClient) ListByInstancePoolSender(req *http.Request) (*http.Response, error)
- type UserIdentity
- type VirtualCluster
- type VirtualClusterListResult
- type VirtualClusterListResultIterator
- func (iter *VirtualClusterListResultIterator) Next() error
- func (iter *VirtualClusterListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter VirtualClusterListResultIterator) NotDone() bool
- func (iter VirtualClusterListResultIterator) Response() VirtualClusterListResult
- func (iter VirtualClusterListResultIterator) Value() VirtualCluster
- type VirtualClusterListResultPage
- func (page *VirtualClusterListResultPage) Next() error
- func (page *VirtualClusterListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page VirtualClusterListResultPage) NotDone() bool
- func (page VirtualClusterListResultPage) Response() VirtualClusterListResult
- func (page VirtualClusterListResultPage) Values() []VirtualCluster
- type VirtualClusterProperties
- type VirtualClusterUpdate
- type VirtualClustersClient
- func (client VirtualClustersClient) Delete(ctx context.Context, resourceGroupName string, virtualClusterName string) (result VirtualClustersDeleteFuture, err error)
- func (client VirtualClustersClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualClusterName string) (*http.Request, error)
- func (client VirtualClustersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualClustersClient) DeleteSender(req *http.Request) (future VirtualClustersDeleteFuture, err error)
- func (client VirtualClustersClient) Get(ctx context.Context, resourceGroupName string, virtualClusterName string) (result VirtualCluster, err error)
- func (client VirtualClustersClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualClusterName string) (*http.Request, error)
- func (client VirtualClustersClient) GetResponder(resp *http.Response) (result VirtualCluster, err error)
- func (client VirtualClustersClient) GetSender(req *http.Request) (*http.Response, error)
- func (client VirtualClustersClient) List(ctx context.Context) (result VirtualClusterListResultPage, err error)
- func (client VirtualClustersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result VirtualClusterListResultPage, err error)
- func (client VirtualClustersClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result VirtualClusterListResultIterator, err error)
- func (client VirtualClustersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client VirtualClustersClient) ListByResourceGroupResponder(resp *http.Response) (result VirtualClusterListResult, err error)
- func (client VirtualClustersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client VirtualClustersClient) ListComplete(ctx context.Context) (result VirtualClusterListResultIterator, err error)
- func (client VirtualClustersClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client VirtualClustersClient) ListResponder(resp *http.Response) (result VirtualClusterListResult, err error)
- func (client VirtualClustersClient) ListSender(req *http.Request) (*http.Response, error)
- func (client VirtualClustersClient) Update(ctx context.Context, resourceGroupName string, virtualClusterName string, ...) (result VirtualClustersUpdateFuture, err error)
- func (client VirtualClustersClient) UpdateDNSServers(ctx context.Context, resourceGroupName string, virtualClusterName string) (result UpdateManagedInstanceDNSServersOperation, err error)
- func (client VirtualClustersClient) UpdateDNSServersPreparer(ctx context.Context, resourceGroupName string, virtualClusterName string) (*http.Request, error)
- func (client VirtualClustersClient) UpdateDNSServersResponder(resp *http.Response) (result UpdateManagedInstanceDNSServersOperation, err error)
- func (client VirtualClustersClient) UpdateDNSServersSender(req *http.Request) (*http.Response, error)
- func (client VirtualClustersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, virtualClusterName string, ...) (*http.Request, error)
- func (client VirtualClustersClient) UpdateResponder(resp *http.Response) (result VirtualCluster, err error)
- func (client VirtualClustersClient) UpdateSender(req *http.Request) (future VirtualClustersUpdateFuture, err error)
- type VirtualClustersDeleteFuture
- type VirtualClustersUpdateFuture
- type VirtualNetworkRule
- type VirtualNetworkRuleListResult
- type VirtualNetworkRuleListResultIterator
- func (iter *VirtualNetworkRuleListResultIterator) Next() error
- func (iter *VirtualNetworkRuleListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter VirtualNetworkRuleListResultIterator) NotDone() bool
- func (iter VirtualNetworkRuleListResultIterator) Response() VirtualNetworkRuleListResult
- func (iter VirtualNetworkRuleListResultIterator) Value() VirtualNetworkRule
- type VirtualNetworkRuleListResultPage
- func (page *VirtualNetworkRuleListResultPage) Next() error
- func (page *VirtualNetworkRuleListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page VirtualNetworkRuleListResultPage) NotDone() bool
- func (page VirtualNetworkRuleListResultPage) Response() VirtualNetworkRuleListResult
- func (page VirtualNetworkRuleListResultPage) Values() []VirtualNetworkRule
- type VirtualNetworkRuleProperties
- type VirtualNetworkRuleState
- type VirtualNetworkRulesClient
- func (client VirtualNetworkRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result VirtualNetworkRulesCreateOrUpdateFuture, err error)
- func (client VirtualNetworkRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client VirtualNetworkRulesClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkRule, err error)
- func (client VirtualNetworkRulesClient) CreateOrUpdateSender(req *http.Request) (future VirtualNetworkRulesCreateOrUpdateFuture, err error)
- func (client VirtualNetworkRulesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result VirtualNetworkRulesDeleteFuture, err error)
- func (client VirtualNetworkRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client VirtualNetworkRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualNetworkRulesClient) DeleteSender(req *http.Request) (future VirtualNetworkRulesDeleteFuture, err error)
- func (client VirtualNetworkRulesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result VirtualNetworkRule, err error)
- func (client VirtualNetworkRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client VirtualNetworkRulesClient) GetResponder(resp *http.Response) (result VirtualNetworkRule, err error)
- func (client VirtualNetworkRulesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client VirtualNetworkRulesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result VirtualNetworkRuleListResultPage, err error)
- func (client VirtualNetworkRulesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result VirtualNetworkRuleListResultIterator, err error)
- func (client VirtualNetworkRulesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
- func (client VirtualNetworkRulesClient) ListByServerResponder(resp *http.Response) (result VirtualNetworkRuleListResult, err error)
- func (client VirtualNetworkRulesClient) ListByServerSender(req *http.Request) (*http.Response, error)
- type VirtualNetworkRulesCreateOrUpdateFuture
- type VirtualNetworkRulesDeleteFuture
- type VulnerabilityAssessmentPolicyBaselineName
- type VulnerabilityAssessmentRecurringScansProperties
- type VulnerabilityAssessmentScanError
- type VulnerabilityAssessmentScanRecord
- type VulnerabilityAssessmentScanRecordListResult
- type VulnerabilityAssessmentScanRecordListResultIterator
- func (iter *VulnerabilityAssessmentScanRecordListResultIterator) Next() error
- func (iter *VulnerabilityAssessmentScanRecordListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter VulnerabilityAssessmentScanRecordListResultIterator) NotDone() bool
- func (iter VulnerabilityAssessmentScanRecordListResultIterator) Response() VulnerabilityAssessmentScanRecordListResult
- func (iter VulnerabilityAssessmentScanRecordListResultIterator) Value() VulnerabilityAssessmentScanRecord
- type VulnerabilityAssessmentScanRecordListResultPage
- func (page *VulnerabilityAssessmentScanRecordListResultPage) Next() error
- func (page *VulnerabilityAssessmentScanRecordListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page VulnerabilityAssessmentScanRecordListResultPage) NotDone() bool
- func (page VulnerabilityAssessmentScanRecordListResultPage) Response() VulnerabilityAssessmentScanRecordListResult
- func (page VulnerabilityAssessmentScanRecordListResultPage) Values() []VulnerabilityAssessmentScanRecord
- type VulnerabilityAssessmentScanRecordProperties
- type VulnerabilityAssessmentScanState
- type VulnerabilityAssessmentScanTriggerType
- type WorkloadClassifier
- type WorkloadClassifierListResult
- type WorkloadClassifierListResultIterator
- func (iter *WorkloadClassifierListResultIterator) Next() error
- func (iter *WorkloadClassifierListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter WorkloadClassifierListResultIterator) NotDone() bool
- func (iter WorkloadClassifierListResultIterator) Response() WorkloadClassifierListResult
- func (iter WorkloadClassifierListResultIterator) Value() WorkloadClassifier
- type WorkloadClassifierListResultPage
- func (page *WorkloadClassifierListResultPage) Next() error
- func (page *WorkloadClassifierListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page WorkloadClassifierListResultPage) NotDone() bool
- func (page WorkloadClassifierListResultPage) Response() WorkloadClassifierListResult
- func (page WorkloadClassifierListResultPage) Values() []WorkloadClassifier
- type WorkloadClassifierProperties
- type WorkloadClassifiersClient
- func (client WorkloadClassifiersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result WorkloadClassifiersCreateOrUpdateFuture, err error)
- func (client WorkloadClassifiersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client WorkloadClassifiersClient) CreateOrUpdateResponder(resp *http.Response) (result WorkloadClassifier, err error)
- func (client WorkloadClassifiersClient) CreateOrUpdateSender(req *http.Request) (future WorkloadClassifiersCreateOrUpdateFuture, err error)
- func (client WorkloadClassifiersClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result WorkloadClassifiersDeleteFuture, err error)
- func (client WorkloadClassifiersClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client WorkloadClassifiersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client WorkloadClassifiersClient) DeleteSender(req *http.Request) (future WorkloadClassifiersDeleteFuture, err error)
- func (client WorkloadClassifiersClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result WorkloadClassifier, err error)
- func (client WorkloadClassifiersClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client WorkloadClassifiersClient) GetResponder(resp *http.Response) (result WorkloadClassifier, err error)
- func (client WorkloadClassifiersClient) GetSender(req *http.Request) (*http.Response, error)
- func (client WorkloadClassifiersClient) ListByWorkloadGroup(ctx context.Context, resourceGroupName string, serverName string, ...) (result WorkloadClassifierListResultPage, err error)
- func (client WorkloadClassifiersClient) ListByWorkloadGroupComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result WorkloadClassifierListResultIterator, err error)
- func (client WorkloadClassifiersClient) ListByWorkloadGroupPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client WorkloadClassifiersClient) ListByWorkloadGroupResponder(resp *http.Response) (result WorkloadClassifierListResult, err error)
- func (client WorkloadClassifiersClient) ListByWorkloadGroupSender(req *http.Request) (*http.Response, error)
- type WorkloadClassifiersCreateOrUpdateFuture
- type WorkloadClassifiersDeleteFuture
- type WorkloadGroup
- type WorkloadGroupListResult
- type WorkloadGroupListResultIterator
- func (iter *WorkloadGroupListResultIterator) Next() error
- func (iter *WorkloadGroupListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter WorkloadGroupListResultIterator) NotDone() bool
- func (iter WorkloadGroupListResultIterator) Response() WorkloadGroupListResult
- func (iter WorkloadGroupListResultIterator) Value() WorkloadGroup
- type WorkloadGroupListResultPage
- func (page *WorkloadGroupListResultPage) Next() error
- func (page *WorkloadGroupListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page WorkloadGroupListResultPage) NotDone() bool
- func (page WorkloadGroupListResultPage) Response() WorkloadGroupListResult
- func (page WorkloadGroupListResultPage) Values() []WorkloadGroup
- type WorkloadGroupProperties
- type WorkloadGroupsClient
- func (client WorkloadGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result WorkloadGroupsCreateOrUpdateFuture, err error)
- func (client WorkloadGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client WorkloadGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result WorkloadGroup, err error)
- func (client WorkloadGroupsClient) CreateOrUpdateSender(req *http.Request) (future WorkloadGroupsCreateOrUpdateFuture, err error)
- func (client WorkloadGroupsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result WorkloadGroupsDeleteFuture, err error)
- func (client WorkloadGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client WorkloadGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client WorkloadGroupsClient) DeleteSender(req *http.Request) (future WorkloadGroupsDeleteFuture, err error)
- func (client WorkloadGroupsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result WorkloadGroup, err error)
- func (client WorkloadGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client WorkloadGroupsClient) GetResponder(resp *http.Response) (result WorkloadGroup, err error)
- func (client WorkloadGroupsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client WorkloadGroupsClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, ...) (result WorkloadGroupListResultPage, err error)
- func (client WorkloadGroupsClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, ...) (result WorkloadGroupListResultIterator, err error)
- func (client WorkloadGroupsClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client WorkloadGroupsClient) ListByDatabaseResponder(resp *http.Response) (result WorkloadGroupListResult, err error)
- func (client WorkloadGroupsClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)
- type WorkloadGroupsCreateOrUpdateFuture
- type WorkloadGroupsDeleteFuture
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 AdministratorListResult ¶
type AdministratorListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ServerAzureADAdministrator `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
AdministratorListResult a list of active directory administrators.
func (AdministratorListResult) IsEmpty ¶
func (alr AdministratorListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (AdministratorListResult) MarshalJSON ¶
func (alr AdministratorListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AdministratorListResult.
type AdministratorListResultIterator ¶
type AdministratorListResultIterator struct {
// contains filtered or unexported fields
}
AdministratorListResultIterator provides access to a complete listing of ServerAzureADAdministrator values.
func NewAdministratorListResultIterator ¶
func NewAdministratorListResultIterator(page AdministratorListResultPage) AdministratorListResultIterator
Creates a new instance of the AdministratorListResultIterator type.
func (*AdministratorListResultIterator) Next ¶
func (iter *AdministratorListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*AdministratorListResultIterator) NextWithContext ¶
func (iter *AdministratorListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (AdministratorListResultIterator) NotDone ¶
func (iter AdministratorListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (AdministratorListResultIterator) Response ¶
func (iter AdministratorListResultIterator) Response() AdministratorListResult
Response returns the raw server response from the last page request.
func (AdministratorListResultIterator) Value ¶
func (iter AdministratorListResultIterator) Value() ServerAzureADAdministrator
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type AdministratorListResultPage ¶
type AdministratorListResultPage struct {
// contains filtered or unexported fields
}
AdministratorListResultPage contains a page of ServerAzureADAdministrator values.
func NewAdministratorListResultPage ¶
func NewAdministratorListResultPage(cur AdministratorListResult, getNextPage func(context.Context, AdministratorListResult) (AdministratorListResult, error)) AdministratorListResultPage
Creates a new instance of the AdministratorListResultPage type.
func (*AdministratorListResultPage) Next ¶
func (page *AdministratorListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*AdministratorListResultPage) NextWithContext ¶
func (page *AdministratorListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (AdministratorListResultPage) NotDone ¶
func (page AdministratorListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (AdministratorListResultPage) Response ¶
func (page AdministratorListResultPage) Response() AdministratorListResult
Response returns the raw server response from the last page request.
func (AdministratorListResultPage) Values ¶
func (page AdministratorListResultPage) Values() []ServerAzureADAdministrator
Values returns the slice of values for the current page or nil if there are no values.
type AdministratorProperties ¶
type AdministratorProperties struct { // AdministratorType - Type of the sever administrator. AdministratorType *string `json:"administratorType,omitempty"` // Login - Login name of the server administrator. Login *string `json:"login,omitempty"` // Sid - SID (object ID) of the server administrator. Sid *uuid.UUID `json:"sid,omitempty"` // TenantID - Tenant ID of the administrator. TenantID *uuid.UUID `json:"tenantId,omitempty"` // AzureADOnlyAuthentication - READ-ONLY; Azure Active Directory only Authentication enabled. AzureADOnlyAuthentication *bool `json:"azureADOnlyAuthentication,omitempty"` }
AdministratorProperties properties of a active directory administrator.
func (AdministratorProperties) MarshalJSON ¶
func (ap AdministratorProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AdministratorProperties.
type AdministratorType ¶
type AdministratorType string
AdministratorType enumerates the values for administrator type.
const ( // AdministratorTypeActiveDirectory ... AdministratorTypeActiveDirectory AdministratorType = "ActiveDirectory" )
func PossibleAdministratorTypeValues ¶
func PossibleAdministratorTypeValues() []AdministratorType
PossibleAdministratorTypeValues returns an array of possible values for the AdministratorType const type.
type Advisor ¶
type Advisor struct { autorest.Response `json:"-"` // Kind - READ-ONLY; Resource kind. Kind *string `json:"kind,omitempty"` // Location - READ-ONLY; Resource location. Location *string `json:"location,omitempty"` // AdvisorProperties - Resource properties. *AdvisorProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
Advisor database, Server or Elastic Pool Advisor.
func (Advisor) MarshalJSON ¶
MarshalJSON is the custom marshaler for Advisor.
func (*Advisor) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Advisor struct.
type AdvisorProperties ¶
type AdvisorProperties struct { // AdvisorStatus - READ-ONLY; Gets the status of availability of this advisor to customers. Possible values are 'GA', 'PublicPreview', 'LimitedPublicPreview' and 'PrivatePreview'. Possible values include: 'AdvisorStatusGA', 'AdvisorStatusPublicPreview', 'AdvisorStatusLimitedPublicPreview', 'AdvisorStatusPrivatePreview' AdvisorStatus AdvisorStatus `json:"advisorStatus,omitempty"` // AutoExecuteStatus - Gets the auto-execute status (whether to let the system execute the recommendations) of this advisor. Possible values are 'Enabled' and 'Disabled'. Possible values include: 'AutoExecuteStatusEnabled', 'AutoExecuteStatusDisabled', 'AutoExecuteStatusDefault' AutoExecuteStatus AutoExecuteStatus `json:"autoExecuteStatus,omitempty"` // AutoExecuteStatusInheritedFrom - READ-ONLY; Gets the resource from which current value of auto-execute status is inherited. Auto-execute status can be set on (and inherited from) different levels in the resource hierarchy. Possible values are 'Subscription', 'Server', 'ElasticPool', 'Database' and 'Default' (when status is not explicitly set on any level). Possible values include: 'AutoExecuteStatusInheritedFromDefault', 'AutoExecuteStatusInheritedFromSubscription', 'AutoExecuteStatusInheritedFromServer', 'AutoExecuteStatusInheritedFromElasticPool', 'AutoExecuteStatusInheritedFromDatabase' AutoExecuteStatusInheritedFrom AutoExecuteStatusInheritedFrom `json:"autoExecuteStatusInheritedFrom,omitempty"` // RecommendationsStatus - READ-ONLY; Gets that status of recommendations for this advisor and reason for not having any recommendations. Possible values include, but are not limited to, 'Ok' (Recommendations available),LowActivity (not enough workload to analyze), 'DbSeemsTuned' (Database is doing well), etc. RecommendationsStatus *string `json:"recommendationsStatus,omitempty"` // LastChecked - READ-ONLY; Gets the time when the current resource was analyzed for recommendations by this advisor. LastChecked *date.Time `json:"lastChecked,omitempty"` // RecommendedActions - READ-ONLY; Gets the recommended actions for this advisor. RecommendedActions *[]RecommendedAction `json:"recommendedActions,omitempty"` }
AdvisorProperties properties for a Database, Server or Elastic Pool Advisor.
func (AdvisorProperties) MarshalJSON ¶
func (ap AdvisorProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AdvisorProperties.
type AdvisorStatus ¶
type AdvisorStatus string
AdvisorStatus enumerates the values for advisor status.
const ( // AdvisorStatusGA ... AdvisorStatusGA AdvisorStatus = "GA" // AdvisorStatusLimitedPublicPreview ... AdvisorStatusLimitedPublicPreview AdvisorStatus = "LimitedPublicPreview" // AdvisorStatusPrivatePreview ... AdvisorStatusPrivatePreview AdvisorStatus = "PrivatePreview" // AdvisorStatusPublicPreview ... AdvisorStatusPublicPreview AdvisorStatus = "PublicPreview" )
func PossibleAdvisorStatusValues ¶
func PossibleAdvisorStatusValues() []AdvisorStatus
PossibleAdvisorStatusValues returns an array of possible values for the AdvisorStatus const type.
type AgentClient ¶
type AgentClient struct {
BaseClient
}
AgentClient 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 NewAgentClient ¶
func NewAgentClient(subscriptionID string) AgentClient
NewAgentClient creates an instance of the AgentClient client.
func NewAgentClientWithBaseURI ¶
func NewAgentClientWithBaseURI(baseURI string, subscriptionID string) AgentClient
NewAgentClientWithBaseURI creates an instance of the AgentClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (AgentClient) CreateOrUpdate ¶
func (client AgentClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, parameters AgentConfiguration) (result AgentConfiguration, err error)
CreateOrUpdate puts new sql agent configuration to instance. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (AgentClient) CreateOrUpdatePreparer ¶
func (client AgentClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, parameters AgentConfiguration) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (AgentClient) CreateOrUpdateResponder ¶
func (client AgentClient) CreateOrUpdateResponder(resp *http.Response) (result AgentConfiguration, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (AgentClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (AgentClient) Get ¶
func (client AgentClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string) (result AgentConfiguration, err error)
Get gets current instance sql agent configuration. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (AgentClient) GetPreparer ¶
func (client AgentClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (AgentClient) GetResponder ¶
func (client AgentClient) GetResponder(resp *http.Response) (result AgentConfiguration, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type AgentConfiguration ¶
type AgentConfiguration struct { autorest.Response `json:"-"` // AgentConfigurationProperties - Resource properties. *AgentConfigurationProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
AgentConfiguration a recoverable managed database resource.
func (AgentConfiguration) MarshalJSON ¶
func (ac AgentConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AgentConfiguration.
func (*AgentConfiguration) UnmarshalJSON ¶
func (ac *AgentConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AgentConfiguration struct.
type AgentConfigurationProperties ¶
type AgentConfigurationProperties struct { // State - The state of Sql Agent. Possible values include: 'StateEnabled', 'StateDisabled' State State `json:"state,omitempty"` }
AgentConfigurationProperties sql agent configuration properties.
type AggregationFunctionType ¶
type AggregationFunctionType string
AggregationFunctionType enumerates the values for aggregation function type.
const ( // AggregationFunctionTypeAvg ... AggregationFunctionTypeAvg AggregationFunctionType = "avg" // AggregationFunctionTypeMax ... AggregationFunctionTypeMax AggregationFunctionType = "max" // AggregationFunctionTypeMin ... AggregationFunctionTypeMin AggregationFunctionType = "min" // AggregationFunctionTypeStdev ... AggregationFunctionTypeStdev AggregationFunctionType = "stdev" // AggregationFunctionTypeSum ... AggregationFunctionTypeSum AggregationFunctionType = "sum" )
func PossibleAggregationFunctionTypeValues ¶
func PossibleAggregationFunctionTypeValues() []AggregationFunctionType
PossibleAggregationFunctionTypeValues returns an array of possible values for the AggregationFunctionType const type.
type AutoExecuteStatus ¶
type AutoExecuteStatus string
AutoExecuteStatus enumerates the values for auto execute status.
const ( // AutoExecuteStatusDefault ... AutoExecuteStatusDefault AutoExecuteStatus = "Default" // AutoExecuteStatusDisabled ... AutoExecuteStatusDisabled AutoExecuteStatus = "Disabled" // AutoExecuteStatusEnabled ... AutoExecuteStatusEnabled AutoExecuteStatus = "Enabled" )
func PossibleAutoExecuteStatusValues ¶
func PossibleAutoExecuteStatusValues() []AutoExecuteStatus
PossibleAutoExecuteStatusValues returns an array of possible values for the AutoExecuteStatus const type.
type AutoExecuteStatusInheritedFrom ¶
type AutoExecuteStatusInheritedFrom string
AutoExecuteStatusInheritedFrom enumerates the values for auto execute status inherited from.
const ( // AutoExecuteStatusInheritedFromDatabase ... AutoExecuteStatusInheritedFromDatabase AutoExecuteStatusInheritedFrom = "Database" // AutoExecuteStatusInheritedFromDefault ... AutoExecuteStatusInheritedFromDefault AutoExecuteStatusInheritedFrom = "Default" // AutoExecuteStatusInheritedFromElasticPool ... AutoExecuteStatusInheritedFromElasticPool AutoExecuteStatusInheritedFrom = "ElasticPool" // AutoExecuteStatusInheritedFromServer ... AutoExecuteStatusInheritedFromServer AutoExecuteStatusInheritedFrom = "Server" // AutoExecuteStatusInheritedFromSubscription ... AutoExecuteStatusInheritedFromSubscription AutoExecuteStatusInheritedFrom = "Subscription" )
func PossibleAutoExecuteStatusInheritedFromValues ¶
func PossibleAutoExecuteStatusInheritedFromValues() []AutoExecuteStatusInheritedFrom
PossibleAutoExecuteStatusInheritedFromValues returns an array of possible values for the AutoExecuteStatusInheritedFrom const type.
type AutoPauseDelayTimeRange ¶
type AutoPauseDelayTimeRange struct { // MinValue - READ-ONLY; Minimum value MinValue *int32 `json:"minValue,omitempty"` // MaxValue - READ-ONLY; Maximum value MaxValue *int32 `json:"maxValue,omitempty"` // StepSize - READ-ONLY; Step value for discrete values between the minimum value and the maximum value. StepSize *int32 `json:"stepSize,omitempty"` // Default - READ-ONLY; Default value is no value is provided Default *int32 `json:"default,omitempty"` // Unit - READ-ONLY; Unit of time that delay is expressed in. Possible values include: 'PauseDelayTimeUnitMinutes' Unit PauseDelayTimeUnit `json:"unit,omitempty"` // DoNotPauseValue - READ-ONLY; Value that is used to not pause (infinite delay before pause) DoNotPauseValue *int32 `json:"doNotPauseValue,omitempty"` }
AutoPauseDelayTimeRange supported auto pause delay time range
func (AutoPauseDelayTimeRange) MarshalJSON ¶
func (apdtr AutoPauseDelayTimeRange) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AutoPauseDelayTimeRange.
type AutomaticTuningDisabledReason ¶
type AutomaticTuningDisabledReason string
AutomaticTuningDisabledReason enumerates the values for automatic tuning disabled reason.
const ( // AutomaticTuningDisabledReasonAutoConfigured ... AutomaticTuningDisabledReasonAutoConfigured AutomaticTuningDisabledReason = "AutoConfigured" // AutomaticTuningDisabledReasonDefault ... AutomaticTuningDisabledReasonDefault AutomaticTuningDisabledReason = "Default" // AutomaticTuningDisabledReasonDisabled ... AutomaticTuningDisabledReasonDisabled AutomaticTuningDisabledReason = "Disabled" // AutomaticTuningDisabledReasonInheritedFromServer ... AutomaticTuningDisabledReasonInheritedFromServer AutomaticTuningDisabledReason = "InheritedFromServer" // AutomaticTuningDisabledReasonNotSupported ... AutomaticTuningDisabledReasonNotSupported AutomaticTuningDisabledReason = "NotSupported" // AutomaticTuningDisabledReasonQueryStoreOff ... AutomaticTuningDisabledReasonQueryStoreOff AutomaticTuningDisabledReason = "QueryStoreOff" // AutomaticTuningDisabledReasonQueryStoreReadOnly ... AutomaticTuningDisabledReasonQueryStoreReadOnly AutomaticTuningDisabledReason = "QueryStoreReadOnly" )
func PossibleAutomaticTuningDisabledReasonValues ¶
func PossibleAutomaticTuningDisabledReasonValues() []AutomaticTuningDisabledReason
PossibleAutomaticTuningDisabledReasonValues returns an array of possible values for the AutomaticTuningDisabledReason const type.
type AutomaticTuningMode ¶
type AutomaticTuningMode string
AutomaticTuningMode enumerates the values for automatic tuning mode.
const ( // AutomaticTuningModeAuto ... AutomaticTuningModeAuto AutomaticTuningMode = "Auto" // AutomaticTuningModeCustom ... AutomaticTuningModeCustom AutomaticTuningMode = "Custom" // AutomaticTuningModeInherit ... AutomaticTuningModeInherit AutomaticTuningMode = "Inherit" // AutomaticTuningModeUnspecified ... AutomaticTuningModeUnspecified AutomaticTuningMode = "Unspecified" )
func PossibleAutomaticTuningModeValues ¶
func PossibleAutomaticTuningModeValues() []AutomaticTuningMode
PossibleAutomaticTuningModeValues returns an array of possible values for the AutomaticTuningMode const type.
type AutomaticTuningOptionModeActual ¶
type AutomaticTuningOptionModeActual string
AutomaticTuningOptionModeActual enumerates the values for automatic tuning option mode actual.
const ( // AutomaticTuningOptionModeActualOff ... AutomaticTuningOptionModeActualOff AutomaticTuningOptionModeActual = "Off" // AutomaticTuningOptionModeActualOn ... AutomaticTuningOptionModeActualOn AutomaticTuningOptionModeActual = "On" )
func PossibleAutomaticTuningOptionModeActualValues ¶
func PossibleAutomaticTuningOptionModeActualValues() []AutomaticTuningOptionModeActual
PossibleAutomaticTuningOptionModeActualValues returns an array of possible values for the AutomaticTuningOptionModeActual const type.
type AutomaticTuningOptionModeDesired ¶
type AutomaticTuningOptionModeDesired string
AutomaticTuningOptionModeDesired enumerates the values for automatic tuning option mode desired.
const ( // AutomaticTuningOptionModeDesiredDefault ... AutomaticTuningOptionModeDesiredDefault AutomaticTuningOptionModeDesired = "Default" // AutomaticTuningOptionModeDesiredOff ... AutomaticTuningOptionModeDesiredOff AutomaticTuningOptionModeDesired = "Off" // AutomaticTuningOptionModeDesiredOn ... AutomaticTuningOptionModeDesiredOn AutomaticTuningOptionModeDesired = "On" )
func PossibleAutomaticTuningOptionModeDesiredValues ¶
func PossibleAutomaticTuningOptionModeDesiredValues() []AutomaticTuningOptionModeDesired
PossibleAutomaticTuningOptionModeDesiredValues returns an array of possible values for the AutomaticTuningOptionModeDesired const type.
type AutomaticTuningOptions ¶
type AutomaticTuningOptions struct { // DesiredState - Automatic tuning option desired state. Possible values include: 'AutomaticTuningOptionModeDesiredOff', 'AutomaticTuningOptionModeDesiredOn', 'AutomaticTuningOptionModeDesiredDefault' DesiredState AutomaticTuningOptionModeDesired `json:"desiredState,omitempty"` // ActualState - READ-ONLY; Automatic tuning option actual state. Possible values include: 'AutomaticTuningOptionModeActualOff', 'AutomaticTuningOptionModeActualOn' ActualState AutomaticTuningOptionModeActual `json:"actualState,omitempty"` // ReasonCode - READ-ONLY; Reason code if desired and actual state are different. ReasonCode *int32 `json:"reasonCode,omitempty"` // ReasonDesc - READ-ONLY; Reason description if desired and actual state are different. Possible values include: 'AutomaticTuningDisabledReasonDefault', 'AutomaticTuningDisabledReasonDisabled', 'AutomaticTuningDisabledReasonAutoConfigured', 'AutomaticTuningDisabledReasonInheritedFromServer', 'AutomaticTuningDisabledReasonQueryStoreOff', 'AutomaticTuningDisabledReasonQueryStoreReadOnly', 'AutomaticTuningDisabledReasonNotSupported' ReasonDesc AutomaticTuningDisabledReason `json:"reasonDesc,omitempty"` }
AutomaticTuningOptions automatic tuning properties for individual advisors.
func (AutomaticTuningOptions) MarshalJSON ¶
func (ato AutomaticTuningOptions) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AutomaticTuningOptions.
type AutomaticTuningServerMode ¶
type AutomaticTuningServerMode string
AutomaticTuningServerMode enumerates the values for automatic tuning server mode.
const ( // AutomaticTuningServerModeAuto ... AutomaticTuningServerModeAuto AutomaticTuningServerMode = "Auto" // AutomaticTuningServerModeCustom ... AutomaticTuningServerModeCustom AutomaticTuningServerMode = "Custom" // AutomaticTuningServerModeUnspecified ... AutomaticTuningServerModeUnspecified AutomaticTuningServerMode = "Unspecified" )
func PossibleAutomaticTuningServerModeValues ¶
func PossibleAutomaticTuningServerModeValues() []AutomaticTuningServerMode
PossibleAutomaticTuningServerModeValues returns an array of possible values for the AutomaticTuningServerMode const type.
type AutomaticTuningServerOptions ¶
type AutomaticTuningServerOptions struct { // DesiredState - Automatic tuning option desired state. Possible values include: 'AutomaticTuningOptionModeDesiredOff', 'AutomaticTuningOptionModeDesiredOn', 'AutomaticTuningOptionModeDesiredDefault' DesiredState AutomaticTuningOptionModeDesired `json:"desiredState,omitempty"` // ActualState - READ-ONLY; Automatic tuning option actual state. Possible values include: 'AutomaticTuningOptionModeActualOff', 'AutomaticTuningOptionModeActualOn' ActualState AutomaticTuningOptionModeActual `json:"actualState,omitempty"` // ReasonCode - READ-ONLY; Reason code if desired and actual state are different. ReasonCode *int32 `json:"reasonCode,omitempty"` // ReasonDesc - READ-ONLY; Reason description if desired and actual state are different. Possible values include: 'AutomaticTuningServerReasonDefault', 'AutomaticTuningServerReasonDisabled', 'AutomaticTuningServerReasonAutoConfigured' ReasonDesc AutomaticTuningServerReason `json:"reasonDesc,omitempty"` }
AutomaticTuningServerOptions automatic tuning properties for individual advisors.
func (AutomaticTuningServerOptions) MarshalJSON ¶
func (atso AutomaticTuningServerOptions) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AutomaticTuningServerOptions.
type AutomaticTuningServerProperties ¶
type AutomaticTuningServerProperties struct { // DesiredState - Automatic tuning desired state. Possible values include: 'AutomaticTuningServerModeCustom', 'AutomaticTuningServerModeAuto', 'AutomaticTuningServerModeUnspecified' DesiredState AutomaticTuningServerMode `json:"desiredState,omitempty"` // ActualState - READ-ONLY; Automatic tuning actual state. Possible values include: 'AutomaticTuningServerModeCustom', 'AutomaticTuningServerModeAuto', 'AutomaticTuningServerModeUnspecified' ActualState AutomaticTuningServerMode `json:"actualState,omitempty"` // Options - Automatic tuning options definition. Options map[string]*AutomaticTuningServerOptions `json:"options"` }
AutomaticTuningServerProperties server-level Automatic Tuning properties.
func (AutomaticTuningServerProperties) MarshalJSON ¶
func (atsp AutomaticTuningServerProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AutomaticTuningServerProperties.
type AutomaticTuningServerReason ¶
type AutomaticTuningServerReason string
AutomaticTuningServerReason enumerates the values for automatic tuning server reason.
const ( // AutomaticTuningServerReasonAutoConfigured ... AutomaticTuningServerReasonAutoConfigured AutomaticTuningServerReason = "AutoConfigured" // AutomaticTuningServerReasonDefault ... AutomaticTuningServerReasonDefault AutomaticTuningServerReason = "Default" // AutomaticTuningServerReasonDisabled ... AutomaticTuningServerReasonDisabled AutomaticTuningServerReason = "Disabled" )
func PossibleAutomaticTuningServerReasonValues ¶
func PossibleAutomaticTuningServerReasonValues() []AutomaticTuningServerReason
PossibleAutomaticTuningServerReasonValues returns an array of possible values for the AutomaticTuningServerReason const type.
type AzureADOnlyAuthListResult ¶
type AzureADOnlyAuthListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ServerAzureADOnlyAuthentication `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
AzureADOnlyAuthListResult a list of active directory only authentications.
func (AzureADOnlyAuthListResult) IsEmpty ¶
func (aaoalr AzureADOnlyAuthListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (AzureADOnlyAuthListResult) MarshalJSON ¶
func (aaoalr AzureADOnlyAuthListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureADOnlyAuthListResult.
type AzureADOnlyAuthListResultIterator ¶
type AzureADOnlyAuthListResultIterator struct {
// contains filtered or unexported fields
}
AzureADOnlyAuthListResultIterator provides access to a complete listing of ServerAzureADOnlyAuthentication values.
func NewAzureADOnlyAuthListResultIterator ¶
func NewAzureADOnlyAuthListResultIterator(page AzureADOnlyAuthListResultPage) AzureADOnlyAuthListResultIterator
Creates a new instance of the AzureADOnlyAuthListResultIterator type.
func (*AzureADOnlyAuthListResultIterator) Next ¶
func (iter *AzureADOnlyAuthListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*AzureADOnlyAuthListResultIterator) NextWithContext ¶
func (iter *AzureADOnlyAuthListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (AzureADOnlyAuthListResultIterator) NotDone ¶
func (iter AzureADOnlyAuthListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (AzureADOnlyAuthListResultIterator) Response ¶
func (iter AzureADOnlyAuthListResultIterator) Response() AzureADOnlyAuthListResult
Response returns the raw server response from the last page request.
func (AzureADOnlyAuthListResultIterator) Value ¶
func (iter AzureADOnlyAuthListResultIterator) Value() ServerAzureADOnlyAuthentication
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type AzureADOnlyAuthListResultPage ¶
type AzureADOnlyAuthListResultPage struct {
// contains filtered or unexported fields
}
AzureADOnlyAuthListResultPage contains a page of ServerAzureADOnlyAuthentication values.
func NewAzureADOnlyAuthListResultPage ¶
func NewAzureADOnlyAuthListResultPage(cur AzureADOnlyAuthListResult, getNextPage func(context.Context, AzureADOnlyAuthListResult) (AzureADOnlyAuthListResult, error)) AzureADOnlyAuthListResultPage
Creates a new instance of the AzureADOnlyAuthListResultPage type.
func (*AzureADOnlyAuthListResultPage) Next ¶
func (page *AzureADOnlyAuthListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*AzureADOnlyAuthListResultPage) NextWithContext ¶
func (page *AzureADOnlyAuthListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (AzureADOnlyAuthListResultPage) NotDone ¶
func (page AzureADOnlyAuthListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (AzureADOnlyAuthListResultPage) Response ¶
func (page AzureADOnlyAuthListResultPage) Response() AzureADOnlyAuthListResult
Response returns the raw server response from the last page request.
func (AzureADOnlyAuthListResultPage) Values ¶
func (page AzureADOnlyAuthListResultPage) Values() []ServerAzureADOnlyAuthentication
Values returns the slice of values for the current page or nil if there are no values.
type AzureADOnlyAuthProperties ¶
type AzureADOnlyAuthProperties struct { // AzureADOnlyAuthentication - Azure Active Directory only Authentication enabled. AzureADOnlyAuthentication *bool `json:"azureADOnlyAuthentication,omitempty"` }
AzureADOnlyAuthProperties properties of a active directory only authentication.
type BackupShortTermRetentionPoliciesClient ¶
type BackupShortTermRetentionPoliciesClient struct {
BaseClient
}
BackupShortTermRetentionPoliciesClient 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 NewBackupShortTermRetentionPoliciesClient ¶
func NewBackupShortTermRetentionPoliciesClient(subscriptionID string) BackupShortTermRetentionPoliciesClient
NewBackupShortTermRetentionPoliciesClient creates an instance of the BackupShortTermRetentionPoliciesClient client.
func NewBackupShortTermRetentionPoliciesClientWithBaseURI ¶
func NewBackupShortTermRetentionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) BackupShortTermRetentionPoliciesClient
NewBackupShortTermRetentionPoliciesClientWithBaseURI creates an instance of the BackupShortTermRetentionPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (BackupShortTermRetentionPoliciesClient) CreateOrUpdate ¶
func (client BackupShortTermRetentionPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters BackupShortTermRetentionPolicy) (result BackupShortTermRetentionPoliciesCreateOrUpdateFuture, err error)
CreateOrUpdate updates a database's short term retention policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. parameters - the short term retention policy info.
func (BackupShortTermRetentionPoliciesClient) CreateOrUpdatePreparer ¶
func (client BackupShortTermRetentionPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters BackupShortTermRetentionPolicy) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (BackupShortTermRetentionPoliciesClient) CreateOrUpdateResponder ¶
func (client BackupShortTermRetentionPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result BackupShortTermRetentionPolicy, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (BackupShortTermRetentionPoliciesClient) CreateOrUpdateSender ¶
func (client BackupShortTermRetentionPoliciesClient) CreateOrUpdateSender(req *http.Request) (future BackupShortTermRetentionPoliciesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (BackupShortTermRetentionPoliciesClient) Get ¶
func (client BackupShortTermRetentionPoliciesClient) Get(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result BackupShortTermRetentionPolicy, err error)
Get gets a database's short term retention policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (BackupShortTermRetentionPoliciesClient) GetPreparer ¶
func (client BackupShortTermRetentionPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (BackupShortTermRetentionPoliciesClient) GetResponder ¶
func (client BackupShortTermRetentionPoliciesClient) GetResponder(resp *http.Response) (result BackupShortTermRetentionPolicy, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (BackupShortTermRetentionPoliciesClient) GetSender ¶
func (client BackupShortTermRetentionPoliciesClient) 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 (BackupShortTermRetentionPoliciesClient) ListByDatabase ¶
func (client BackupShortTermRetentionPoliciesClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result BackupShortTermRetentionPolicyListResultPage, err error)
ListByDatabase gets a database's short term retention policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (BackupShortTermRetentionPoliciesClient) ListByDatabaseComplete ¶
func (client BackupShortTermRetentionPoliciesClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result BackupShortTermRetentionPolicyListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (BackupShortTermRetentionPoliciesClient) ListByDatabasePreparer ¶
func (client BackupShortTermRetentionPoliciesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (BackupShortTermRetentionPoliciesClient) ListByDatabaseResponder ¶
func (client BackupShortTermRetentionPoliciesClient) ListByDatabaseResponder(resp *http.Response) (result BackupShortTermRetentionPolicyListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (BackupShortTermRetentionPoliciesClient) ListByDatabaseSender ¶
func (client BackupShortTermRetentionPoliciesClient) 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.
func (BackupShortTermRetentionPoliciesClient) Update ¶
func (client BackupShortTermRetentionPoliciesClient) Update(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters BackupShortTermRetentionPolicy) (result BackupShortTermRetentionPoliciesUpdateFuture, err error)
Update updates a database's short term retention policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. parameters - the short term retention policy info.
func (BackupShortTermRetentionPoliciesClient) UpdatePreparer ¶
func (client BackupShortTermRetentionPoliciesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters BackupShortTermRetentionPolicy) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (BackupShortTermRetentionPoliciesClient) UpdateResponder ¶
func (client BackupShortTermRetentionPoliciesClient) UpdateResponder(resp *http.Response) (result BackupShortTermRetentionPolicy, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (BackupShortTermRetentionPoliciesClient) UpdateSender ¶
func (client BackupShortTermRetentionPoliciesClient) UpdateSender(req *http.Request) (future BackupShortTermRetentionPoliciesUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type BackupShortTermRetentionPoliciesCreateOrUpdateFuture ¶
type BackupShortTermRetentionPoliciesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(BackupShortTermRetentionPoliciesClient) (BackupShortTermRetentionPolicy, error) }
BackupShortTermRetentionPoliciesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*BackupShortTermRetentionPoliciesCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *BackupShortTermRetentionPoliciesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type BackupShortTermRetentionPoliciesUpdateFuture ¶
type BackupShortTermRetentionPoliciesUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(BackupShortTermRetentionPoliciesClient) (BackupShortTermRetentionPolicy, error) }
BackupShortTermRetentionPoliciesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*BackupShortTermRetentionPoliciesUpdateFuture) UnmarshalJSON ¶
func (future *BackupShortTermRetentionPoliciesUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type BackupShortTermRetentionPolicy ¶
type BackupShortTermRetentionPolicy struct { autorest.Response `json:"-"` // BackupShortTermRetentionPolicyProperties - Resource properties. *BackupShortTermRetentionPolicyProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
BackupShortTermRetentionPolicy a short term retention policy.
func (BackupShortTermRetentionPolicy) MarshalJSON ¶
func (bstrp BackupShortTermRetentionPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BackupShortTermRetentionPolicy.
func (*BackupShortTermRetentionPolicy) UnmarshalJSON ¶
func (bstrp *BackupShortTermRetentionPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for BackupShortTermRetentionPolicy struct.
type BackupShortTermRetentionPolicyListResult ¶
type BackupShortTermRetentionPolicyListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]BackupShortTermRetentionPolicy `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
BackupShortTermRetentionPolicyListResult a list of short term retention policies.
func (BackupShortTermRetentionPolicyListResult) IsEmpty ¶
func (bstrplr BackupShortTermRetentionPolicyListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (BackupShortTermRetentionPolicyListResult) MarshalJSON ¶
func (bstrplr BackupShortTermRetentionPolicyListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BackupShortTermRetentionPolicyListResult.
type BackupShortTermRetentionPolicyListResultIterator ¶
type BackupShortTermRetentionPolicyListResultIterator struct {
// contains filtered or unexported fields
}
BackupShortTermRetentionPolicyListResultIterator provides access to a complete listing of BackupShortTermRetentionPolicy values.
func NewBackupShortTermRetentionPolicyListResultIterator ¶
func NewBackupShortTermRetentionPolicyListResultIterator(page BackupShortTermRetentionPolicyListResultPage) BackupShortTermRetentionPolicyListResultIterator
Creates a new instance of the BackupShortTermRetentionPolicyListResultIterator type.
func (*BackupShortTermRetentionPolicyListResultIterator) Next ¶
func (iter *BackupShortTermRetentionPolicyListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*BackupShortTermRetentionPolicyListResultIterator) NextWithContext ¶
func (iter *BackupShortTermRetentionPolicyListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (BackupShortTermRetentionPolicyListResultIterator) NotDone ¶
func (iter BackupShortTermRetentionPolicyListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (BackupShortTermRetentionPolicyListResultIterator) Response ¶
func (iter BackupShortTermRetentionPolicyListResultIterator) Response() BackupShortTermRetentionPolicyListResult
Response returns the raw server response from the last page request.
func (BackupShortTermRetentionPolicyListResultIterator) Value ¶
func (iter BackupShortTermRetentionPolicyListResultIterator) Value() BackupShortTermRetentionPolicy
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type BackupShortTermRetentionPolicyListResultPage ¶
type BackupShortTermRetentionPolicyListResultPage struct {
// contains filtered or unexported fields
}
BackupShortTermRetentionPolicyListResultPage contains a page of BackupShortTermRetentionPolicy values.
func NewBackupShortTermRetentionPolicyListResultPage ¶
func NewBackupShortTermRetentionPolicyListResultPage(cur BackupShortTermRetentionPolicyListResult, getNextPage func(context.Context, BackupShortTermRetentionPolicyListResult) (BackupShortTermRetentionPolicyListResult, error)) BackupShortTermRetentionPolicyListResultPage
Creates a new instance of the BackupShortTermRetentionPolicyListResultPage type.
func (*BackupShortTermRetentionPolicyListResultPage) Next ¶
func (page *BackupShortTermRetentionPolicyListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*BackupShortTermRetentionPolicyListResultPage) NextWithContext ¶
func (page *BackupShortTermRetentionPolicyListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (BackupShortTermRetentionPolicyListResultPage) NotDone ¶
func (page BackupShortTermRetentionPolicyListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (BackupShortTermRetentionPolicyListResultPage) Response ¶
func (page BackupShortTermRetentionPolicyListResultPage) Response() BackupShortTermRetentionPolicyListResult
Response returns the raw server response from the last page request.
func (BackupShortTermRetentionPolicyListResultPage) Values ¶
func (page BackupShortTermRetentionPolicyListResultPage) Values() []BackupShortTermRetentionPolicy
Values returns the slice of values for the current page or nil if there are no values.
type BackupShortTermRetentionPolicyProperties ¶
type BackupShortTermRetentionPolicyProperties struct { // RetentionDays - The backup retention period in days. This is how many days Point-in-Time Restore will be supported. RetentionDays *int32 `json:"retentionDays,omitempty"` // DiffBackupIntervalInHours - The differential backup interval in hours. This is how many interval hours between each differential backup will be supported. This is only applicable to live databases but not dropped databases. DiffBackupIntervalInHours *int32 `json:"diffBackupIntervalInHours,omitempty"` }
BackupShortTermRetentionPolicyProperties properties of a short term retention policy
type BackupStorageRedundancy ¶
type BackupStorageRedundancy string
BackupStorageRedundancy enumerates the values for backup storage redundancy.
const ( // BackupStorageRedundancyGeo ... BackupStorageRedundancyGeo BackupStorageRedundancy = "Geo" // BackupStorageRedundancyLocal ... BackupStorageRedundancyLocal BackupStorageRedundancy = "Local" // BackupStorageRedundancyZone ... BackupStorageRedundancyZone BackupStorageRedundancy = "Zone" )
func PossibleBackupStorageRedundancyValues ¶
func PossibleBackupStorageRedundancyValues() []BackupStorageRedundancy
PossibleBackupStorageRedundancyValues returns an array of possible values for the BackupStorageRedundancy const type.
type BackupStorageRedundancy1 ¶
type BackupStorageRedundancy1 string
BackupStorageRedundancy1 enumerates the values for backup storage redundancy 1.
const ( // BackupStorageRedundancy1Geo ... BackupStorageRedundancy1Geo BackupStorageRedundancy1 = "Geo" // BackupStorageRedundancy1Local ... BackupStorageRedundancy1Local BackupStorageRedundancy1 = "Local" // BackupStorageRedundancy1Zone ... BackupStorageRedundancy1Zone BackupStorageRedundancy1 = "Zone" )
func PossibleBackupStorageRedundancy1Values ¶
func PossibleBackupStorageRedundancy1Values() []BackupStorageRedundancy1
PossibleBackupStorageRedundancy1Values returns an array of possible values for the BackupStorageRedundancy1 const type.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
type BaseLongTermRetentionPolicyProperties ¶
type BaseLongTermRetentionPolicyProperties struct { // WeeklyRetention - The weekly retention policy for an LTR backup in an ISO 8601 format. WeeklyRetention *string `json:"weeklyRetention,omitempty"` // MonthlyRetention - The monthly retention policy for an LTR backup in an ISO 8601 format. MonthlyRetention *string `json:"monthlyRetention,omitempty"` // YearlyRetention - The yearly retention policy for an LTR backup in an ISO 8601 format. YearlyRetention *string `json:"yearlyRetention,omitempty"` // WeekOfYear - The week of year to take the yearly backup in an ISO 8601 format. WeekOfYear *int32 `json:"weekOfYear,omitempty"` }
BaseLongTermRetentionPolicyProperties properties of a long term retention policy
type BlobAuditingPolicyState ¶
type BlobAuditingPolicyState string
BlobAuditingPolicyState enumerates the values for blob auditing policy state.
const ( // BlobAuditingPolicyStateDisabled ... BlobAuditingPolicyStateDisabled BlobAuditingPolicyState = "Disabled" // BlobAuditingPolicyStateEnabled ... BlobAuditingPolicyStateEnabled BlobAuditingPolicyState = "Enabled" )
func PossibleBlobAuditingPolicyStateValues ¶
func PossibleBlobAuditingPolicyStateValues() []BlobAuditingPolicyState
PossibleBlobAuditingPolicyStateValues returns an array of possible values for the BlobAuditingPolicyState const type.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (CapabilitiesClient) ListByLocation ¶
func (client CapabilitiesClient) ListByLocation(ctx context.Context, locationName string, include CapabilityGroup) (result LocationCapabilities, err error)
ListByLocation gets the subscription capabilities available for the specified location. Parameters: locationName - the location name whose capabilities are retrieved. include - if specified, restricts the response to only include the selected item.
func (CapabilitiesClient) ListByLocationPreparer ¶
func (client CapabilitiesClient) ListByLocationPreparer(ctx context.Context, locationName string, include CapabilityGroup) (*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 CapabilityGroup ¶
type CapabilityGroup string
CapabilityGroup enumerates the values for capability group.
const ( // CapabilityGroupSupportedEditions ... CapabilityGroupSupportedEditions CapabilityGroup = "supportedEditions" // CapabilityGroupSupportedElasticPoolEditions ... CapabilityGroupSupportedElasticPoolEditions CapabilityGroup = "supportedElasticPoolEditions" // CapabilityGroupSupportedInstancePoolEditions ... CapabilityGroupSupportedInstancePoolEditions CapabilityGroup = "supportedInstancePoolEditions" // CapabilityGroupSupportedManagedInstanceEditions ... CapabilityGroupSupportedManagedInstanceEditions CapabilityGroup = "supportedManagedInstanceEditions" // CapabilityGroupSupportedManagedInstanceVersions ... CapabilityGroupSupportedManagedInstanceVersions CapabilityGroup = "supportedManagedInstanceVersions" )
func PossibleCapabilityGroupValues ¶
func PossibleCapabilityGroupValues() []CapabilityGroup
PossibleCapabilityGroupValues returns an array of possible values for the CapabilityGroup const type.
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" )
func PossibleCapabilityStatusValues ¶
func PossibleCapabilityStatusValues() []CapabilityStatus
PossibleCapabilityStatusValues returns an array of possible values for the CapabilityStatus const type.
type CatalogCollationType ¶
type CatalogCollationType string
CatalogCollationType enumerates the values for catalog collation type.
const ( // CatalogCollationTypeDATABASEDEFAULT ... CatalogCollationTypeDATABASEDEFAULT CatalogCollationType = "DATABASE_DEFAULT" // CatalogCollationTypeSQLLatin1GeneralCP1CIAS ... CatalogCollationTypeSQLLatin1GeneralCP1CIAS CatalogCollationType = "SQL_Latin1_General_CP1_CI_AS" )
func PossibleCatalogCollationTypeValues ¶
func PossibleCatalogCollationTypeValues() []CatalogCollationType
PossibleCatalogCollationTypeValues returns an array of possible values for the CatalogCollationType const type.
type CheckNameAvailabilityReason ¶
type CheckNameAvailabilityReason string
CheckNameAvailabilityReason enumerates the values for check name availability reason.
const ( // CheckNameAvailabilityReasonAlreadyExists ... CheckNameAvailabilityReasonAlreadyExists CheckNameAvailabilityReason = "AlreadyExists" // CheckNameAvailabilityReasonInvalid ... CheckNameAvailabilityReasonInvalid CheckNameAvailabilityReason = "Invalid" )
func PossibleCheckNameAvailabilityReasonValues ¶
func PossibleCheckNameAvailabilityReasonValues() []CheckNameAvailabilityReason
PossibleCheckNameAvailabilityReasonValues returns an array of possible values for the CheckNameAvailabilityReason const type.
type CheckNameAvailabilityRequest ¶
type CheckNameAvailabilityRequest struct { Name *string `json:"name,omitempty"` 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:"-"` // Name - READ-ONLY; The name whose availability was checked. Name *string `json:"name,omitempty"` // Available - READ-ONLY; True if the name is available, otherwise false. Available *bool `json:"available,omitempty"` // Reason - READ-ONLY; The reason code explaining why the name is unavailable. Will be undefined if the name is available. Possible values include: 'CheckNameAvailabilityReasonInvalid', 'CheckNameAvailabilityReasonAlreadyExists' Reason CheckNameAvailabilityReason `json:"reason,omitempty"` // Message - READ-ONLY; A message explaining why the name is unavailable. Will be undefined if the name is available. Message *string `json:"message,omitempty"` }
CheckNameAvailabilityResponse the result of a name availability check.
func (CheckNameAvailabilityResponse) MarshalJSON ¶
func (cnar CheckNameAvailabilityResponse) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CheckNameAvailabilityResponse.
type ColumnDataType ¶
type ColumnDataType string
ColumnDataType enumerates the values for column data type.
const ( // ColumnDataTypeBigint ... ColumnDataTypeBigint ColumnDataType = "bigint" // ColumnDataTypeBinary ... ColumnDataTypeBinary ColumnDataType = "binary" // ColumnDataTypeBit ... ColumnDataTypeBit ColumnDataType = "bit" // ColumnDataTypeChar ... ColumnDataTypeChar ColumnDataType = "char" // ColumnDataTypeDate ... ColumnDataTypeDate ColumnDataType = "date" // ColumnDataTypeDatetime ... ColumnDataTypeDatetime ColumnDataType = "datetime" // ColumnDataTypeDatetime2 ... ColumnDataTypeDatetime2 ColumnDataType = "datetime2" // ColumnDataTypeDatetimeoffset ... ColumnDataTypeDatetimeoffset ColumnDataType = "datetimeoffset" // ColumnDataTypeDecimal ... ColumnDataTypeDecimal ColumnDataType = "decimal" // ColumnDataTypeFloat ... ColumnDataTypeFloat ColumnDataType = "float" // ColumnDataTypeGeography ... ColumnDataTypeGeography ColumnDataType = "geography" // ColumnDataTypeGeometry ... ColumnDataTypeGeometry ColumnDataType = "geometry" // ColumnDataTypeHierarchyid ... ColumnDataTypeHierarchyid ColumnDataType = "hierarchyid" // ColumnDataTypeImage ... ColumnDataTypeImage ColumnDataType = "image" // ColumnDataTypeInt ... ColumnDataTypeInt ColumnDataType = "int" // ColumnDataTypeMoney ... ColumnDataTypeMoney ColumnDataType = "money" // ColumnDataTypeNchar ... ColumnDataTypeNchar ColumnDataType = "nchar" // ColumnDataTypeNtext ... ColumnDataTypeNtext ColumnDataType = "ntext" // ColumnDataTypeNumeric ... ColumnDataTypeNumeric ColumnDataType = "numeric" // ColumnDataTypeNvarchar ... ColumnDataTypeNvarchar ColumnDataType = "nvarchar" // ColumnDataTypeReal ... ColumnDataTypeReal ColumnDataType = "real" // ColumnDataTypeSmalldatetime ... ColumnDataTypeSmalldatetime ColumnDataType = "smalldatetime" // ColumnDataTypeSmallint ... ColumnDataTypeSmallint ColumnDataType = "smallint" // ColumnDataTypeSmallmoney ... ColumnDataTypeSmallmoney ColumnDataType = "smallmoney" // ColumnDataTypeSQLVariant ... ColumnDataTypeSQLVariant ColumnDataType = "sql_variant" // ColumnDataTypeSysname ... ColumnDataTypeSysname ColumnDataType = "sysname" // ColumnDataTypeText ... ColumnDataTypeText ColumnDataType = "text" // ColumnDataTypeTime ... ColumnDataTypeTime ColumnDataType = "time" // ColumnDataTypeTimestamp ... ColumnDataTypeTimestamp ColumnDataType = "timestamp" // ColumnDataTypeTinyint ... ColumnDataTypeTinyint ColumnDataType = "tinyint" // ColumnDataTypeUniqueidentifier ... ColumnDataTypeUniqueidentifier ColumnDataType = "uniqueidentifier" // ColumnDataTypeVarbinary ... ColumnDataTypeVarbinary ColumnDataType = "varbinary" // ColumnDataTypeVarchar ... ColumnDataTypeVarchar ColumnDataType = "varchar" // ColumnDataTypeXML ... ColumnDataTypeXML ColumnDataType = "xml" )
func PossibleColumnDataTypeValues ¶
func PossibleColumnDataTypeValues() []ColumnDataType
PossibleColumnDataTypeValues returns an array of possible values for the ColumnDataType const type.
type CompleteDatabaseRestoreDefinition ¶
type CompleteDatabaseRestoreDefinition struct { // LastBackupName - The last backup name to apply LastBackupName *string `json:"lastBackupName,omitempty"` }
CompleteDatabaseRestoreDefinition contains the information necessary to perform a complete database restore operation.
type CopyLongTermRetentionBackupParameters ¶
type CopyLongTermRetentionBackupParameters struct { // CopyLongTermRetentionBackupParametersProperties - Resource properties. *CopyLongTermRetentionBackupParametersProperties `json:"properties,omitempty"` }
CopyLongTermRetentionBackupParameters contains the information necessary to perform long term retention backup copy operation.
func (CopyLongTermRetentionBackupParameters) MarshalJSON ¶
func (cltrbp CopyLongTermRetentionBackupParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CopyLongTermRetentionBackupParameters.
func (*CopyLongTermRetentionBackupParameters) UnmarshalJSON ¶
func (cltrbp *CopyLongTermRetentionBackupParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CopyLongTermRetentionBackupParameters struct.
type CopyLongTermRetentionBackupParametersProperties ¶
type CopyLongTermRetentionBackupParametersProperties struct { // TargetSubscriptionID - The subscription that owns the target server TargetSubscriptionID *string `json:"targetSubscriptionId,omitempty"` // TargetResourceGroup - The resource group that owns the target server TargetResourceGroup *string `json:"targetResourceGroup,omitempty"` // TargetServerResourceID - The resource Id of the target server that owns the database TargetServerResourceID *string `json:"targetServerResourceId,omitempty"` // TargetServerFullyQualifiedDomainName - The fully qualified domain name of the target server TargetServerFullyQualifiedDomainName *string `json:"targetServerFullyQualifiedDomainName,omitempty"` // TargetDatabaseName - The name of the database owns the copied backup. TargetDatabaseName *string `json:"targetDatabaseName,omitempty"` // TargetBackupStorageRedundancy - The storage redundancy type of the copied backup. Possible values include: 'TargetBackupStorageRedundancyGeo', 'TargetBackupStorageRedundancyLocal', 'TargetBackupStorageRedundancyZone' TargetBackupStorageRedundancy TargetBackupStorageRedundancy `json:"targetBackupStorageRedundancy,omitempty"` }
CopyLongTermRetentionBackupParametersProperties contains the properties to perform long term retention backup copy operation.
type CreateDatabaseRestorePointDefinition ¶
type CreateDatabaseRestorePointDefinition struct { // RestorePointLabel - The restore point label to apply RestorePointLabel *string `json:"restorePointLabel,omitempty"` }
CreateDatabaseRestorePointDefinition contains the information necessary to perform a create database restore point operation.
type CreateMode ¶
type CreateMode string
CreateMode enumerates the values for create mode.
const ( // CreateModeCopy ... CreateModeCopy CreateMode = "Copy" // CreateModeDefault ... CreateModeDefault CreateMode = "Default" // CreateModeOnlineSecondary ... CreateModeOnlineSecondary CreateMode = "OnlineSecondary" // CreateModePointInTimeRestore ... CreateModePointInTimeRestore CreateMode = "PointInTimeRestore" // CreateModeRecovery ... CreateModeRecovery CreateMode = "Recovery" // CreateModeRestore ... CreateModeRestore CreateMode = "Restore" // CreateModeRestoreExternalBackup ... CreateModeRestoreExternalBackup CreateMode = "RestoreExternalBackup" // CreateModeRestoreExternalBackupSecondary ... CreateModeRestoreExternalBackupSecondary CreateMode = "RestoreExternalBackupSecondary" // CreateModeRestoreLongTermRetentionBackup ... CreateModeRestoreLongTermRetentionBackup CreateMode = "RestoreLongTermRetentionBackup" // CreateModeSecondary ... CreateModeSecondary CreateMode = "Secondary" )
func PossibleCreateModeValues ¶
func PossibleCreateModeValues() []CreateMode
PossibleCreateModeValues returns an array of possible values for the CreateMode const type.
type CreatedByType ¶
type CreatedByType string
CreatedByType enumerates the values for created by type.
const ( // CreatedByTypeApplication ... CreatedByTypeApplication CreatedByType = "Application" // CreatedByTypeKey ... CreatedByTypeKey CreatedByType = "Key" // CreatedByTypeManagedIdentity ... CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity" // CreatedByTypeUser ... CreatedByTypeUser CreatedByType = "User" )
func PossibleCreatedByTypeValues ¶
func PossibleCreatedByTypeValues() []CreatedByType
PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.
type CurrentBackupStorageRedundancy ¶
type CurrentBackupStorageRedundancy string
CurrentBackupStorageRedundancy enumerates the values for current backup storage redundancy.
const ( // CurrentBackupStorageRedundancyGeo ... CurrentBackupStorageRedundancyGeo CurrentBackupStorageRedundancy = "Geo" // CurrentBackupStorageRedundancyLocal ... CurrentBackupStorageRedundancyLocal CurrentBackupStorageRedundancy = "Local" // CurrentBackupStorageRedundancyZone ... CurrentBackupStorageRedundancyZone CurrentBackupStorageRedundancy = "Zone" )
func PossibleCurrentBackupStorageRedundancyValues ¶
func PossibleCurrentBackupStorageRedundancyValues() []CurrentBackupStorageRedundancy
PossibleCurrentBackupStorageRedundancyValues returns an array of possible values for the CurrentBackupStorageRedundancy const type.
type DNSRefreshConfigurationProperties ¶
type DNSRefreshConfigurationProperties struct { // Status - READ-ONLY; The status of the DNS refresh operation. Possible values include: 'Status1Succeeded', 'Status1Failed' Status Status1 `json:"status,omitempty"` }
DNSRefreshConfigurationProperties DNS refresh configuration properties.
func (DNSRefreshConfigurationProperties) MarshalJSON ¶
func (drcp DNSRefreshConfigurationProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DNSRefreshConfigurationProperties.
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" )
func PossibleDataMaskingFunctionValues ¶
func PossibleDataMaskingFunctionValues() []DataMaskingFunction
PossibleDataMaskingFunctionValues returns an array of possible values for the DataMaskingFunction const type.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DataMaskingPoliciesClient) CreateOrUpdate ¶
func (client DataMaskingPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters DataMaskingPolicy) (result DataMaskingPolicy, err error)
CreateOrUpdate creates or updates a database data masking policy Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. parameters - 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, 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) (result DataMaskingPolicy, err error)
Get gets a database data masking policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (DataMaskingPoliciesClient) GetPreparer ¶
func (client DataMaskingPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName 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:"-"` // DataMaskingPolicyProperties - The properties of the data masking policy. *DataMaskingPolicyProperties `json:"properties,omitempty"` // Location - READ-ONLY; The location of the data masking policy. Location *string `json:"location,omitempty"` // Kind - READ-ONLY; The kind of data masking policy. Metadata, used for Azure portal. Kind *string `json:"kind,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
DataMaskingPolicy represents a database data masking policy.
func (DataMaskingPolicy) MarshalJSON ¶
func (dmp DataMaskingPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataMaskingPolicy.
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 - READ-ONLY; The list of the application principals. This is a legacy parameter and is no longer used. ApplicationPrincipals *string `json:"applicationPrincipals,omitempty"` // MaskingLevel - READ-ONLY; 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.
func (DataMaskingPolicyProperties) MarshalJSON ¶
func (dmpp DataMaskingPolicyProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataMaskingPolicyProperties.
type DataMaskingRule ¶
type DataMaskingRule struct { autorest.Response `json:"-"` // DataMaskingRuleProperties - The properties of the resource. *DataMaskingRuleProperties `json:"properties,omitempty"` // Location - READ-ONLY; The location of the data masking rule. Location *string `json:"location,omitempty"` // Kind - READ-ONLY; The kind of Data Masking Rule. Metadata, used for Azure portal. Kind *string `json:"kind,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
DataMaskingRule represents a database data masking rule.
func (DataMaskingRule) MarshalJSON ¶
func (dmr DataMaskingRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataMaskingRule.
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 - READ-ONLY; 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.
func (DataMaskingRuleProperties) MarshalJSON ¶
func (dmrp DataMaskingRuleProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataMaskingRuleProperties.
type DataMaskingRuleState ¶
type DataMaskingRuleState string
DataMaskingRuleState enumerates the values for data masking rule state.
const ( // DataMaskingRuleStateDisabled ... DataMaskingRuleStateDisabled DataMaskingRuleState = "Disabled" // DataMaskingRuleStateEnabled ... DataMaskingRuleStateEnabled DataMaskingRuleState = "Enabled" )
func PossibleDataMaskingRuleStateValues ¶
func PossibleDataMaskingRuleStateValues() []DataMaskingRuleState
PossibleDataMaskingRuleStateValues returns an array of possible values for the DataMaskingRuleState const type.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DataMaskingRulesClient) CreateOrUpdate ¶
func (client DataMaskingRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, databaseName string, dataMaskingRuleName string, parameters DataMaskingRule) (result DataMaskingRule, err error)
CreateOrUpdate creates or updates a database data masking rule. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. dataMaskingRuleName - the name of the data masking rule. parameters - 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, 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) (result DataMaskingRuleListResult, err error)
ListByDatabase gets a list of database data masking rules. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (DataMaskingRulesClient) ListByDatabasePreparer ¶
func (client DataMaskingRulesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName 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" )
func PossibleDataMaskingStateValues ¶
func PossibleDataMaskingStateValues() []DataMaskingState
PossibleDataMaskingStateValues returns an array of possible values for the DataMaskingState const type.
type DataWarehouseUserActivities ¶
type DataWarehouseUserActivities struct { autorest.Response `json:"-"` // DataWarehouseUserActivitiesProperties - Resource properties. *DataWarehouseUserActivitiesProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
DataWarehouseUserActivities user activities of a data warehouse
func (DataWarehouseUserActivities) MarshalJSON ¶
func (dwua DataWarehouseUserActivities) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataWarehouseUserActivities.
func (*DataWarehouseUserActivities) UnmarshalJSON ¶
func (dwua *DataWarehouseUserActivities) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DataWarehouseUserActivities struct.
type DataWarehouseUserActivitiesClient ¶
type DataWarehouseUserActivitiesClient struct {
BaseClient
}
DataWarehouseUserActivitiesClient 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 NewDataWarehouseUserActivitiesClient ¶
func NewDataWarehouseUserActivitiesClient(subscriptionID string) DataWarehouseUserActivitiesClient
NewDataWarehouseUserActivitiesClient creates an instance of the DataWarehouseUserActivitiesClient client.
func NewDataWarehouseUserActivitiesClientWithBaseURI ¶
func NewDataWarehouseUserActivitiesClientWithBaseURI(baseURI string, subscriptionID string) DataWarehouseUserActivitiesClient
NewDataWarehouseUserActivitiesClientWithBaseURI creates an instance of the DataWarehouseUserActivitiesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DataWarehouseUserActivitiesClient) Get ¶
func (client DataWarehouseUserActivitiesClient) Get(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result DataWarehouseUserActivities, err error)
Get gets the user activities of a data warehouse which includes running and suspended queries Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (DataWarehouseUserActivitiesClient) GetPreparer ¶
func (client DataWarehouseUserActivitiesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DataWarehouseUserActivitiesClient) GetResponder ¶
func (client DataWarehouseUserActivitiesClient) GetResponder(resp *http.Response) (result DataWarehouseUserActivities, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DataWarehouseUserActivitiesClient) GetSender ¶
func (client DataWarehouseUserActivitiesClient) 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 (DataWarehouseUserActivitiesClient) ListByDatabase ¶
func (client DataWarehouseUserActivitiesClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result DataWarehouseUserActivitiesListResultPage, err error)
ListByDatabase list the user activities of a data warehouse which includes running and suspended queries Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (DataWarehouseUserActivitiesClient) ListByDatabaseComplete ¶
func (client DataWarehouseUserActivitiesClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result DataWarehouseUserActivitiesListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (DataWarehouseUserActivitiesClient) ListByDatabasePreparer ¶
func (client DataWarehouseUserActivitiesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (DataWarehouseUserActivitiesClient) ListByDatabaseResponder ¶
func (client DataWarehouseUserActivitiesClient) ListByDatabaseResponder(resp *http.Response) (result DataWarehouseUserActivitiesListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (DataWarehouseUserActivitiesClient) ListByDatabaseSender ¶
func (client DataWarehouseUserActivitiesClient) 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 DataWarehouseUserActivitiesListResult ¶
type DataWarehouseUserActivitiesListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]DataWarehouseUserActivities `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
DataWarehouseUserActivitiesListResult user activities of a data warehouse
func (DataWarehouseUserActivitiesListResult) IsEmpty ¶
func (dwualr DataWarehouseUserActivitiesListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (DataWarehouseUserActivitiesListResult) MarshalJSON ¶
func (dwualr DataWarehouseUserActivitiesListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataWarehouseUserActivitiesListResult.
type DataWarehouseUserActivitiesListResultIterator ¶
type DataWarehouseUserActivitiesListResultIterator struct {
// contains filtered or unexported fields
}
DataWarehouseUserActivitiesListResultIterator provides access to a complete listing of DataWarehouseUserActivities values.
func NewDataWarehouseUserActivitiesListResultIterator ¶
func NewDataWarehouseUserActivitiesListResultIterator(page DataWarehouseUserActivitiesListResultPage) DataWarehouseUserActivitiesListResultIterator
Creates a new instance of the DataWarehouseUserActivitiesListResultIterator type.
func (*DataWarehouseUserActivitiesListResultIterator) Next ¶
func (iter *DataWarehouseUserActivitiesListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DataWarehouseUserActivitiesListResultIterator) NextWithContext ¶
func (iter *DataWarehouseUserActivitiesListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (DataWarehouseUserActivitiesListResultIterator) NotDone ¶
func (iter DataWarehouseUserActivitiesListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DataWarehouseUserActivitiesListResultIterator) Response ¶
func (iter DataWarehouseUserActivitiesListResultIterator) Response() DataWarehouseUserActivitiesListResult
Response returns the raw server response from the last page request.
func (DataWarehouseUserActivitiesListResultIterator) Value ¶
func (iter DataWarehouseUserActivitiesListResultIterator) Value() DataWarehouseUserActivities
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DataWarehouseUserActivitiesListResultPage ¶
type DataWarehouseUserActivitiesListResultPage struct {
// contains filtered or unexported fields
}
DataWarehouseUserActivitiesListResultPage contains a page of DataWarehouseUserActivities values.
func NewDataWarehouseUserActivitiesListResultPage ¶
func NewDataWarehouseUserActivitiesListResultPage(cur DataWarehouseUserActivitiesListResult, getNextPage func(context.Context, DataWarehouseUserActivitiesListResult) (DataWarehouseUserActivitiesListResult, error)) DataWarehouseUserActivitiesListResultPage
Creates a new instance of the DataWarehouseUserActivitiesListResultPage type.
func (*DataWarehouseUserActivitiesListResultPage) Next ¶
func (page *DataWarehouseUserActivitiesListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DataWarehouseUserActivitiesListResultPage) NextWithContext ¶
func (page *DataWarehouseUserActivitiesListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (DataWarehouseUserActivitiesListResultPage) NotDone ¶
func (page DataWarehouseUserActivitiesListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DataWarehouseUserActivitiesListResultPage) Response ¶
func (page DataWarehouseUserActivitiesListResultPage) Response() DataWarehouseUserActivitiesListResult
Response returns the raw server response from the last page request.
func (DataWarehouseUserActivitiesListResultPage) Values ¶
func (page DataWarehouseUserActivitiesListResultPage) Values() []DataWarehouseUserActivities
Values returns the slice of values for the current page or nil if there are no values.
type DataWarehouseUserActivitiesProperties ¶
type DataWarehouseUserActivitiesProperties struct { // ActiveQueriesCount - READ-ONLY; Count of running and suspended queries. ActiveQueriesCount *int32 `json:"activeQueriesCount,omitempty"` }
DataWarehouseUserActivitiesProperties user activities of a data warehouse. This currently includes the count of running or suspended queries. For more information, please view the sys.dm_pdw_exec_requests dynamic management view (DMV).
func (DataWarehouseUserActivitiesProperties) MarshalJSON ¶
func (dwuap DataWarehouseUserActivitiesProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataWarehouseUserActivitiesProperties.
type Database ¶
type Database struct { autorest.Response `json:"-"` // Sku - The database SKU. // // The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands: // // “`azurecli // az sql db list-editions -l <location> -o table // ““ // // “`powershell // Get-AzSqlServerServiceObjective -Location <location> // ““ Sku *Sku `json:"sku,omitempty"` // Kind - READ-ONLY; Kind of database. This is metadata used for the Azure portal experience. Kind *string `json:"kind,omitempty"` // ManagedBy - READ-ONLY; Resource that manages the database. ManagedBy *string `json:"managedBy,omitempty"` // DatabaseProperties - Resource properties. *DatabaseProperties `json:"properties,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
Database a database resource.
func (Database) MarshalJSON ¶
MarshalJSON is the custom marshaler for Database.
func (*Database) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Database struct.
type DatabaseAdvisorsClient ¶
type DatabaseAdvisorsClient struct {
BaseClient
}
DatabaseAdvisorsClient 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 NewDatabaseAdvisorsClient ¶
func NewDatabaseAdvisorsClient(subscriptionID string) DatabaseAdvisorsClient
NewDatabaseAdvisorsClient creates an instance of the DatabaseAdvisorsClient client.
func NewDatabaseAdvisorsClientWithBaseURI ¶
func NewDatabaseAdvisorsClientWithBaseURI(baseURI string, subscriptionID string) DatabaseAdvisorsClient
NewDatabaseAdvisorsClientWithBaseURI creates an instance of the DatabaseAdvisorsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DatabaseAdvisorsClient) Get ¶
func (client DatabaseAdvisorsClient) Get(ctx context.Context, resourceGroupName string, serverName string, databaseName string, advisorName string) (result Advisor, err error)
Get gets a database advisor. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. advisorName - the name of the Database Advisor.
func (DatabaseAdvisorsClient) GetPreparer ¶
func (client DatabaseAdvisorsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, advisorName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DatabaseAdvisorsClient) GetResponder ¶
func (client DatabaseAdvisorsClient) GetResponder(resp *http.Response) (result Advisor, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DatabaseAdvisorsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DatabaseAdvisorsClient) ListByDatabase ¶
func (client DatabaseAdvisorsClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, databaseName string, expand string) (result ListAdvisor, err error)
ListByDatabase gets a list of database advisors. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. expand - the child resources to include in the response.
func (DatabaseAdvisorsClient) ListByDatabasePreparer ¶
func (client DatabaseAdvisorsClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, expand string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (DatabaseAdvisorsClient) ListByDatabaseResponder ¶
func (client DatabaseAdvisorsClient) ListByDatabaseResponder(resp *http.Response) (result ListAdvisor, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (DatabaseAdvisorsClient) ListByDatabaseSender ¶
func (client DatabaseAdvisorsClient) 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.
func (DatabaseAdvisorsClient) Update ¶
func (client DatabaseAdvisorsClient) Update(ctx context.Context, resourceGroupName string, serverName string, databaseName string, advisorName string, parameters Advisor) (result Advisor, err error)
Update updates a database advisor. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. advisorName - the name of the Database Advisor. parameters - the requested advisor resource state.
func (DatabaseAdvisorsClient) UpdatePreparer ¶
func (client DatabaseAdvisorsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, advisorName string, parameters Advisor) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (DatabaseAdvisorsClient) UpdateResponder ¶
func (client DatabaseAdvisorsClient) UpdateResponder(resp *http.Response) (result Advisor, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (DatabaseAdvisorsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type DatabaseAutomaticTuning ¶
type DatabaseAutomaticTuning struct { autorest.Response `json:"-"` // DatabaseAutomaticTuningProperties - Resource properties. *DatabaseAutomaticTuningProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
DatabaseAutomaticTuning database-level Automatic Tuning.
func (DatabaseAutomaticTuning) MarshalJSON ¶
func (dat DatabaseAutomaticTuning) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseAutomaticTuning.
func (*DatabaseAutomaticTuning) UnmarshalJSON ¶
func (dat *DatabaseAutomaticTuning) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DatabaseAutomaticTuning struct.
type DatabaseAutomaticTuningClient ¶
type DatabaseAutomaticTuningClient struct {
BaseClient
}
DatabaseAutomaticTuningClient 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 NewDatabaseAutomaticTuningClient ¶
func NewDatabaseAutomaticTuningClient(subscriptionID string) DatabaseAutomaticTuningClient
NewDatabaseAutomaticTuningClient creates an instance of the DatabaseAutomaticTuningClient client.
func NewDatabaseAutomaticTuningClientWithBaseURI ¶
func NewDatabaseAutomaticTuningClientWithBaseURI(baseURI string, subscriptionID string) DatabaseAutomaticTuningClient
NewDatabaseAutomaticTuningClientWithBaseURI creates an instance of the DatabaseAutomaticTuningClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DatabaseAutomaticTuningClient) Get ¶
func (client DatabaseAutomaticTuningClient) Get(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result DatabaseAutomaticTuning, err error)
Get gets a database's automatic tuning. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (DatabaseAutomaticTuningClient) GetPreparer ¶
func (client DatabaseAutomaticTuningClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DatabaseAutomaticTuningClient) GetResponder ¶
func (client DatabaseAutomaticTuningClient) GetResponder(resp *http.Response) (result DatabaseAutomaticTuning, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DatabaseAutomaticTuningClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DatabaseAutomaticTuningClient) Update ¶
func (client DatabaseAutomaticTuningClient) Update(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters DatabaseAutomaticTuning) (result DatabaseAutomaticTuning, err error)
Update update automatic tuning properties for target database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. parameters - the requested automatic tuning resource state.
func (DatabaseAutomaticTuningClient) UpdatePreparer ¶
func (client DatabaseAutomaticTuningClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters DatabaseAutomaticTuning) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (DatabaseAutomaticTuningClient) UpdateResponder ¶
func (client DatabaseAutomaticTuningClient) UpdateResponder(resp *http.Response) (result DatabaseAutomaticTuning, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (DatabaseAutomaticTuningClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type DatabaseAutomaticTuningProperties ¶
type DatabaseAutomaticTuningProperties struct { // DesiredState - Automatic tuning desired state. Possible values include: 'AutomaticTuningModeInherit', 'AutomaticTuningModeCustom', 'AutomaticTuningModeAuto', 'AutomaticTuningModeUnspecified' DesiredState AutomaticTuningMode `json:"desiredState,omitempty"` // ActualState - READ-ONLY; Automatic tuning actual state. Possible values include: 'AutomaticTuningModeInherit', 'AutomaticTuningModeCustom', 'AutomaticTuningModeAuto', 'AutomaticTuningModeUnspecified' ActualState AutomaticTuningMode `json:"actualState,omitempty"` // Options - Automatic tuning options definition. Options map[string]*AutomaticTuningOptions `json:"options"` }
DatabaseAutomaticTuningProperties database-level Automatic Tuning properties.
func (DatabaseAutomaticTuningProperties) MarshalJSON ¶
func (datp DatabaseAutomaticTuningProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseAutomaticTuningProperties.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DatabaseBlobAuditingPoliciesClient) CreateOrUpdate ¶
func (client DatabaseBlobAuditingPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters DatabaseBlobAuditingPolicy) (result DatabaseBlobAuditingPolicy, err error)
CreateOrUpdate creates or updates a database's blob auditing policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. parameters - the database blob auditing policy.
func (DatabaseBlobAuditingPoliciesClient) CreateOrUpdatePreparer ¶
func (client DatabaseBlobAuditingPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName 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) (result DatabaseBlobAuditingPolicy, err error)
Get gets a database's blob auditing policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (DatabaseBlobAuditingPoliciesClient) GetPreparer ¶
func (client DatabaseBlobAuditingPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName 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.
func (DatabaseBlobAuditingPoliciesClient) GetSender ¶
func (client DatabaseBlobAuditingPoliciesClient) 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 (DatabaseBlobAuditingPoliciesClient) ListByDatabase ¶
func (client DatabaseBlobAuditingPoliciesClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result DatabaseBlobAuditingPolicyListResultPage, err error)
ListByDatabase lists auditing settings of a database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (DatabaseBlobAuditingPoliciesClient) ListByDatabaseComplete ¶
func (client DatabaseBlobAuditingPoliciesClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result DatabaseBlobAuditingPolicyListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (DatabaseBlobAuditingPoliciesClient) ListByDatabasePreparer ¶
func (client DatabaseBlobAuditingPoliciesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (DatabaseBlobAuditingPoliciesClient) ListByDatabaseResponder ¶
func (client DatabaseBlobAuditingPoliciesClient) ListByDatabaseResponder(resp *http.Response) (result DatabaseBlobAuditingPolicyListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (DatabaseBlobAuditingPoliciesClient) ListByDatabaseSender ¶
func (client DatabaseBlobAuditingPoliciesClient) 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 DatabaseBlobAuditingPolicy ¶
type DatabaseBlobAuditingPolicy struct { autorest.Response `json:"-"` // Kind - READ-ONLY; Resource kind. Kind *string `json:"kind,omitempty"` // DatabaseBlobAuditingPolicyProperties - Resource properties. *DatabaseBlobAuditingPolicyProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
DatabaseBlobAuditingPolicy a database blob auditing policy.
func (DatabaseBlobAuditingPolicy) MarshalJSON ¶
func (dbap DatabaseBlobAuditingPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseBlobAuditingPolicy.
func (*DatabaseBlobAuditingPolicy) UnmarshalJSON ¶
func (dbap *DatabaseBlobAuditingPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DatabaseBlobAuditingPolicy struct.
type DatabaseBlobAuditingPolicyListResult ¶
type DatabaseBlobAuditingPolicyListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]DatabaseBlobAuditingPolicy `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
DatabaseBlobAuditingPolicyListResult a list of database auditing settings.
func (DatabaseBlobAuditingPolicyListResult) IsEmpty ¶
func (dbaplr DatabaseBlobAuditingPolicyListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (DatabaseBlobAuditingPolicyListResult) MarshalJSON ¶
func (dbaplr DatabaseBlobAuditingPolicyListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseBlobAuditingPolicyListResult.
type DatabaseBlobAuditingPolicyListResultIterator ¶
type DatabaseBlobAuditingPolicyListResultIterator struct {
// contains filtered or unexported fields
}
DatabaseBlobAuditingPolicyListResultIterator provides access to a complete listing of DatabaseBlobAuditingPolicy values.
func NewDatabaseBlobAuditingPolicyListResultIterator ¶
func NewDatabaseBlobAuditingPolicyListResultIterator(page DatabaseBlobAuditingPolicyListResultPage) DatabaseBlobAuditingPolicyListResultIterator
Creates a new instance of the DatabaseBlobAuditingPolicyListResultIterator type.
func (*DatabaseBlobAuditingPolicyListResultIterator) Next ¶
func (iter *DatabaseBlobAuditingPolicyListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DatabaseBlobAuditingPolicyListResultIterator) NextWithContext ¶
func (iter *DatabaseBlobAuditingPolicyListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (DatabaseBlobAuditingPolicyListResultIterator) NotDone ¶
func (iter DatabaseBlobAuditingPolicyListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DatabaseBlobAuditingPolicyListResultIterator) Response ¶
func (iter DatabaseBlobAuditingPolicyListResultIterator) Response() DatabaseBlobAuditingPolicyListResult
Response returns the raw server response from the last page request.
func (DatabaseBlobAuditingPolicyListResultIterator) Value ¶
func (iter DatabaseBlobAuditingPolicyListResultIterator) Value() DatabaseBlobAuditingPolicy
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DatabaseBlobAuditingPolicyListResultPage ¶
type DatabaseBlobAuditingPolicyListResultPage struct {
// contains filtered or unexported fields
}
DatabaseBlobAuditingPolicyListResultPage contains a page of DatabaseBlobAuditingPolicy values.
func NewDatabaseBlobAuditingPolicyListResultPage ¶
func NewDatabaseBlobAuditingPolicyListResultPage(cur DatabaseBlobAuditingPolicyListResult, getNextPage func(context.Context, DatabaseBlobAuditingPolicyListResult) (DatabaseBlobAuditingPolicyListResult, error)) DatabaseBlobAuditingPolicyListResultPage
Creates a new instance of the DatabaseBlobAuditingPolicyListResultPage type.
func (*DatabaseBlobAuditingPolicyListResultPage) Next ¶
func (page *DatabaseBlobAuditingPolicyListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DatabaseBlobAuditingPolicyListResultPage) NextWithContext ¶
func (page *DatabaseBlobAuditingPolicyListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (DatabaseBlobAuditingPolicyListResultPage) NotDone ¶
func (page DatabaseBlobAuditingPolicyListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DatabaseBlobAuditingPolicyListResultPage) Response ¶
func (page DatabaseBlobAuditingPolicyListResultPage) Response() DatabaseBlobAuditingPolicyListResult
Response returns the raw server response from the last page request.
func (DatabaseBlobAuditingPolicyListResultPage) Values ¶
func (page DatabaseBlobAuditingPolicyListResultPage) Values() []DatabaseBlobAuditingPolicy
Values returns the slice of values for the current page or nil if there are no values.
type DatabaseBlobAuditingPolicyProperties ¶
type DatabaseBlobAuditingPolicyProperties struct { // RetentionDays - Specifies the number of days to keep in the audit logs in the storage account. RetentionDays *int32 `json:"retentionDays,omitempty"` // AuditActionsAndGroups - Specifies the Actions-Groups and Actions to audit. // // The recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins: // // BATCH_COMPLETED_GROUP, // SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP, // FAILED_DATABASE_AUTHENTICATION_GROUP. // // This above combination is also the set that is configured by default when enabling auditing from the Azure portal. // // The supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records): // // APPLICATION_ROLE_CHANGE_PASSWORD_GROUP // BACKUP_RESTORE_GROUP // DATABASE_LOGOUT_GROUP // DATABASE_OBJECT_CHANGE_GROUP // DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP // DATABASE_OBJECT_PERMISSION_CHANGE_GROUP // DATABASE_OPERATION_GROUP // DATABASE_PERMISSION_CHANGE_GROUP // DATABASE_PRINCIPAL_CHANGE_GROUP // DATABASE_PRINCIPAL_IMPERSONATION_GROUP // DATABASE_ROLE_MEMBER_CHANGE_GROUP // FAILED_DATABASE_AUTHENTICATION_GROUP // SCHEMA_OBJECT_ACCESS_GROUP // SCHEMA_OBJECT_CHANGE_GROUP // SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP // SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP // SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP // USER_CHANGE_PASSWORD_GROUP // BATCH_STARTED_GROUP // BATCH_COMPLETED_GROUP // // These are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs. // // For more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups). // // For Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are: // SELECT // UPDATE // INSERT // DELETE // EXECUTE // RECEIVE // REFERENCES // // The general form for defining an action to be audited is: // {action} ON {object} BY {principal} // // Note that <object> in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively. // // For example: // SELECT on dbo.myTable by public // SELECT on DATABASE::myDatabase by public // SELECT on SCHEMA::mySchema by public // // For more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions) AuditActionsAndGroups *[]string `json:"auditActionsAndGroups,omitempty"` // IsStorageSecondaryKeyInUse - Specifies whether storageAccountAccessKey value is the storage's secondary key. IsStorageSecondaryKeyInUse *bool `json:"isStorageSecondaryKeyInUse,omitempty"` // IsAzureMonitorTargetEnabled - Specifies whether audit events are sent to Azure Monitor. // In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true. // // When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created. // Note that for server level audit you should use the 'master' database as {databaseName}. // // Diagnostic Settings URI format: // PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview // // For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207) // or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) IsAzureMonitorTargetEnabled *bool `json:"isAzureMonitorTargetEnabled,omitempty"` // QueueDelayMs - Specifies the amount of time in milliseconds that can elapse before audit actions are forced to be processed. // The default minimum value is 1000 (1 second). The maximum is 2,147,483,647. QueueDelayMs *int32 `json:"queueDelayMs,omitempty"` // State - Specifies the state of the audit. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled 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 or isAzureMonitorTargetEnabled is required. StorageEndpoint *string `json:"storageEndpoint,omitempty"` // StorageAccountAccessKey - Specifies the identifier key of the auditing storage account. // If state is Enabled and storageEndpoint is specified, not specifying the storageAccountAccessKey will use SQL server system-assigned managed identity to access the storage. // Prerequisites for using managed identity authentication: // 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD). // 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data Contributor' RBAC role to the server identity. // For more information, see [Auditing to storage using Managed Identity authentication](https://go.microsoft.com/fwlink/?linkid=2114355) StorageAccountAccessKey *string `json:"storageAccountAccessKey,omitempty"` // StorageAccountSubscriptionID - Specifies the blob storage subscription Id. StorageAccountSubscriptionID *uuid.UUID `json:"storageAccountSubscriptionId,omitempty"` }
DatabaseBlobAuditingPolicyProperties properties of a database blob auditing policy.
type DatabaseColumn ¶
type DatabaseColumn struct { autorest.Response `json:"-"` // DatabaseColumnProperties - Resource properties. *DatabaseColumnProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
DatabaseColumn a database column resource.
func (DatabaseColumn) MarshalJSON ¶
func (dc DatabaseColumn) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseColumn.
func (*DatabaseColumn) UnmarshalJSON ¶
func (dc *DatabaseColumn) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DatabaseColumn struct.
type DatabaseColumnListResult ¶
type DatabaseColumnListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]DatabaseColumn `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
DatabaseColumnListResult a list of database columns.
func (DatabaseColumnListResult) IsEmpty ¶
func (dclr DatabaseColumnListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (DatabaseColumnListResult) MarshalJSON ¶
func (dclr DatabaseColumnListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseColumnListResult.
type DatabaseColumnListResultIterator ¶
type DatabaseColumnListResultIterator struct {
// contains filtered or unexported fields
}
DatabaseColumnListResultIterator provides access to a complete listing of DatabaseColumn values.
func NewDatabaseColumnListResultIterator ¶
func NewDatabaseColumnListResultIterator(page DatabaseColumnListResultPage) DatabaseColumnListResultIterator
Creates a new instance of the DatabaseColumnListResultIterator type.
func (*DatabaseColumnListResultIterator) Next ¶
func (iter *DatabaseColumnListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DatabaseColumnListResultIterator) NextWithContext ¶
func (iter *DatabaseColumnListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (DatabaseColumnListResultIterator) NotDone ¶
func (iter DatabaseColumnListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DatabaseColumnListResultIterator) Response ¶
func (iter DatabaseColumnListResultIterator) Response() DatabaseColumnListResult
Response returns the raw server response from the last page request.
func (DatabaseColumnListResultIterator) Value ¶
func (iter DatabaseColumnListResultIterator) Value() DatabaseColumn
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DatabaseColumnListResultPage ¶
type DatabaseColumnListResultPage struct {
// contains filtered or unexported fields
}
DatabaseColumnListResultPage contains a page of DatabaseColumn values.
func NewDatabaseColumnListResultPage ¶
func NewDatabaseColumnListResultPage(cur DatabaseColumnListResult, getNextPage func(context.Context, DatabaseColumnListResult) (DatabaseColumnListResult, error)) DatabaseColumnListResultPage
Creates a new instance of the DatabaseColumnListResultPage type.
func (*DatabaseColumnListResultPage) Next ¶
func (page *DatabaseColumnListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DatabaseColumnListResultPage) NextWithContext ¶
func (page *DatabaseColumnListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (DatabaseColumnListResultPage) NotDone ¶
func (page DatabaseColumnListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DatabaseColumnListResultPage) Response ¶
func (page DatabaseColumnListResultPage) Response() DatabaseColumnListResult
Response returns the raw server response from the last page request.
func (DatabaseColumnListResultPage) Values ¶
func (page DatabaseColumnListResultPage) Values() []DatabaseColumn
Values returns the slice of values for the current page or nil if there are no values.
type DatabaseColumnProperties ¶
type DatabaseColumnProperties struct { // ColumnType - The column data type. Possible values include: 'ColumnDataTypeImage', 'ColumnDataTypeText', 'ColumnDataTypeUniqueidentifier', 'ColumnDataTypeDate', 'ColumnDataTypeTime', 'ColumnDataTypeDatetime2', 'ColumnDataTypeDatetimeoffset', 'ColumnDataTypeTinyint', 'ColumnDataTypeSmallint', 'ColumnDataTypeInt', 'ColumnDataTypeSmalldatetime', 'ColumnDataTypeReal', 'ColumnDataTypeMoney', 'ColumnDataTypeDatetime', 'ColumnDataTypeFloat', 'ColumnDataTypeSQLVariant', 'ColumnDataTypeNtext', 'ColumnDataTypeBit', 'ColumnDataTypeDecimal', 'ColumnDataTypeNumeric', 'ColumnDataTypeSmallmoney', 'ColumnDataTypeBigint', 'ColumnDataTypeHierarchyid', 'ColumnDataTypeGeometry', 'ColumnDataTypeGeography', 'ColumnDataTypeVarbinary', 'ColumnDataTypeVarchar', 'ColumnDataTypeBinary', 'ColumnDataTypeChar', 'ColumnDataTypeTimestamp', 'ColumnDataTypeNvarchar', 'ColumnDataTypeNchar', 'ColumnDataTypeXML', 'ColumnDataTypeSysname' ColumnType ColumnDataType `json:"columnType,omitempty"` // TemporalType - The table temporal type. Possible values include: 'TableTemporalTypeNonTemporalTable', 'TableTemporalTypeHistoryTable', 'TableTemporalTypeSystemVersionedTemporalTable' TemporalType TableTemporalType `json:"temporalType,omitempty"` // MemoryOptimized - Whether or not the column belongs to a memory optimized table. MemoryOptimized *bool `json:"memoryOptimized,omitempty"` // IsComputed - Whether or not the column is computed. IsComputed *bool `json:"isComputed,omitempty"` }
DatabaseColumnProperties database column properties.
type DatabaseColumnsClient ¶
type DatabaseColumnsClient struct {
BaseClient
}
DatabaseColumnsClient 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 NewDatabaseColumnsClient ¶
func NewDatabaseColumnsClient(subscriptionID string) DatabaseColumnsClient
NewDatabaseColumnsClient creates an instance of the DatabaseColumnsClient client.
func NewDatabaseColumnsClientWithBaseURI ¶
func NewDatabaseColumnsClientWithBaseURI(baseURI string, subscriptionID string) DatabaseColumnsClient
NewDatabaseColumnsClientWithBaseURI creates an instance of the DatabaseColumnsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DatabaseColumnsClient) Get ¶
func (client DatabaseColumnsClient) Get(ctx context.Context, resourceGroupName string, serverName string, databaseName string, schemaName string, tableName string, columnName string) (result DatabaseColumn, err error)
Get get database column Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. schemaName - the name of the schema. tableName - the name of the table. columnName - the name of the column.
func (DatabaseColumnsClient) GetPreparer ¶
func (client DatabaseColumnsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, schemaName string, tableName string, columnName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DatabaseColumnsClient) GetResponder ¶
func (client DatabaseColumnsClient) GetResponder(resp *http.Response) (result DatabaseColumn, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DatabaseColumnsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DatabaseColumnsClient) ListByDatabase ¶
func (client DatabaseColumnsClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, databaseName string, schema []string, table []string, column []string, orderBy []string, skiptoken string) (result DatabaseColumnListResultPage, err error)
ListByDatabase list database columns Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. skiptoken - an opaque token that identifies a starting point in the collection.
func (DatabaseColumnsClient) ListByDatabaseComplete ¶
func (client DatabaseColumnsClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, databaseName string, schema []string, table []string, column []string, orderBy []string, skiptoken string) (result DatabaseColumnListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (DatabaseColumnsClient) ListByDatabasePreparer ¶
func (client DatabaseColumnsClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, schema []string, table []string, column []string, orderBy []string, skiptoken string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (DatabaseColumnsClient) ListByDatabaseResponder ¶
func (client DatabaseColumnsClient) ListByDatabaseResponder(resp *http.Response) (result DatabaseColumnListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (DatabaseColumnsClient) ListByDatabaseSender ¶
ListByDatabaseSender sends the ListByDatabase request. The method will close the http.Response Body if it receives an error.
func (DatabaseColumnsClient) ListByTable ¶
func (client DatabaseColumnsClient) ListByTable(ctx context.Context, resourceGroupName string, serverName string, databaseName string, schemaName string, tableName string, filter string) (result DatabaseColumnListResultPage, err error)
ListByTable list database columns Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. schemaName - the name of the schema. tableName - the name of the table. filter - an OData filter expression that filters elements in the collection.
func (DatabaseColumnsClient) ListByTableComplete ¶
func (client DatabaseColumnsClient) ListByTableComplete(ctx context.Context, resourceGroupName string, serverName string, databaseName string, schemaName string, tableName string, filter string) (result DatabaseColumnListResultIterator, err error)
ListByTableComplete enumerates all values, automatically crossing page boundaries as required.
func (DatabaseColumnsClient) ListByTablePreparer ¶
func (client DatabaseColumnsClient) ListByTablePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, schemaName string, tableName string, filter string) (*http.Request, error)
ListByTablePreparer prepares the ListByTable request.
func (DatabaseColumnsClient) ListByTableResponder ¶
func (client DatabaseColumnsClient) ListByTableResponder(resp *http.Response) (result DatabaseColumnListResult, err error)
ListByTableResponder handles the response to the ListByTable request. The method always closes the http.Response Body.
func (DatabaseColumnsClient) ListByTableSender ¶
ListByTableSender sends the ListByTable request. The method will close the http.Response Body if it receives an error.
type DatabaseExtensions ¶
type DatabaseExtensions struct { // DatabaseExtensionsProperties - Resource properties. *DatabaseExtensionsProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
DatabaseExtensions an export managed database operation result resource.
func (DatabaseExtensions) MarshalJSON ¶
func (de DatabaseExtensions) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseExtensions.
func (*DatabaseExtensions) UnmarshalJSON ¶
func (de *DatabaseExtensions) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DatabaseExtensions struct.
type DatabaseExtensionsClient ¶
type DatabaseExtensionsClient struct {
BaseClient
}
DatabaseExtensionsClient 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 NewDatabaseExtensionsClient ¶
func NewDatabaseExtensionsClient(subscriptionID string) DatabaseExtensionsClient
NewDatabaseExtensionsClient creates an instance of the DatabaseExtensionsClient client.
func NewDatabaseExtensionsClientWithBaseURI ¶
func NewDatabaseExtensionsClientWithBaseURI(baseURI string, subscriptionID string) DatabaseExtensionsClient
NewDatabaseExtensionsClientWithBaseURI creates an instance of the DatabaseExtensionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DatabaseExtensionsClient) CreateOrUpdate ¶
func (client DatabaseExtensionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, databaseName string, extensionName string, parameters DatabaseExtensions) (result DatabaseExtensionsCreateOrUpdateFuture, err error)
CreateOrUpdate perform a database extension operation, like polybase import Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. parameters - the database import request parameters.
func (DatabaseExtensionsClient) CreateOrUpdatePreparer ¶
func (client DatabaseExtensionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, extensionName string, parameters DatabaseExtensions) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (DatabaseExtensionsClient) CreateOrUpdateResponder ¶
func (client DatabaseExtensionsClient) CreateOrUpdateResponder(resp *http.Response) (result ImportExportExtensionsOperationResult, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (DatabaseExtensionsClient) CreateOrUpdateSender ¶
func (client DatabaseExtensionsClient) CreateOrUpdateSender(req *http.Request) (future DatabaseExtensionsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (DatabaseExtensionsClient) Get ¶
func (client DatabaseExtensionsClient) Get(ctx context.Context, resourceGroupName string, serverName string, databaseName string, extensionName string) (result autorest.Response, err error)
Get gets a database extension. This will return resource not found as it is not supported. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (DatabaseExtensionsClient) GetPreparer ¶
func (client DatabaseExtensionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, extensionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DatabaseExtensionsClient) GetResponder ¶
func (client DatabaseExtensionsClient) GetResponder(resp *http.Response) (result autorest.Response, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DatabaseExtensionsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DatabaseExtensionsClient) ListByDatabase ¶
func (client DatabaseExtensionsClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result ImportExportExtensionsOperationListResultPage, err error)
ListByDatabase list database extension. This will return an empty list as it is not supported. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (DatabaseExtensionsClient) ListByDatabaseComplete ¶
func (client DatabaseExtensionsClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result ImportExportExtensionsOperationListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (DatabaseExtensionsClient) ListByDatabasePreparer ¶
func (client DatabaseExtensionsClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (DatabaseExtensionsClient) ListByDatabaseResponder ¶
func (client DatabaseExtensionsClient) ListByDatabaseResponder(resp *http.Response) (result ImportExportExtensionsOperationListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (DatabaseExtensionsClient) ListByDatabaseSender ¶
func (client DatabaseExtensionsClient) 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 DatabaseExtensionsCreateOrUpdateFuture ¶
type DatabaseExtensionsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DatabaseExtensionsClient) (ImportExportExtensionsOperationResult, error) }
DatabaseExtensionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*DatabaseExtensionsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *DatabaseExtensionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type DatabaseExtensionsProperties ¶
type DatabaseExtensionsProperties struct { // OperationMode - Operation Mode. OperationMode *string `json:"operationMode,omitempty"` // StorageKeyType - Storage key type. Possible values include: 'StorageKeyTypeSharedAccessKey', 'StorageKeyTypeStorageAccessKey' StorageKeyType StorageKeyType `json:"storageKeyType,omitempty"` // StorageKey - Storage key. StorageKey *string `json:"storageKey,omitempty"` // StorageURI - Storage Uri. StorageURI *string `json:"storageUri,omitempty"` }
DatabaseExtensionsProperties contains the database information after successful export.
type DatabaseLicenseType ¶
type DatabaseLicenseType string
DatabaseLicenseType enumerates the values for database license type.
const ( // DatabaseLicenseTypeBasePrice ... DatabaseLicenseTypeBasePrice DatabaseLicenseType = "BasePrice" // DatabaseLicenseTypeLicenseIncluded ... DatabaseLicenseTypeLicenseIncluded DatabaseLicenseType = "LicenseIncluded" )
func PossibleDatabaseLicenseTypeValues ¶
func PossibleDatabaseLicenseTypeValues() []DatabaseLicenseType
PossibleDatabaseLicenseTypeValues returns an array of possible values for the DatabaseLicenseType const type.
type DatabaseListResult ¶
type DatabaseListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]Database `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
DatabaseListResult a list of databases.
func (DatabaseListResult) IsEmpty ¶
func (dlr DatabaseListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (DatabaseListResult) MarshalJSON ¶
func (dlr DatabaseListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseListResult.
type DatabaseListResultIterator ¶
type DatabaseListResultIterator struct {
// contains filtered or unexported fields
}
DatabaseListResultIterator provides access to a complete listing of Database values.
func NewDatabaseListResultIterator ¶
func NewDatabaseListResultIterator(page DatabaseListResultPage) DatabaseListResultIterator
Creates a new instance of the DatabaseListResultIterator type.
func (*DatabaseListResultIterator) Next ¶
func (iter *DatabaseListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DatabaseListResultIterator) NextWithContext ¶
func (iter *DatabaseListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (DatabaseListResultIterator) NotDone ¶
func (iter DatabaseListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DatabaseListResultIterator) Response ¶
func (iter DatabaseListResultIterator) Response() DatabaseListResult
Response returns the raw server response from the last page request.
func (DatabaseListResultIterator) Value ¶
func (iter DatabaseListResultIterator) Value() Database
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DatabaseListResultPage ¶
type DatabaseListResultPage struct {
// contains filtered or unexported fields
}
DatabaseListResultPage contains a page of Database values.
func NewDatabaseListResultPage ¶
func NewDatabaseListResultPage(cur DatabaseListResult, getNextPage func(context.Context, DatabaseListResult) (DatabaseListResult, error)) DatabaseListResultPage
Creates a new instance of the DatabaseListResultPage type.
func (*DatabaseListResultPage) Next ¶
func (page *DatabaseListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DatabaseListResultPage) NextWithContext ¶
func (page *DatabaseListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (DatabaseListResultPage) NotDone ¶
func (page DatabaseListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DatabaseListResultPage) Response ¶
func (page DatabaseListResultPage) Response() DatabaseListResult
Response returns the raw server response from the last page request.
func (DatabaseListResultPage) Values ¶
func (page DatabaseListResultPage) Values() []Database
Values returns the slice of values for the current page or nil if there are no values.
type DatabaseOperation ¶
type DatabaseOperation struct { // DatabaseOperationProperties - Resource properties. *DatabaseOperationProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
DatabaseOperation a database operation.
func (DatabaseOperation) MarshalJSON ¶
func (do DatabaseOperation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseOperation.
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 - READ-ONLY; Array of results. Value *[]DatabaseOperation `json:"value,omitempty"` // NextLink - READ-ONLY; 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.
func (DatabaseOperationListResult) MarshalJSON ¶
func (dolr DatabaseOperationListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseOperationListResult.
type DatabaseOperationListResultIterator ¶
type DatabaseOperationListResultIterator struct {
// contains filtered or unexported fields
}
DatabaseOperationListResultIterator provides access to a complete listing of DatabaseOperation values.
func NewDatabaseOperationListResultIterator ¶
func NewDatabaseOperationListResultIterator(page DatabaseOperationListResultPage) DatabaseOperationListResultIterator
Creates a new instance of the DatabaseOperationListResultIterator type.
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. Deprecated: Use NextWithContext() instead.
func (*DatabaseOperationListResultIterator) NextWithContext ¶
func (iter *DatabaseOperationListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (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 NewDatabaseOperationListResultPage ¶
func NewDatabaseOperationListResultPage(cur DatabaseOperationListResult, getNextPage func(context.Context, DatabaseOperationListResult) (DatabaseOperationListResult, error)) DatabaseOperationListResultPage
Creates a new instance of the DatabaseOperationListResultPage type.
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. Deprecated: Use NextWithContext() instead.
func (*DatabaseOperationListResultPage) NextWithContext ¶
func (page *DatabaseOperationListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (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 - READ-ONLY; The name of the database the operation is being performed on. DatabaseName *string `json:"databaseName,omitempty"` // Operation - READ-ONLY; The name of operation. Operation *string `json:"operation,omitempty"` // OperationFriendlyName - READ-ONLY; The friendly name of operation. OperationFriendlyName *string `json:"operationFriendlyName,omitempty"` // PercentComplete - READ-ONLY; The percentage of the operation completed. PercentComplete *int32 `json:"percentComplete,omitempty"` // ServerName - READ-ONLY; The name of the server. ServerName *string `json:"serverName,omitempty"` // StartTime - READ-ONLY; The operation start time. StartTime *date.Time `json:"startTime,omitempty"` // State - READ-ONLY; The operation state. Possible values include: 'ManagementOperationStatePending', 'ManagementOperationStateInProgress', 'ManagementOperationStateSucceeded', 'ManagementOperationStateFailed', 'ManagementOperationStateCancelInProgress', 'ManagementOperationStateCancelled' State ManagementOperationState `json:"state,omitempty"` // ErrorCode - READ-ONLY; The operation error code. ErrorCode *int32 `json:"errorCode,omitempty"` // ErrorDescription - READ-ONLY; The operation error description. ErrorDescription *string `json:"errorDescription,omitempty"` // ErrorSeverity - READ-ONLY; The operation error severity. ErrorSeverity *int32 `json:"errorSeverity,omitempty"` // IsUserError - READ-ONLY; Whether or not the error is a user error. IsUserError *bool `json:"isUserError,omitempty"` // EstimatedCompletionTime - READ-ONLY; The estimated completion time of the operation. EstimatedCompletionTime *date.Time `json:"estimatedCompletionTime,omitempty"` // Description - READ-ONLY; The operation description. Description *string `json:"description,omitempty"` // IsCancellable - READ-ONLY; Whether the operation can be cancelled. IsCancellable *bool `json:"isCancellable,omitempty"` }
DatabaseOperationProperties the properties of a database operation.
func (DatabaseOperationProperties) MarshalJSON ¶
func (dop DatabaseOperationProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseOperationProperties.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. operationID - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - 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 { // 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. // // Secondary: creates a database as a 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, Secondary, and RestoreLongTermRetentionBackup are not supported for DataWarehouse edition. Possible values include: 'CreateModeDefault', 'CreateModeCopy', 'CreateModeSecondary', 'CreateModePointInTimeRestore', 'CreateModeRestore', 'CreateModeRecovery', 'CreateModeRestoreExternalBackup', 'CreateModeRestoreExternalBackupSecondary', 'CreateModeRestoreLongTermRetentionBackup', 'CreateModeOnlineSecondary' CreateMode CreateMode `json:"createMode,omitempty"` // Collation - The collation of the database. Collation *string `json:"collation,omitempty"` // MaxSizeBytes - The max size of the database expressed in bytes. MaxSizeBytes *int64 `json:"maxSizeBytes,omitempty"` // SampleName - The name of the sample schema to apply when creating this database. Possible values include: 'SampleNameAdventureWorksLT', 'SampleNameWideWorldImportersStd', 'SampleNameWideWorldImportersFull' SampleName SampleName `json:"sampleName,omitempty"` // ElasticPoolID - The resource identifier of the elastic pool containing this database. ElasticPoolID *string `json:"elasticPoolId,omitempty"` // SourceDatabaseID - The resource identifier of the source database associated with create operation of this database. SourceDatabaseID *string `json:"sourceDatabaseId,omitempty"` // Status - READ-ONLY; The status of the database. Possible values include: 'DatabaseStatusOnline', 'DatabaseStatusRestoring', 'DatabaseStatusRecoveryPending', 'DatabaseStatusRecovering', 'DatabaseStatusSuspect', 'DatabaseStatusOffline', 'DatabaseStatusStandby', 'DatabaseStatusShutdown', 'DatabaseStatusEmergencyMode', 'DatabaseStatusAutoClosed', 'DatabaseStatusCopying', 'DatabaseStatusCreating', 'DatabaseStatusInaccessible', 'DatabaseStatusOfflineSecondary', 'DatabaseStatusPausing', 'DatabaseStatusPaused', 'DatabaseStatusResuming', 'DatabaseStatusScaling', 'DatabaseStatusOfflineChangingDwPerformanceTiers', 'DatabaseStatusOnlineChangingDwPerformanceTiers', 'DatabaseStatusDisabled' Status DatabaseStatus `json:"status,omitempty"` // DatabaseID - READ-ONLY; The ID of the database. DatabaseID *uuid.UUID `json:"databaseId,omitempty"` // CreationDate - READ-ONLY; The creation date of the database (ISO8601 format). CreationDate *date.Time `json:"creationDate,omitempty"` // CurrentServiceObjectiveName - READ-ONLY; The current service level objective name of the database. CurrentServiceObjectiveName *string `json:"currentServiceObjectiveName,omitempty"` // RequestedServiceObjectiveName - READ-ONLY; The requested service level objective name of the database. RequestedServiceObjectiveName *string `json:"requestedServiceObjectiveName,omitempty"` // DefaultSecondaryLocation - READ-ONLY; The default secondary region for this database. DefaultSecondaryLocation *string `json:"defaultSecondaryLocation,omitempty"` // FailoverGroupID - READ-ONLY; Failover Group resource identifier that this database belongs to. FailoverGroupID *string `json:"failoverGroupId,omitempty"` // RestorePointInTime - Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. RestorePointInTime *date.Time `json:"restorePointInTime,omitempty"` // SourceDatabaseDeletionDate - Specifies the time that the database was deleted. SourceDatabaseDeletionDate *date.Time `json:"sourceDatabaseDeletionDate,omitempty"` // RecoveryServicesRecoveryPointID - The resource identifier of the recovery point associated with create operation of this database. RecoveryServicesRecoveryPointID *string `json:"recoveryServicesRecoveryPointId,omitempty"` // LongTermRetentionBackupResourceID - The resource identifier of the long term retention backup associated with create operation of this database. LongTermRetentionBackupResourceID *string `json:"longTermRetentionBackupResourceId,omitempty"` // RecoverableDatabaseID - The resource identifier of the recoverable database associated with create operation of this database. RecoverableDatabaseID *string `json:"recoverableDatabaseId,omitempty"` // RestorableDroppedDatabaseID - The resource identifier of the restorable dropped database associated with create operation of this database. RestorableDroppedDatabaseID *string `json:"restorableDroppedDatabaseId,omitempty"` // CatalogCollation - Collation of the metadata catalog. Possible values include: 'CatalogCollationTypeDATABASEDEFAULT', 'CatalogCollationTypeSQLLatin1GeneralCP1CIAS' CatalogCollation CatalogCollationType `json:"catalogCollation,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"` // LicenseType - The license type to apply for this database. `LicenseIncluded` if you need a license, or `BasePrice` if you have a license and are eligible for the Azure Hybrid Benefit. Possible values include: 'DatabaseLicenseTypeLicenseIncluded', 'DatabaseLicenseTypeBasePrice' LicenseType DatabaseLicenseType `json:"licenseType,omitempty"` // MaxLogSizeBytes - READ-ONLY; The max log size for this database. MaxLogSizeBytes *int64 `json:"maxLogSizeBytes,omitempty"` // EarliestRestoreDate - READ-ONLY; This records the earliest start date and time that restore is available for this database (ISO8601 format). EarliestRestoreDate *date.Time `json:"earliestRestoreDate,omitempty"` // ReadScale - The state of read-only routing. If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica in the same region. Possible values include: 'DatabaseReadScaleEnabled', 'DatabaseReadScaleDisabled' ReadScale DatabaseReadScale `json:"readScale,omitempty"` // HighAvailabilityReplicaCount - The number of secondary replicas associated with the database that are used to provide high availability. HighAvailabilityReplicaCount *int32 `json:"highAvailabilityReplicaCount,omitempty"` // SecondaryType - The secondary type of the database if it is a secondary. Valid values are Geo and Named. Possible values include: 'SecondaryTypeGeo', 'SecondaryTypeNamed' SecondaryType SecondaryType `json:"secondaryType,omitempty"` // CurrentSku - READ-ONLY; The name and tier of the SKU. CurrentSku *Sku `json:"currentSku,omitempty"` // AutoPauseDelay - Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled AutoPauseDelay *int32 `json:"autoPauseDelay,omitempty"` // CurrentBackupStorageRedundancy - READ-ONLY; The storage account type used to store backups for this database. Possible values include: 'CurrentBackupStorageRedundancyGeo', 'CurrentBackupStorageRedundancyLocal', 'CurrentBackupStorageRedundancyZone' CurrentBackupStorageRedundancy CurrentBackupStorageRedundancy `json:"currentBackupStorageRedundancy,omitempty"` // RequestedBackupStorageRedundancy - The storage account type to be used to store backups for this database. Possible values include: 'RequestedBackupStorageRedundancyGeo', 'RequestedBackupStorageRedundancyLocal', 'RequestedBackupStorageRedundancyZone' RequestedBackupStorageRedundancy RequestedBackupStorageRedundancy `json:"requestedBackupStorageRedundancy,omitempty"` // MinCapacity - Minimal capacity that database will always have allocated, if not paused MinCapacity *float64 `json:"minCapacity,omitempty"` // PausedDate - READ-ONLY; The date when database was paused by user configuration or action(ISO8601 format). Null if the database is ready. PausedDate *date.Time `json:"pausedDate,omitempty"` // ResumedDate - READ-ONLY; The date when database was resumed by user action or database login (ISO8601 format). Null if the database is paused. ResumedDate *date.Time `json:"resumedDate,omitempty"` // MaintenanceConfigurationID - Maintenance configuration id assigned to the database. This configuration defines the period when the maintenance updates will occur. MaintenanceConfigurationID *string `json:"maintenanceConfigurationId,omitempty"` // IsLedgerOn - Whether or not this database is a ledger database, which means all tables in the database are ledger tables. Note: the value of this property cannot be changed after the database has been created. IsLedgerOn *bool `json:"isLedgerOn,omitempty"` // IsInfraEncryptionEnabled - READ-ONLY; Infra encryption is enabled for this database. IsInfraEncryptionEnabled *bool `json:"isInfraEncryptionEnabled,omitempty"` }
DatabaseProperties the database's properties.
func (DatabaseProperties) MarshalJSON ¶
func (dp DatabaseProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseProperties.
type DatabaseReadScale ¶
type DatabaseReadScale string
DatabaseReadScale enumerates the values for database read scale.
const ( // DatabaseReadScaleDisabled ... DatabaseReadScaleDisabled DatabaseReadScale = "Disabled" // DatabaseReadScaleEnabled ... DatabaseReadScaleEnabled DatabaseReadScale = "Enabled" )
func PossibleDatabaseReadScaleValues ¶
func PossibleDatabaseReadScaleValues() []DatabaseReadScale
PossibleDatabaseReadScaleValues returns an array of possible values for the DatabaseReadScale const type.
type DatabaseRecommendedActionsClient ¶
type DatabaseRecommendedActionsClient struct {
BaseClient
}
DatabaseRecommendedActionsClient 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 NewDatabaseRecommendedActionsClient ¶
func NewDatabaseRecommendedActionsClient(subscriptionID string) DatabaseRecommendedActionsClient
NewDatabaseRecommendedActionsClient creates an instance of the DatabaseRecommendedActionsClient client.
func NewDatabaseRecommendedActionsClientWithBaseURI ¶
func NewDatabaseRecommendedActionsClientWithBaseURI(baseURI string, subscriptionID string) DatabaseRecommendedActionsClient
NewDatabaseRecommendedActionsClientWithBaseURI creates an instance of the DatabaseRecommendedActionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DatabaseRecommendedActionsClient) Get ¶
func (client DatabaseRecommendedActionsClient) Get(ctx context.Context, resourceGroupName string, serverName string, databaseName string, advisorName string, recommendedActionName string) (result RecommendedAction, err error)
Get gets a database recommended action. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. advisorName - the name of the Database Advisor. recommendedActionName - the name of Database Recommended Action.
func (DatabaseRecommendedActionsClient) GetPreparer ¶
func (client DatabaseRecommendedActionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, advisorName string, recommendedActionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DatabaseRecommendedActionsClient) GetResponder ¶
func (client DatabaseRecommendedActionsClient) GetResponder(resp *http.Response) (result RecommendedAction, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DatabaseRecommendedActionsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DatabaseRecommendedActionsClient) ListByDatabaseAdvisor ¶
func (client DatabaseRecommendedActionsClient) ListByDatabaseAdvisor(ctx context.Context, resourceGroupName string, serverName string, databaseName string, advisorName string) (result ListRecommendedAction, err error)
ListByDatabaseAdvisor gets list of Database Recommended Actions. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. advisorName - the name of the Database Advisor.
func (DatabaseRecommendedActionsClient) ListByDatabaseAdvisorPreparer ¶
func (client DatabaseRecommendedActionsClient) ListByDatabaseAdvisorPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, advisorName string) (*http.Request, error)
ListByDatabaseAdvisorPreparer prepares the ListByDatabaseAdvisor request.
func (DatabaseRecommendedActionsClient) ListByDatabaseAdvisorResponder ¶
func (client DatabaseRecommendedActionsClient) ListByDatabaseAdvisorResponder(resp *http.Response) (result ListRecommendedAction, err error)
ListByDatabaseAdvisorResponder handles the response to the ListByDatabaseAdvisor request. The method always closes the http.Response Body.
func (DatabaseRecommendedActionsClient) ListByDatabaseAdvisorSender ¶
func (client DatabaseRecommendedActionsClient) ListByDatabaseAdvisorSender(req *http.Request) (*http.Response, error)
ListByDatabaseAdvisorSender sends the ListByDatabaseAdvisor request. The method will close the http.Response Body if it receives an error.
func (DatabaseRecommendedActionsClient) Update ¶
func (client DatabaseRecommendedActionsClient) Update(ctx context.Context, resourceGroupName string, serverName string, databaseName string, advisorName string, recommendedActionName string, parameters RecommendedAction) (result RecommendedAction, err error)
Update updates a database recommended action. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. advisorName - the name of the Database Advisor. recommendedActionName - the name of Database Recommended Action. parameters - the requested recommended action resource state.
func (DatabaseRecommendedActionsClient) UpdatePreparer ¶
func (client DatabaseRecommendedActionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, advisorName string, recommendedActionName string, parameters RecommendedAction) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (DatabaseRecommendedActionsClient) UpdateResponder ¶
func (client DatabaseRecommendedActionsClient) UpdateResponder(resp *http.Response) (result RecommendedAction, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (DatabaseRecommendedActionsClient) UpdateSender ¶
func (client DatabaseRecommendedActionsClient) UpdateSender(req *http.Request) (*http.Response, error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type DatabaseSchema ¶
type DatabaseSchema struct { autorest.Response `json:"-"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
DatabaseSchema a database schema resource.
func (DatabaseSchema) MarshalJSON ¶
func (ds DatabaseSchema) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseSchema.
type DatabaseSchemaListResult ¶
type DatabaseSchemaListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]DatabaseSchema `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
DatabaseSchemaListResult a list of database schemas.
func (DatabaseSchemaListResult) IsEmpty ¶
func (dslr DatabaseSchemaListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (DatabaseSchemaListResult) MarshalJSON ¶
func (dslr DatabaseSchemaListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseSchemaListResult.
type DatabaseSchemaListResultIterator ¶
type DatabaseSchemaListResultIterator struct {
// contains filtered or unexported fields
}
DatabaseSchemaListResultIterator provides access to a complete listing of DatabaseSchema values.
func NewDatabaseSchemaListResultIterator ¶
func NewDatabaseSchemaListResultIterator(page DatabaseSchemaListResultPage) DatabaseSchemaListResultIterator
Creates a new instance of the DatabaseSchemaListResultIterator type.
func (*DatabaseSchemaListResultIterator) Next ¶
func (iter *DatabaseSchemaListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DatabaseSchemaListResultIterator) NextWithContext ¶
func (iter *DatabaseSchemaListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (DatabaseSchemaListResultIterator) NotDone ¶
func (iter DatabaseSchemaListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DatabaseSchemaListResultIterator) Response ¶
func (iter DatabaseSchemaListResultIterator) Response() DatabaseSchemaListResult
Response returns the raw server response from the last page request.
func (DatabaseSchemaListResultIterator) Value ¶
func (iter DatabaseSchemaListResultIterator) Value() DatabaseSchema
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DatabaseSchemaListResultPage ¶
type DatabaseSchemaListResultPage struct {
// contains filtered or unexported fields
}
DatabaseSchemaListResultPage contains a page of DatabaseSchema values.
func NewDatabaseSchemaListResultPage ¶
func NewDatabaseSchemaListResultPage(cur DatabaseSchemaListResult, getNextPage func(context.Context, DatabaseSchemaListResult) (DatabaseSchemaListResult, error)) DatabaseSchemaListResultPage
Creates a new instance of the DatabaseSchemaListResultPage type.
func (*DatabaseSchemaListResultPage) Next ¶
func (page *DatabaseSchemaListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DatabaseSchemaListResultPage) NextWithContext ¶
func (page *DatabaseSchemaListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (DatabaseSchemaListResultPage) NotDone ¶
func (page DatabaseSchemaListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DatabaseSchemaListResultPage) Response ¶
func (page DatabaseSchemaListResultPage) Response() DatabaseSchemaListResult
Response returns the raw server response from the last page request.
func (DatabaseSchemaListResultPage) Values ¶
func (page DatabaseSchemaListResultPage) Values() []DatabaseSchema
Values returns the slice of values for the current page or nil if there are no values.
type DatabaseSchemasClient ¶
type DatabaseSchemasClient struct {
BaseClient
}
DatabaseSchemasClient 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 NewDatabaseSchemasClient ¶
func NewDatabaseSchemasClient(subscriptionID string) DatabaseSchemasClient
NewDatabaseSchemasClient creates an instance of the DatabaseSchemasClient client.
func NewDatabaseSchemasClientWithBaseURI ¶
func NewDatabaseSchemasClientWithBaseURI(baseURI string, subscriptionID string) DatabaseSchemasClient
NewDatabaseSchemasClientWithBaseURI creates an instance of the DatabaseSchemasClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DatabaseSchemasClient) Get ¶
func (client DatabaseSchemasClient) Get(ctx context.Context, resourceGroupName string, serverName string, databaseName string, schemaName string) (result DatabaseSchema, err error)
Get get database schema Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. schemaName - the name of the schema.
func (DatabaseSchemasClient) GetPreparer ¶
func (client DatabaseSchemasClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, schemaName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DatabaseSchemasClient) GetResponder ¶
func (client DatabaseSchemasClient) GetResponder(resp *http.Response) (result DatabaseSchema, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DatabaseSchemasClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DatabaseSchemasClient) ListByDatabase ¶
func (client DatabaseSchemasClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, databaseName string, filter string) (result DatabaseSchemaListResultPage, err error)
ListByDatabase list database schemas Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. filter - an OData filter expression that filters elements in the collection.
func (DatabaseSchemasClient) ListByDatabaseComplete ¶
func (client DatabaseSchemasClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, databaseName string, filter string) (result DatabaseSchemaListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (DatabaseSchemasClient) ListByDatabasePreparer ¶
func (client DatabaseSchemasClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, filter string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (DatabaseSchemasClient) ListByDatabaseResponder ¶
func (client DatabaseSchemasClient) ListByDatabaseResponder(resp *http.Response) (result DatabaseSchemaListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (DatabaseSchemasClient) ListByDatabaseSender ¶
ListByDatabaseSender sends the ListByDatabase request. The method will close the http.Response Body if it receives an error.
type DatabaseSecurityAlertListResult ¶
type DatabaseSecurityAlertListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]DatabaseSecurityAlertPolicy `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
DatabaseSecurityAlertListResult a list of the database's security alert policies.
func (DatabaseSecurityAlertListResult) IsEmpty ¶
func (dsalr DatabaseSecurityAlertListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (DatabaseSecurityAlertListResult) MarshalJSON ¶
func (dsalr DatabaseSecurityAlertListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseSecurityAlertListResult.
type DatabaseSecurityAlertListResultIterator ¶
type DatabaseSecurityAlertListResultIterator struct {
// contains filtered or unexported fields
}
DatabaseSecurityAlertListResultIterator provides access to a complete listing of DatabaseSecurityAlertPolicy values.
func NewDatabaseSecurityAlertListResultIterator ¶
func NewDatabaseSecurityAlertListResultIterator(page DatabaseSecurityAlertListResultPage) DatabaseSecurityAlertListResultIterator
Creates a new instance of the DatabaseSecurityAlertListResultIterator type.
func (*DatabaseSecurityAlertListResultIterator) Next ¶
func (iter *DatabaseSecurityAlertListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DatabaseSecurityAlertListResultIterator) NextWithContext ¶
func (iter *DatabaseSecurityAlertListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (DatabaseSecurityAlertListResultIterator) NotDone ¶
func (iter DatabaseSecurityAlertListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DatabaseSecurityAlertListResultIterator) Response ¶
func (iter DatabaseSecurityAlertListResultIterator) Response() DatabaseSecurityAlertListResult
Response returns the raw server response from the last page request.
func (DatabaseSecurityAlertListResultIterator) Value ¶
func (iter DatabaseSecurityAlertListResultIterator) Value() DatabaseSecurityAlertPolicy
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DatabaseSecurityAlertListResultPage ¶
type DatabaseSecurityAlertListResultPage struct {
// contains filtered or unexported fields
}
DatabaseSecurityAlertListResultPage contains a page of DatabaseSecurityAlertPolicy values.
func NewDatabaseSecurityAlertListResultPage ¶
func NewDatabaseSecurityAlertListResultPage(cur DatabaseSecurityAlertListResult, getNextPage func(context.Context, DatabaseSecurityAlertListResult) (DatabaseSecurityAlertListResult, error)) DatabaseSecurityAlertListResultPage
Creates a new instance of the DatabaseSecurityAlertListResultPage type.
func (*DatabaseSecurityAlertListResultPage) Next ¶
func (page *DatabaseSecurityAlertListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DatabaseSecurityAlertListResultPage) NextWithContext ¶
func (page *DatabaseSecurityAlertListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (DatabaseSecurityAlertListResultPage) NotDone ¶
func (page DatabaseSecurityAlertListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DatabaseSecurityAlertListResultPage) Response ¶
func (page DatabaseSecurityAlertListResultPage) Response() DatabaseSecurityAlertListResult
Response returns the raw server response from the last page request.
func (DatabaseSecurityAlertListResultPage) Values ¶
func (page DatabaseSecurityAlertListResultPage) Values() []DatabaseSecurityAlertPolicy
Values returns the slice of values for the current page or nil if there are no values.
type DatabaseSecurityAlertPoliciesClient ¶
type DatabaseSecurityAlertPoliciesClient struct {
BaseClient
}
DatabaseSecurityAlertPoliciesClient 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 NewDatabaseSecurityAlertPoliciesClient ¶
func NewDatabaseSecurityAlertPoliciesClient(subscriptionID string) DatabaseSecurityAlertPoliciesClient
NewDatabaseSecurityAlertPoliciesClient creates an instance of the DatabaseSecurityAlertPoliciesClient client.
func NewDatabaseSecurityAlertPoliciesClientWithBaseURI ¶
func NewDatabaseSecurityAlertPoliciesClientWithBaseURI(baseURI string, subscriptionID string) DatabaseSecurityAlertPoliciesClient
NewDatabaseSecurityAlertPoliciesClientWithBaseURI creates an instance of the DatabaseSecurityAlertPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DatabaseSecurityAlertPoliciesClient) CreateOrUpdate ¶
func (client DatabaseSecurityAlertPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters DatabaseSecurityAlertPolicy) (result DatabaseSecurityAlertPolicy, err error)
CreateOrUpdate creates or updates a database's security alert policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database for which the security alert policy is defined. parameters - the database security alert policy.
func (DatabaseSecurityAlertPoliciesClient) CreateOrUpdatePreparer ¶
func (client DatabaseSecurityAlertPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters DatabaseSecurityAlertPolicy) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (DatabaseSecurityAlertPoliciesClient) CreateOrUpdateResponder ¶
func (client DatabaseSecurityAlertPoliciesClient) 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 (DatabaseSecurityAlertPoliciesClient) CreateOrUpdateSender ¶
func (client DatabaseSecurityAlertPoliciesClient) 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 (DatabaseSecurityAlertPoliciesClient) Get ¶
func (client DatabaseSecurityAlertPoliciesClient) Get(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result DatabaseSecurityAlertPolicy, err error)
Get gets a database's security alert policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database for which the security alert policy is defined.
func (DatabaseSecurityAlertPoliciesClient) GetPreparer ¶
func (client DatabaseSecurityAlertPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DatabaseSecurityAlertPoliciesClient) GetResponder ¶
func (client DatabaseSecurityAlertPoliciesClient) GetResponder(resp *http.Response) (result DatabaseSecurityAlertPolicy, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DatabaseSecurityAlertPoliciesClient) GetSender ¶
func (client DatabaseSecurityAlertPoliciesClient) 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 (DatabaseSecurityAlertPoliciesClient) ListByDatabase ¶
func (client DatabaseSecurityAlertPoliciesClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result DatabaseSecurityAlertListResultPage, err error)
ListByDatabase gets a list of database's security alert policies. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database for which the security alert policy is defined.
func (DatabaseSecurityAlertPoliciesClient) ListByDatabaseComplete ¶
func (client DatabaseSecurityAlertPoliciesClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result DatabaseSecurityAlertListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (DatabaseSecurityAlertPoliciesClient) ListByDatabasePreparer ¶
func (client DatabaseSecurityAlertPoliciesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (DatabaseSecurityAlertPoliciesClient) ListByDatabaseResponder ¶
func (client DatabaseSecurityAlertPoliciesClient) ListByDatabaseResponder(resp *http.Response) (result DatabaseSecurityAlertListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (DatabaseSecurityAlertPoliciesClient) ListByDatabaseSender ¶
func (client DatabaseSecurityAlertPoliciesClient) 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 DatabaseSecurityAlertPolicy ¶
type DatabaseSecurityAlertPolicy struct { autorest.Response `json:"-"` // SystemData - READ-ONLY; SystemData of SecurityAlertPolicyResource. SystemData *SystemData `json:"systemData,omitempty"` // SecurityAlertsPolicyProperties - Resource properties. *SecurityAlertsPolicyProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
DatabaseSecurityAlertPolicy a database security alert policy.
func (DatabaseSecurityAlertPolicy) MarshalJSON ¶
func (dsap DatabaseSecurityAlertPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseSecurityAlertPolicy.
func (*DatabaseSecurityAlertPolicy) UnmarshalJSON ¶
func (dsap *DatabaseSecurityAlertPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DatabaseSecurityAlertPolicy struct.
type DatabaseState ¶
type DatabaseState string
DatabaseState enumerates the values for database state.
const ( // DatabaseStateAll ... DatabaseStateAll DatabaseState = "All" // DatabaseStateDeleted ... DatabaseStateDeleted DatabaseState = "Deleted" // DatabaseStateLive ... DatabaseStateLive DatabaseState = "Live" )
func PossibleDatabaseStateValues ¶
func PossibleDatabaseStateValues() []DatabaseState
PossibleDatabaseStateValues returns an array of possible values for the DatabaseState const type.
type DatabaseStatus ¶
type DatabaseStatus string
DatabaseStatus enumerates the values for database status.
const ( // DatabaseStatusAutoClosed ... DatabaseStatusAutoClosed DatabaseStatus = "AutoClosed" // DatabaseStatusCopying ... DatabaseStatusCopying DatabaseStatus = "Copying" // DatabaseStatusCreating ... DatabaseStatusCreating DatabaseStatus = "Creating" // DatabaseStatusDisabled ... DatabaseStatusDisabled DatabaseStatus = "Disabled" // DatabaseStatusEmergencyMode ... DatabaseStatusEmergencyMode DatabaseStatus = "EmergencyMode" // DatabaseStatusInaccessible ... DatabaseStatusInaccessible DatabaseStatus = "Inaccessible" // DatabaseStatusOffline ... DatabaseStatusOffline DatabaseStatus = "Offline" // DatabaseStatusOfflineChangingDwPerformanceTiers ... DatabaseStatusOfflineChangingDwPerformanceTiers DatabaseStatus = "OfflineChangingDwPerformanceTiers" // DatabaseStatusOfflineSecondary ... DatabaseStatusOfflineSecondary DatabaseStatus = "OfflineSecondary" // DatabaseStatusOnline ... DatabaseStatusOnline DatabaseStatus = "Online" // DatabaseStatusOnlineChangingDwPerformanceTiers ... DatabaseStatusOnlineChangingDwPerformanceTiers DatabaseStatus = "OnlineChangingDwPerformanceTiers" // DatabaseStatusPaused ... DatabaseStatusPaused DatabaseStatus = "Paused" // DatabaseStatusPausing ... DatabaseStatusPausing DatabaseStatus = "Pausing" // DatabaseStatusRecovering ... DatabaseStatusRecovering DatabaseStatus = "Recovering" // DatabaseStatusRecoveryPending ... DatabaseStatusRecoveryPending DatabaseStatus = "RecoveryPending" // DatabaseStatusRestoring ... DatabaseStatusRestoring DatabaseStatus = "Restoring" // DatabaseStatusResuming ... DatabaseStatusResuming DatabaseStatus = "Resuming" // DatabaseStatusScaling ... DatabaseStatusScaling DatabaseStatus = "Scaling" // DatabaseStatusShutdown ... DatabaseStatusShutdown DatabaseStatus = "Shutdown" // DatabaseStatusStandby ... DatabaseStatusStandby DatabaseStatus = "Standby" // DatabaseStatusSuspect ... DatabaseStatusSuspect DatabaseStatus = "Suspect" )
func PossibleDatabaseStatusValues ¶
func PossibleDatabaseStatusValues() []DatabaseStatus
PossibleDatabaseStatusValues returns an array of possible values for the DatabaseStatus const type.
type DatabaseTable ¶
type DatabaseTable struct { autorest.Response `json:"-"` // DatabaseTableProperties - Resource properties. *DatabaseTableProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
DatabaseTable a database table resource.
func (DatabaseTable) MarshalJSON ¶
func (dt DatabaseTable) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseTable.
func (*DatabaseTable) UnmarshalJSON ¶
func (dt *DatabaseTable) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DatabaseTable struct.
type DatabaseTableListResult ¶
type DatabaseTableListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]DatabaseTable `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
DatabaseTableListResult a list of database tables.
func (DatabaseTableListResult) IsEmpty ¶
func (dtlr DatabaseTableListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (DatabaseTableListResult) MarshalJSON ¶
func (dtlr DatabaseTableListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseTableListResult.
type DatabaseTableListResultIterator ¶
type DatabaseTableListResultIterator struct {
// contains filtered or unexported fields
}
DatabaseTableListResultIterator provides access to a complete listing of DatabaseTable values.
func NewDatabaseTableListResultIterator ¶
func NewDatabaseTableListResultIterator(page DatabaseTableListResultPage) DatabaseTableListResultIterator
Creates a new instance of the DatabaseTableListResultIterator type.
func (*DatabaseTableListResultIterator) Next ¶
func (iter *DatabaseTableListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DatabaseTableListResultIterator) NextWithContext ¶
func (iter *DatabaseTableListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (DatabaseTableListResultIterator) NotDone ¶
func (iter DatabaseTableListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DatabaseTableListResultIterator) Response ¶
func (iter DatabaseTableListResultIterator) Response() DatabaseTableListResult
Response returns the raw server response from the last page request.
func (DatabaseTableListResultIterator) Value ¶
func (iter DatabaseTableListResultIterator) Value() DatabaseTable
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DatabaseTableListResultPage ¶
type DatabaseTableListResultPage struct {
// contains filtered or unexported fields
}
DatabaseTableListResultPage contains a page of DatabaseTable values.
func NewDatabaseTableListResultPage ¶
func NewDatabaseTableListResultPage(cur DatabaseTableListResult, getNextPage func(context.Context, DatabaseTableListResult) (DatabaseTableListResult, error)) DatabaseTableListResultPage
Creates a new instance of the DatabaseTableListResultPage type.
func (*DatabaseTableListResultPage) Next ¶
func (page *DatabaseTableListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DatabaseTableListResultPage) NextWithContext ¶
func (page *DatabaseTableListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (DatabaseTableListResultPage) NotDone ¶
func (page DatabaseTableListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DatabaseTableListResultPage) Response ¶
func (page DatabaseTableListResultPage) Response() DatabaseTableListResult
Response returns the raw server response from the last page request.
func (DatabaseTableListResultPage) Values ¶
func (page DatabaseTableListResultPage) Values() []DatabaseTable
Values returns the slice of values for the current page or nil if there are no values.
type DatabaseTableProperties ¶
type DatabaseTableProperties struct { // TemporalType - The table temporal type. Possible values include: 'TableTemporalTypeNonTemporalTable', 'TableTemporalTypeHistoryTable', 'TableTemporalTypeSystemVersionedTemporalTable' TemporalType TableTemporalType `json:"temporalType,omitempty"` // MemoryOptimized - Whether or not the table is memory optimized. MemoryOptimized *bool `json:"memoryOptimized,omitempty"` }
DatabaseTableProperties database table properties.
type DatabaseTablesClient ¶
type DatabaseTablesClient struct {
BaseClient
}
DatabaseTablesClient 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 NewDatabaseTablesClient ¶
func NewDatabaseTablesClient(subscriptionID string) DatabaseTablesClient
NewDatabaseTablesClient creates an instance of the DatabaseTablesClient client.
func NewDatabaseTablesClientWithBaseURI ¶
func NewDatabaseTablesClientWithBaseURI(baseURI string, subscriptionID string) DatabaseTablesClient
NewDatabaseTablesClientWithBaseURI creates an instance of the DatabaseTablesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DatabaseTablesClient) Get ¶
func (client DatabaseTablesClient) Get(ctx context.Context, resourceGroupName string, serverName string, databaseName string, schemaName string, tableName string) (result DatabaseTable, err error)
Get get database table Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. schemaName - the name of the schema. tableName - the name of the table.
func (DatabaseTablesClient) GetPreparer ¶
func (client DatabaseTablesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, schemaName string, tableName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DatabaseTablesClient) GetResponder ¶
func (client DatabaseTablesClient) GetResponder(resp *http.Response) (result DatabaseTable, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DatabaseTablesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DatabaseTablesClient) ListBySchema ¶
func (client DatabaseTablesClient) ListBySchema(ctx context.Context, resourceGroupName string, serverName string, databaseName string, schemaName string, filter string) (result DatabaseTableListResultPage, err error)
ListBySchema list database tables Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. schemaName - the name of the schema. filter - an OData filter expression that filters elements in the collection.
func (DatabaseTablesClient) ListBySchemaComplete ¶
func (client DatabaseTablesClient) ListBySchemaComplete(ctx context.Context, resourceGroupName string, serverName string, databaseName string, schemaName string, filter string) (result DatabaseTableListResultIterator, err error)
ListBySchemaComplete enumerates all values, automatically crossing page boundaries as required.
func (DatabaseTablesClient) ListBySchemaPreparer ¶
func (client DatabaseTablesClient) ListBySchemaPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, schemaName string, filter string) (*http.Request, error)
ListBySchemaPreparer prepares the ListBySchema request.
func (DatabaseTablesClient) ListBySchemaResponder ¶
func (client DatabaseTablesClient) ListBySchemaResponder(resp *http.Response) (result DatabaseTableListResult, err error)
ListBySchemaResponder handles the response to the ListBySchema request. The method always closes the http.Response Body.
func (DatabaseTablesClient) ListBySchemaSender ¶
ListBySchemaSender sends the ListBySchema request. The method will close the http.Response Body if it receives an error.
type DatabaseUpdate ¶
type DatabaseUpdate struct { // Sku - The name and tier of the SKU. Sku *Sku `json:"sku,omitempty"` // DatabaseProperties - Resource properties. *DatabaseProperties `json:"properties,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
DatabaseUpdate a database resource.
func (DatabaseUpdate) MarshalJSON ¶
func (du DatabaseUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseUpdate.
func (*DatabaseUpdate) UnmarshalJSON ¶
func (du *DatabaseUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DatabaseUpdate struct.
type DatabaseUsage ¶
type DatabaseUsage struct { // DatabaseUsageProperties - Resource properties. *DatabaseUsageProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
DatabaseUsage usage metric of a database.
func (DatabaseUsage) MarshalJSON ¶
func (du DatabaseUsage) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseUsage.
func (*DatabaseUsage) UnmarshalJSON ¶
func (du *DatabaseUsage) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DatabaseUsage struct.
type DatabaseUsageListResult ¶
type DatabaseUsageListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]DatabaseUsage `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
DatabaseUsageListResult a list of database usage metrics.
func (DatabaseUsageListResult) IsEmpty ¶
func (dulr DatabaseUsageListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (DatabaseUsageListResult) MarshalJSON ¶
func (dulr DatabaseUsageListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseUsageListResult.
type DatabaseUsageListResultIterator ¶
type DatabaseUsageListResultIterator struct {
// contains filtered or unexported fields
}
DatabaseUsageListResultIterator provides access to a complete listing of DatabaseUsage values.
func NewDatabaseUsageListResultIterator ¶
func NewDatabaseUsageListResultIterator(page DatabaseUsageListResultPage) DatabaseUsageListResultIterator
Creates a new instance of the DatabaseUsageListResultIterator type.
func (*DatabaseUsageListResultIterator) Next ¶
func (iter *DatabaseUsageListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DatabaseUsageListResultIterator) NextWithContext ¶
func (iter *DatabaseUsageListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (DatabaseUsageListResultIterator) NotDone ¶
func (iter DatabaseUsageListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DatabaseUsageListResultIterator) Response ¶
func (iter DatabaseUsageListResultIterator) Response() DatabaseUsageListResult
Response returns the raw server response from the last page request.
func (DatabaseUsageListResultIterator) Value ¶
func (iter DatabaseUsageListResultIterator) Value() DatabaseUsage
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DatabaseUsageListResultPage ¶
type DatabaseUsageListResultPage struct {
// contains filtered or unexported fields
}
DatabaseUsageListResultPage contains a page of DatabaseUsage values.
func NewDatabaseUsageListResultPage ¶
func NewDatabaseUsageListResultPage(cur DatabaseUsageListResult, getNextPage func(context.Context, DatabaseUsageListResult) (DatabaseUsageListResult, error)) DatabaseUsageListResultPage
Creates a new instance of the DatabaseUsageListResultPage type.
func (*DatabaseUsageListResultPage) Next ¶
func (page *DatabaseUsageListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DatabaseUsageListResultPage) NextWithContext ¶
func (page *DatabaseUsageListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (DatabaseUsageListResultPage) NotDone ¶
func (page DatabaseUsageListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DatabaseUsageListResultPage) Response ¶
func (page DatabaseUsageListResultPage) Response() DatabaseUsageListResult
Response returns the raw server response from the last page request.
func (DatabaseUsageListResultPage) Values ¶
func (page DatabaseUsageListResultPage) Values() []DatabaseUsage
Values returns the slice of values for the current page or nil if there are no values.
type DatabaseUsageProperties ¶
type DatabaseUsageProperties struct { // DisplayName - READ-ONLY; User-readable name of the metric. DisplayName *string `json:"displayName,omitempty"` // CurrentValue - READ-ONLY; Current value of the metric. CurrentValue *float64 `json:"currentValue,omitempty"` // Limit - READ-ONLY; Boundary value of the metric. Limit *float64 `json:"limit,omitempty"` // Unit - READ-ONLY; Unit of the metric. Unit *string `json:"unit,omitempty"` }
DatabaseUsageProperties properties of a database usage.
func (DatabaseUsageProperties) MarshalJSON ¶
func (dup DatabaseUsageProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseUsageProperties.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DatabaseUsagesClient) ListByDatabase ¶
func (client DatabaseUsagesClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result DatabaseUsageListResultPage, err error)
ListByDatabase gets database usages. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (DatabaseUsagesClient) ListByDatabaseComplete ¶
func (client DatabaseUsagesClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result DatabaseUsageListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
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 DatabaseVulnerabilityAssessment ¶
type DatabaseVulnerabilityAssessment struct { autorest.Response `json:"-"` // DatabaseVulnerabilityAssessmentProperties - Resource properties. *DatabaseVulnerabilityAssessmentProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
DatabaseVulnerabilityAssessment a database vulnerability assessment.
func (DatabaseVulnerabilityAssessment) MarshalJSON ¶
func (dva DatabaseVulnerabilityAssessment) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseVulnerabilityAssessment.
func (*DatabaseVulnerabilityAssessment) UnmarshalJSON ¶
func (dva *DatabaseVulnerabilityAssessment) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DatabaseVulnerabilityAssessment struct.
type DatabaseVulnerabilityAssessmentListResult ¶
type DatabaseVulnerabilityAssessmentListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]DatabaseVulnerabilityAssessment `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
DatabaseVulnerabilityAssessmentListResult a list of the database's vulnerability assessments.
func (DatabaseVulnerabilityAssessmentListResult) IsEmpty ¶
func (dvalr DatabaseVulnerabilityAssessmentListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (DatabaseVulnerabilityAssessmentListResult) MarshalJSON ¶
func (dvalr DatabaseVulnerabilityAssessmentListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseVulnerabilityAssessmentListResult.
type DatabaseVulnerabilityAssessmentListResultIterator ¶
type DatabaseVulnerabilityAssessmentListResultIterator struct {
// contains filtered or unexported fields
}
DatabaseVulnerabilityAssessmentListResultIterator provides access to a complete listing of DatabaseVulnerabilityAssessment values.
func NewDatabaseVulnerabilityAssessmentListResultIterator ¶
func NewDatabaseVulnerabilityAssessmentListResultIterator(page DatabaseVulnerabilityAssessmentListResultPage) DatabaseVulnerabilityAssessmentListResultIterator
Creates a new instance of the DatabaseVulnerabilityAssessmentListResultIterator type.
func (*DatabaseVulnerabilityAssessmentListResultIterator) Next ¶
func (iter *DatabaseVulnerabilityAssessmentListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DatabaseVulnerabilityAssessmentListResultIterator) NextWithContext ¶
func (iter *DatabaseVulnerabilityAssessmentListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (DatabaseVulnerabilityAssessmentListResultIterator) NotDone ¶
func (iter DatabaseVulnerabilityAssessmentListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DatabaseVulnerabilityAssessmentListResultIterator) Response ¶
func (iter DatabaseVulnerabilityAssessmentListResultIterator) Response() DatabaseVulnerabilityAssessmentListResult
Response returns the raw server response from the last page request.
func (DatabaseVulnerabilityAssessmentListResultIterator) Value ¶
func (iter DatabaseVulnerabilityAssessmentListResultIterator) Value() DatabaseVulnerabilityAssessment
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DatabaseVulnerabilityAssessmentListResultPage ¶
type DatabaseVulnerabilityAssessmentListResultPage struct {
// contains filtered or unexported fields
}
DatabaseVulnerabilityAssessmentListResultPage contains a page of DatabaseVulnerabilityAssessment values.
func NewDatabaseVulnerabilityAssessmentListResultPage ¶
func NewDatabaseVulnerabilityAssessmentListResultPage(cur DatabaseVulnerabilityAssessmentListResult, getNextPage func(context.Context, DatabaseVulnerabilityAssessmentListResult) (DatabaseVulnerabilityAssessmentListResult, error)) DatabaseVulnerabilityAssessmentListResultPage
Creates a new instance of the DatabaseVulnerabilityAssessmentListResultPage type.
func (*DatabaseVulnerabilityAssessmentListResultPage) Next ¶
func (page *DatabaseVulnerabilityAssessmentListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DatabaseVulnerabilityAssessmentListResultPage) NextWithContext ¶
func (page *DatabaseVulnerabilityAssessmentListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (DatabaseVulnerabilityAssessmentListResultPage) NotDone ¶
func (page DatabaseVulnerabilityAssessmentListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DatabaseVulnerabilityAssessmentListResultPage) Response ¶
func (page DatabaseVulnerabilityAssessmentListResultPage) Response() DatabaseVulnerabilityAssessmentListResult
Response returns the raw server response from the last page request.
func (DatabaseVulnerabilityAssessmentListResultPage) Values ¶
func (page DatabaseVulnerabilityAssessmentListResultPage) Values() []DatabaseVulnerabilityAssessment
Values returns the slice of values for the current page or nil if there are no values.
type DatabaseVulnerabilityAssessmentProperties ¶
type DatabaseVulnerabilityAssessmentProperties struct { // StorageContainerPath - A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). It is required if server level vulnerability assessment policy doesn't set StorageContainerPath *string `json:"storageContainerPath,omitempty"` // StorageContainerSasKey - A shared access signature (SAS Key) that has write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required. StorageContainerSasKey *string `json:"storageContainerSasKey,omitempty"` // StorageAccountAccessKey - Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. StorageAccountAccessKey *string `json:"storageAccountAccessKey,omitempty"` // RecurringScans - The recurring scans settings RecurringScans *VulnerabilityAssessmentRecurringScansProperties `json:"recurringScans,omitempty"` }
DatabaseVulnerabilityAssessmentProperties properties of a database Vulnerability Assessment.
type DatabaseVulnerabilityAssessmentRuleBaseline ¶
type DatabaseVulnerabilityAssessmentRuleBaseline struct { autorest.Response `json:"-"` // DatabaseVulnerabilityAssessmentRuleBaselineProperties - Resource properties. *DatabaseVulnerabilityAssessmentRuleBaselineProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
DatabaseVulnerabilityAssessmentRuleBaseline a database vulnerability assessment rule baseline.
func (DatabaseVulnerabilityAssessmentRuleBaseline) MarshalJSON ¶
func (dvarb DatabaseVulnerabilityAssessmentRuleBaseline) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseVulnerabilityAssessmentRuleBaseline.
func (*DatabaseVulnerabilityAssessmentRuleBaseline) UnmarshalJSON ¶
func (dvarb *DatabaseVulnerabilityAssessmentRuleBaseline) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DatabaseVulnerabilityAssessmentRuleBaseline struct.
type DatabaseVulnerabilityAssessmentRuleBaselineItem ¶
type DatabaseVulnerabilityAssessmentRuleBaselineItem struct { // Result - The rule baseline result Result *[]string `json:"result,omitempty"` }
DatabaseVulnerabilityAssessmentRuleBaselineItem properties for an Azure SQL Database Vulnerability Assessment rule baseline's result.
type DatabaseVulnerabilityAssessmentRuleBaselineProperties ¶
type DatabaseVulnerabilityAssessmentRuleBaselineProperties struct { // BaselineResults - The rule baseline result BaselineResults *[]DatabaseVulnerabilityAssessmentRuleBaselineItem `json:"baselineResults,omitempty"` }
DatabaseVulnerabilityAssessmentRuleBaselineProperties properties of a database Vulnerability Assessment rule baseline.
type DatabaseVulnerabilityAssessmentRuleBaselinesClient ¶
type DatabaseVulnerabilityAssessmentRuleBaselinesClient struct {
BaseClient
}
DatabaseVulnerabilityAssessmentRuleBaselinesClient 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 NewDatabaseVulnerabilityAssessmentRuleBaselinesClient ¶
func NewDatabaseVulnerabilityAssessmentRuleBaselinesClient(subscriptionID string) DatabaseVulnerabilityAssessmentRuleBaselinesClient
NewDatabaseVulnerabilityAssessmentRuleBaselinesClient creates an instance of the DatabaseVulnerabilityAssessmentRuleBaselinesClient client.
func NewDatabaseVulnerabilityAssessmentRuleBaselinesClientWithBaseURI ¶
func NewDatabaseVulnerabilityAssessmentRuleBaselinesClientWithBaseURI(baseURI string, subscriptionID string) DatabaseVulnerabilityAssessmentRuleBaselinesClient
NewDatabaseVulnerabilityAssessmentRuleBaselinesClientWithBaseURI creates an instance of the DatabaseVulnerabilityAssessmentRuleBaselinesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DatabaseVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdate ¶
func (client DatabaseVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, databaseName string, ruleID string, baselineName VulnerabilityAssessmentPolicyBaselineName, parameters DatabaseVulnerabilityAssessmentRuleBaseline) (result DatabaseVulnerabilityAssessmentRuleBaseline, err error)
CreateOrUpdate creates or updates a database's vulnerability assessment rule baseline. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database for which the vulnerability assessment rule baseline is defined. ruleID - the vulnerability assessment rule ID. baselineName - the name of the vulnerability assessment rule baseline (default implies a baseline on a database level rule and master for server level rule). parameters - the requested rule baseline resource.
func (DatabaseVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdatePreparer ¶
func (client DatabaseVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, ruleID string, baselineName VulnerabilityAssessmentPolicyBaselineName, parameters DatabaseVulnerabilityAssessmentRuleBaseline) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (DatabaseVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdateResponder ¶
func (client DatabaseVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdateResponder(resp *http.Response) (result DatabaseVulnerabilityAssessmentRuleBaseline, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (DatabaseVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdateSender ¶
func (client DatabaseVulnerabilityAssessmentRuleBaselinesClient) 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 (DatabaseVulnerabilityAssessmentRuleBaselinesClient) Delete ¶
func (client DatabaseVulnerabilityAssessmentRuleBaselinesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, databaseName string, ruleID string, baselineName VulnerabilityAssessmentPolicyBaselineName) (result autorest.Response, err error)
Delete removes the database's vulnerability assessment rule baseline. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database for which the vulnerability assessment rule baseline is defined. ruleID - the vulnerability assessment rule ID. baselineName - the name of the vulnerability assessment rule baseline (default implies a baseline on a database level rule and master for server level rule).
func (DatabaseVulnerabilityAssessmentRuleBaselinesClient) DeletePreparer ¶
func (client DatabaseVulnerabilityAssessmentRuleBaselinesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, ruleID string, baselineName VulnerabilityAssessmentPolicyBaselineName) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (DatabaseVulnerabilityAssessmentRuleBaselinesClient) DeleteResponder ¶
func (client DatabaseVulnerabilityAssessmentRuleBaselinesClient) 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 (DatabaseVulnerabilityAssessmentRuleBaselinesClient) DeleteSender ¶
func (client DatabaseVulnerabilityAssessmentRuleBaselinesClient) 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 (DatabaseVulnerabilityAssessmentRuleBaselinesClient) Get ¶
func (client DatabaseVulnerabilityAssessmentRuleBaselinesClient) Get(ctx context.Context, resourceGroupName string, serverName string, databaseName string, ruleID string, baselineName VulnerabilityAssessmentPolicyBaselineName) (result DatabaseVulnerabilityAssessmentRuleBaseline, err error)
Get gets a database's vulnerability assessment rule baseline. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database for which the vulnerability assessment rule baseline is defined. ruleID - the vulnerability assessment rule ID. baselineName - the name of the vulnerability assessment rule baseline (default implies a baseline on a database level rule and master for server level rule).
func (DatabaseVulnerabilityAssessmentRuleBaselinesClient) GetPreparer ¶
func (client DatabaseVulnerabilityAssessmentRuleBaselinesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, ruleID string, baselineName VulnerabilityAssessmentPolicyBaselineName) (*http.Request, error)
GetPreparer prepares the Get request.
func (DatabaseVulnerabilityAssessmentRuleBaselinesClient) GetResponder ¶
func (client DatabaseVulnerabilityAssessmentRuleBaselinesClient) GetResponder(resp *http.Response) (result DatabaseVulnerabilityAssessmentRuleBaseline, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type DatabaseVulnerabilityAssessmentScanExportProperties ¶
type DatabaseVulnerabilityAssessmentScanExportProperties struct { // ExportedReportLocation - READ-ONLY; Location of the exported report (e.g. https://myStorage.blob.core.windows.net/VaScans/scans/serverName/databaseName/scan_scanId.xlsx). ExportedReportLocation *string `json:"exportedReportLocation,omitempty"` }
DatabaseVulnerabilityAssessmentScanExportProperties properties of the export operation's result.
func (DatabaseVulnerabilityAssessmentScanExportProperties) MarshalJSON ¶
func (dvasep DatabaseVulnerabilityAssessmentScanExportProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseVulnerabilityAssessmentScanExportProperties.
type DatabaseVulnerabilityAssessmentScansClient ¶
type DatabaseVulnerabilityAssessmentScansClient struct {
BaseClient
}
DatabaseVulnerabilityAssessmentScansClient 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 NewDatabaseVulnerabilityAssessmentScansClient ¶
func NewDatabaseVulnerabilityAssessmentScansClient(subscriptionID string) DatabaseVulnerabilityAssessmentScansClient
NewDatabaseVulnerabilityAssessmentScansClient creates an instance of the DatabaseVulnerabilityAssessmentScansClient client.
func NewDatabaseVulnerabilityAssessmentScansClientWithBaseURI ¶
func NewDatabaseVulnerabilityAssessmentScansClientWithBaseURI(baseURI string, subscriptionID string) DatabaseVulnerabilityAssessmentScansClient
NewDatabaseVulnerabilityAssessmentScansClientWithBaseURI creates an instance of the DatabaseVulnerabilityAssessmentScansClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DatabaseVulnerabilityAssessmentScansClient) Export ¶
func (client DatabaseVulnerabilityAssessmentScansClient) Export(ctx context.Context, resourceGroupName string, serverName string, databaseName string, scanID string) (result DatabaseVulnerabilityAssessmentScansExport, err error)
Export convert an existing scan result to a human readable format. If already exists nothing happens Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the scanned database. scanID - the vulnerability assessment scan Id.
func (DatabaseVulnerabilityAssessmentScansClient) ExportPreparer ¶
func (client DatabaseVulnerabilityAssessmentScansClient) ExportPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, scanID string) (*http.Request, error)
ExportPreparer prepares the Export request.
func (DatabaseVulnerabilityAssessmentScansClient) ExportResponder ¶
func (client DatabaseVulnerabilityAssessmentScansClient) ExportResponder(resp *http.Response) (result DatabaseVulnerabilityAssessmentScansExport, err error)
ExportResponder handles the response to the Export request. The method always closes the http.Response Body.
func (DatabaseVulnerabilityAssessmentScansClient) ExportSender ¶
func (client DatabaseVulnerabilityAssessmentScansClient) ExportSender(req *http.Request) (*http.Response, error)
ExportSender sends the Export request. The method will close the http.Response Body if it receives an error.
func (DatabaseVulnerabilityAssessmentScansClient) Get ¶
func (client DatabaseVulnerabilityAssessmentScansClient) Get(ctx context.Context, resourceGroupName string, serverName string, databaseName string, scanID string) (result VulnerabilityAssessmentScanRecord, err error)
Get gets a vulnerability assessment scan record of a database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. scanID - the vulnerability assessment scan Id of the scan to retrieve.
func (DatabaseVulnerabilityAssessmentScansClient) GetPreparer ¶
func (client DatabaseVulnerabilityAssessmentScansClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, scanID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DatabaseVulnerabilityAssessmentScansClient) GetResponder ¶
func (client DatabaseVulnerabilityAssessmentScansClient) GetResponder(resp *http.Response) (result VulnerabilityAssessmentScanRecord, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DatabaseVulnerabilityAssessmentScansClient) GetSender ¶
func (client DatabaseVulnerabilityAssessmentScansClient) 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 (DatabaseVulnerabilityAssessmentScansClient) InitiateScan ¶
func (client DatabaseVulnerabilityAssessmentScansClient) InitiateScan(ctx context.Context, resourceGroupName string, serverName string, databaseName string, scanID string) (result DatabaseVulnerabilityAssessmentScansInitiateScanFuture, err error)
InitiateScan executes a Vulnerability Assessment database scan. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. scanID - the vulnerability assessment scan Id of the scan to retrieve.
func (DatabaseVulnerabilityAssessmentScansClient) InitiateScanPreparer ¶
func (client DatabaseVulnerabilityAssessmentScansClient) InitiateScanPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, scanID string) (*http.Request, error)
InitiateScanPreparer prepares the InitiateScan request.
func (DatabaseVulnerabilityAssessmentScansClient) InitiateScanResponder ¶
func (client DatabaseVulnerabilityAssessmentScansClient) InitiateScanResponder(resp *http.Response) (result autorest.Response, err error)
InitiateScanResponder handles the response to the InitiateScan request. The method always closes the http.Response Body.
func (DatabaseVulnerabilityAssessmentScansClient) InitiateScanSender ¶
func (client DatabaseVulnerabilityAssessmentScansClient) InitiateScanSender(req *http.Request) (future DatabaseVulnerabilityAssessmentScansInitiateScanFuture, err error)
InitiateScanSender sends the InitiateScan request. The method will close the http.Response Body if it receives an error.
func (DatabaseVulnerabilityAssessmentScansClient) ListByDatabase ¶
func (client DatabaseVulnerabilityAssessmentScansClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result VulnerabilityAssessmentScanRecordListResultPage, err error)
ListByDatabase lists the vulnerability assessment scans of a database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (DatabaseVulnerabilityAssessmentScansClient) ListByDatabaseComplete ¶
func (client DatabaseVulnerabilityAssessmentScansClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result VulnerabilityAssessmentScanRecordListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (DatabaseVulnerabilityAssessmentScansClient) ListByDatabasePreparer ¶
func (client DatabaseVulnerabilityAssessmentScansClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (DatabaseVulnerabilityAssessmentScansClient) ListByDatabaseResponder ¶
func (client DatabaseVulnerabilityAssessmentScansClient) ListByDatabaseResponder(resp *http.Response) (result VulnerabilityAssessmentScanRecordListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (DatabaseVulnerabilityAssessmentScansClient) ListByDatabaseSender ¶
func (client DatabaseVulnerabilityAssessmentScansClient) 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 DatabaseVulnerabilityAssessmentScansExport ¶
type DatabaseVulnerabilityAssessmentScansExport struct { autorest.Response `json:"-"` // DatabaseVulnerabilityAssessmentScanExportProperties - Resource properties. *DatabaseVulnerabilityAssessmentScanExportProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
DatabaseVulnerabilityAssessmentScansExport a database Vulnerability Assessment scan export resource.
func (DatabaseVulnerabilityAssessmentScansExport) MarshalJSON ¶
func (dvase DatabaseVulnerabilityAssessmentScansExport) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseVulnerabilityAssessmentScansExport.
func (*DatabaseVulnerabilityAssessmentScansExport) UnmarshalJSON ¶
func (dvase *DatabaseVulnerabilityAssessmentScansExport) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DatabaseVulnerabilityAssessmentScansExport struct.
type DatabaseVulnerabilityAssessmentScansInitiateScanFuture ¶
type DatabaseVulnerabilityAssessmentScansInitiateScanFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DatabaseVulnerabilityAssessmentScansClient) (autorest.Response, error) }
DatabaseVulnerabilityAssessmentScansInitiateScanFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*DatabaseVulnerabilityAssessmentScansInitiateScanFuture) UnmarshalJSON ¶
func (future *DatabaseVulnerabilityAssessmentScansInitiateScanFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type DatabaseVulnerabilityAssessmentsClient ¶
type DatabaseVulnerabilityAssessmentsClient struct {
BaseClient
}
DatabaseVulnerabilityAssessmentsClient 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 NewDatabaseVulnerabilityAssessmentsClient ¶
func NewDatabaseVulnerabilityAssessmentsClient(subscriptionID string) DatabaseVulnerabilityAssessmentsClient
NewDatabaseVulnerabilityAssessmentsClient creates an instance of the DatabaseVulnerabilityAssessmentsClient client.
func NewDatabaseVulnerabilityAssessmentsClientWithBaseURI ¶
func NewDatabaseVulnerabilityAssessmentsClientWithBaseURI(baseURI string, subscriptionID string) DatabaseVulnerabilityAssessmentsClient
NewDatabaseVulnerabilityAssessmentsClientWithBaseURI creates an instance of the DatabaseVulnerabilityAssessmentsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DatabaseVulnerabilityAssessmentsClient) CreateOrUpdate ¶
func (client DatabaseVulnerabilityAssessmentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters DatabaseVulnerabilityAssessment) (result DatabaseVulnerabilityAssessment, err error)
CreateOrUpdate creates or updates the database's vulnerability assessment. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database for which the vulnerability assessment is defined. parameters - the requested resource.
func (DatabaseVulnerabilityAssessmentsClient) CreateOrUpdatePreparer ¶
func (client DatabaseVulnerabilityAssessmentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters DatabaseVulnerabilityAssessment) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (DatabaseVulnerabilityAssessmentsClient) CreateOrUpdateResponder ¶
func (client DatabaseVulnerabilityAssessmentsClient) CreateOrUpdateResponder(resp *http.Response) (result DatabaseVulnerabilityAssessment, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (DatabaseVulnerabilityAssessmentsClient) CreateOrUpdateSender ¶
func (client DatabaseVulnerabilityAssessmentsClient) 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 (DatabaseVulnerabilityAssessmentsClient) Delete ¶
func (client DatabaseVulnerabilityAssessmentsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result autorest.Response, err error)
Delete removes the database's vulnerability assessment. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database for which the vulnerability assessment is defined.
func (DatabaseVulnerabilityAssessmentsClient) DeletePreparer ¶
func (client DatabaseVulnerabilityAssessmentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (DatabaseVulnerabilityAssessmentsClient) DeleteResponder ¶
func (client DatabaseVulnerabilityAssessmentsClient) 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 (DatabaseVulnerabilityAssessmentsClient) DeleteSender ¶
func (client DatabaseVulnerabilityAssessmentsClient) 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 (DatabaseVulnerabilityAssessmentsClient) Get ¶
func (client DatabaseVulnerabilityAssessmentsClient) Get(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result DatabaseVulnerabilityAssessment, err error)
Get gets the database's vulnerability assessment. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database for which the vulnerability assessment is defined.
func (DatabaseVulnerabilityAssessmentsClient) GetPreparer ¶
func (client DatabaseVulnerabilityAssessmentsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DatabaseVulnerabilityAssessmentsClient) GetResponder ¶
func (client DatabaseVulnerabilityAssessmentsClient) GetResponder(resp *http.Response) (result DatabaseVulnerabilityAssessment, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DatabaseVulnerabilityAssessmentsClient) GetSender ¶
func (client DatabaseVulnerabilityAssessmentsClient) 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 (DatabaseVulnerabilityAssessmentsClient) ListByDatabase ¶
func (client DatabaseVulnerabilityAssessmentsClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result DatabaseVulnerabilityAssessmentListResultPage, err error)
ListByDatabase lists the vulnerability assessment policies associated with a database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database for which the vulnerability assessment policies are defined.
func (DatabaseVulnerabilityAssessmentsClient) ListByDatabaseComplete ¶
func (client DatabaseVulnerabilityAssessmentsClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result DatabaseVulnerabilityAssessmentListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (DatabaseVulnerabilityAssessmentsClient) ListByDatabasePreparer ¶
func (client DatabaseVulnerabilityAssessmentsClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (DatabaseVulnerabilityAssessmentsClient) ListByDatabaseResponder ¶
func (client DatabaseVulnerabilityAssessmentsClient) ListByDatabaseResponder(resp *http.Response) (result DatabaseVulnerabilityAssessmentListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (DatabaseVulnerabilityAssessmentsClient) ListByDatabaseSender ¶
func (client DatabaseVulnerabilityAssessmentsClient) 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 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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DatabasesClient) CreateOrUpdate ¶
func (client DatabasesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters Database) (result DatabasesCreateOrUpdateFuture, err error)
CreateOrUpdate creates a new database or updates an existing database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. parameters - the requested database resource state.
func (DatabasesClient) CreateOrUpdatePreparer ¶
func (client DatabasesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters Database) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (DatabasesClient) CreateOrUpdateResponder ¶
func (client DatabasesClient) CreateOrUpdateResponder(resp *http.Response) (result Database, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (DatabasesClient) CreateOrUpdateSender ¶
func (client DatabasesClient) CreateOrUpdateSender(req *http.Request) (future DatabasesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (DatabasesClient) Delete ¶
func (client DatabasesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result DatabasesDeleteFuture, err error)
Delete deletes the database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (DatabasesClient) DeletePreparer ¶
func (client DatabasesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (DatabasesClient) DeleteResponder ¶
func (client DatabasesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (DatabasesClient) DeleteSender ¶
func (client DatabasesClient) DeleteSender(req *http.Request) (future DatabasesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (DatabasesClient) Export ¶
func (client DatabasesClient) Export(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters ExportDatabaseDefinition) (result DatabasesExportFuture, err error)
Export exports a database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. parameters - the database export request parameters.
func (DatabasesClient) ExportPreparer ¶
func (client DatabasesClient) ExportPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters ExportDatabaseDefinition) (*http.Request, error)
ExportPreparer prepares the Export request.
func (DatabasesClient) ExportResponder ¶
func (client DatabasesClient) ExportResponder(resp *http.Response) (result ImportExportOperationResult, 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) Failover ¶
func (client DatabasesClient) Failover(ctx context.Context, resourceGroupName string, serverName string, databaseName string, replicaType ReplicaType) (result DatabasesFailoverFuture, err error)
Failover failovers a database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database to failover. replicaType - the type of replica to be failed over.
func (DatabasesClient) FailoverPreparer ¶
func (client DatabasesClient) FailoverPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, replicaType ReplicaType) (*http.Request, error)
FailoverPreparer prepares the Failover request.
func (DatabasesClient) FailoverResponder ¶
func (client DatabasesClient) 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 (DatabasesClient) FailoverSender ¶
func (client DatabasesClient) FailoverSender(req *http.Request) (future DatabasesFailoverFuture, err error)
FailoverSender sends the Failover request. The method will close the http.Response Body if it receives an error.
func (DatabasesClient) Get ¶
func (client DatabasesClient) Get(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result Database, err error)
Get gets a database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (DatabasesClient) GetPreparer ¶
func (client DatabasesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DatabasesClient) GetResponder ¶
func (client DatabasesClient) GetResponder(resp *http.Response) (result Database, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DatabasesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DatabasesClient) Import ¶
func (client DatabasesClient) Import(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters ImportExistingDatabaseDefinition) (result DatabasesImportFuture, err error)
Import imports a bacpac into a new database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. parameters - the database import request parameters.
func (DatabasesClient) ImportPreparer ¶
func (client DatabasesClient) ImportPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters ImportExistingDatabaseDefinition) (*http.Request, error)
ImportPreparer prepares the Import request.
func (DatabasesClient) ImportResponder ¶
func (client DatabasesClient) ImportResponder(resp *http.Response) (result ImportExportOperationResult, 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 DatabaseListResultPage, err error)
ListByElasticPool gets a list of databases in an elastic pool. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. elasticPoolName - the name of the elastic pool.
func (DatabasesClient) ListByElasticPoolComplete ¶
func (client DatabasesClient) ListByElasticPoolComplete(ctx context.Context, resourceGroupName string, serverName string, elasticPoolName string) (result DatabaseListResultIterator, err error)
ListByElasticPoolComplete enumerates all values, automatically crossing page boundaries as required.
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) ListByServer ¶
func (client DatabasesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string, skipToken string) (result DatabaseListResultPage, err error)
ListByServer gets a list of databases. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (DatabasesClient) ListByServerComplete ¶
func (client DatabasesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string, skipToken string) (result DatabaseListResultIterator, err error)
ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
func (DatabasesClient) ListByServerPreparer ¶
func (client DatabasesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string, skipToken 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) ListInaccessibleByServer ¶
func (client DatabasesClient) ListInaccessibleByServer(ctx context.Context, resourceGroupName string, serverName string) (result DatabaseListResultPage, err error)
ListInaccessibleByServer gets a list of inaccessible databases in a logical server Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (DatabasesClient) ListInaccessibleByServerComplete ¶
func (client DatabasesClient) ListInaccessibleByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result DatabaseListResultIterator, err error)
ListInaccessibleByServerComplete enumerates all values, automatically crossing page boundaries as required.
func (DatabasesClient) ListInaccessibleByServerPreparer ¶
func (client DatabasesClient) ListInaccessibleByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListInaccessibleByServerPreparer prepares the ListInaccessibleByServer request.
func (DatabasesClient) ListInaccessibleByServerResponder ¶
func (client DatabasesClient) ListInaccessibleByServerResponder(resp *http.Response) (result DatabaseListResult, err error)
ListInaccessibleByServerResponder handles the response to the ListInaccessibleByServer request. The method always closes the http.Response Body.
func (DatabasesClient) ListInaccessibleByServerSender ¶
func (client DatabasesClient) ListInaccessibleByServerSender(req *http.Request) (*http.Response, error)
ListInaccessibleByServerSender sends the ListInaccessibleByServer 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. filter - 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 database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database to be paused.
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 Database, 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database to rename. parameters - 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 database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database to be resumed.
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 Database, 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. parameters - the requested database resource state.
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.
func (DatabasesClient) UpgradeDataWarehouse ¶
func (client DatabasesClient) UpgradeDataWarehouse(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result DatabasesUpgradeDataWarehouseFuture, err error)
UpgradeDataWarehouse upgrades a data warehouse. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database to be upgraded.
func (DatabasesClient) UpgradeDataWarehousePreparer ¶
func (client DatabasesClient) UpgradeDataWarehousePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
UpgradeDataWarehousePreparer prepares the UpgradeDataWarehouse request.
func (DatabasesClient) UpgradeDataWarehouseResponder ¶
func (client DatabasesClient) UpgradeDataWarehouseResponder(resp *http.Response) (result autorest.Response, err error)
UpgradeDataWarehouseResponder handles the response to the UpgradeDataWarehouse request. The method always closes the http.Response Body.
func (DatabasesClient) UpgradeDataWarehouseSender ¶
func (client DatabasesClient) UpgradeDataWarehouseSender(req *http.Request) (future DatabasesUpgradeDataWarehouseFuture, err error)
UpgradeDataWarehouseSender sends the UpgradeDataWarehouse request. The method will close the http.Response Body if it receives an error.
type DatabasesCreateOrUpdateFuture ¶
type DatabasesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DatabasesClient) (Database, error) }
DatabasesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*DatabasesCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *DatabasesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type DatabasesDeleteFuture ¶
type DatabasesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DatabasesClient) (autorest.Response, error) }
DatabasesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*DatabasesDeleteFuture) UnmarshalJSON ¶
func (future *DatabasesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type DatabasesExportFuture ¶
type DatabasesExportFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DatabasesClient) (ImportExportOperationResult, error) }
DatabasesExportFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*DatabasesExportFuture) UnmarshalJSON ¶
func (future *DatabasesExportFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type DatabasesFailoverFuture ¶
type DatabasesFailoverFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DatabasesClient) (autorest.Response, error) }
DatabasesFailoverFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*DatabasesFailoverFuture) UnmarshalJSON ¶
func (future *DatabasesFailoverFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type DatabasesImportFuture ¶
type DatabasesImportFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DatabasesClient) (ImportExportOperationResult, error) }
DatabasesImportFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*DatabasesImportFuture) UnmarshalJSON ¶
func (future *DatabasesImportFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type DatabasesPauseFuture ¶
type DatabasesPauseFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DatabasesClient) (Database, error) }
DatabasesPauseFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*DatabasesPauseFuture) UnmarshalJSON ¶
func (future *DatabasesPauseFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type DatabasesResumeFuture ¶
type DatabasesResumeFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DatabasesClient) (Database, error) }
DatabasesResumeFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*DatabasesResumeFuture) UnmarshalJSON ¶
func (future *DatabasesResumeFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type DatabasesUpdateFuture ¶
type DatabasesUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DatabasesClient) (Database, error) }
DatabasesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*DatabasesUpdateFuture) UnmarshalJSON ¶
func (future *DatabasesUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type DatabasesUpgradeDataWarehouseFuture ¶
type DatabasesUpgradeDataWarehouseFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DatabasesClient) (autorest.Response, error) }
DatabasesUpgradeDataWarehouseFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*DatabasesUpgradeDataWarehouseFuture) UnmarshalJSON ¶
func (future *DatabasesUpgradeDataWarehouseFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type DayOfWeek ¶
type DayOfWeek string
DayOfWeek enumerates the values for day of week.
const ( // DayOfWeekFriday ... DayOfWeekFriday DayOfWeek = "Friday" // DayOfWeekMonday ... DayOfWeekMonday DayOfWeek = "Monday" // DayOfWeekSaturday ... DayOfWeekSaturday DayOfWeek = "Saturday" // DayOfWeekSunday ... DayOfWeekSunday DayOfWeek = "Sunday" // DayOfWeekThursday ... DayOfWeekThursday DayOfWeek = "Thursday" // DayOfWeekTuesday ... DayOfWeekTuesday DayOfWeek = "Tuesday" // DayOfWeekWednesday ... DayOfWeekWednesday DayOfWeek = "Wednesday" )
func PossibleDayOfWeekValues ¶
func PossibleDayOfWeekValues() []DayOfWeek
PossibleDayOfWeekValues returns an array of possible values for the DayOfWeek const type.
type DeletedServer ¶
type DeletedServer struct { autorest.Response `json:"-"` // DeletedServerProperties - Resource properties. *DeletedServerProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
DeletedServer a deleted server.
func (DeletedServer) MarshalJSON ¶
func (ds DeletedServer) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DeletedServer.
func (*DeletedServer) UnmarshalJSON ¶
func (ds *DeletedServer) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DeletedServer struct.
type DeletedServerListResult ¶
type DeletedServerListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]DeletedServer `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
DeletedServerListResult a list of deleted servers.
func (DeletedServerListResult) IsEmpty ¶
func (dslr DeletedServerListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (DeletedServerListResult) MarshalJSON ¶
func (dslr DeletedServerListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DeletedServerListResult.
type DeletedServerListResultIterator ¶
type DeletedServerListResultIterator struct {
// contains filtered or unexported fields
}
DeletedServerListResultIterator provides access to a complete listing of DeletedServer values.
func NewDeletedServerListResultIterator ¶
func NewDeletedServerListResultIterator(page DeletedServerListResultPage) DeletedServerListResultIterator
Creates a new instance of the DeletedServerListResultIterator type.
func (*DeletedServerListResultIterator) Next ¶
func (iter *DeletedServerListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DeletedServerListResultIterator) NextWithContext ¶
func (iter *DeletedServerListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (DeletedServerListResultIterator) NotDone ¶
func (iter DeletedServerListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DeletedServerListResultIterator) Response ¶
func (iter DeletedServerListResultIterator) Response() DeletedServerListResult
Response returns the raw server response from the last page request.
func (DeletedServerListResultIterator) Value ¶
func (iter DeletedServerListResultIterator) Value() DeletedServer
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DeletedServerListResultPage ¶
type DeletedServerListResultPage struct {
// contains filtered or unexported fields
}
DeletedServerListResultPage contains a page of DeletedServer values.
func NewDeletedServerListResultPage ¶
func NewDeletedServerListResultPage(cur DeletedServerListResult, getNextPage func(context.Context, DeletedServerListResult) (DeletedServerListResult, error)) DeletedServerListResultPage
Creates a new instance of the DeletedServerListResultPage type.
func (*DeletedServerListResultPage) Next ¶
func (page *DeletedServerListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DeletedServerListResultPage) NextWithContext ¶
func (page *DeletedServerListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (DeletedServerListResultPage) NotDone ¶
func (page DeletedServerListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DeletedServerListResultPage) Response ¶
func (page DeletedServerListResultPage) Response() DeletedServerListResult
Response returns the raw server response from the last page request.
func (DeletedServerListResultPage) Values ¶
func (page DeletedServerListResultPage) Values() []DeletedServer
Values returns the slice of values for the current page or nil if there are no values.
type DeletedServerProperties ¶
type DeletedServerProperties struct { // Version - READ-ONLY; The version of the deleted server. Version *string `json:"version,omitempty"` // DeletionTime - READ-ONLY; The deletion time of the deleted server. DeletionTime *date.Time `json:"deletionTime,omitempty"` // OriginalID - READ-ONLY; The original ID of the server before deletion. OriginalID *string `json:"originalId,omitempty"` // FullyQualifiedDomainName - READ-ONLY; The fully qualified domain name of the server. FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty"` }
DeletedServerProperties the properties of a deleted server.
func (DeletedServerProperties) MarshalJSON ¶
func (dsp DeletedServerProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DeletedServerProperties.
type DeletedServersClient ¶
type DeletedServersClient struct {
BaseClient
}
DeletedServersClient 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 NewDeletedServersClient ¶
func NewDeletedServersClient(subscriptionID string) DeletedServersClient
NewDeletedServersClient creates an instance of the DeletedServersClient client.
func NewDeletedServersClientWithBaseURI ¶
func NewDeletedServersClientWithBaseURI(baseURI string, subscriptionID string) DeletedServersClient
NewDeletedServersClientWithBaseURI creates an instance of the DeletedServersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DeletedServersClient) Get ¶
func (client DeletedServersClient) Get(ctx context.Context, locationName string, deletedServerName string) (result DeletedServer, err error)
Get gets a deleted server. Parameters: locationName - the name of the region where the resource is located. deletedServerName - the name of the deleted server.
func (DeletedServersClient) GetPreparer ¶
func (client DeletedServersClient) GetPreparer(ctx context.Context, locationName string, deletedServerName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DeletedServersClient) GetResponder ¶
func (client DeletedServersClient) GetResponder(resp *http.Response) (result DeletedServer, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DeletedServersClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DeletedServersClient) List ¶
func (client DeletedServersClient) List(ctx context.Context) (result DeletedServerListResultPage, err error)
List gets a list of all deleted servers in a subscription.
func (DeletedServersClient) ListByLocation ¶
func (client DeletedServersClient) ListByLocation(ctx context.Context, locationName string) (result DeletedServerListResultPage, err error)
ListByLocation gets a list of deleted servers for a location. Parameters: locationName - the name of the region where the resource is located.
func (DeletedServersClient) ListByLocationComplete ¶
func (client DeletedServersClient) ListByLocationComplete(ctx context.Context, locationName string) (result DeletedServerListResultIterator, err error)
ListByLocationComplete enumerates all values, automatically crossing page boundaries as required.
func (DeletedServersClient) ListByLocationPreparer ¶
func (client DeletedServersClient) ListByLocationPreparer(ctx context.Context, locationName string) (*http.Request, error)
ListByLocationPreparer prepares the ListByLocation request.
func (DeletedServersClient) ListByLocationResponder ¶
func (client DeletedServersClient) ListByLocationResponder(resp *http.Response) (result DeletedServerListResult, err error)
ListByLocationResponder handles the response to the ListByLocation request. The method always closes the http.Response Body.
func (DeletedServersClient) ListByLocationSender ¶
ListByLocationSender sends the ListByLocation request. The method will close the http.Response Body if it receives an error.
func (DeletedServersClient) ListComplete ¶
func (client DeletedServersClient) ListComplete(ctx context.Context) (result DeletedServerListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (DeletedServersClient) ListPreparer ¶
ListPreparer prepares the List request.
func (DeletedServersClient) ListResponder ¶
func (client DeletedServersClient) ListResponder(resp *http.Response) (result DeletedServerListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (DeletedServersClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (DeletedServersClient) Recover ¶
func (client DeletedServersClient) Recover(ctx context.Context, locationName string, deletedServerName string) (result DeletedServersRecoverFuture, err error)
Recover recovers a deleted server. Parameters: locationName - the name of the region where the resource is located. deletedServerName - the name of the deleted server.
func (DeletedServersClient) RecoverPreparer ¶
func (client DeletedServersClient) RecoverPreparer(ctx context.Context, locationName string, deletedServerName string) (*http.Request, error)
RecoverPreparer prepares the Recover request.
func (DeletedServersClient) RecoverResponder ¶
func (client DeletedServersClient) RecoverResponder(resp *http.Response) (result DeletedServer, err error)
RecoverResponder handles the response to the Recover request. The method always closes the http.Response Body.
func (DeletedServersClient) RecoverSender ¶
func (client DeletedServersClient) RecoverSender(req *http.Request) (future DeletedServersRecoverFuture, err error)
RecoverSender sends the Recover request. The method will close the http.Response Body if it receives an error.
type DeletedServersRecoverFuture ¶
type DeletedServersRecoverFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DeletedServersClient) (DeletedServer, error) }
DeletedServersRecoverFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*DeletedServersRecoverFuture) UnmarshalJSON ¶
func (future *DeletedServersRecoverFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type EditionCapability ¶
type EditionCapability struct { // Name - READ-ONLY; The database edition name. Name *string `json:"name,omitempty"` // SupportedServiceLevelObjectives - READ-ONLY; The list of supported service objectives for the edition. SupportedServiceLevelObjectives *[]ServiceObjectiveCapability `json:"supportedServiceLevelObjectives,omitempty"` // ZoneRedundant - READ-ONLY; Whether or not zone redundancy is supported for the edition. ZoneRedundant *bool `json:"zoneRedundant,omitempty"` // ReadScale - READ-ONLY; The read scale capability for the edition. ReadScale *ReadScaleCapability `json:"readScale,omitempty"` // SupportedStorageCapabilities - READ-ONLY; The list of supported storage capabilities for this edition SupportedStorageCapabilities *[]StorageCapability `json:"supportedStorageCapabilities,omitempty"` // Status - READ-ONLY; The status of the capability. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // Reason - The reason for the capability not being available. Reason *string `json:"reason,omitempty"` }
EditionCapability the edition capability.
func (EditionCapability) MarshalJSON ¶
func (ec EditionCapability) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EditionCapability.
type ElasticPool ¶
type ElasticPool struct { autorest.Response `json:"-"` // Sku - The elastic pool SKU. // // The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or the following command: // // “`azurecli // az sql elastic-pool list-editions -l <location> -o table // ““ Sku *Sku `json:"sku,omitempty"` // Kind - READ-ONLY; Kind of elastic pool. This is metadata used for the Azure portal experience. Kind *string `json:"kind,omitempty"` // ElasticPoolProperties - Resource properties. *ElasticPoolProperties `json:"properties,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ElasticPool an elastic pool.
func (ElasticPool) MarshalJSON ¶
func (ep ElasticPool) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ElasticPool.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. elasticPoolName - 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 { // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` // ElasticPoolActivityProperties - The properties representing the resource. *ElasticPoolActivityProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ElasticPoolActivity represents the activity on an elastic pool.
func (ElasticPoolActivity) MarshalJSON ¶
func (epa ElasticPoolActivity) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ElasticPoolActivity.
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 - READ-ONLY; The time the operation finished (ISO8601 format). EndTime *date.Time `json:"endTime,omitempty"` // ErrorCode - READ-ONLY; The error code if available. ErrorCode *int32 `json:"errorCode,omitempty"` // ErrorMessage - READ-ONLY; The error message if available. ErrorMessage *string `json:"errorMessage,omitempty"` // ErrorSeverity - READ-ONLY; The error severity if available. ErrorSeverity *int32 `json:"errorSeverity,omitempty"` // Operation - READ-ONLY; The operation name. Operation *string `json:"operation,omitempty"` // OperationID - READ-ONLY; The unique operation ID. OperationID *uuid.UUID `json:"operationId,omitempty"` // PercentComplete - READ-ONLY; The percentage complete if available. PercentComplete *int32 `json:"percentComplete,omitempty"` // RequestedDatabaseDtuMax - READ-ONLY; The requested max DTU per database if available. RequestedDatabaseDtuMax *int32 `json:"requestedDatabaseDtuMax,omitempty"` // RequestedDatabaseDtuMin - READ-ONLY; The requested min DTU per database if available. RequestedDatabaseDtuMin *int32 `json:"requestedDatabaseDtuMin,omitempty"` // RequestedDtu - READ-ONLY; The requested DTU for the pool if available. RequestedDtu *int32 `json:"requestedDtu,omitempty"` // RequestedElasticPoolName - READ-ONLY; The requested name for the elastic pool if available. RequestedElasticPoolName *string `json:"requestedElasticPoolName,omitempty"` // RequestedStorageLimitInGB - READ-ONLY; The requested storage limit for the pool in GB if available. RequestedStorageLimitInGB *int64 `json:"requestedStorageLimitInGB,omitempty"` // ElasticPoolName - READ-ONLY; The name of the elastic pool. ElasticPoolName *string `json:"elasticPoolName,omitempty"` // ServerName - READ-ONLY; The name of the server the elastic pool is in. ServerName *string `json:"serverName,omitempty"` // StartTime - READ-ONLY; The time the operation started (ISO8601 format). StartTime *date.Time `json:"startTime,omitempty"` // State - READ-ONLY; The current state of the operation. State *string `json:"state,omitempty"` // RequestedStorageLimitInMB - READ-ONLY; The requested storage limit in MB. RequestedStorageLimitInMB *int32 `json:"requestedStorageLimitInMB,omitempty"` // RequestedDatabaseDtuGuarantee - READ-ONLY; The requested per database DTU guarantee. RequestedDatabaseDtuGuarantee *int32 `json:"requestedDatabaseDtuGuarantee,omitempty"` // RequestedDatabaseDtuCap - READ-ONLY; The requested per database DTU cap. RequestedDatabaseDtuCap *int32 `json:"requestedDatabaseDtuCap,omitempty"` // RequestedDtuGuarantee - READ-ONLY; The requested DTU guarantee. RequestedDtuGuarantee *int32 `json:"requestedDtuGuarantee,omitempty"` }
ElasticPoolActivityProperties represents the properties of an elastic pool.
func (ElasticPoolActivityProperties) MarshalJSON ¶
func (epap ElasticPoolActivityProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ElasticPoolActivityProperties.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. elasticPoolName - 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 { // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` // ElasticPoolDatabaseActivityProperties - The properties representing the resource. *ElasticPoolDatabaseActivityProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ElasticPoolDatabaseActivity represents the activity on an elastic pool.
func (ElasticPoolDatabaseActivity) MarshalJSON ¶
func (epda ElasticPoolDatabaseActivity) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ElasticPoolDatabaseActivity.
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 - READ-ONLY; The database name. DatabaseName *string `json:"databaseName,omitempty"` // EndTime - READ-ONLY; The time the operation finished (ISO8601 format). EndTime *date.Time `json:"endTime,omitempty"` // ErrorCode - READ-ONLY; The error code if available. ErrorCode *int32 `json:"errorCode,omitempty"` // ErrorMessage - READ-ONLY; The error message if available. ErrorMessage *string `json:"errorMessage,omitempty"` // ErrorSeverity - READ-ONLY; The error severity if available. ErrorSeverity *int32 `json:"errorSeverity,omitempty"` // Operation - READ-ONLY; The operation name. Operation *string `json:"operation,omitempty"` // OperationID - READ-ONLY; The unique operation ID. OperationID *uuid.UUID `json:"operationId,omitempty"` // PercentComplete - READ-ONLY; The percentage complete if available. PercentComplete *int32 `json:"percentComplete,omitempty"` // RequestedElasticPoolName - READ-ONLY; The name for the elastic pool the database is moving into if available. RequestedElasticPoolName *string `json:"requestedElasticPoolName,omitempty"` // CurrentElasticPoolName - READ-ONLY; The name of the current elastic pool the database is in if available. CurrentElasticPoolName *string `json:"currentElasticPoolName,omitempty"` // CurrentServiceObjective - READ-ONLY; The name of the current service objective if available. CurrentServiceObjective *string `json:"currentServiceObjective,omitempty"` // RequestedServiceObjective - READ-ONLY; The name of the requested service objective if available. RequestedServiceObjective *string `json:"requestedServiceObjective,omitempty"` // ServerName - READ-ONLY; The name of the server the elastic pool is in. ServerName *string `json:"serverName,omitempty"` // StartTime - READ-ONLY; The time the operation started (ISO8601 format). StartTime *date.Time `json:"startTime,omitempty"` // State - READ-ONLY; The current state of the operation. State *string `json:"state,omitempty"` }
ElasticPoolDatabaseActivityProperties represents the properties of an elastic pool database activity.
func (ElasticPoolDatabaseActivityProperties) MarshalJSON ¶
func (epdap ElasticPoolDatabaseActivityProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ElasticPoolDatabaseActivityProperties.
type ElasticPoolEditionCapability ¶
type ElasticPoolEditionCapability struct { // Name - READ-ONLY; The elastic pool edition name. Name *string `json:"name,omitempty"` // SupportedElasticPoolPerformanceLevels - READ-ONLY; The list of supported elastic pool DTU levels for the edition. SupportedElasticPoolPerformanceLevels *[]ElasticPoolPerformanceLevelCapability `json:"supportedElasticPoolPerformanceLevels,omitempty"` // ZoneRedundant - READ-ONLY; Whether or not zone redundancy is supported for the edition. ZoneRedundant *bool `json:"zoneRedundant,omitempty"` // Status - READ-ONLY; The status of the capability. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // Reason - The reason for the capability not being available. Reason *string `json:"reason,omitempty"` }
ElasticPoolEditionCapability the elastic pool edition capability.
func (ElasticPoolEditionCapability) MarshalJSON ¶
func (epec ElasticPoolEditionCapability) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ElasticPoolEditionCapability.
type ElasticPoolLicenseType ¶
type ElasticPoolLicenseType string
ElasticPoolLicenseType enumerates the values for elastic pool license type.
const ( // ElasticPoolLicenseTypeBasePrice ... ElasticPoolLicenseTypeBasePrice ElasticPoolLicenseType = "BasePrice" // ElasticPoolLicenseTypeLicenseIncluded ... ElasticPoolLicenseTypeLicenseIncluded ElasticPoolLicenseType = "LicenseIncluded" )
func PossibleElasticPoolLicenseTypeValues ¶
func PossibleElasticPoolLicenseTypeValues() []ElasticPoolLicenseType
PossibleElasticPoolLicenseTypeValues returns an array of possible values for the ElasticPoolLicenseType const type.
type ElasticPoolListResult ¶
type ElasticPoolListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ElasticPool `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ElasticPoolListResult the result of an elastic pool list request.
func (ElasticPoolListResult) IsEmpty ¶
func (eplr ElasticPoolListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ElasticPoolListResult) MarshalJSON ¶
func (eplr ElasticPoolListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ElasticPoolListResult.
type ElasticPoolListResultIterator ¶
type ElasticPoolListResultIterator struct {
// contains filtered or unexported fields
}
ElasticPoolListResultIterator provides access to a complete listing of ElasticPool values.
func NewElasticPoolListResultIterator ¶
func NewElasticPoolListResultIterator(page ElasticPoolListResultPage) ElasticPoolListResultIterator
Creates a new instance of the ElasticPoolListResultIterator type.
func (*ElasticPoolListResultIterator) Next ¶
func (iter *ElasticPoolListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ElasticPoolListResultIterator) NextWithContext ¶
func (iter *ElasticPoolListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ElasticPoolListResultIterator) NotDone ¶
func (iter ElasticPoolListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ElasticPoolListResultIterator) Response ¶
func (iter ElasticPoolListResultIterator) Response() ElasticPoolListResult
Response returns the raw server response from the last page request.
func (ElasticPoolListResultIterator) Value ¶
func (iter ElasticPoolListResultIterator) Value() ElasticPool
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ElasticPoolListResultPage ¶
type ElasticPoolListResultPage struct {
// contains filtered or unexported fields
}
ElasticPoolListResultPage contains a page of ElasticPool values.
func NewElasticPoolListResultPage ¶
func NewElasticPoolListResultPage(cur ElasticPoolListResult, getNextPage func(context.Context, ElasticPoolListResult) (ElasticPoolListResult, error)) ElasticPoolListResultPage
Creates a new instance of the ElasticPoolListResultPage type.
func (*ElasticPoolListResultPage) Next ¶
func (page *ElasticPoolListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ElasticPoolListResultPage) NextWithContext ¶
func (page *ElasticPoolListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ElasticPoolListResultPage) NotDone ¶
func (page ElasticPoolListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ElasticPoolListResultPage) Response ¶
func (page ElasticPoolListResultPage) Response() ElasticPoolListResult
Response returns the raw server response from the last page request.
func (ElasticPoolListResultPage) Values ¶
func (page ElasticPoolListResultPage) Values() []ElasticPool
Values returns the slice of values for the current page or nil if there are no values.
type ElasticPoolOperation ¶
type ElasticPoolOperation struct { // ElasticPoolOperationProperties - Resource properties. *ElasticPoolOperationProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ElasticPoolOperation a elastic pool operation.
func (ElasticPoolOperation) MarshalJSON ¶
func (epo ElasticPoolOperation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ElasticPoolOperation.
func (*ElasticPoolOperation) UnmarshalJSON ¶
func (epo *ElasticPoolOperation) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ElasticPoolOperation struct.
type ElasticPoolOperationListResult ¶
type ElasticPoolOperationListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ElasticPoolOperation `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ElasticPoolOperationListResult the response to a list elastic pool operations request
func (ElasticPoolOperationListResult) IsEmpty ¶
func (epolr ElasticPoolOperationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ElasticPoolOperationListResult) MarshalJSON ¶
func (epolr ElasticPoolOperationListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ElasticPoolOperationListResult.
type ElasticPoolOperationListResultIterator ¶
type ElasticPoolOperationListResultIterator struct {
// contains filtered or unexported fields
}
ElasticPoolOperationListResultIterator provides access to a complete listing of ElasticPoolOperation values.
func NewElasticPoolOperationListResultIterator ¶
func NewElasticPoolOperationListResultIterator(page ElasticPoolOperationListResultPage) ElasticPoolOperationListResultIterator
Creates a new instance of the ElasticPoolOperationListResultIterator type.
func (*ElasticPoolOperationListResultIterator) Next ¶
func (iter *ElasticPoolOperationListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ElasticPoolOperationListResultIterator) NextWithContext ¶
func (iter *ElasticPoolOperationListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ElasticPoolOperationListResultIterator) NotDone ¶
func (iter ElasticPoolOperationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ElasticPoolOperationListResultIterator) Response ¶
func (iter ElasticPoolOperationListResultIterator) Response() ElasticPoolOperationListResult
Response returns the raw server response from the last page request.
func (ElasticPoolOperationListResultIterator) Value ¶
func (iter ElasticPoolOperationListResultIterator) Value() ElasticPoolOperation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ElasticPoolOperationListResultPage ¶
type ElasticPoolOperationListResultPage struct {
// contains filtered or unexported fields
}
ElasticPoolOperationListResultPage contains a page of ElasticPoolOperation values.
func NewElasticPoolOperationListResultPage ¶
func NewElasticPoolOperationListResultPage(cur ElasticPoolOperationListResult, getNextPage func(context.Context, ElasticPoolOperationListResult) (ElasticPoolOperationListResult, error)) ElasticPoolOperationListResultPage
Creates a new instance of the ElasticPoolOperationListResultPage type.
func (*ElasticPoolOperationListResultPage) Next ¶
func (page *ElasticPoolOperationListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ElasticPoolOperationListResultPage) NextWithContext ¶
func (page *ElasticPoolOperationListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ElasticPoolOperationListResultPage) NotDone ¶
func (page ElasticPoolOperationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ElasticPoolOperationListResultPage) Response ¶
func (page ElasticPoolOperationListResultPage) Response() ElasticPoolOperationListResult
Response returns the raw server response from the last page request.
func (ElasticPoolOperationListResultPage) Values ¶
func (page ElasticPoolOperationListResultPage) Values() []ElasticPoolOperation
Values returns the slice of values for the current page or nil if there are no values.
type ElasticPoolOperationProperties ¶
type ElasticPoolOperationProperties struct { // ElasticPoolName - READ-ONLY; The name of the elastic pool the operation is being performed on. ElasticPoolName *string `json:"elasticPoolName,omitempty"` // Operation - READ-ONLY; The name of operation. Operation *string `json:"operation,omitempty"` // OperationFriendlyName - READ-ONLY; The friendly name of operation. OperationFriendlyName *string `json:"operationFriendlyName,omitempty"` // PercentComplete - READ-ONLY; The percentage of the operation completed. PercentComplete *int32 `json:"percentComplete,omitempty"` // ServerName - READ-ONLY; The name of the server. ServerName *string `json:"serverName,omitempty"` // StartTime - READ-ONLY; The operation start time. StartTime *date.Time `json:"startTime,omitempty"` // State - READ-ONLY; The operation state. State *string `json:"state,omitempty"` // ErrorCode - READ-ONLY; The operation error code. ErrorCode *int32 `json:"errorCode,omitempty"` // ErrorDescription - READ-ONLY; The operation error description. ErrorDescription *string `json:"errorDescription,omitempty"` // ErrorSeverity - READ-ONLY; The operation error severity. ErrorSeverity *int32 `json:"errorSeverity,omitempty"` // IsUserError - READ-ONLY; Whether or not the error is a user error. IsUserError *bool `json:"isUserError,omitempty"` // EstimatedCompletionTime - READ-ONLY; The estimated completion time of the operation. EstimatedCompletionTime *date.Time `json:"estimatedCompletionTime,omitempty"` // Description - READ-ONLY; The operation description. Description *string `json:"description,omitempty"` // IsCancellable - READ-ONLY; Whether the operation can be cancelled. IsCancellable *bool `json:"isCancellable,omitempty"` }
ElasticPoolOperationProperties the properties of a elastic pool operation.
func (ElasticPoolOperationProperties) MarshalJSON ¶
func (epop ElasticPoolOperationProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ElasticPoolOperationProperties.
type ElasticPoolOperationsClient ¶
type ElasticPoolOperationsClient struct {
BaseClient
}
ElasticPoolOperationsClient 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 NewElasticPoolOperationsClient ¶
func NewElasticPoolOperationsClient(subscriptionID string) ElasticPoolOperationsClient
NewElasticPoolOperationsClient creates an instance of the ElasticPoolOperationsClient client.
func NewElasticPoolOperationsClientWithBaseURI ¶
func NewElasticPoolOperationsClientWithBaseURI(baseURI string, subscriptionID string) ElasticPoolOperationsClient
NewElasticPoolOperationsClientWithBaseURI creates an instance of the ElasticPoolOperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ElasticPoolOperationsClient) Cancel ¶
func (client ElasticPoolOperationsClient) Cancel(ctx context.Context, resourceGroupName string, serverName string, elasticPoolName string, operationID uuid.UUID) (result autorest.Response, err error)
Cancel cancels the asynchronous operation on the elastic pool. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. operationID - the operation identifier.
func (ElasticPoolOperationsClient) CancelPreparer ¶
func (client ElasticPoolOperationsClient) CancelPreparer(ctx context.Context, resourceGroupName string, serverName string, elasticPoolName string, operationID uuid.UUID) (*http.Request, error)
CancelPreparer prepares the Cancel request.
func (ElasticPoolOperationsClient) CancelResponder ¶
func (client ElasticPoolOperationsClient) 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 (ElasticPoolOperationsClient) CancelSender ¶
CancelSender sends the Cancel request. The method will close the http.Response Body if it receives an error.
func (ElasticPoolOperationsClient) ListByElasticPool ¶
func (client ElasticPoolOperationsClient) ListByElasticPool(ctx context.Context, resourceGroupName string, serverName string, elasticPoolName string) (result ElasticPoolOperationListResultPage, err error)
ListByElasticPool gets a list of operations performed on the elastic pool. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (ElasticPoolOperationsClient) ListByElasticPoolComplete ¶
func (client ElasticPoolOperationsClient) ListByElasticPoolComplete(ctx context.Context, resourceGroupName string, serverName string, elasticPoolName string) (result ElasticPoolOperationListResultIterator, err error)
ListByElasticPoolComplete enumerates all values, automatically crossing page boundaries as required.
func (ElasticPoolOperationsClient) ListByElasticPoolPreparer ¶
func (client ElasticPoolOperationsClient) ListByElasticPoolPreparer(ctx context.Context, resourceGroupName string, serverName string, elasticPoolName string) (*http.Request, error)
ListByElasticPoolPreparer prepares the ListByElasticPool request.
func (ElasticPoolOperationsClient) ListByElasticPoolResponder ¶
func (client ElasticPoolOperationsClient) ListByElasticPoolResponder(resp *http.Response) (result ElasticPoolOperationListResult, err error)
ListByElasticPoolResponder handles the response to the ListByElasticPool request. The method always closes the http.Response Body.
func (ElasticPoolOperationsClient) ListByElasticPoolSender ¶
func (client ElasticPoolOperationsClient) 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 ElasticPoolPerDatabaseMaxPerformanceLevelCapability ¶
type ElasticPoolPerDatabaseMaxPerformanceLevelCapability struct { // Limit - READ-ONLY; The maximum performance level per database. Limit *float64 `json:"limit,omitempty"` // Unit - READ-ONLY; Unit type used to measure performance level. Possible values include: 'PerformanceLevelUnitDTU', 'PerformanceLevelUnitVCores' Unit PerformanceLevelUnit `json:"unit,omitempty"` // SupportedPerDatabaseMinPerformanceLevels - READ-ONLY; The list of supported min database performance levels. SupportedPerDatabaseMinPerformanceLevels *[]ElasticPoolPerDatabaseMinPerformanceLevelCapability `json:"supportedPerDatabaseMinPerformanceLevels,omitempty"` // Status - READ-ONLY; The status of the capability. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // Reason - The reason for the capability not being available. Reason *string `json:"reason,omitempty"` }
ElasticPoolPerDatabaseMaxPerformanceLevelCapability the max per-database performance level capability.
func (ElasticPoolPerDatabaseMaxPerformanceLevelCapability) MarshalJSON ¶
func (eppdmplc ElasticPoolPerDatabaseMaxPerformanceLevelCapability) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ElasticPoolPerDatabaseMaxPerformanceLevelCapability.
type ElasticPoolPerDatabaseMinPerformanceLevelCapability ¶
type ElasticPoolPerDatabaseMinPerformanceLevelCapability struct { // Limit - READ-ONLY; The minimum performance level per database. Limit *float64 `json:"limit,omitempty"` // Unit - READ-ONLY; Unit type used to measure performance level. Possible values include: 'PerformanceLevelUnitDTU', 'PerformanceLevelUnitVCores' Unit PerformanceLevelUnit `json:"unit,omitempty"` // Status - READ-ONLY; The status of the capability. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // Reason - The reason for the capability not being available. Reason *string `json:"reason,omitempty"` }
ElasticPoolPerDatabaseMinPerformanceLevelCapability the minimum per-database performance level capability.
func (ElasticPoolPerDatabaseMinPerformanceLevelCapability) MarshalJSON ¶
func (eppdmplc ElasticPoolPerDatabaseMinPerformanceLevelCapability) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ElasticPoolPerDatabaseMinPerformanceLevelCapability.
type ElasticPoolPerDatabaseSettings ¶
type ElasticPoolPerDatabaseSettings struct { // MinCapacity - The minimum capacity all databases are guaranteed. MinCapacity *float64 `json:"minCapacity,omitempty"` // MaxCapacity - The maximum capacity any one database can consume. MaxCapacity *float64 `json:"maxCapacity,omitempty"` }
ElasticPoolPerDatabaseSettings per database settings of an elastic pool.
type ElasticPoolPerformanceLevelCapability ¶
type ElasticPoolPerformanceLevelCapability struct { // PerformanceLevel - READ-ONLY; The performance level for the pool. PerformanceLevel *PerformanceLevelCapability `json:"performanceLevel,omitempty"` // Sku - READ-ONLY; The sku. Sku *Sku `json:"sku,omitempty"` // SupportedLicenseTypes - READ-ONLY; List of supported license types. SupportedLicenseTypes *[]LicenseTypeCapability `json:"supportedLicenseTypes,omitempty"` // MaxDatabaseCount - READ-ONLY; The maximum number of databases supported. MaxDatabaseCount *int32 `json:"maxDatabaseCount,omitempty"` // IncludedMaxSize - READ-ONLY; The included (free) max size for this performance level. IncludedMaxSize *MaxSizeCapability `json:"includedMaxSize,omitempty"` // SupportedMaxSizes - READ-ONLY; The list of supported max sizes. SupportedMaxSizes *[]MaxSizeRangeCapability `json:"supportedMaxSizes,omitempty"` // SupportedPerDatabaseMaxSizes - READ-ONLY; The list of supported per database max sizes. SupportedPerDatabaseMaxSizes *[]MaxSizeRangeCapability `json:"supportedPerDatabaseMaxSizes,omitempty"` // SupportedPerDatabaseMaxPerformanceLevels - READ-ONLY; The list of supported per database max performance levels. SupportedPerDatabaseMaxPerformanceLevels *[]ElasticPoolPerDatabaseMaxPerformanceLevelCapability `json:"supportedPerDatabaseMaxPerformanceLevels,omitempty"` // ZoneRedundant - READ-ONLY; Whether or not zone redundancy is supported for the performance level. ZoneRedundant *bool `json:"zoneRedundant,omitempty"` // SupportedMaintenanceConfigurations - READ-ONLY; List of supported maintenance configurations SupportedMaintenanceConfigurations *[]MaintenanceConfigurationCapability `json:"supportedMaintenanceConfigurations,omitempty"` // Status - READ-ONLY; The status of the capability. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // Reason - The reason for the capability not being available. Reason *string `json:"reason,omitempty"` }
ElasticPoolPerformanceLevelCapability the Elastic Pool performance level capability.
func (ElasticPoolPerformanceLevelCapability) MarshalJSON ¶
func (epplc ElasticPoolPerformanceLevelCapability) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ElasticPoolPerformanceLevelCapability.
type ElasticPoolProperties ¶
type ElasticPoolProperties struct { // State - READ-ONLY; The state of the elastic pool. Possible values include: 'ElasticPoolStateCreating', 'ElasticPoolStateReady', 'ElasticPoolStateDisabled' State ElasticPoolState `json:"state,omitempty"` // CreationDate - READ-ONLY; The creation date of the elastic pool (ISO8601 format). CreationDate *date.Time `json:"creationDate,omitempty"` // MaxSizeBytes - The storage limit for the database elastic pool in bytes. MaxSizeBytes *int64 `json:"maxSizeBytes,omitempty"` // PerDatabaseSettings - The per database settings for the elastic pool. PerDatabaseSettings *ElasticPoolPerDatabaseSettings `json:"perDatabaseSettings,omitempty"` // ZoneRedundant - Whether or not this elastic pool is zone redundant, which means the replicas of this elastic pool will be spread across multiple availability zones. ZoneRedundant *bool `json:"zoneRedundant,omitempty"` // LicenseType - The license type to apply for this elastic pool. Possible values include: 'ElasticPoolLicenseTypeLicenseIncluded', 'ElasticPoolLicenseTypeBasePrice' LicenseType ElasticPoolLicenseType `json:"licenseType,omitempty"` // MaintenanceConfigurationID - Maintenance configuration id assigned to the elastic pool. This configuration defines the period when the maintenance updates will will occur. MaintenanceConfigurationID *string `json:"maintenanceConfigurationId,omitempty"` }
ElasticPoolProperties properties of an elastic pool
func (ElasticPoolProperties) MarshalJSON ¶
func (epp ElasticPoolProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ElasticPoolProperties.
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" )
func PossibleElasticPoolStateValues ¶
func PossibleElasticPoolStateValues() []ElasticPoolState
PossibleElasticPoolStateValues returns an array of possible values for the ElasticPoolState const type.
type ElasticPoolUpdate ¶
type ElasticPoolUpdate struct { Sku *Sku `json:"sku,omitempty"` // ElasticPoolUpdateProperties - Resource properties. *ElasticPoolUpdateProperties `json:"properties,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
ElasticPoolUpdate an elastic pool update.
func (ElasticPoolUpdate) MarshalJSON ¶
func (epu ElasticPoolUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ElasticPoolUpdate.
func (*ElasticPoolUpdate) UnmarshalJSON ¶
func (epu *ElasticPoolUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ElasticPoolUpdate struct.
type ElasticPoolUpdateProperties ¶
type ElasticPoolUpdateProperties struct { // MaxSizeBytes - The storage limit for the database elastic pool in bytes. MaxSizeBytes *int64 `json:"maxSizeBytes,omitempty"` // PerDatabaseSettings - The per database settings for the elastic pool. PerDatabaseSettings *ElasticPoolPerDatabaseSettings `json:"perDatabaseSettings,omitempty"` // ZoneRedundant - Whether or not this elastic pool is zone redundant, which means the replicas of this elastic pool will be spread across multiple availability zones. ZoneRedundant *bool `json:"zoneRedundant,omitempty"` // LicenseType - The license type to apply for this elastic pool. Possible values include: 'ElasticPoolLicenseTypeLicenseIncluded', 'ElasticPoolLicenseTypeBasePrice' LicenseType ElasticPoolLicenseType `json:"licenseType,omitempty"` // MaintenanceConfigurationID - Maintenance configuration id assigned to the elastic pool. This configuration defines the period when the maintenance updates will will occur. MaintenanceConfigurationID *string `json:"maintenanceConfigurationId,omitempty"` }
ElasticPoolUpdateProperties properties of an elastic pool
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ElasticPoolsClient) CreateOrUpdate ¶
func (client ElasticPoolsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, elasticPoolName string, parameters ElasticPool) (result ElasticPoolsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates an elastic pool. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. elasticPoolName - the name of the elastic pool. parameters - the elastic pool parameters.
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 ElasticPoolsDeleteFuture, err error)
Delete deletes an elastic pool. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. elasticPoolName - the name of the elastic pool.
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 ¶
func (client ElasticPoolsClient) DeleteSender(req *http.Request) (future ElasticPoolsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ElasticPoolsClient) Failover ¶
func (client ElasticPoolsClient) Failover(ctx context.Context, resourceGroupName string, serverName string, elasticPoolName string) (result ElasticPoolsFailoverFuture, err error)
Failover failovers an elastic pool. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. elasticPoolName - the name of the elastic pool to failover.
func (ElasticPoolsClient) FailoverPreparer ¶
func (client ElasticPoolsClient) FailoverPreparer(ctx context.Context, resourceGroupName string, serverName string, elasticPoolName string) (*http.Request, error)
FailoverPreparer prepares the Failover request.
func (ElasticPoolsClient) FailoverResponder ¶
func (client ElasticPoolsClient) 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 (ElasticPoolsClient) FailoverSender ¶
func (client ElasticPoolsClient) FailoverSender(req *http.Request) (future ElasticPoolsFailoverFuture, err error)
FailoverSender sends the Failover 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. elasticPoolName - the name of the elastic pool.
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, skip *int32) (result ElasticPoolListResultPage, err error)
ListByServer gets all elastic pools in a server. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. skip - the number of elements in the collection to skip.
func (ElasticPoolsClient) ListByServerComplete ¶
func (client ElasticPoolsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string, skip *int32) (result ElasticPoolListResultIterator, err error)
ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
func (ElasticPoolsClient) ListByServerPreparer ¶
func (client ElasticPoolsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string, skip *int32) (*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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. elasticPoolName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. elasticPoolName - the name of the elastic pool. filter - 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 elastic pool. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. elasticPoolName - the name of the elastic pool. parameters - the elastic pool update parameters.
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.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ElasticPoolsClient) (ElasticPool, error) }
ElasticPoolsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ElasticPoolsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *ElasticPoolsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ElasticPoolsDeleteFuture ¶
type ElasticPoolsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ElasticPoolsClient) (autorest.Response, error) }
ElasticPoolsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ElasticPoolsDeleteFuture) UnmarshalJSON ¶
func (future *ElasticPoolsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ElasticPoolsFailoverFuture ¶
type ElasticPoolsFailoverFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ElasticPoolsClient) (autorest.Response, error) }
ElasticPoolsFailoverFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ElasticPoolsFailoverFuture) UnmarshalJSON ¶
func (future *ElasticPoolsFailoverFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ElasticPoolsUpdateFuture ¶
type ElasticPoolsUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ElasticPoolsClient) (ElasticPool, error) }
ElasticPoolsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ElasticPoolsUpdateFuture) UnmarshalJSON ¶
func (future *ElasticPoolsUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type EncryptionProtector ¶
type EncryptionProtector struct { autorest.Response `json:"-"` // Kind - READ-ONLY; Kind of encryption protector. This is metadata used for the Azure portal experience. Kind *string `json:"kind,omitempty"` // Location - READ-ONLY; Resource location. Location *string `json:"location,omitempty"` // EncryptionProtectorProperties - Resource properties. *EncryptionProtectorProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
EncryptionProtector the server encryption protector.
func (EncryptionProtector) MarshalJSON ¶
func (ep EncryptionProtector) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EncryptionProtector.
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 - READ-ONLY; Array of results. Value *[]EncryptionProtector `json:"value,omitempty"` // NextLink - READ-ONLY; 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.
func (EncryptionProtectorListResult) MarshalJSON ¶
func (eplr EncryptionProtectorListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EncryptionProtectorListResult.
type EncryptionProtectorListResultIterator ¶
type EncryptionProtectorListResultIterator struct {
// contains filtered or unexported fields
}
EncryptionProtectorListResultIterator provides access to a complete listing of EncryptionProtector values.
func NewEncryptionProtectorListResultIterator ¶
func NewEncryptionProtectorListResultIterator(page EncryptionProtectorListResultPage) EncryptionProtectorListResultIterator
Creates a new instance of the EncryptionProtectorListResultIterator type.
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. Deprecated: Use NextWithContext() instead.
func (*EncryptionProtectorListResultIterator) NextWithContext ¶
func (iter *EncryptionProtectorListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (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 NewEncryptionProtectorListResultPage ¶
func NewEncryptionProtectorListResultPage(cur EncryptionProtectorListResult, getNextPage func(context.Context, EncryptionProtectorListResult) (EncryptionProtectorListResult, error)) EncryptionProtectorListResultPage
Creates a new instance of the EncryptionProtectorListResultPage type.
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. Deprecated: Use NextWithContext() instead.
func (*EncryptionProtectorListResultPage) NextWithContext ¶
func (page *EncryptionProtectorListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (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 - READ-ONLY; 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: 'ServerKeyTypeServiceManaged', 'ServerKeyTypeAzureKeyVault' ServerKeyType ServerKeyType `json:"serverKeyType,omitempty"` // URI - READ-ONLY; The URI of the server key. URI *string `json:"uri,omitempty"` // Thumbprint - READ-ONLY; Thumbprint of the server key. Thumbprint *string `json:"thumbprint,omitempty"` // AutoRotationEnabled - Key auto rotation opt-in flag. Either true or false. AutoRotationEnabled *bool `json:"autoRotationEnabled,omitempty"` }
EncryptionProtectorProperties properties for an encryption protector execution.
func (EncryptionProtectorProperties) MarshalJSON ¶
func (epp EncryptionProtectorProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EncryptionProtectorProperties.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (EncryptionProtectorsClient) CreateOrUpdate ¶
func (client EncryptionProtectorsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, parameters EncryptionProtector) (result EncryptionProtectorsCreateOrUpdateFuture, err error)
CreateOrUpdate updates an existing encryption protector. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. parameters - the requested encryption protector resource state.
func (EncryptionProtectorsClient) CreateOrUpdatePreparer ¶
func (client EncryptionProtectorsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName 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) (result EncryptionProtector, err error)
Get gets a server encryption protector. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (EncryptionProtectorsClient) GetPreparer ¶
func (client EncryptionProtectorsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName 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 Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - 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.
func (EncryptionProtectorsClient) Revalidate ¶
func (client EncryptionProtectorsClient) Revalidate(ctx context.Context, resourceGroupName string, serverName string) (result EncryptionProtectorsRevalidateFuture, err error)
Revalidate revalidates an existing encryption protector. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (EncryptionProtectorsClient) RevalidatePreparer ¶
func (client EncryptionProtectorsClient) RevalidatePreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
RevalidatePreparer prepares the Revalidate request.
func (EncryptionProtectorsClient) RevalidateResponder ¶
func (client EncryptionProtectorsClient) RevalidateResponder(resp *http.Response) (result autorest.Response, err error)
RevalidateResponder handles the response to the Revalidate request. The method always closes the http.Response Body.
func (EncryptionProtectorsClient) RevalidateSender ¶
func (client EncryptionProtectorsClient) RevalidateSender(req *http.Request) (future EncryptionProtectorsRevalidateFuture, err error)
RevalidateSender sends the Revalidate request. The method will close the http.Response Body if it receives an error.
type EncryptionProtectorsCreateOrUpdateFuture ¶
type EncryptionProtectorsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(EncryptionProtectorsClient) (EncryptionProtector, error) }
EncryptionProtectorsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*EncryptionProtectorsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *EncryptionProtectorsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type EncryptionProtectorsRevalidateFuture ¶
type EncryptionProtectorsRevalidateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(EncryptionProtectorsClient) (autorest.Response, error) }
EncryptionProtectorsRevalidateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*EncryptionProtectorsRevalidateFuture) UnmarshalJSON ¶
func (future *EncryptionProtectorsRevalidateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ExportDatabaseDefinition ¶
type ExportDatabaseDefinition struct { // StorageKeyType - Storage key type. Possible values include: 'StorageKeyTypeSharedAccessKey', 'StorageKeyTypeStorageAccessKey' StorageKeyType StorageKeyType `json:"storageKeyType,omitempty"` // StorageKey - Storage key. StorageKey *string `json:"storageKey,omitempty"` // StorageURI - Storage Uri. StorageURI *string `json:"storageUri,omitempty"` // AdministratorLogin - Administrator login name. AdministratorLogin *string `json:"administratorLogin,omitempty"` // AdministratorLoginPassword - Administrator login password. AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` // AuthenticationType - Authentication type. AuthenticationType *string `json:"authenticationType,omitempty"` // NetworkIsolation - Optional resource information to enable network isolation for request. NetworkIsolation *NetworkIsolationSettings `json:"networkIsolation,omitempty"` }
ExportDatabaseDefinition contains the information necessary to perform export database operation.
type ExtendedDatabaseBlobAuditingPoliciesClient ¶
type ExtendedDatabaseBlobAuditingPoliciesClient struct {
BaseClient
}
ExtendedDatabaseBlobAuditingPoliciesClient 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 NewExtendedDatabaseBlobAuditingPoliciesClient ¶
func NewExtendedDatabaseBlobAuditingPoliciesClient(subscriptionID string) ExtendedDatabaseBlobAuditingPoliciesClient
NewExtendedDatabaseBlobAuditingPoliciesClient creates an instance of the ExtendedDatabaseBlobAuditingPoliciesClient client.
func NewExtendedDatabaseBlobAuditingPoliciesClientWithBaseURI ¶
func NewExtendedDatabaseBlobAuditingPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ExtendedDatabaseBlobAuditingPoliciesClient
NewExtendedDatabaseBlobAuditingPoliciesClientWithBaseURI creates an instance of the ExtendedDatabaseBlobAuditingPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ExtendedDatabaseBlobAuditingPoliciesClient) CreateOrUpdate ¶
func (client ExtendedDatabaseBlobAuditingPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters ExtendedDatabaseBlobAuditingPolicy) (result ExtendedDatabaseBlobAuditingPolicy, err error)
CreateOrUpdate creates or updates an extended database's blob auditing policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. parameters - the extended database blob auditing policy.
func (ExtendedDatabaseBlobAuditingPoliciesClient) CreateOrUpdatePreparer ¶
func (client ExtendedDatabaseBlobAuditingPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters ExtendedDatabaseBlobAuditingPolicy) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ExtendedDatabaseBlobAuditingPoliciesClient) CreateOrUpdateResponder ¶
func (client ExtendedDatabaseBlobAuditingPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ExtendedDatabaseBlobAuditingPolicy, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ExtendedDatabaseBlobAuditingPoliciesClient) CreateOrUpdateSender ¶
func (client ExtendedDatabaseBlobAuditingPoliciesClient) 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 (ExtendedDatabaseBlobAuditingPoliciesClient) Get ¶
func (client ExtendedDatabaseBlobAuditingPoliciesClient) Get(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result ExtendedDatabaseBlobAuditingPolicy, err error)
Get gets an extended database's blob auditing policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (ExtendedDatabaseBlobAuditingPoliciesClient) GetPreparer ¶
func (client ExtendedDatabaseBlobAuditingPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ExtendedDatabaseBlobAuditingPoliciesClient) GetResponder ¶
func (client ExtendedDatabaseBlobAuditingPoliciesClient) GetResponder(resp *http.Response) (result ExtendedDatabaseBlobAuditingPolicy, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ExtendedDatabaseBlobAuditingPoliciesClient) GetSender ¶
func (client ExtendedDatabaseBlobAuditingPoliciesClient) 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 (ExtendedDatabaseBlobAuditingPoliciesClient) ListByDatabase ¶
func (client ExtendedDatabaseBlobAuditingPoliciesClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result ExtendedDatabaseBlobAuditingPolicyListResultPage, err error)
ListByDatabase lists extended auditing settings of a database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (ExtendedDatabaseBlobAuditingPoliciesClient) ListByDatabaseComplete ¶
func (client ExtendedDatabaseBlobAuditingPoliciesClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result ExtendedDatabaseBlobAuditingPolicyListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (ExtendedDatabaseBlobAuditingPoliciesClient) ListByDatabasePreparer ¶
func (client ExtendedDatabaseBlobAuditingPoliciesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (ExtendedDatabaseBlobAuditingPoliciesClient) ListByDatabaseResponder ¶
func (client ExtendedDatabaseBlobAuditingPoliciesClient) ListByDatabaseResponder(resp *http.Response) (result ExtendedDatabaseBlobAuditingPolicyListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (ExtendedDatabaseBlobAuditingPoliciesClient) ListByDatabaseSender ¶
func (client ExtendedDatabaseBlobAuditingPoliciesClient) 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 ExtendedDatabaseBlobAuditingPolicy ¶
type ExtendedDatabaseBlobAuditingPolicy struct { autorest.Response `json:"-"` // ExtendedDatabaseBlobAuditingPolicyProperties - Resource properties. *ExtendedDatabaseBlobAuditingPolicyProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ExtendedDatabaseBlobAuditingPolicy an extended database blob auditing policy.
func (ExtendedDatabaseBlobAuditingPolicy) MarshalJSON ¶
func (edbap ExtendedDatabaseBlobAuditingPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExtendedDatabaseBlobAuditingPolicy.
func (*ExtendedDatabaseBlobAuditingPolicy) UnmarshalJSON ¶
func (edbap *ExtendedDatabaseBlobAuditingPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ExtendedDatabaseBlobAuditingPolicy struct.
type ExtendedDatabaseBlobAuditingPolicyListResult ¶
type ExtendedDatabaseBlobAuditingPolicyListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ExtendedDatabaseBlobAuditingPolicy `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ExtendedDatabaseBlobAuditingPolicyListResult a list of database extended auditing settings.
func (ExtendedDatabaseBlobAuditingPolicyListResult) IsEmpty ¶
func (edbaplr ExtendedDatabaseBlobAuditingPolicyListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ExtendedDatabaseBlobAuditingPolicyListResult) MarshalJSON ¶
func (edbaplr ExtendedDatabaseBlobAuditingPolicyListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExtendedDatabaseBlobAuditingPolicyListResult.
type ExtendedDatabaseBlobAuditingPolicyListResultIterator ¶
type ExtendedDatabaseBlobAuditingPolicyListResultIterator struct {
// contains filtered or unexported fields
}
ExtendedDatabaseBlobAuditingPolicyListResultIterator provides access to a complete listing of ExtendedDatabaseBlobAuditingPolicy values.
func NewExtendedDatabaseBlobAuditingPolicyListResultIterator ¶
func NewExtendedDatabaseBlobAuditingPolicyListResultIterator(page ExtendedDatabaseBlobAuditingPolicyListResultPage) ExtendedDatabaseBlobAuditingPolicyListResultIterator
Creates a new instance of the ExtendedDatabaseBlobAuditingPolicyListResultIterator type.
func (*ExtendedDatabaseBlobAuditingPolicyListResultIterator) Next ¶
func (iter *ExtendedDatabaseBlobAuditingPolicyListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ExtendedDatabaseBlobAuditingPolicyListResultIterator) NextWithContext ¶
func (iter *ExtendedDatabaseBlobAuditingPolicyListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ExtendedDatabaseBlobAuditingPolicyListResultIterator) NotDone ¶
func (iter ExtendedDatabaseBlobAuditingPolicyListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ExtendedDatabaseBlobAuditingPolicyListResultIterator) Response ¶
func (iter ExtendedDatabaseBlobAuditingPolicyListResultIterator) Response() ExtendedDatabaseBlobAuditingPolicyListResult
Response returns the raw server response from the last page request.
func (ExtendedDatabaseBlobAuditingPolicyListResultIterator) Value ¶
func (iter ExtendedDatabaseBlobAuditingPolicyListResultIterator) Value() ExtendedDatabaseBlobAuditingPolicy
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ExtendedDatabaseBlobAuditingPolicyListResultPage ¶
type ExtendedDatabaseBlobAuditingPolicyListResultPage struct {
// contains filtered or unexported fields
}
ExtendedDatabaseBlobAuditingPolicyListResultPage contains a page of ExtendedDatabaseBlobAuditingPolicy values.
func NewExtendedDatabaseBlobAuditingPolicyListResultPage ¶
func NewExtendedDatabaseBlobAuditingPolicyListResultPage(cur ExtendedDatabaseBlobAuditingPolicyListResult, getNextPage func(context.Context, ExtendedDatabaseBlobAuditingPolicyListResult) (ExtendedDatabaseBlobAuditingPolicyListResult, error)) ExtendedDatabaseBlobAuditingPolicyListResultPage
Creates a new instance of the ExtendedDatabaseBlobAuditingPolicyListResultPage type.
func (*ExtendedDatabaseBlobAuditingPolicyListResultPage) Next ¶
func (page *ExtendedDatabaseBlobAuditingPolicyListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ExtendedDatabaseBlobAuditingPolicyListResultPage) NextWithContext ¶
func (page *ExtendedDatabaseBlobAuditingPolicyListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ExtendedDatabaseBlobAuditingPolicyListResultPage) NotDone ¶
func (page ExtendedDatabaseBlobAuditingPolicyListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ExtendedDatabaseBlobAuditingPolicyListResultPage) Response ¶
func (page ExtendedDatabaseBlobAuditingPolicyListResultPage) Response() ExtendedDatabaseBlobAuditingPolicyListResult
Response returns the raw server response from the last page request.
func (ExtendedDatabaseBlobAuditingPolicyListResultPage) Values ¶
func (page ExtendedDatabaseBlobAuditingPolicyListResultPage) Values() []ExtendedDatabaseBlobAuditingPolicy
Values returns the slice of values for the current page or nil if there are no values.
type ExtendedDatabaseBlobAuditingPolicyProperties ¶
type ExtendedDatabaseBlobAuditingPolicyProperties struct { // PredicateExpression - Specifies condition of where clause when creating an audit. PredicateExpression *string `json:"predicateExpression,omitempty"` // RetentionDays - Specifies the number of days to keep in the audit logs in the storage account. RetentionDays *int32 `json:"retentionDays,omitempty"` // AuditActionsAndGroups - Specifies the Actions-Groups and Actions to audit. // // The recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins: // // BATCH_COMPLETED_GROUP, // SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP, // FAILED_DATABASE_AUTHENTICATION_GROUP. // // This above combination is also the set that is configured by default when enabling auditing from the Azure portal. // // The supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records): // // APPLICATION_ROLE_CHANGE_PASSWORD_GROUP // BACKUP_RESTORE_GROUP // DATABASE_LOGOUT_GROUP // DATABASE_OBJECT_CHANGE_GROUP // DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP // DATABASE_OBJECT_PERMISSION_CHANGE_GROUP // DATABASE_OPERATION_GROUP // DATABASE_PERMISSION_CHANGE_GROUP // DATABASE_PRINCIPAL_CHANGE_GROUP // DATABASE_PRINCIPAL_IMPERSONATION_GROUP // DATABASE_ROLE_MEMBER_CHANGE_GROUP // FAILED_DATABASE_AUTHENTICATION_GROUP // SCHEMA_OBJECT_ACCESS_GROUP // SCHEMA_OBJECT_CHANGE_GROUP // SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP // SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP // SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP // USER_CHANGE_PASSWORD_GROUP // BATCH_STARTED_GROUP // BATCH_COMPLETED_GROUP // // These are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs. // // For more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups). // // For Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are: // SELECT // UPDATE // INSERT // DELETE // EXECUTE // RECEIVE // REFERENCES // // The general form for defining an action to be audited is: // {action} ON {object} BY {principal} // // Note that <object> in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively. // // For example: // SELECT on dbo.myTable by public // SELECT on DATABASE::myDatabase by public // SELECT on SCHEMA::mySchema by public // // For more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions) AuditActionsAndGroups *[]string `json:"auditActionsAndGroups,omitempty"` // IsStorageSecondaryKeyInUse - Specifies whether storageAccountAccessKey value is the storage's secondary key. IsStorageSecondaryKeyInUse *bool `json:"isStorageSecondaryKeyInUse,omitempty"` // IsAzureMonitorTargetEnabled - Specifies whether audit events are sent to Azure Monitor. // In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true. // // When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created. // Note that for server level audit you should use the 'master' database as {databaseName}. // // Diagnostic Settings URI format: // PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview // // For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207) // or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) IsAzureMonitorTargetEnabled *bool `json:"isAzureMonitorTargetEnabled,omitempty"` // QueueDelayMs - Specifies the amount of time in milliseconds that can elapse before audit actions are forced to be processed. // The default minimum value is 1000 (1 second). The maximum is 2,147,483,647. QueueDelayMs *int32 `json:"queueDelayMs,omitempty"` // State - Specifies the state of the audit. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled 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 or isAzureMonitorTargetEnabled is required. StorageEndpoint *string `json:"storageEndpoint,omitempty"` // StorageAccountAccessKey - Specifies the identifier key of the auditing storage account. // If state is Enabled and storageEndpoint is specified, not specifying the storageAccountAccessKey will use SQL server system-assigned managed identity to access the storage. // Prerequisites for using managed identity authentication: // 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD). // 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data Contributor' RBAC role to the server identity. // For more information, see [Auditing to storage using Managed Identity authentication](https://go.microsoft.com/fwlink/?linkid=2114355) StorageAccountAccessKey *string `json:"storageAccountAccessKey,omitempty"` // StorageAccountSubscriptionID - Specifies the blob storage subscription Id. StorageAccountSubscriptionID *uuid.UUID `json:"storageAccountSubscriptionId,omitempty"` }
ExtendedDatabaseBlobAuditingPolicyProperties properties of an extended database blob auditing policy.
type ExtendedServerBlobAuditingPoliciesClient ¶
type ExtendedServerBlobAuditingPoliciesClient struct {
BaseClient
}
ExtendedServerBlobAuditingPoliciesClient 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 NewExtendedServerBlobAuditingPoliciesClient ¶
func NewExtendedServerBlobAuditingPoliciesClient(subscriptionID string) ExtendedServerBlobAuditingPoliciesClient
NewExtendedServerBlobAuditingPoliciesClient creates an instance of the ExtendedServerBlobAuditingPoliciesClient client.
func NewExtendedServerBlobAuditingPoliciesClientWithBaseURI ¶
func NewExtendedServerBlobAuditingPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ExtendedServerBlobAuditingPoliciesClient
NewExtendedServerBlobAuditingPoliciesClientWithBaseURI creates an instance of the ExtendedServerBlobAuditingPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ExtendedServerBlobAuditingPoliciesClient) CreateOrUpdate ¶
func (client ExtendedServerBlobAuditingPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, parameters ExtendedServerBlobAuditingPolicy) (result ExtendedServerBlobAuditingPoliciesCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates an extended server's blob auditing policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. parameters - properties of extended blob auditing policy
func (ExtendedServerBlobAuditingPoliciesClient) CreateOrUpdatePreparer ¶
func (client ExtendedServerBlobAuditingPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, parameters ExtendedServerBlobAuditingPolicy) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ExtendedServerBlobAuditingPoliciesClient) CreateOrUpdateResponder ¶
func (client ExtendedServerBlobAuditingPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ExtendedServerBlobAuditingPolicy, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ExtendedServerBlobAuditingPoliciesClient) CreateOrUpdateSender ¶
func (client ExtendedServerBlobAuditingPoliciesClient) CreateOrUpdateSender(req *http.Request) (future ExtendedServerBlobAuditingPoliciesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ExtendedServerBlobAuditingPoliciesClient) Get ¶
func (client ExtendedServerBlobAuditingPoliciesClient) Get(ctx context.Context, resourceGroupName string, serverName string) (result ExtendedServerBlobAuditingPolicy, err error)
Get gets an extended server's blob auditing policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (ExtendedServerBlobAuditingPoliciesClient) GetPreparer ¶
func (client ExtendedServerBlobAuditingPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ExtendedServerBlobAuditingPoliciesClient) GetResponder ¶
func (client ExtendedServerBlobAuditingPoliciesClient) GetResponder(resp *http.Response) (result ExtendedServerBlobAuditingPolicy, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ExtendedServerBlobAuditingPoliciesClient) GetSender ¶
func (client ExtendedServerBlobAuditingPoliciesClient) 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 (ExtendedServerBlobAuditingPoliciesClient) ListByServer ¶
func (client ExtendedServerBlobAuditingPoliciesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result ExtendedServerBlobAuditingPolicyListResultPage, err error)
ListByServer lists extended auditing settings of a server. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (ExtendedServerBlobAuditingPoliciesClient) ListByServerComplete ¶
func (client ExtendedServerBlobAuditingPoliciesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result ExtendedServerBlobAuditingPolicyListResultIterator, err error)
ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
func (ExtendedServerBlobAuditingPoliciesClient) ListByServerPreparer ¶
func (client ExtendedServerBlobAuditingPoliciesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (ExtendedServerBlobAuditingPoliciesClient) ListByServerResponder ¶
func (client ExtendedServerBlobAuditingPoliciesClient) ListByServerResponder(resp *http.Response) (result ExtendedServerBlobAuditingPolicyListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (ExtendedServerBlobAuditingPoliciesClient) ListByServerSender ¶
func (client ExtendedServerBlobAuditingPoliciesClient) 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 ExtendedServerBlobAuditingPoliciesCreateOrUpdateFuture ¶
type ExtendedServerBlobAuditingPoliciesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ExtendedServerBlobAuditingPoliciesClient) (ExtendedServerBlobAuditingPolicy, error) }
ExtendedServerBlobAuditingPoliciesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ExtendedServerBlobAuditingPoliciesCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *ExtendedServerBlobAuditingPoliciesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ExtendedServerBlobAuditingPolicy ¶
type ExtendedServerBlobAuditingPolicy struct { autorest.Response `json:"-"` // ExtendedServerBlobAuditingPolicyProperties - Resource properties. *ExtendedServerBlobAuditingPolicyProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ExtendedServerBlobAuditingPolicy an extended server blob auditing policy.
func (ExtendedServerBlobAuditingPolicy) MarshalJSON ¶
func (esbap ExtendedServerBlobAuditingPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExtendedServerBlobAuditingPolicy.
func (*ExtendedServerBlobAuditingPolicy) UnmarshalJSON ¶
func (esbap *ExtendedServerBlobAuditingPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ExtendedServerBlobAuditingPolicy struct.
type ExtendedServerBlobAuditingPolicyListResult ¶
type ExtendedServerBlobAuditingPolicyListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ExtendedServerBlobAuditingPolicy `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ExtendedServerBlobAuditingPolicyListResult a list of server extended auditing settings.
func (ExtendedServerBlobAuditingPolicyListResult) IsEmpty ¶
func (esbaplr ExtendedServerBlobAuditingPolicyListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ExtendedServerBlobAuditingPolicyListResult) MarshalJSON ¶
func (esbaplr ExtendedServerBlobAuditingPolicyListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExtendedServerBlobAuditingPolicyListResult.
type ExtendedServerBlobAuditingPolicyListResultIterator ¶
type ExtendedServerBlobAuditingPolicyListResultIterator struct {
// contains filtered or unexported fields
}
ExtendedServerBlobAuditingPolicyListResultIterator provides access to a complete listing of ExtendedServerBlobAuditingPolicy values.
func NewExtendedServerBlobAuditingPolicyListResultIterator ¶
func NewExtendedServerBlobAuditingPolicyListResultIterator(page ExtendedServerBlobAuditingPolicyListResultPage) ExtendedServerBlobAuditingPolicyListResultIterator
Creates a new instance of the ExtendedServerBlobAuditingPolicyListResultIterator type.
func (*ExtendedServerBlobAuditingPolicyListResultIterator) Next ¶
func (iter *ExtendedServerBlobAuditingPolicyListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ExtendedServerBlobAuditingPolicyListResultIterator) NextWithContext ¶
func (iter *ExtendedServerBlobAuditingPolicyListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ExtendedServerBlobAuditingPolicyListResultIterator) NotDone ¶
func (iter ExtendedServerBlobAuditingPolicyListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ExtendedServerBlobAuditingPolicyListResultIterator) Response ¶
func (iter ExtendedServerBlobAuditingPolicyListResultIterator) Response() ExtendedServerBlobAuditingPolicyListResult
Response returns the raw server response from the last page request.
func (ExtendedServerBlobAuditingPolicyListResultIterator) Value ¶
func (iter ExtendedServerBlobAuditingPolicyListResultIterator) Value() ExtendedServerBlobAuditingPolicy
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ExtendedServerBlobAuditingPolicyListResultPage ¶
type ExtendedServerBlobAuditingPolicyListResultPage struct {
// contains filtered or unexported fields
}
ExtendedServerBlobAuditingPolicyListResultPage contains a page of ExtendedServerBlobAuditingPolicy values.
func NewExtendedServerBlobAuditingPolicyListResultPage ¶
func NewExtendedServerBlobAuditingPolicyListResultPage(cur ExtendedServerBlobAuditingPolicyListResult, getNextPage func(context.Context, ExtendedServerBlobAuditingPolicyListResult) (ExtendedServerBlobAuditingPolicyListResult, error)) ExtendedServerBlobAuditingPolicyListResultPage
Creates a new instance of the ExtendedServerBlobAuditingPolicyListResultPage type.
func (*ExtendedServerBlobAuditingPolicyListResultPage) Next ¶
func (page *ExtendedServerBlobAuditingPolicyListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ExtendedServerBlobAuditingPolicyListResultPage) NextWithContext ¶
func (page *ExtendedServerBlobAuditingPolicyListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ExtendedServerBlobAuditingPolicyListResultPage) NotDone ¶
func (page ExtendedServerBlobAuditingPolicyListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ExtendedServerBlobAuditingPolicyListResultPage) Response ¶
func (page ExtendedServerBlobAuditingPolicyListResultPage) Response() ExtendedServerBlobAuditingPolicyListResult
Response returns the raw server response from the last page request.
func (ExtendedServerBlobAuditingPolicyListResultPage) Values ¶
func (page ExtendedServerBlobAuditingPolicyListResultPage) Values() []ExtendedServerBlobAuditingPolicy
Values returns the slice of values for the current page or nil if there are no values.
type ExtendedServerBlobAuditingPolicyProperties ¶
type ExtendedServerBlobAuditingPolicyProperties struct { // IsDevopsAuditEnabled - Specifies the state of devops audit. If state is Enabled, devops logs will be sent to Azure Monitor. // In order to send the events to Azure Monitor, specify 'State' as 'Enabled', 'IsAzureMonitorTargetEnabled' as true and 'IsDevopsAuditEnabled' as true // // When using REST API to configure auditing, Diagnostic Settings with 'DevOpsOperationsAudit' diagnostic logs category on the master database should also be created. // // Diagnostic Settings URI format: // PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/master/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview // // For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207) // or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) IsDevopsAuditEnabled *bool `json:"isDevopsAuditEnabled,omitempty"` // PredicateExpression - Specifies condition of where clause when creating an audit. PredicateExpression *string `json:"predicateExpression,omitempty"` // RetentionDays - Specifies the number of days to keep in the audit logs in the storage account. RetentionDays *int32 `json:"retentionDays,omitempty"` // AuditActionsAndGroups - Specifies the Actions-Groups and Actions to audit. // // The recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins: // // BATCH_COMPLETED_GROUP, // SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP, // FAILED_DATABASE_AUTHENTICATION_GROUP. // // This above combination is also the set that is configured by default when enabling auditing from the Azure portal. // // The supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records): // // APPLICATION_ROLE_CHANGE_PASSWORD_GROUP // BACKUP_RESTORE_GROUP // DATABASE_LOGOUT_GROUP // DATABASE_OBJECT_CHANGE_GROUP // DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP // DATABASE_OBJECT_PERMISSION_CHANGE_GROUP // DATABASE_OPERATION_GROUP // DATABASE_PERMISSION_CHANGE_GROUP // DATABASE_PRINCIPAL_CHANGE_GROUP // DATABASE_PRINCIPAL_IMPERSONATION_GROUP // DATABASE_ROLE_MEMBER_CHANGE_GROUP // FAILED_DATABASE_AUTHENTICATION_GROUP // SCHEMA_OBJECT_ACCESS_GROUP // SCHEMA_OBJECT_CHANGE_GROUP // SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP // SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP // SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP // USER_CHANGE_PASSWORD_GROUP // BATCH_STARTED_GROUP // BATCH_COMPLETED_GROUP // // These are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs. // // For more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups). // // For Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are: // SELECT // UPDATE // INSERT // DELETE // EXECUTE // RECEIVE // REFERENCES // // The general form for defining an action to be audited is: // {action} ON {object} BY {principal} // // Note that <object> in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively. // // For example: // SELECT on dbo.myTable by public // SELECT on DATABASE::myDatabase by public // SELECT on SCHEMA::mySchema by public // // For more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions) AuditActionsAndGroups *[]string `json:"auditActionsAndGroups,omitempty"` // IsStorageSecondaryKeyInUse - Specifies whether storageAccountAccessKey value is the storage's secondary key. IsStorageSecondaryKeyInUse *bool `json:"isStorageSecondaryKeyInUse,omitempty"` // IsAzureMonitorTargetEnabled - Specifies whether audit events are sent to Azure Monitor. // In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true. // // When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created. // Note that for server level audit you should use the 'master' database as {databaseName}. // // Diagnostic Settings URI format: // PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview // // For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207) // or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) IsAzureMonitorTargetEnabled *bool `json:"isAzureMonitorTargetEnabled,omitempty"` // QueueDelayMs - Specifies the amount of time in milliseconds that can elapse before audit actions are forced to be processed. // The default minimum value is 1000 (1 second). The maximum is 2,147,483,647. QueueDelayMs *int32 `json:"queueDelayMs,omitempty"` // State - Specifies the state of the audit. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled 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 or isAzureMonitorTargetEnabled is required. StorageEndpoint *string `json:"storageEndpoint,omitempty"` // StorageAccountAccessKey - Specifies the identifier key of the auditing storage account. // If state is Enabled and storageEndpoint is specified, not specifying the storageAccountAccessKey will use SQL server system-assigned managed identity to access the storage. // Prerequisites for using managed identity authentication: // 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD). // 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data Contributor' RBAC role to the server identity. // For more information, see [Auditing to storage using Managed Identity authentication](https://go.microsoft.com/fwlink/?linkid=2114355) StorageAccountAccessKey *string `json:"storageAccountAccessKey,omitempty"` // StorageAccountSubscriptionID - Specifies the blob storage subscription Id. StorageAccountSubscriptionID *uuid.UUID `json:"storageAccountSubscriptionId,omitempty"` }
ExtendedServerBlobAuditingPolicyProperties properties of an extended server blob auditing policy.
type FailoverGroup ¶
type FailoverGroup struct { autorest.Response `json:"-"` // Location - READ-ONLY; Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // FailoverGroupProperties - Resource properties. *FailoverGroupProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
FailoverGroup a failover group.
func (FailoverGroup) MarshalJSON ¶
func (fg FailoverGroup) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FailoverGroup.
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 - READ-ONLY; Array of results. Value *[]FailoverGroup `json:"value,omitempty"` // NextLink - READ-ONLY; 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.
func (FailoverGroupListResult) MarshalJSON ¶
func (fglr FailoverGroupListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FailoverGroupListResult.
type FailoverGroupListResultIterator ¶
type FailoverGroupListResultIterator struct {
// contains filtered or unexported fields
}
FailoverGroupListResultIterator provides access to a complete listing of FailoverGroup values.
func NewFailoverGroupListResultIterator ¶
func NewFailoverGroupListResultIterator(page FailoverGroupListResultPage) FailoverGroupListResultIterator
Creates a new instance of the FailoverGroupListResultIterator type.
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. Deprecated: Use NextWithContext() instead.
func (*FailoverGroupListResultIterator) NextWithContext ¶
func (iter *FailoverGroupListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (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 NewFailoverGroupListResultPage ¶
func NewFailoverGroupListResultPage(cur FailoverGroupListResult, getNextPage func(context.Context, FailoverGroupListResult) (FailoverGroupListResult, error)) FailoverGroupListResultPage
Creates a new instance of the FailoverGroupListResultPage type.
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. Deprecated: Use NextWithContext() instead.
func (*FailoverGroupListResultPage) NextWithContext ¶
func (page *FailoverGroupListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (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 - READ-ONLY; Local replication role of the failover group instance. Possible values include: 'FailoverGroupReplicationRolePrimary', 'FailoverGroupReplicationRoleSecondary' ReplicationRole FailoverGroupReplicationRole `json:"replicationRole,omitempty"` // ReplicationState - READ-ONLY; 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.
func (FailoverGroupProperties) MarshalJSON ¶
func (fgp FailoverGroupProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FailoverGroupProperties.
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: 'ReadWriteEndpointFailoverPolicyManual', 'ReadWriteEndpointFailoverPolicyAutomatic' 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 ( // FailoverGroupReplicationRolePrimary ... FailoverGroupReplicationRolePrimary FailoverGroupReplicationRole = "Primary" // FailoverGroupReplicationRoleSecondary ... FailoverGroupReplicationRoleSecondary FailoverGroupReplicationRole = "Secondary" )
func PossibleFailoverGroupReplicationRoleValues ¶
func PossibleFailoverGroupReplicationRoleValues() []FailoverGroupReplicationRole
PossibleFailoverGroupReplicationRoleValues returns an array of possible values for the FailoverGroupReplicationRole const type.
type FailoverGroupUpdate ¶
type FailoverGroupUpdate struct { // FailoverGroupUpdateProperties - Resource properties. *FailoverGroupUpdateProperties `json:"properties,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
FailoverGroupUpdate a failover group update request.
func (FailoverGroupUpdate) MarshalJSON ¶
func (fgu FailoverGroupUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FailoverGroupUpdate.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server containing the failover group. failoverGroupName - the name of the failover group. parameters - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server containing the failover group. failoverGroupName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server containing the failover group. failoverGroupName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server containing the failover group. failoverGroupName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server containing the failover group. failoverGroupName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server containing the failover group. failoverGroupName - the name of the failover group. parameters - 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.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(FailoverGroupsClient) (FailoverGroup, error) }
FailoverGroupsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*FailoverGroupsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *FailoverGroupsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type FailoverGroupsDeleteFuture ¶
type FailoverGroupsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(FailoverGroupsClient) (autorest.Response, error) }
FailoverGroupsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*FailoverGroupsDeleteFuture) UnmarshalJSON ¶
func (future *FailoverGroupsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type FailoverGroupsFailoverFuture ¶
type FailoverGroupsFailoverFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(FailoverGroupsClient) (FailoverGroup, error) }
FailoverGroupsFailoverFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*FailoverGroupsFailoverFuture) UnmarshalJSON ¶
func (future *FailoverGroupsFailoverFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type FailoverGroupsForceFailoverAllowDataLossFuture ¶
type FailoverGroupsForceFailoverAllowDataLossFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(FailoverGroupsClient) (FailoverGroup, error) }
FailoverGroupsForceFailoverAllowDataLossFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*FailoverGroupsForceFailoverAllowDataLossFuture) UnmarshalJSON ¶
func (future *FailoverGroupsForceFailoverAllowDataLossFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type FailoverGroupsUpdateFuture ¶
type FailoverGroupsUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(FailoverGroupsClient) (FailoverGroup, error) }
FailoverGroupsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*FailoverGroupsUpdateFuture) UnmarshalJSON ¶
func (future *FailoverGroupsUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type FirewallRule ¶
type FirewallRule struct { autorest.Response `json:"-"` // ServerFirewallRuleProperties - Resource properties. *ServerFirewallRuleProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
FirewallRule a server firewall rule.
func (FirewallRule) MarshalJSON ¶
func (fr FirewallRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FirewallRule.
func (*FirewallRule) UnmarshalJSON ¶
func (fr *FirewallRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for FirewallRule struct.
type FirewallRuleList ¶
type FirewallRuleList struct {
Values *[]FirewallRule `json:"values,omitempty"`
}
FirewallRuleList a list of server firewall rules.
type FirewallRuleListResult ¶
type FirewallRuleListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]FirewallRule `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
FirewallRuleListResult the response to a list firewall rules request
func (FirewallRuleListResult) IsEmpty ¶
func (frlr FirewallRuleListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (FirewallRuleListResult) MarshalJSON ¶
func (frlr FirewallRuleListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FirewallRuleListResult.
type FirewallRuleListResultIterator ¶
type FirewallRuleListResultIterator struct {
// contains filtered or unexported fields
}
FirewallRuleListResultIterator provides access to a complete listing of FirewallRule values.
func NewFirewallRuleListResultIterator ¶
func NewFirewallRuleListResultIterator(page FirewallRuleListResultPage) FirewallRuleListResultIterator
Creates a new instance of the FirewallRuleListResultIterator type.
func (*FirewallRuleListResultIterator) Next ¶
func (iter *FirewallRuleListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*FirewallRuleListResultIterator) NextWithContext ¶
func (iter *FirewallRuleListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (FirewallRuleListResultIterator) NotDone ¶
func (iter FirewallRuleListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (FirewallRuleListResultIterator) Response ¶
func (iter FirewallRuleListResultIterator) Response() FirewallRuleListResult
Response returns the raw server response from the last page request.
func (FirewallRuleListResultIterator) Value ¶
func (iter FirewallRuleListResultIterator) Value() FirewallRule
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type FirewallRuleListResultPage ¶
type FirewallRuleListResultPage struct {
// contains filtered or unexported fields
}
FirewallRuleListResultPage contains a page of FirewallRule values.
func NewFirewallRuleListResultPage ¶
func NewFirewallRuleListResultPage(cur FirewallRuleListResult, getNextPage func(context.Context, FirewallRuleListResult) (FirewallRuleListResult, error)) FirewallRuleListResultPage
Creates a new instance of the FirewallRuleListResultPage type.
func (*FirewallRuleListResultPage) Next ¶
func (page *FirewallRuleListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*FirewallRuleListResultPage) NextWithContext ¶
func (page *FirewallRuleListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (FirewallRuleListResultPage) NotDone ¶
func (page FirewallRuleListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (FirewallRuleListResultPage) Response ¶
func (page FirewallRuleListResultPage) Response() FirewallRuleListResult
Response returns the raw server response from the last page request.
func (FirewallRuleListResultPage) Values ¶
func (page FirewallRuleListResultPage) Values() []FirewallRule
Values returns the slice of values for the current page or nil if there are no values.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (FirewallRulesClient) CreateOrUpdate ¶
func (client FirewallRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string, parameters FirewallRule) (result FirewallRule, err error)
CreateOrUpdate creates or updates a firewall rule. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. firewallRuleName - the name of the firewall rule. parameters - the required parameters for creating or updating a firewall rule.
func (FirewallRulesClient) CreateOrUpdatePreparer ¶
func (client FirewallRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string, parameters FirewallRule) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (FirewallRulesClient) CreateOrUpdateResponder ¶
func (client FirewallRulesClient) CreateOrUpdateResponder(resp *http.Response) (result FirewallRule, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (FirewallRulesClient) CreateOrUpdateSender ¶
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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. firewallRuleName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. firewallRuleName - 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 FirewallRuleListResultPage, err error)
ListByServer gets a list of firewall rules. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (FirewallRulesClient) ListByServerComplete ¶
func (client FirewallRulesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result FirewallRuleListResultIterator, err error)
ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
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.
func (FirewallRulesClient) Replace ¶
func (client FirewallRulesClient) Replace(ctx context.Context, resourceGroupName string, serverName string, parameters FirewallRuleList) (result FirewallRule, err error)
Replace replaces all firewall rules on the server. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (FirewallRulesClient) ReplacePreparer ¶
func (client FirewallRulesClient) ReplacePreparer(ctx context.Context, resourceGroupName string, serverName string, parameters FirewallRuleList) (*http.Request, error)
ReplacePreparer prepares the Replace request.
func (FirewallRulesClient) ReplaceResponder ¶
func (client FirewallRulesClient) ReplaceResponder(resp *http.Response) (result FirewallRule, err error)
ReplaceResponder handles the response to the Replace request. The method always closes the http.Response Body.
func (FirewallRulesClient) ReplaceSender ¶
ReplaceSender sends the Replace 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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (GeoBackupPoliciesClient) CreateOrUpdate ¶
func (client GeoBackupPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters GeoBackupPolicy) (result GeoBackupPolicy, err error)
CreateOrUpdate updates a database geo backup policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. parameters - 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, 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) (result GeoBackupPolicy, err error)
Get gets a geo backup policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (GeoBackupPoliciesClient) GetPreparer ¶
func (client GeoBackupPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - 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:"-"` // GeoBackupPolicyProperties - The properties of the geo backup policy. *GeoBackupPolicyProperties `json:"properties,omitempty"` // Kind - READ-ONLY; Kind of geo backup policy. This is metadata used for the Azure portal experience. Kind *string `json:"kind,omitempty"` // Location - READ-ONLY; Backup policy location. Location *string `json:"location,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
GeoBackupPolicy a database geo backup policy.
func (GeoBackupPolicy) MarshalJSON ¶
func (gbp GeoBackupPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for GeoBackupPolicy.
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 - READ-ONLY; The storage type of the geo backup policy. StorageType *string `json:"storageType,omitempty"` }
GeoBackupPolicyProperties the properties of the geo backup policy.
func (GeoBackupPolicyProperties) MarshalJSON ¶
func (gbpp GeoBackupPolicyProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for GeoBackupPolicyProperties.
type GeoBackupPolicyState ¶
type GeoBackupPolicyState string
GeoBackupPolicyState enumerates the values for geo backup policy state.
const ( // GeoBackupPolicyStateDisabled ... GeoBackupPolicyStateDisabled GeoBackupPolicyState = "Disabled" // GeoBackupPolicyStateEnabled ... GeoBackupPolicyStateEnabled GeoBackupPolicyState = "Enabled" )
func PossibleGeoBackupPolicyStateValues ¶
func PossibleGeoBackupPolicyStateValues() []GeoBackupPolicyState
PossibleGeoBackupPolicyStateValues returns an array of possible values for the GeoBackupPolicyState const type.
type IdentityType ¶
type IdentityType string
IdentityType enumerates the values for identity type.
const ( // IdentityTypeNone ... IdentityTypeNone IdentityType = "None" // IdentityTypeSystemAssigned ... IdentityTypeSystemAssigned IdentityType = "SystemAssigned" // IdentityTypeUserAssigned ... IdentityTypeUserAssigned IdentityType = "UserAssigned" )
func PossibleIdentityTypeValues ¶
func PossibleIdentityTypeValues() []IdentityType
PossibleIdentityTypeValues returns an array of possible values for the IdentityType const type.
type ImplementationMethod ¶
type ImplementationMethod string
ImplementationMethod enumerates the values for implementation method.
const ( // ImplementationMethodAzurePowerShell ... ImplementationMethodAzurePowerShell ImplementationMethod = "AzurePowerShell" // ImplementationMethodTSQL ... ImplementationMethodTSQL ImplementationMethod = "TSql" )
func PossibleImplementationMethodValues ¶
func PossibleImplementationMethodValues() []ImplementationMethod
PossibleImplementationMethodValues returns an array of possible values for the ImplementationMethod const type.
type ImportExistingDatabaseDefinition ¶
type ImportExistingDatabaseDefinition struct { // StorageKeyType - Storage key type. Possible values include: 'StorageKeyTypeSharedAccessKey', 'StorageKeyTypeStorageAccessKey' StorageKeyType StorageKeyType `json:"storageKeyType,omitempty"` // StorageKey - Storage key. StorageKey *string `json:"storageKey,omitempty"` // StorageURI - Storage Uri. StorageURI *string `json:"storageUri,omitempty"` // AdministratorLogin - Administrator login name. AdministratorLogin *string `json:"administratorLogin,omitempty"` // AdministratorLoginPassword - Administrator login password. AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` // AuthenticationType - Authentication type. AuthenticationType *string `json:"authenticationType,omitempty"` // NetworkIsolation - Optional resource information to enable network isolation for request. NetworkIsolation *NetworkIsolationSettings `json:"networkIsolation,omitempty"` }
ImportExistingDatabaseDefinition contains the information necessary to perform import operation for existing database.
type ImportExportExtensionsOperationListResult ¶
type ImportExportExtensionsOperationListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ImportExportExtensionsOperationResult `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ImportExportExtensionsOperationListResult import export operation extensions list.
func (ImportExportExtensionsOperationListResult) IsEmpty ¶
func (ieeolr ImportExportExtensionsOperationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ImportExportExtensionsOperationListResult) MarshalJSON ¶
func (ieeolr ImportExportExtensionsOperationListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ImportExportExtensionsOperationListResult.
type ImportExportExtensionsOperationListResultIterator ¶
type ImportExportExtensionsOperationListResultIterator struct {
// contains filtered or unexported fields
}
ImportExportExtensionsOperationListResultIterator provides access to a complete listing of ImportExportExtensionsOperationResult values.
func NewImportExportExtensionsOperationListResultIterator ¶
func NewImportExportExtensionsOperationListResultIterator(page ImportExportExtensionsOperationListResultPage) ImportExportExtensionsOperationListResultIterator
Creates a new instance of the ImportExportExtensionsOperationListResultIterator type.
func (*ImportExportExtensionsOperationListResultIterator) Next ¶
func (iter *ImportExportExtensionsOperationListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ImportExportExtensionsOperationListResultIterator) NextWithContext ¶
func (iter *ImportExportExtensionsOperationListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ImportExportExtensionsOperationListResultIterator) NotDone ¶
func (iter ImportExportExtensionsOperationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ImportExportExtensionsOperationListResultIterator) Response ¶
func (iter ImportExportExtensionsOperationListResultIterator) Response() ImportExportExtensionsOperationListResult
Response returns the raw server response from the last page request.
func (ImportExportExtensionsOperationListResultIterator) Value ¶
func (iter ImportExportExtensionsOperationListResultIterator) Value() ImportExportExtensionsOperationResult
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ImportExportExtensionsOperationListResultPage ¶
type ImportExportExtensionsOperationListResultPage struct {
// contains filtered or unexported fields
}
ImportExportExtensionsOperationListResultPage contains a page of ImportExportExtensionsOperationResult values.
func NewImportExportExtensionsOperationListResultPage ¶
func NewImportExportExtensionsOperationListResultPage(cur ImportExportExtensionsOperationListResult, getNextPage func(context.Context, ImportExportExtensionsOperationListResult) (ImportExportExtensionsOperationListResult, error)) ImportExportExtensionsOperationListResultPage
Creates a new instance of the ImportExportExtensionsOperationListResultPage type.
func (*ImportExportExtensionsOperationListResultPage) Next ¶
func (page *ImportExportExtensionsOperationListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ImportExportExtensionsOperationListResultPage) NextWithContext ¶
func (page *ImportExportExtensionsOperationListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ImportExportExtensionsOperationListResultPage) NotDone ¶
func (page ImportExportExtensionsOperationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ImportExportExtensionsOperationListResultPage) Response ¶
func (page ImportExportExtensionsOperationListResultPage) Response() ImportExportExtensionsOperationListResult
Response returns the raw server response from the last page request.
func (ImportExportExtensionsOperationListResultPage) Values ¶
func (page ImportExportExtensionsOperationListResultPage) Values() []ImportExportExtensionsOperationResult
Values returns the slice of values for the current page or nil if there are no values.
type ImportExportExtensionsOperationResult ¶
type ImportExportExtensionsOperationResult struct { autorest.Response `json:"-"` // ImportExportExtensionsOperationResultProperties - Resource properties. *ImportExportExtensionsOperationResultProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ImportExportExtensionsOperationResult an Extension operation result resource.
func (ImportExportExtensionsOperationResult) MarshalJSON ¶
func (ieeor ImportExportExtensionsOperationResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ImportExportExtensionsOperationResult.
func (*ImportExportExtensionsOperationResult) UnmarshalJSON ¶
func (ieeor *ImportExportExtensionsOperationResult) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ImportExportExtensionsOperationResult struct.
type ImportExportExtensionsOperationResultProperties ¶
type ImportExportExtensionsOperationResultProperties struct { // RequestID - READ-ONLY; Request Id. RequestID *uuid.UUID `json:"requestId,omitempty"` // RequestType - READ-ONLY; Request type. RequestType *string `json:"requestType,omitempty"` // LastModifiedTime - READ-ONLY; Last modified time. LastModifiedTime *string `json:"lastModifiedTime,omitempty"` // ServerName - READ-ONLY; Server name. ServerName *string `json:"serverName,omitempty"` // DatabaseName - READ-ONLY; Database name. DatabaseName *string `json:"databaseName,omitempty"` // Status - READ-ONLY; Operation status. Status *string `json:"status,omitempty"` // ErrorMessage - READ-ONLY; Error message. ErrorMessage *string `json:"errorMessage,omitempty"` }
ImportExportExtensionsOperationResultProperties contains the operation result properties for import/export operation.
func (ImportExportExtensionsOperationResultProperties) MarshalJSON ¶
func (ieeorp ImportExportExtensionsOperationResultProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ImportExportExtensionsOperationResultProperties.
type ImportExportOperationResult ¶
type ImportExportOperationResult struct { autorest.Response `json:"-"` // ImportExportOperationResultProperties - Resource properties. *ImportExportOperationResultProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ImportExportOperationResult an ImportExport operation result resource.
func (ImportExportOperationResult) MarshalJSON ¶
func (ieor ImportExportOperationResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ImportExportOperationResult.
func (*ImportExportOperationResult) UnmarshalJSON ¶
func (ieor *ImportExportOperationResult) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ImportExportOperationResult struct.
type ImportExportOperationResultProperties ¶
type ImportExportOperationResultProperties struct { // RequestID - READ-ONLY; Request Id. RequestID *uuid.UUID `json:"requestId,omitempty"` // RequestType - READ-ONLY; Request type. RequestType *string `json:"requestType,omitempty"` // QueuedTime - READ-ONLY; Queued time. QueuedTime *string `json:"queuedTime,omitempty"` // LastModifiedTime - READ-ONLY; Last modified time. LastModifiedTime *string `json:"lastModifiedTime,omitempty"` // BlobURI - READ-ONLY; Blob Uri. BlobURI *string `json:"blobUri,omitempty"` // ServerName - READ-ONLY; Server name. ServerName *string `json:"serverName,omitempty"` // DatabaseName - READ-ONLY; Database name. DatabaseName *string `json:"databaseName,omitempty"` // Status - READ-ONLY; Operation status. Status *string `json:"status,omitempty"` // ErrorMessage - READ-ONLY; Error message. ErrorMessage *string `json:"errorMessage,omitempty"` // PrivateEndpointConnections - READ-ONLY; Gets the status of private endpoints associated with this request. PrivateEndpointConnections *[]PrivateEndpointConnectionRequestStatus `json:"privateEndpointConnections,omitempty"` }
ImportExportOperationResultProperties contains the operation result properties for import/export operation.
func (ImportExportOperationResultProperties) MarshalJSON ¶
func (ieorp ImportExportOperationResultProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ImportExportOperationResultProperties.
type ImportNewDatabaseDefinition ¶
type ImportNewDatabaseDefinition struct { // DatabaseName - Name of the import database. DatabaseName *string `json:"databaseName,omitempty"` // Edition - Edition of the import database. Edition *string `json:"edition,omitempty"` // ServiceObjectiveName - Service level objective name of the import database. ServiceObjectiveName *string `json:"serviceObjectiveName,omitempty"` // MaxSizeBytes - Max size in bytes for the import database. MaxSizeBytes *string `json:"maxSizeBytes,omitempty"` // StorageKeyType - Storage key type. Possible values include: 'StorageKeyTypeSharedAccessKey', 'StorageKeyTypeStorageAccessKey' StorageKeyType StorageKeyType `json:"storageKeyType,omitempty"` // StorageKey - Storage key. StorageKey *string `json:"storageKey,omitempty"` // StorageURI - Storage Uri. StorageURI *string `json:"storageUri,omitempty"` // AdministratorLogin - Administrator login name. AdministratorLogin *string `json:"administratorLogin,omitempty"` // AdministratorLoginPassword - Administrator login password. AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` // AuthenticationType - Authentication type. AuthenticationType *string `json:"authenticationType,omitempty"` // NetworkIsolation - Optional resource information to enable network isolation for request. NetworkIsolation *NetworkIsolationSettings `json:"networkIsolation,omitempty"` }
ImportNewDatabaseDefinition contains the information necessary to perform import operation for new database.
type InstanceFailoverGroup ¶
type InstanceFailoverGroup struct { autorest.Response `json:"-"` // InstanceFailoverGroupProperties - Resource properties. *InstanceFailoverGroupProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
InstanceFailoverGroup an instance failover group.
func (InstanceFailoverGroup) MarshalJSON ¶
func (ifg InstanceFailoverGroup) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InstanceFailoverGroup.
func (*InstanceFailoverGroup) UnmarshalJSON ¶
func (ifg *InstanceFailoverGroup) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for InstanceFailoverGroup struct.
type InstanceFailoverGroupListResult ¶
type InstanceFailoverGroupListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]InstanceFailoverGroup `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
InstanceFailoverGroupListResult a list of instance failover groups.
func (InstanceFailoverGroupListResult) IsEmpty ¶
func (ifglr InstanceFailoverGroupListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (InstanceFailoverGroupListResult) MarshalJSON ¶
func (ifglr InstanceFailoverGroupListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InstanceFailoverGroupListResult.
type InstanceFailoverGroupListResultIterator ¶
type InstanceFailoverGroupListResultIterator struct {
// contains filtered or unexported fields
}
InstanceFailoverGroupListResultIterator provides access to a complete listing of InstanceFailoverGroup values.
func NewInstanceFailoverGroupListResultIterator ¶
func NewInstanceFailoverGroupListResultIterator(page InstanceFailoverGroupListResultPage) InstanceFailoverGroupListResultIterator
Creates a new instance of the InstanceFailoverGroupListResultIterator type.
func (*InstanceFailoverGroupListResultIterator) Next ¶
func (iter *InstanceFailoverGroupListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*InstanceFailoverGroupListResultIterator) NextWithContext ¶
func (iter *InstanceFailoverGroupListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (InstanceFailoverGroupListResultIterator) NotDone ¶
func (iter InstanceFailoverGroupListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (InstanceFailoverGroupListResultIterator) Response ¶
func (iter InstanceFailoverGroupListResultIterator) Response() InstanceFailoverGroupListResult
Response returns the raw server response from the last page request.
func (InstanceFailoverGroupListResultIterator) Value ¶
func (iter InstanceFailoverGroupListResultIterator) Value() InstanceFailoverGroup
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type InstanceFailoverGroupListResultPage ¶
type InstanceFailoverGroupListResultPage struct {
// contains filtered or unexported fields
}
InstanceFailoverGroupListResultPage contains a page of InstanceFailoverGroup values.
func NewInstanceFailoverGroupListResultPage ¶
func NewInstanceFailoverGroupListResultPage(cur InstanceFailoverGroupListResult, getNextPage func(context.Context, InstanceFailoverGroupListResult) (InstanceFailoverGroupListResult, error)) InstanceFailoverGroupListResultPage
Creates a new instance of the InstanceFailoverGroupListResultPage type.
func (*InstanceFailoverGroupListResultPage) Next ¶
func (page *InstanceFailoverGroupListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*InstanceFailoverGroupListResultPage) NextWithContext ¶
func (page *InstanceFailoverGroupListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (InstanceFailoverGroupListResultPage) NotDone ¶
func (page InstanceFailoverGroupListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (InstanceFailoverGroupListResultPage) Response ¶
func (page InstanceFailoverGroupListResultPage) Response() InstanceFailoverGroupListResult
Response returns the raw server response from the last page request.
func (InstanceFailoverGroupListResultPage) Values ¶
func (page InstanceFailoverGroupListResultPage) Values() []InstanceFailoverGroup
Values returns the slice of values for the current page or nil if there are no values.
type InstanceFailoverGroupProperties ¶
type InstanceFailoverGroupProperties struct { // ReadWriteEndpoint - Read-write endpoint of the failover group instance. ReadWriteEndpoint *InstanceFailoverGroupReadWriteEndpoint `json:"readWriteEndpoint,omitempty"` // ReadOnlyEndpoint - Read-only endpoint of the failover group instance. ReadOnlyEndpoint *InstanceFailoverGroupReadOnlyEndpoint `json:"readOnlyEndpoint,omitempty"` // ReplicationRole - READ-ONLY; Local replication role of the failover group instance. Possible values include: 'InstanceFailoverGroupReplicationRolePrimary', 'InstanceFailoverGroupReplicationRoleSecondary' ReplicationRole InstanceFailoverGroupReplicationRole `json:"replicationRole,omitempty"` // ReplicationState - READ-ONLY; Replication state of the failover group instance. ReplicationState *string `json:"replicationState,omitempty"` // PartnerRegions - Partner region information for the failover group. PartnerRegions *[]PartnerRegionInfo `json:"partnerRegions,omitempty"` // ManagedInstancePairs - List of managed instance pairs in the failover group. ManagedInstancePairs *[]ManagedInstancePairInfo `json:"managedInstancePairs,omitempty"` }
InstanceFailoverGroupProperties properties of a instance failover group.
func (InstanceFailoverGroupProperties) MarshalJSON ¶
func (ifgp InstanceFailoverGroupProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InstanceFailoverGroupProperties.
type InstanceFailoverGroupReadOnlyEndpoint ¶
type InstanceFailoverGroupReadOnlyEndpoint struct { // FailoverPolicy - Failover policy of the read-only endpoint for the failover group. Possible values include: 'ReadOnlyEndpointFailoverPolicyDisabled', 'ReadOnlyEndpointFailoverPolicyEnabled' FailoverPolicy ReadOnlyEndpointFailoverPolicy `json:"failoverPolicy,omitempty"` }
InstanceFailoverGroupReadOnlyEndpoint read-only endpoint of the failover group instance.
type InstanceFailoverGroupReadWriteEndpoint ¶
type InstanceFailoverGroupReadWriteEndpoint struct { // FailoverPolicy - Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required. Possible values include: 'ReadWriteEndpointFailoverPolicyManual', 'ReadWriteEndpointFailoverPolicyAutomatic' 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"` }
InstanceFailoverGroupReadWriteEndpoint read-write endpoint of the failover group instance.
type InstanceFailoverGroupReplicationRole ¶
type InstanceFailoverGroupReplicationRole string
InstanceFailoverGroupReplicationRole enumerates the values for instance failover group replication role.
const ( // InstanceFailoverGroupReplicationRolePrimary ... InstanceFailoverGroupReplicationRolePrimary InstanceFailoverGroupReplicationRole = "Primary" // InstanceFailoverGroupReplicationRoleSecondary ... InstanceFailoverGroupReplicationRoleSecondary InstanceFailoverGroupReplicationRole = "Secondary" )
func PossibleInstanceFailoverGroupReplicationRoleValues ¶
func PossibleInstanceFailoverGroupReplicationRoleValues() []InstanceFailoverGroupReplicationRole
PossibleInstanceFailoverGroupReplicationRoleValues returns an array of possible values for the InstanceFailoverGroupReplicationRole const type.
type InstanceFailoverGroupsClient ¶
type InstanceFailoverGroupsClient struct {
BaseClient
}
InstanceFailoverGroupsClient 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 NewInstanceFailoverGroupsClient ¶
func NewInstanceFailoverGroupsClient(subscriptionID string) InstanceFailoverGroupsClient
NewInstanceFailoverGroupsClient creates an instance of the InstanceFailoverGroupsClient client.
func NewInstanceFailoverGroupsClientWithBaseURI ¶
func NewInstanceFailoverGroupsClientWithBaseURI(baseURI string, subscriptionID string) InstanceFailoverGroupsClient
NewInstanceFailoverGroupsClientWithBaseURI creates an instance of the InstanceFailoverGroupsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (InstanceFailoverGroupsClient) CreateOrUpdate ¶
func (client InstanceFailoverGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, locationName string, failoverGroupName string, parameters InstanceFailoverGroup) (result InstanceFailoverGroupsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a failover group. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. locationName - the name of the region where the resource is located. failoverGroupName - the name of the failover group. parameters - the failover group parameters.
func (InstanceFailoverGroupsClient) CreateOrUpdatePreparer ¶
func (client InstanceFailoverGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, locationName string, failoverGroupName string, parameters InstanceFailoverGroup) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (InstanceFailoverGroupsClient) CreateOrUpdateResponder ¶
func (client InstanceFailoverGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result InstanceFailoverGroup, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (InstanceFailoverGroupsClient) CreateOrUpdateSender ¶
func (client InstanceFailoverGroupsClient) CreateOrUpdateSender(req *http.Request) (future InstanceFailoverGroupsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (InstanceFailoverGroupsClient) Delete ¶
func (client InstanceFailoverGroupsClient) Delete(ctx context.Context, resourceGroupName string, locationName string, failoverGroupName string) (result InstanceFailoverGroupsDeleteFuture, err error)
Delete deletes a failover group. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. locationName - the name of the region where the resource is located. failoverGroupName - the name of the failover group.
func (InstanceFailoverGroupsClient) DeletePreparer ¶
func (client InstanceFailoverGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, locationName string, failoverGroupName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (InstanceFailoverGroupsClient) DeleteResponder ¶
func (client InstanceFailoverGroupsClient) 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 (InstanceFailoverGroupsClient) DeleteSender ¶
func (client InstanceFailoverGroupsClient) DeleteSender(req *http.Request) (future InstanceFailoverGroupsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (InstanceFailoverGroupsClient) Failover ¶
func (client InstanceFailoverGroupsClient) Failover(ctx context.Context, resourceGroupName string, locationName string, failoverGroupName string) (result InstanceFailoverGroupsFailoverFuture, err error)
Failover fails over from the current primary managed instance to this managed instance. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. locationName - the name of the region where the resource is located. failoverGroupName - the name of the failover group.
func (InstanceFailoverGroupsClient) FailoverPreparer ¶
func (client InstanceFailoverGroupsClient) FailoverPreparer(ctx context.Context, resourceGroupName string, locationName string, failoverGroupName string) (*http.Request, error)
FailoverPreparer prepares the Failover request.
func (InstanceFailoverGroupsClient) FailoverResponder ¶
func (client InstanceFailoverGroupsClient) FailoverResponder(resp *http.Response) (result InstanceFailoverGroup, err error)
FailoverResponder handles the response to the Failover request. The method always closes the http.Response Body.
func (InstanceFailoverGroupsClient) FailoverSender ¶
func (client InstanceFailoverGroupsClient) FailoverSender(req *http.Request) (future InstanceFailoverGroupsFailoverFuture, err error)
FailoverSender sends the Failover request. The method will close the http.Response Body if it receives an error.
func (InstanceFailoverGroupsClient) ForceFailoverAllowDataLoss ¶
func (client InstanceFailoverGroupsClient) ForceFailoverAllowDataLoss(ctx context.Context, resourceGroupName string, locationName string, failoverGroupName string) (result InstanceFailoverGroupsForceFailoverAllowDataLossFuture, err error)
ForceFailoverAllowDataLoss fails over from the current primary managed instance to this managed instance. This operation might result in data loss. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. locationName - the name of the region where the resource is located. failoverGroupName - the name of the failover group.
func (InstanceFailoverGroupsClient) ForceFailoverAllowDataLossPreparer ¶
func (client InstanceFailoverGroupsClient) ForceFailoverAllowDataLossPreparer(ctx context.Context, resourceGroupName string, locationName string, failoverGroupName string) (*http.Request, error)
ForceFailoverAllowDataLossPreparer prepares the ForceFailoverAllowDataLoss request.
func (InstanceFailoverGroupsClient) ForceFailoverAllowDataLossResponder ¶
func (client InstanceFailoverGroupsClient) ForceFailoverAllowDataLossResponder(resp *http.Response) (result InstanceFailoverGroup, err error)
ForceFailoverAllowDataLossResponder handles the response to the ForceFailoverAllowDataLoss request. The method always closes the http.Response Body.
func (InstanceFailoverGroupsClient) ForceFailoverAllowDataLossSender ¶
func (client InstanceFailoverGroupsClient) ForceFailoverAllowDataLossSender(req *http.Request) (future InstanceFailoverGroupsForceFailoverAllowDataLossFuture, err error)
ForceFailoverAllowDataLossSender sends the ForceFailoverAllowDataLoss request. The method will close the http.Response Body if it receives an error.
func (InstanceFailoverGroupsClient) Get ¶
func (client InstanceFailoverGroupsClient) Get(ctx context.Context, resourceGroupName string, locationName string, failoverGroupName string) (result InstanceFailoverGroup, err error)
Get gets a failover group. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. locationName - the name of the region where the resource is located. failoverGroupName - the name of the failover group.
func (InstanceFailoverGroupsClient) GetPreparer ¶
func (client InstanceFailoverGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, locationName string, failoverGroupName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (InstanceFailoverGroupsClient) GetResponder ¶
func (client InstanceFailoverGroupsClient) GetResponder(resp *http.Response) (result InstanceFailoverGroup, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (InstanceFailoverGroupsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (InstanceFailoverGroupsClient) ListByLocation ¶
func (client InstanceFailoverGroupsClient) ListByLocation(ctx context.Context, resourceGroupName string, locationName string) (result InstanceFailoverGroupListResultPage, err error)
ListByLocation lists the failover groups in a location. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. locationName - the name of the region where the resource is located.
func (InstanceFailoverGroupsClient) ListByLocationComplete ¶
func (client InstanceFailoverGroupsClient) ListByLocationComplete(ctx context.Context, resourceGroupName string, locationName string) (result InstanceFailoverGroupListResultIterator, err error)
ListByLocationComplete enumerates all values, automatically crossing page boundaries as required.
func (InstanceFailoverGroupsClient) ListByLocationPreparer ¶
func (client InstanceFailoverGroupsClient) ListByLocationPreparer(ctx context.Context, resourceGroupName string, locationName string) (*http.Request, error)
ListByLocationPreparer prepares the ListByLocation request.
func (InstanceFailoverGroupsClient) ListByLocationResponder ¶
func (client InstanceFailoverGroupsClient) ListByLocationResponder(resp *http.Response) (result InstanceFailoverGroupListResult, err error)
ListByLocationResponder handles the response to the ListByLocation request. The method always closes the http.Response Body.
func (InstanceFailoverGroupsClient) ListByLocationSender ¶
func (client InstanceFailoverGroupsClient) 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 InstanceFailoverGroupsCreateOrUpdateFuture ¶
type InstanceFailoverGroupsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(InstanceFailoverGroupsClient) (InstanceFailoverGroup, error) }
InstanceFailoverGroupsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*InstanceFailoverGroupsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *InstanceFailoverGroupsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type InstanceFailoverGroupsDeleteFuture ¶
type InstanceFailoverGroupsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(InstanceFailoverGroupsClient) (autorest.Response, error) }
InstanceFailoverGroupsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*InstanceFailoverGroupsDeleteFuture) UnmarshalJSON ¶
func (future *InstanceFailoverGroupsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type InstanceFailoverGroupsFailoverFuture ¶
type InstanceFailoverGroupsFailoverFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(InstanceFailoverGroupsClient) (InstanceFailoverGroup, error) }
InstanceFailoverGroupsFailoverFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*InstanceFailoverGroupsFailoverFuture) UnmarshalJSON ¶
func (future *InstanceFailoverGroupsFailoverFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type InstanceFailoverGroupsForceFailoverAllowDataLossFuture ¶
type InstanceFailoverGroupsForceFailoverAllowDataLossFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(InstanceFailoverGroupsClient) (InstanceFailoverGroup, error) }
InstanceFailoverGroupsForceFailoverAllowDataLossFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*InstanceFailoverGroupsForceFailoverAllowDataLossFuture) UnmarshalJSON ¶
func (future *InstanceFailoverGroupsForceFailoverAllowDataLossFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type InstancePool ¶
type InstancePool struct { autorest.Response `json:"-"` // Sku - The name and tier of the SKU. Sku *Sku `json:"sku,omitempty"` // InstancePoolProperties - Resource properties. *InstancePoolProperties `json:"properties,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
InstancePool an Azure SQL instance pool.
func (InstancePool) MarshalJSON ¶
func (IP InstancePool) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InstancePool.
func (*InstancePool) UnmarshalJSON ¶
func (IP *InstancePool) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for InstancePool struct.
type InstancePoolEditionCapability ¶
type InstancePoolEditionCapability struct { // Name - READ-ONLY; The instance pool version name. Name *string `json:"name,omitempty"` // SupportedFamilies - READ-ONLY; The supported families. SupportedFamilies *[]InstancePoolFamilyCapability `json:"supportedFamilies,omitempty"` // Status - READ-ONLY; The status of the capability. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // Reason - The reason for the capability not being available. Reason *string `json:"reason,omitempty"` }
InstancePoolEditionCapability the instance pool capability
func (InstancePoolEditionCapability) MarshalJSON ¶
func (ipec InstancePoolEditionCapability) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InstancePoolEditionCapability.
type InstancePoolFamilyCapability ¶
type InstancePoolFamilyCapability struct { // Name - READ-ONLY; Family name. Name *string `json:"name,omitempty"` // SupportedLicenseTypes - READ-ONLY; List of supported license types. SupportedLicenseTypes *[]LicenseTypeCapability `json:"supportedLicenseTypes,omitempty"` // SupportedVcoresValues - READ-ONLY; List of supported virtual cores values. SupportedVcoresValues *[]InstancePoolVcoresCapability `json:"supportedVcoresValues,omitempty"` // Status - READ-ONLY; The status of the capability. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // Reason - The reason for the capability not being available. Reason *string `json:"reason,omitempty"` }
InstancePoolFamilyCapability the instance pool family capability.
func (InstancePoolFamilyCapability) MarshalJSON ¶
func (ipfc InstancePoolFamilyCapability) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InstancePoolFamilyCapability.
type InstancePoolLicenseType ¶
type InstancePoolLicenseType string
InstancePoolLicenseType enumerates the values for instance pool license type.
const ( // InstancePoolLicenseTypeBasePrice ... InstancePoolLicenseTypeBasePrice InstancePoolLicenseType = "BasePrice" // InstancePoolLicenseTypeLicenseIncluded ... InstancePoolLicenseTypeLicenseIncluded InstancePoolLicenseType = "LicenseIncluded" )
func PossibleInstancePoolLicenseTypeValues ¶
func PossibleInstancePoolLicenseTypeValues() []InstancePoolLicenseType
PossibleInstancePoolLicenseTypeValues returns an array of possible values for the InstancePoolLicenseType const type.
type InstancePoolListResult ¶
type InstancePoolListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]InstancePool `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
InstancePoolListResult a list of Azure SQL instance pools.
func (InstancePoolListResult) IsEmpty ¶
func (iplr InstancePoolListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (InstancePoolListResult) MarshalJSON ¶
func (iplr InstancePoolListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InstancePoolListResult.
type InstancePoolListResultIterator ¶
type InstancePoolListResultIterator struct {
// contains filtered or unexported fields
}
InstancePoolListResultIterator provides access to a complete listing of InstancePool values.
func NewInstancePoolListResultIterator ¶
func NewInstancePoolListResultIterator(page InstancePoolListResultPage) InstancePoolListResultIterator
Creates a new instance of the InstancePoolListResultIterator type.
func (*InstancePoolListResultIterator) Next ¶
func (iter *InstancePoolListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*InstancePoolListResultIterator) NextWithContext ¶
func (iter *InstancePoolListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (InstancePoolListResultIterator) NotDone ¶
func (iter InstancePoolListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (InstancePoolListResultIterator) Response ¶
func (iter InstancePoolListResultIterator) Response() InstancePoolListResult
Response returns the raw server response from the last page request.
func (InstancePoolListResultIterator) Value ¶
func (iter InstancePoolListResultIterator) Value() InstancePool
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type InstancePoolListResultPage ¶
type InstancePoolListResultPage struct {
// contains filtered or unexported fields
}
InstancePoolListResultPage contains a page of InstancePool values.
func NewInstancePoolListResultPage ¶
func NewInstancePoolListResultPage(cur InstancePoolListResult, getNextPage func(context.Context, InstancePoolListResult) (InstancePoolListResult, error)) InstancePoolListResultPage
Creates a new instance of the InstancePoolListResultPage type.
func (*InstancePoolListResultPage) Next ¶
func (page *InstancePoolListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*InstancePoolListResultPage) NextWithContext ¶
func (page *InstancePoolListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (InstancePoolListResultPage) NotDone ¶
func (page InstancePoolListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (InstancePoolListResultPage) Response ¶
func (page InstancePoolListResultPage) Response() InstancePoolListResult
Response returns the raw server response from the last page request.
func (InstancePoolListResultPage) Values ¶
func (page InstancePoolListResultPage) Values() []InstancePool
Values returns the slice of values for the current page or nil if there are no values.
type InstancePoolProperties ¶
type InstancePoolProperties struct { // SubnetID - Resource ID of the subnet to place this instance pool in. SubnetID *string `json:"subnetId,omitempty"` // VCores - Count of vCores belonging to this instance pool. VCores *int32 `json:"vCores,omitempty"` // LicenseType - The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) and 'BasePrice' (without SQL license price). Possible values include: 'InstancePoolLicenseTypeLicenseIncluded', 'InstancePoolLicenseTypeBasePrice' LicenseType InstancePoolLicenseType `json:"licenseType,omitempty"` }
InstancePoolProperties properties of an instance pool.
type InstancePoolUpdate ¶
InstancePoolUpdate an update to an Instance pool.
func (InstancePoolUpdate) MarshalJSON ¶
func (ipu InstancePoolUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InstancePoolUpdate.
type InstancePoolVcoresCapability ¶
type InstancePoolVcoresCapability struct { // Name - READ-ONLY; The virtual cores identifier. Name *string `json:"name,omitempty"` // Value - READ-ONLY; The virtual cores value. Value *int32 `json:"value,omitempty"` // StorageLimit - READ-ONLY; Storage limit. StorageLimit *MaxSizeCapability `json:"storageLimit,omitempty"` // Status - READ-ONLY; The status of the capability. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // Reason - The reason for the capability not being available. Reason *string `json:"reason,omitempty"` }
InstancePoolVcoresCapability the managed instance virtual cores capability.
func (InstancePoolVcoresCapability) MarshalJSON ¶
func (ipvc InstancePoolVcoresCapability) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InstancePoolVcoresCapability.
type InstancePoolsClient ¶
type InstancePoolsClient struct {
BaseClient
}
InstancePoolsClient 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 NewInstancePoolsClient ¶
func NewInstancePoolsClient(subscriptionID string) InstancePoolsClient
NewInstancePoolsClient creates an instance of the InstancePoolsClient client.
func NewInstancePoolsClientWithBaseURI ¶
func NewInstancePoolsClientWithBaseURI(baseURI string, subscriptionID string) InstancePoolsClient
NewInstancePoolsClientWithBaseURI creates an instance of the InstancePoolsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (InstancePoolsClient) CreateOrUpdate ¶
func (client InstancePoolsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, instancePoolName string, parameters InstancePool) (result InstancePoolsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates an instance pool. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. instancePoolName - the name of the instance pool to be created or updated. parameters - the requested instance pool resource state.
func (InstancePoolsClient) CreateOrUpdatePreparer ¶
func (client InstancePoolsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, instancePoolName string, parameters InstancePool) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (InstancePoolsClient) CreateOrUpdateResponder ¶
func (client InstancePoolsClient) CreateOrUpdateResponder(resp *http.Response) (result InstancePool, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (InstancePoolsClient) CreateOrUpdateSender ¶
func (client InstancePoolsClient) CreateOrUpdateSender(req *http.Request) (future InstancePoolsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (InstancePoolsClient) Delete ¶
func (client InstancePoolsClient) Delete(ctx context.Context, resourceGroupName string, instancePoolName string) (result InstancePoolsDeleteFuture, err error)
Delete deletes an instance pool Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. instancePoolName - the name of the instance pool to be deleted
func (InstancePoolsClient) DeletePreparer ¶
func (client InstancePoolsClient) DeletePreparer(ctx context.Context, resourceGroupName string, instancePoolName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (InstancePoolsClient) DeleteResponder ¶
func (client InstancePoolsClient) 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 (InstancePoolsClient) DeleteSender ¶
func (client InstancePoolsClient) DeleteSender(req *http.Request) (future InstancePoolsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (InstancePoolsClient) Get ¶
func (client InstancePoolsClient) Get(ctx context.Context, resourceGroupName string, instancePoolName string) (result InstancePool, err error)
Get gets an instance pool. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. instancePoolName - the name of the instance pool to be retrieved.
func (InstancePoolsClient) GetPreparer ¶
func (client InstancePoolsClient) GetPreparer(ctx context.Context, resourceGroupName string, instancePoolName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (InstancePoolsClient) GetResponder ¶
func (client InstancePoolsClient) GetResponder(resp *http.Response) (result InstancePool, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (InstancePoolsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (InstancePoolsClient) List ¶
func (client InstancePoolsClient) List(ctx context.Context) (result InstancePoolListResultPage, err error)
List gets a list of all instance pools in the subscription.
func (InstancePoolsClient) ListByResourceGroup ¶
func (client InstancePoolsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result InstancePoolListResultPage, err error)
ListByResourceGroup gets a list of instance pools in the resource group Parameters: resourceGroupName - 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 (InstancePoolsClient) ListByResourceGroupComplete ¶
func (client InstancePoolsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result InstancePoolListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (InstancePoolsClient) ListByResourceGroupPreparer ¶
func (client InstancePoolsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (InstancePoolsClient) ListByResourceGroupResponder ¶
func (client InstancePoolsClient) ListByResourceGroupResponder(resp *http.Response) (result InstancePoolListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (InstancePoolsClient) ListByResourceGroupSender ¶
func (client InstancePoolsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (InstancePoolsClient) ListComplete ¶
func (client InstancePoolsClient) ListComplete(ctx context.Context) (result InstancePoolListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (InstancePoolsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (InstancePoolsClient) ListResponder ¶
func (client InstancePoolsClient) ListResponder(resp *http.Response) (result InstancePoolListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (InstancePoolsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (InstancePoolsClient) Update ¶
func (client InstancePoolsClient) Update(ctx context.Context, resourceGroupName string, instancePoolName string, parameters InstancePoolUpdate) (result InstancePoolsUpdateFuture, err error)
Update updates an instance pool. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. instancePoolName - the name of the instance pool to be updated. parameters - the requested instance pool resource state.
func (InstancePoolsClient) UpdatePreparer ¶
func (client InstancePoolsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, instancePoolName string, parameters InstancePoolUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (InstancePoolsClient) UpdateResponder ¶
func (client InstancePoolsClient) UpdateResponder(resp *http.Response) (result InstancePool, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (InstancePoolsClient) UpdateSender ¶
func (client InstancePoolsClient) UpdateSender(req *http.Request) (future InstancePoolsUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type InstancePoolsCreateOrUpdateFuture ¶
type InstancePoolsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(InstancePoolsClient) (InstancePool, error) }
InstancePoolsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*InstancePoolsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *InstancePoolsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type InstancePoolsDeleteFuture ¶
type InstancePoolsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(InstancePoolsClient) (autorest.Response, error) }
InstancePoolsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*InstancePoolsDeleteFuture) UnmarshalJSON ¶
func (future *InstancePoolsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type InstancePoolsUpdateFuture ¶
type InstancePoolsUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(InstancePoolsClient) (InstancePool, error) }
InstancePoolsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*InstancePoolsUpdateFuture) UnmarshalJSON ¶
func (future *InstancePoolsUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type IsRetryable ¶
type IsRetryable string
IsRetryable enumerates the values for is retryable.
const ( // IsRetryableNo ... IsRetryableNo IsRetryable = "No" // IsRetryableYes ... IsRetryableYes IsRetryable = "Yes" )
func PossibleIsRetryableValues ¶
func PossibleIsRetryableValues() []IsRetryable
PossibleIsRetryableValues returns an array of possible values for the IsRetryable const type.
type Job ¶
type Job struct { autorest.Response `json:"-"` // JobProperties - Resource properties. *JobProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
Job a job.
func (Job) MarshalJSON ¶
MarshalJSON is the custom marshaler for Job.
func (*Job) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Job struct.
type JobAgent ¶
type JobAgent struct { autorest.Response `json:"-"` // Sku - The name and tier of the SKU. Sku *Sku `json:"sku,omitempty"` // JobAgentProperties - Resource properties. *JobAgentProperties `json:"properties,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
JobAgent an Azure SQL job agent.
func (JobAgent) MarshalJSON ¶
MarshalJSON is the custom marshaler for JobAgent.
func (*JobAgent) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for JobAgent struct.
type JobAgentListResult ¶
type JobAgentListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]JobAgent `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
JobAgentListResult a list of Azure SQL job agents.
func (JobAgentListResult) IsEmpty ¶
func (jalr JobAgentListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (JobAgentListResult) MarshalJSON ¶
func (jalr JobAgentListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobAgentListResult.
type JobAgentListResultIterator ¶
type JobAgentListResultIterator struct {
// contains filtered or unexported fields
}
JobAgentListResultIterator provides access to a complete listing of JobAgent values.
func NewJobAgentListResultIterator ¶
func NewJobAgentListResultIterator(page JobAgentListResultPage) JobAgentListResultIterator
Creates a new instance of the JobAgentListResultIterator type.
func (*JobAgentListResultIterator) Next ¶
func (iter *JobAgentListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*JobAgentListResultIterator) NextWithContext ¶
func (iter *JobAgentListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (JobAgentListResultIterator) NotDone ¶
func (iter JobAgentListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (JobAgentListResultIterator) Response ¶
func (iter JobAgentListResultIterator) Response() JobAgentListResult
Response returns the raw server response from the last page request.
func (JobAgentListResultIterator) Value ¶
func (iter JobAgentListResultIterator) Value() JobAgent
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type JobAgentListResultPage ¶
type JobAgentListResultPage struct {
// contains filtered or unexported fields
}
JobAgentListResultPage contains a page of JobAgent values.
func NewJobAgentListResultPage ¶
func NewJobAgentListResultPage(cur JobAgentListResult, getNextPage func(context.Context, JobAgentListResult) (JobAgentListResult, error)) JobAgentListResultPage
Creates a new instance of the JobAgentListResultPage type.
func (*JobAgentListResultPage) Next ¶
func (page *JobAgentListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*JobAgentListResultPage) NextWithContext ¶
func (page *JobAgentListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (JobAgentListResultPage) NotDone ¶
func (page JobAgentListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (JobAgentListResultPage) Response ¶
func (page JobAgentListResultPage) Response() JobAgentListResult
Response returns the raw server response from the last page request.
func (JobAgentListResultPage) Values ¶
func (page JobAgentListResultPage) Values() []JobAgent
Values returns the slice of values for the current page or nil if there are no values.
type JobAgentProperties ¶
type JobAgentProperties struct { // DatabaseID - Resource ID of the database to store job metadata in. DatabaseID *string `json:"databaseId,omitempty"` // State - READ-ONLY; The state of the job agent. Possible values include: 'JobAgentStateCreating', 'JobAgentStateReady', 'JobAgentStateUpdating', 'JobAgentStateDeleting', 'JobAgentStateDisabled' State JobAgentState `json:"state,omitempty"` }
JobAgentProperties properties of a job agent.
func (JobAgentProperties) MarshalJSON ¶
func (jap JobAgentProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobAgentProperties.
type JobAgentState ¶
type JobAgentState string
JobAgentState enumerates the values for job agent state.
const ( // JobAgentStateCreating ... JobAgentStateCreating JobAgentState = "Creating" // JobAgentStateDeleting ... JobAgentStateDeleting JobAgentState = "Deleting" // JobAgentStateDisabled ... JobAgentStateDisabled JobAgentState = "Disabled" // JobAgentStateReady ... JobAgentStateReady JobAgentState = "Ready" // JobAgentStateUpdating ... JobAgentStateUpdating JobAgentState = "Updating" )
func PossibleJobAgentStateValues ¶
func PossibleJobAgentStateValues() []JobAgentState
PossibleJobAgentStateValues returns an array of possible values for the JobAgentState const type.
type JobAgentUpdate ¶
JobAgentUpdate an update to an Azure SQL job agent.
func (JobAgentUpdate) MarshalJSON ¶
func (jau JobAgentUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobAgentUpdate.
type JobAgentsClient ¶
type JobAgentsClient struct {
BaseClient
}
JobAgentsClient 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 NewJobAgentsClient ¶
func NewJobAgentsClient(subscriptionID string) JobAgentsClient
NewJobAgentsClient creates an instance of the JobAgentsClient client.
func NewJobAgentsClientWithBaseURI ¶
func NewJobAgentsClientWithBaseURI(baseURI string, subscriptionID string) JobAgentsClient
NewJobAgentsClientWithBaseURI creates an instance of the JobAgentsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (JobAgentsClient) CreateOrUpdate ¶
func (client JobAgentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, parameters JobAgent) (result JobAgentsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a job agent. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent to be created or updated. parameters - the requested job agent resource state.
func (JobAgentsClient) CreateOrUpdatePreparer ¶
func (client JobAgentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, parameters JobAgent) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (JobAgentsClient) CreateOrUpdateResponder ¶
func (client JobAgentsClient) CreateOrUpdateResponder(resp *http.Response) (result JobAgent, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (JobAgentsClient) CreateOrUpdateSender ¶
func (client JobAgentsClient) CreateOrUpdateSender(req *http.Request) (future JobAgentsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (JobAgentsClient) Delete ¶
func (client JobAgentsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string) (result JobAgentsDeleteFuture, err error)
Delete deletes a job agent. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent to be deleted.
func (JobAgentsClient) DeletePreparer ¶
func (client JobAgentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (JobAgentsClient) DeleteResponder ¶
func (client JobAgentsClient) 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 (JobAgentsClient) DeleteSender ¶
func (client JobAgentsClient) DeleteSender(req *http.Request) (future JobAgentsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (JobAgentsClient) Get ¶
func (client JobAgentsClient) Get(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string) (result JobAgent, err error)
Get gets a job agent. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent to be retrieved.
func (JobAgentsClient) GetPreparer ¶
func (client JobAgentsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (JobAgentsClient) GetResponder ¶
func (client JobAgentsClient) GetResponder(resp *http.Response) (result JobAgent, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (JobAgentsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (JobAgentsClient) ListByServer ¶
func (client JobAgentsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result JobAgentListResultPage, err error)
ListByServer gets a list of job agents in a server. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (JobAgentsClient) ListByServerComplete ¶
func (client JobAgentsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result JobAgentListResultIterator, err error)
ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
func (JobAgentsClient) ListByServerPreparer ¶
func (client JobAgentsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (JobAgentsClient) ListByServerResponder ¶
func (client JobAgentsClient) ListByServerResponder(resp *http.Response) (result JobAgentListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (JobAgentsClient) ListByServerSender ¶
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
func (JobAgentsClient) Update ¶
func (client JobAgentsClient) Update(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, parameters JobAgentUpdate) (result JobAgentsUpdateFuture, err error)
Update updates a job agent. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent to be updated. parameters - the update to the job agent.
func (JobAgentsClient) UpdatePreparer ¶
func (client JobAgentsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, parameters JobAgentUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (JobAgentsClient) UpdateResponder ¶
func (client JobAgentsClient) UpdateResponder(resp *http.Response) (result JobAgent, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (JobAgentsClient) UpdateSender ¶
func (client JobAgentsClient) UpdateSender(req *http.Request) (future JobAgentsUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type JobAgentsCreateOrUpdateFuture ¶
type JobAgentsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(JobAgentsClient) (JobAgent, error) }
JobAgentsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*JobAgentsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *JobAgentsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type JobAgentsDeleteFuture ¶
type JobAgentsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(JobAgentsClient) (autorest.Response, error) }
JobAgentsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*JobAgentsDeleteFuture) UnmarshalJSON ¶
func (future *JobAgentsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type JobAgentsUpdateFuture ¶
type JobAgentsUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(JobAgentsClient) (JobAgent, error) }
JobAgentsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*JobAgentsUpdateFuture) UnmarshalJSON ¶
func (future *JobAgentsUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type JobCredential ¶
type JobCredential struct { autorest.Response `json:"-"` // JobCredentialProperties - Resource properties. *JobCredentialProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
JobCredential a stored credential that can be used by a job to connect to target databases.
func (JobCredential) MarshalJSON ¶
func (jc JobCredential) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobCredential.
func (*JobCredential) UnmarshalJSON ¶
func (jc *JobCredential) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for JobCredential struct.
type JobCredentialListResult ¶
type JobCredentialListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]JobCredential `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
JobCredentialListResult a list of job credentials.
func (JobCredentialListResult) IsEmpty ¶
func (jclr JobCredentialListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (JobCredentialListResult) MarshalJSON ¶
func (jclr JobCredentialListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobCredentialListResult.
type JobCredentialListResultIterator ¶
type JobCredentialListResultIterator struct {
// contains filtered or unexported fields
}
JobCredentialListResultIterator provides access to a complete listing of JobCredential values.
func NewJobCredentialListResultIterator ¶
func NewJobCredentialListResultIterator(page JobCredentialListResultPage) JobCredentialListResultIterator
Creates a new instance of the JobCredentialListResultIterator type.
func (*JobCredentialListResultIterator) Next ¶
func (iter *JobCredentialListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*JobCredentialListResultIterator) NextWithContext ¶
func (iter *JobCredentialListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (JobCredentialListResultIterator) NotDone ¶
func (iter JobCredentialListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (JobCredentialListResultIterator) Response ¶
func (iter JobCredentialListResultIterator) Response() JobCredentialListResult
Response returns the raw server response from the last page request.
func (JobCredentialListResultIterator) Value ¶
func (iter JobCredentialListResultIterator) Value() JobCredential
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type JobCredentialListResultPage ¶
type JobCredentialListResultPage struct {
// contains filtered or unexported fields
}
JobCredentialListResultPage contains a page of JobCredential values.
func NewJobCredentialListResultPage ¶
func NewJobCredentialListResultPage(cur JobCredentialListResult, getNextPage func(context.Context, JobCredentialListResult) (JobCredentialListResult, error)) JobCredentialListResultPage
Creates a new instance of the JobCredentialListResultPage type.
func (*JobCredentialListResultPage) Next ¶
func (page *JobCredentialListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*JobCredentialListResultPage) NextWithContext ¶
func (page *JobCredentialListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (JobCredentialListResultPage) NotDone ¶
func (page JobCredentialListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (JobCredentialListResultPage) Response ¶
func (page JobCredentialListResultPage) Response() JobCredentialListResult
Response returns the raw server response from the last page request.
func (JobCredentialListResultPage) Values ¶
func (page JobCredentialListResultPage) Values() []JobCredential
Values returns the slice of values for the current page or nil if there are no values.
type JobCredentialProperties ¶
type JobCredentialProperties struct { // Username - The credential user name. Username *string `json:"username,omitempty"` // Password - The credential password. Password *string `json:"password,omitempty"` }
JobCredentialProperties properties of a job credential.
type JobCredentialsClient ¶
type JobCredentialsClient struct {
BaseClient
}
JobCredentialsClient 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 NewJobCredentialsClient ¶
func NewJobCredentialsClient(subscriptionID string) JobCredentialsClient
NewJobCredentialsClient creates an instance of the JobCredentialsClient client.
func NewJobCredentialsClientWithBaseURI ¶
func NewJobCredentialsClientWithBaseURI(baseURI string, subscriptionID string) JobCredentialsClient
NewJobCredentialsClientWithBaseURI creates an instance of the JobCredentialsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (JobCredentialsClient) CreateOrUpdate ¶
func (client JobCredentialsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, credentialName string, parameters JobCredential) (result JobCredential, err error)
CreateOrUpdate creates or updates a job credential. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. credentialName - the name of the credential. parameters - the requested job credential state.
func (JobCredentialsClient) CreateOrUpdatePreparer ¶
func (client JobCredentialsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, credentialName string, parameters JobCredential) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (JobCredentialsClient) CreateOrUpdateResponder ¶
func (client JobCredentialsClient) CreateOrUpdateResponder(resp *http.Response) (result JobCredential, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (JobCredentialsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (JobCredentialsClient) Delete ¶
func (client JobCredentialsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, credentialName string) (result autorest.Response, err error)
Delete deletes a job credential. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. credentialName - the name of the credential.
func (JobCredentialsClient) DeletePreparer ¶
func (client JobCredentialsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, credentialName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (JobCredentialsClient) DeleteResponder ¶
func (client JobCredentialsClient) 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 (JobCredentialsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (JobCredentialsClient) Get ¶
func (client JobCredentialsClient) Get(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, credentialName string) (result JobCredential, err error)
Get gets a jobs credential. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. credentialName - the name of the credential.
func (JobCredentialsClient) GetPreparer ¶
func (client JobCredentialsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, credentialName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (JobCredentialsClient) GetResponder ¶
func (client JobCredentialsClient) GetResponder(resp *http.Response) (result JobCredential, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (JobCredentialsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (JobCredentialsClient) ListByAgent ¶
func (client JobCredentialsClient) ListByAgent(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string) (result JobCredentialListResultPage, err error)
ListByAgent gets a list of jobs credentials. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent.
func (JobCredentialsClient) ListByAgentComplete ¶
func (client JobCredentialsClient) ListByAgentComplete(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string) (result JobCredentialListResultIterator, err error)
ListByAgentComplete enumerates all values, automatically crossing page boundaries as required.
func (JobCredentialsClient) ListByAgentPreparer ¶
func (client JobCredentialsClient) ListByAgentPreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string) (*http.Request, error)
ListByAgentPreparer prepares the ListByAgent request.
func (JobCredentialsClient) ListByAgentResponder ¶
func (client JobCredentialsClient) ListByAgentResponder(resp *http.Response) (result JobCredentialListResult, err error)
ListByAgentResponder handles the response to the ListByAgent request. The method always closes the http.Response Body.
func (JobCredentialsClient) ListByAgentSender ¶
ListByAgentSender sends the ListByAgent request. The method will close the http.Response Body if it receives an error.
type JobExecution ¶
type JobExecution struct { autorest.Response `json:"-"` // JobExecutionProperties - Resource properties. *JobExecutionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
JobExecution an execution of a job
func (JobExecution) MarshalJSON ¶
func (je JobExecution) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobExecution.
func (*JobExecution) UnmarshalJSON ¶
func (je *JobExecution) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for JobExecution struct.
type JobExecutionLifecycle ¶
type JobExecutionLifecycle string
JobExecutionLifecycle enumerates the values for job execution lifecycle.
const ( // JobExecutionLifecycleCanceled ... JobExecutionLifecycleCanceled JobExecutionLifecycle = "Canceled" // JobExecutionLifecycleCreated ... JobExecutionLifecycleCreated JobExecutionLifecycle = "Created" // JobExecutionLifecycleFailed ... JobExecutionLifecycleFailed JobExecutionLifecycle = "Failed" // JobExecutionLifecycleInProgress ... JobExecutionLifecycleInProgress JobExecutionLifecycle = "InProgress" // JobExecutionLifecycleSkipped ... JobExecutionLifecycleSkipped JobExecutionLifecycle = "Skipped" // JobExecutionLifecycleSucceeded ... JobExecutionLifecycleSucceeded JobExecutionLifecycle = "Succeeded" // JobExecutionLifecycleSucceededWithSkipped ... JobExecutionLifecycleSucceededWithSkipped JobExecutionLifecycle = "SucceededWithSkipped" // JobExecutionLifecycleTimedOut ... JobExecutionLifecycleTimedOut JobExecutionLifecycle = "TimedOut" // JobExecutionLifecycleWaitingForChildJobExecutions ... JobExecutionLifecycleWaitingForChildJobExecutions JobExecutionLifecycle = "WaitingForChildJobExecutions" // JobExecutionLifecycleWaitingForRetry ... JobExecutionLifecycleWaitingForRetry JobExecutionLifecycle = "WaitingForRetry" )
func PossibleJobExecutionLifecycleValues ¶
func PossibleJobExecutionLifecycleValues() []JobExecutionLifecycle
PossibleJobExecutionLifecycleValues returns an array of possible values for the JobExecutionLifecycle const type.
type JobExecutionListResult ¶
type JobExecutionListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]JobExecution `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
JobExecutionListResult a list of job executions.
func (JobExecutionListResult) IsEmpty ¶
func (jelr JobExecutionListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (JobExecutionListResult) MarshalJSON ¶
func (jelr JobExecutionListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobExecutionListResult.
type JobExecutionListResultIterator ¶
type JobExecutionListResultIterator struct {
// contains filtered or unexported fields
}
JobExecutionListResultIterator provides access to a complete listing of JobExecution values.
func NewJobExecutionListResultIterator ¶
func NewJobExecutionListResultIterator(page JobExecutionListResultPage) JobExecutionListResultIterator
Creates a new instance of the JobExecutionListResultIterator type.
func (*JobExecutionListResultIterator) Next ¶
func (iter *JobExecutionListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*JobExecutionListResultIterator) NextWithContext ¶
func (iter *JobExecutionListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (JobExecutionListResultIterator) NotDone ¶
func (iter JobExecutionListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (JobExecutionListResultIterator) Response ¶
func (iter JobExecutionListResultIterator) Response() JobExecutionListResult
Response returns the raw server response from the last page request.
func (JobExecutionListResultIterator) Value ¶
func (iter JobExecutionListResultIterator) Value() JobExecution
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type JobExecutionListResultPage ¶
type JobExecutionListResultPage struct {
// contains filtered or unexported fields
}
JobExecutionListResultPage contains a page of JobExecution values.
func NewJobExecutionListResultPage ¶
func NewJobExecutionListResultPage(cur JobExecutionListResult, getNextPage func(context.Context, JobExecutionListResult) (JobExecutionListResult, error)) JobExecutionListResultPage
Creates a new instance of the JobExecutionListResultPage type.
func (*JobExecutionListResultPage) Next ¶
func (page *JobExecutionListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*JobExecutionListResultPage) NextWithContext ¶
func (page *JobExecutionListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (JobExecutionListResultPage) NotDone ¶
func (page JobExecutionListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (JobExecutionListResultPage) Response ¶
func (page JobExecutionListResultPage) Response() JobExecutionListResult
Response returns the raw server response from the last page request.
func (JobExecutionListResultPage) Values ¶
func (page JobExecutionListResultPage) Values() []JobExecution
Values returns the slice of values for the current page or nil if there are no values.
type JobExecutionProperties ¶
type JobExecutionProperties struct { // JobVersion - READ-ONLY; The job version number. JobVersion *int32 `json:"jobVersion,omitempty"` // StepName - READ-ONLY; The job step name. StepName *string `json:"stepName,omitempty"` // StepID - READ-ONLY; The job step id. StepID *int32 `json:"stepId,omitempty"` // JobExecutionID - READ-ONLY; The unique identifier of the job execution. JobExecutionID *uuid.UUID `json:"jobExecutionId,omitempty"` // Lifecycle - READ-ONLY; The detailed state of the job execution. Possible values include: 'JobExecutionLifecycleCreated', 'JobExecutionLifecycleInProgress', 'JobExecutionLifecycleWaitingForChildJobExecutions', 'JobExecutionLifecycleWaitingForRetry', 'JobExecutionLifecycleSucceeded', 'JobExecutionLifecycleSucceededWithSkipped', 'JobExecutionLifecycleFailed', 'JobExecutionLifecycleTimedOut', 'JobExecutionLifecycleCanceled', 'JobExecutionLifecycleSkipped' Lifecycle JobExecutionLifecycle `json:"lifecycle,omitempty"` // ProvisioningState - READ-ONLY; The ARM provisioning state of the job execution. Possible values include: 'ProvisioningStateCreated', 'ProvisioningStateInProgress', 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // CreateTime - READ-ONLY; The time that the job execution was created. CreateTime *date.Time `json:"createTime,omitempty"` // StartTime - READ-ONLY; The time that the job execution started. StartTime *date.Time `json:"startTime,omitempty"` // EndTime - READ-ONLY; The time that the job execution completed. EndTime *date.Time `json:"endTime,omitempty"` // CurrentAttempts - Number of times the job execution has been attempted. CurrentAttempts *int32 `json:"currentAttempts,omitempty"` // CurrentAttemptStartTime - READ-ONLY; Start time of the current attempt. CurrentAttemptStartTime *date.Time `json:"currentAttemptStartTime,omitempty"` // LastMessage - READ-ONLY; The last status or error message. LastMessage *string `json:"lastMessage,omitempty"` // Target - READ-ONLY; The target that this execution is executed on. Target *JobExecutionTarget `json:"target,omitempty"` }
JobExecutionProperties properties for an Azure SQL Database Elastic job execution.
func (JobExecutionProperties) MarshalJSON ¶
func (jep JobExecutionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobExecutionProperties.
type JobExecutionTarget ¶
type JobExecutionTarget struct { // Type - READ-ONLY; The type of the target. Possible values include: 'JobTargetTypeTargetGroup', 'JobTargetTypeSQLDatabase', 'JobTargetTypeSQLElasticPool', 'JobTargetTypeSQLShardMap', 'JobTargetTypeSQLServer' Type JobTargetType `json:"type,omitempty"` // ServerName - READ-ONLY; The server name. ServerName *string `json:"serverName,omitempty"` // DatabaseName - READ-ONLY; The database name. DatabaseName *string `json:"databaseName,omitempty"` }
JobExecutionTarget the target that a job execution is executed on.
func (JobExecutionTarget) MarshalJSON ¶
func (jet JobExecutionTarget) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobExecutionTarget.
type JobExecutionsClient ¶
type JobExecutionsClient struct {
BaseClient
}
JobExecutionsClient 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 NewJobExecutionsClient ¶
func NewJobExecutionsClient(subscriptionID string) JobExecutionsClient
NewJobExecutionsClient creates an instance of the JobExecutionsClient client.
func NewJobExecutionsClientWithBaseURI ¶
func NewJobExecutionsClientWithBaseURI(baseURI string, subscriptionID string) JobExecutionsClient
NewJobExecutionsClientWithBaseURI creates an instance of the JobExecutionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (JobExecutionsClient) Cancel ¶
func (client JobExecutionsClient) Cancel(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobExecutionID uuid.UUID) (result autorest.Response, err error)
Cancel requests cancellation of a job execution. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. jobName - the name of the job. jobExecutionID - the id of the job execution to cancel.
func (JobExecutionsClient) CancelPreparer ¶
func (client JobExecutionsClient) CancelPreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobExecutionID uuid.UUID) (*http.Request, error)
CancelPreparer prepares the Cancel request.
func (JobExecutionsClient) CancelResponder ¶
func (client JobExecutionsClient) 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 (JobExecutionsClient) CancelSender ¶
CancelSender sends the Cancel request. The method will close the http.Response Body if it receives an error.
func (JobExecutionsClient) Create ¶
func (client JobExecutionsClient) Create(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string) (result JobExecutionsCreateFuture, err error)
Create starts an elastic job execution. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. jobName - the name of the job to get.
func (JobExecutionsClient) CreateOrUpdate ¶
func (client JobExecutionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobExecutionID uuid.UUID) (result JobExecutionsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a job execution. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. jobName - the name of the job to get. jobExecutionID - the job execution id to create the job execution under.
func (JobExecutionsClient) CreateOrUpdatePreparer ¶
func (client JobExecutionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobExecutionID uuid.UUID) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (JobExecutionsClient) CreateOrUpdateResponder ¶
func (client JobExecutionsClient) CreateOrUpdateResponder(resp *http.Response) (result JobExecution, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (JobExecutionsClient) CreateOrUpdateSender ¶
func (client JobExecutionsClient) CreateOrUpdateSender(req *http.Request) (future JobExecutionsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (JobExecutionsClient) CreatePreparer ¶
func (client JobExecutionsClient) CreatePreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string) (*http.Request, error)
CreatePreparer prepares the Create request.
func (JobExecutionsClient) CreateResponder ¶
func (client JobExecutionsClient) CreateResponder(resp *http.Response) (result JobExecution, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (JobExecutionsClient) CreateSender ¶
func (client JobExecutionsClient) CreateSender(req *http.Request) (future JobExecutionsCreateFuture, err error)
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (JobExecutionsClient) Get ¶
func (client JobExecutionsClient) Get(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobExecutionID uuid.UUID) (result JobExecution, err error)
Get gets a job execution. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. jobName - the name of the job. jobExecutionID - the id of the job execution
func (JobExecutionsClient) GetPreparer ¶
func (client JobExecutionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobExecutionID uuid.UUID) (*http.Request, error)
GetPreparer prepares the Get request.
func (JobExecutionsClient) GetResponder ¶
func (client JobExecutionsClient) GetResponder(resp *http.Response) (result JobExecution, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (JobExecutionsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (JobExecutionsClient) ListByAgent ¶
func (client JobExecutionsClient) ListByAgent(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, createTimeMin *date.Time, createTimeMax *date.Time, endTimeMin *date.Time, endTimeMax *date.Time, isActive *bool, skip *int32, top *int32) (result JobExecutionListResultPage, err error)
ListByAgent lists all executions in a job agent. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. createTimeMin - if specified, only job executions created at or after the specified time are included. createTimeMax - if specified, only job executions created before the specified time are included. endTimeMin - if specified, only job executions completed at or after the specified time are included. endTimeMax - if specified, only job executions completed before the specified time are included. isActive - if specified, only active or only completed job executions are included. skip - the number of elements in the collection to skip. top - the number of elements to return from the collection.
func (JobExecutionsClient) ListByAgentComplete ¶
func (client JobExecutionsClient) ListByAgentComplete(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, createTimeMin *date.Time, createTimeMax *date.Time, endTimeMin *date.Time, endTimeMax *date.Time, isActive *bool, skip *int32, top *int32) (result JobExecutionListResultIterator, err error)
ListByAgentComplete enumerates all values, automatically crossing page boundaries as required.
func (JobExecutionsClient) ListByAgentPreparer ¶
func (client JobExecutionsClient) ListByAgentPreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, createTimeMin *date.Time, createTimeMax *date.Time, endTimeMin *date.Time, endTimeMax *date.Time, isActive *bool, skip *int32, top *int32) (*http.Request, error)
ListByAgentPreparer prepares the ListByAgent request.
func (JobExecutionsClient) ListByAgentResponder ¶
func (client JobExecutionsClient) ListByAgentResponder(resp *http.Response) (result JobExecutionListResult, err error)
ListByAgentResponder handles the response to the ListByAgent request. The method always closes the http.Response Body.
func (JobExecutionsClient) ListByAgentSender ¶
ListByAgentSender sends the ListByAgent request. The method will close the http.Response Body if it receives an error.
func (JobExecutionsClient) ListByJob ¶
func (client JobExecutionsClient) ListByJob(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, createTimeMin *date.Time, createTimeMax *date.Time, endTimeMin *date.Time, endTimeMax *date.Time, isActive *bool, skip *int32, top *int32) (result JobExecutionListResultPage, err error)
ListByJob lists a job's executions. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. jobName - the name of the job to get. createTimeMin - if specified, only job executions created at or after the specified time are included. createTimeMax - if specified, only job executions created before the specified time are included. endTimeMin - if specified, only job executions completed at or after the specified time are included. endTimeMax - if specified, only job executions completed before the specified time are included. isActive - if specified, only active or only completed job executions are included. skip - the number of elements in the collection to skip. top - the number of elements to return from the collection.
func (JobExecutionsClient) ListByJobComplete ¶
func (client JobExecutionsClient) ListByJobComplete(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, createTimeMin *date.Time, createTimeMax *date.Time, endTimeMin *date.Time, endTimeMax *date.Time, isActive *bool, skip *int32, top *int32) (result JobExecutionListResultIterator, err error)
ListByJobComplete enumerates all values, automatically crossing page boundaries as required.
func (JobExecutionsClient) ListByJobPreparer ¶
func (client JobExecutionsClient) ListByJobPreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, createTimeMin *date.Time, createTimeMax *date.Time, endTimeMin *date.Time, endTimeMax *date.Time, isActive *bool, skip *int32, top *int32) (*http.Request, error)
ListByJobPreparer prepares the ListByJob request.
func (JobExecutionsClient) ListByJobResponder ¶
func (client JobExecutionsClient) ListByJobResponder(resp *http.Response) (result JobExecutionListResult, err error)
ListByJobResponder handles the response to the ListByJob request. The method always closes the http.Response Body.
func (JobExecutionsClient) ListByJobSender ¶
ListByJobSender sends the ListByJob request. The method will close the http.Response Body if it receives an error.
type JobExecutionsCreateFuture ¶
type JobExecutionsCreateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(JobExecutionsClient) (JobExecution, error) }
JobExecutionsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*JobExecutionsCreateFuture) UnmarshalJSON ¶
func (future *JobExecutionsCreateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type JobExecutionsCreateOrUpdateFuture ¶
type JobExecutionsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(JobExecutionsClient) (JobExecution, error) }
JobExecutionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*JobExecutionsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *JobExecutionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type JobListResult ¶
type JobListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]Job `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
JobListResult a list of jobs.
func (JobListResult) IsEmpty ¶
func (jlr JobListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (JobListResult) MarshalJSON ¶
func (jlr JobListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobListResult.
type JobListResultIterator ¶
type JobListResultIterator struct {
// contains filtered or unexported fields
}
JobListResultIterator provides access to a complete listing of Job values.
func NewJobListResultIterator ¶
func NewJobListResultIterator(page JobListResultPage) JobListResultIterator
Creates a new instance of the JobListResultIterator type.
func (*JobListResultIterator) Next ¶
func (iter *JobListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*JobListResultIterator) NextWithContext ¶
func (iter *JobListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (JobListResultIterator) NotDone ¶
func (iter JobListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (JobListResultIterator) Response ¶
func (iter JobListResultIterator) Response() JobListResult
Response returns the raw server response from the last page request.
func (JobListResultIterator) Value ¶
func (iter JobListResultIterator) Value() Job
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type JobListResultPage ¶
type JobListResultPage struct {
// contains filtered or unexported fields
}
JobListResultPage contains a page of Job values.
func NewJobListResultPage ¶
func NewJobListResultPage(cur JobListResult, getNextPage func(context.Context, JobListResult) (JobListResult, error)) JobListResultPage
Creates a new instance of the JobListResultPage type.
func (*JobListResultPage) Next ¶
func (page *JobListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*JobListResultPage) NextWithContext ¶
func (page *JobListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (JobListResultPage) NotDone ¶
func (page JobListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (JobListResultPage) Response ¶
func (page JobListResultPage) Response() JobListResult
Response returns the raw server response from the last page request.
func (JobListResultPage) Values ¶
func (page JobListResultPage) Values() []Job
Values returns the slice of values for the current page or nil if there are no values.
type JobProperties ¶
type JobProperties struct { // Description - User-defined description of the job. Description *string `json:"description,omitempty"` // Version - READ-ONLY; The job version number. Version *int32 `json:"version,omitempty"` // Schedule - Schedule properties of the job. Schedule *JobSchedule `json:"schedule,omitempty"` }
JobProperties properties of a job.
func (JobProperties) MarshalJSON ¶
func (jp JobProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobProperties.
type JobSchedule ¶
type JobSchedule struct { // StartTime - Schedule start time. StartTime *date.Time `json:"startTime,omitempty"` // EndTime - Schedule end time. EndTime *date.Time `json:"endTime,omitempty"` // Type - Schedule interval type. Possible values include: 'JobScheduleTypeOnce', 'JobScheduleTypeRecurring' Type JobScheduleType `json:"type,omitempty"` // Enabled - Whether or not the schedule is enabled. Enabled *bool `json:"enabled,omitempty"` // Interval - Value of the schedule's recurring interval, if the ScheduleType is recurring. ISO8601 duration format. Interval *string `json:"interval,omitempty"` }
JobSchedule scheduling properties of a job.
type JobScheduleType ¶
type JobScheduleType string
JobScheduleType enumerates the values for job schedule type.
const ( // JobScheduleTypeOnce ... JobScheduleTypeOnce JobScheduleType = "Once" // JobScheduleTypeRecurring ... JobScheduleTypeRecurring JobScheduleType = "Recurring" )
func PossibleJobScheduleTypeValues ¶
func PossibleJobScheduleTypeValues() []JobScheduleType
PossibleJobScheduleTypeValues returns an array of possible values for the JobScheduleType const type.
type JobStep ¶
type JobStep struct { autorest.Response `json:"-"` // JobStepProperties - Resource properties. *JobStepProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
JobStep a job step.
func (JobStep) MarshalJSON ¶
MarshalJSON is the custom marshaler for JobStep.
func (*JobStep) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for JobStep struct.
type JobStepAction ¶
type JobStepAction struct { // Type - Type of action being executed by the job step. Possible values include: 'JobStepActionTypeTSQL' Type JobStepActionType `json:"type,omitempty"` // Source - The source of the action to execute. Possible values include: 'JobStepActionSourceInline' Source JobStepActionSource `json:"source,omitempty"` // Value - The action value, for example the text of the T-SQL script to execute. Value *string `json:"value,omitempty"` }
JobStepAction the action to be executed by a job step.
type JobStepActionSource ¶
type JobStepActionSource string
JobStepActionSource enumerates the values for job step action source.
const ( // JobStepActionSourceInline ... JobStepActionSourceInline JobStepActionSource = "Inline" )
func PossibleJobStepActionSourceValues ¶
func PossibleJobStepActionSourceValues() []JobStepActionSource
PossibleJobStepActionSourceValues returns an array of possible values for the JobStepActionSource const type.
type JobStepActionType ¶
type JobStepActionType string
JobStepActionType enumerates the values for job step action type.
const ( // JobStepActionTypeTSQL ... JobStepActionTypeTSQL JobStepActionType = "TSql" )
func PossibleJobStepActionTypeValues ¶
func PossibleJobStepActionTypeValues() []JobStepActionType
PossibleJobStepActionTypeValues returns an array of possible values for the JobStepActionType const type.
type JobStepExecutionOptions ¶
type JobStepExecutionOptions struct { // TimeoutSeconds - Execution timeout for the job step. TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty"` // RetryAttempts - Maximum number of times the job step will be reattempted if the first attempt fails. RetryAttempts *int32 `json:"retryAttempts,omitempty"` // InitialRetryIntervalSeconds - Initial delay between retries for job step execution. InitialRetryIntervalSeconds *int32 `json:"initialRetryIntervalSeconds,omitempty"` // MaximumRetryIntervalSeconds - The maximum amount of time to wait between retries for job step execution. MaximumRetryIntervalSeconds *int32 `json:"maximumRetryIntervalSeconds,omitempty"` // RetryIntervalBackoffMultiplier - The backoff multiplier for the time between retries. RetryIntervalBackoffMultiplier *float64 `json:"retryIntervalBackoffMultiplier,omitempty"` }
JobStepExecutionOptions the execution options of a job step.
type JobStepExecutionsClient ¶
type JobStepExecutionsClient struct {
BaseClient
}
JobStepExecutionsClient 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 NewJobStepExecutionsClient ¶
func NewJobStepExecutionsClient(subscriptionID string) JobStepExecutionsClient
NewJobStepExecutionsClient creates an instance of the JobStepExecutionsClient client.
func NewJobStepExecutionsClientWithBaseURI ¶
func NewJobStepExecutionsClientWithBaseURI(baseURI string, subscriptionID string) JobStepExecutionsClient
NewJobStepExecutionsClientWithBaseURI creates an instance of the JobStepExecutionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (JobStepExecutionsClient) Get ¶
func (client JobStepExecutionsClient) Get(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobExecutionID uuid.UUID, stepName string) (result JobExecution, err error)
Get gets a step execution of a job execution. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. jobName - the name of the job to get. jobExecutionID - the unique id of the job execution stepName - the name of the step.
func (JobStepExecutionsClient) GetPreparer ¶
func (client JobStepExecutionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobExecutionID uuid.UUID, stepName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (JobStepExecutionsClient) GetResponder ¶
func (client JobStepExecutionsClient) GetResponder(resp *http.Response) (result JobExecution, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (JobStepExecutionsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (JobStepExecutionsClient) ListByJobExecution ¶
func (client JobStepExecutionsClient) ListByJobExecution(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobExecutionID uuid.UUID, createTimeMin *date.Time, createTimeMax *date.Time, endTimeMin *date.Time, endTimeMax *date.Time, isActive *bool, skip *int32, top *int32) (result JobExecutionListResultPage, err error)
ListByJobExecution lists the step executions of a job execution. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. jobName - the name of the job to get. jobExecutionID - the id of the job execution createTimeMin - if specified, only job executions created at or after the specified time are included. createTimeMax - if specified, only job executions created before the specified time are included. endTimeMin - if specified, only job executions completed at or after the specified time are included. endTimeMax - if specified, only job executions completed before the specified time are included. isActive - if specified, only active or only completed job executions are included. skip - the number of elements in the collection to skip. top - the number of elements to return from the collection.
func (JobStepExecutionsClient) ListByJobExecutionComplete ¶
func (client JobStepExecutionsClient) ListByJobExecutionComplete(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobExecutionID uuid.UUID, createTimeMin *date.Time, createTimeMax *date.Time, endTimeMin *date.Time, endTimeMax *date.Time, isActive *bool, skip *int32, top *int32) (result JobExecutionListResultIterator, err error)
ListByJobExecutionComplete enumerates all values, automatically crossing page boundaries as required.
func (JobStepExecutionsClient) ListByJobExecutionPreparer ¶
func (client JobStepExecutionsClient) ListByJobExecutionPreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobExecutionID uuid.UUID, createTimeMin *date.Time, createTimeMax *date.Time, endTimeMin *date.Time, endTimeMax *date.Time, isActive *bool, skip *int32, top *int32) (*http.Request, error)
ListByJobExecutionPreparer prepares the ListByJobExecution request.
func (JobStepExecutionsClient) ListByJobExecutionResponder ¶
func (client JobStepExecutionsClient) ListByJobExecutionResponder(resp *http.Response) (result JobExecutionListResult, err error)
ListByJobExecutionResponder handles the response to the ListByJobExecution request. The method always closes the http.Response Body.
func (JobStepExecutionsClient) ListByJobExecutionSender ¶
func (client JobStepExecutionsClient) ListByJobExecutionSender(req *http.Request) (*http.Response, error)
ListByJobExecutionSender sends the ListByJobExecution request. The method will close the http.Response Body if it receives an error.
type JobStepListResult ¶
type JobStepListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]JobStep `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
JobStepListResult a list of job steps.
func (JobStepListResult) IsEmpty ¶
func (jslr JobStepListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (JobStepListResult) MarshalJSON ¶
func (jslr JobStepListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobStepListResult.
type JobStepListResultIterator ¶
type JobStepListResultIterator struct {
// contains filtered or unexported fields
}
JobStepListResultIterator provides access to a complete listing of JobStep values.
func NewJobStepListResultIterator ¶
func NewJobStepListResultIterator(page JobStepListResultPage) JobStepListResultIterator
Creates a new instance of the JobStepListResultIterator type.
func (*JobStepListResultIterator) Next ¶
func (iter *JobStepListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*JobStepListResultIterator) NextWithContext ¶
func (iter *JobStepListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (JobStepListResultIterator) NotDone ¶
func (iter JobStepListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (JobStepListResultIterator) Response ¶
func (iter JobStepListResultIterator) Response() JobStepListResult
Response returns the raw server response from the last page request.
func (JobStepListResultIterator) Value ¶
func (iter JobStepListResultIterator) Value() JobStep
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type JobStepListResultPage ¶
type JobStepListResultPage struct {
// contains filtered or unexported fields
}
JobStepListResultPage contains a page of JobStep values.
func NewJobStepListResultPage ¶
func NewJobStepListResultPage(cur JobStepListResult, getNextPage func(context.Context, JobStepListResult) (JobStepListResult, error)) JobStepListResultPage
Creates a new instance of the JobStepListResultPage type.
func (*JobStepListResultPage) Next ¶
func (page *JobStepListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*JobStepListResultPage) NextWithContext ¶
func (page *JobStepListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (JobStepListResultPage) NotDone ¶
func (page JobStepListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (JobStepListResultPage) Response ¶
func (page JobStepListResultPage) Response() JobStepListResult
Response returns the raw server response from the last page request.
func (JobStepListResultPage) Values ¶
func (page JobStepListResultPage) Values() []JobStep
Values returns the slice of values for the current page or nil if there are no values.
type JobStepOutput ¶
type JobStepOutput struct { // Type - The output destination type. Possible values include: 'JobStepOutputTypeSQLDatabase' Type JobStepOutputType `json:"type,omitempty"` // SubscriptionID - The output destination subscription id. SubscriptionID *uuid.UUID `json:"subscriptionId,omitempty"` // ResourceGroupName - The output destination resource group. ResourceGroupName *string `json:"resourceGroupName,omitempty"` // ServerName - The output destination server name. ServerName *string `json:"serverName,omitempty"` // DatabaseName - The output destination database. DatabaseName *string `json:"databaseName,omitempty"` // SchemaName - The output destination schema. SchemaName *string `json:"schemaName,omitempty"` // TableName - The output destination table. TableName *string `json:"tableName,omitempty"` // Credential - The resource ID of the credential to use to connect to the output destination. Credential *string `json:"credential,omitempty"` }
JobStepOutput the output configuration of a job step.
type JobStepOutputType ¶
type JobStepOutputType string
JobStepOutputType enumerates the values for job step output type.
const ( // JobStepOutputTypeSQLDatabase ... JobStepOutputTypeSQLDatabase JobStepOutputType = "SqlDatabase" )
func PossibleJobStepOutputTypeValues ¶
func PossibleJobStepOutputTypeValues() []JobStepOutputType
PossibleJobStepOutputTypeValues returns an array of possible values for the JobStepOutputType const type.
type JobStepProperties ¶
type JobStepProperties struct { // StepID - The job step's index within the job. If not specified when creating the job step, it will be created as the last step. If not specified when updating the job step, the step id is not modified. StepID *int32 `json:"stepId,omitempty"` // TargetGroup - The resource ID of the target group that the job step will be executed on. TargetGroup *string `json:"targetGroup,omitempty"` // Credential - The resource ID of the job credential that will be used to connect to the targets. Credential *string `json:"credential,omitempty"` // Action - The action payload of the job step. Action *JobStepAction `json:"action,omitempty"` // Output - Output destination properties of the job step. Output *JobStepOutput `json:"output,omitempty"` // ExecutionOptions - Execution options for the job step. ExecutionOptions *JobStepExecutionOptions `json:"executionOptions,omitempty"` }
JobStepProperties properties of a job step.
type JobStepsClient ¶
type JobStepsClient struct {
BaseClient
}
JobStepsClient 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 NewJobStepsClient ¶
func NewJobStepsClient(subscriptionID string) JobStepsClient
NewJobStepsClient creates an instance of the JobStepsClient client.
func NewJobStepsClientWithBaseURI ¶
func NewJobStepsClientWithBaseURI(baseURI string, subscriptionID string) JobStepsClient
NewJobStepsClientWithBaseURI creates an instance of the JobStepsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (JobStepsClient) CreateOrUpdate ¶
func (client JobStepsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, stepName string, parameters JobStep) (result JobStep, err error)
CreateOrUpdate creates or updates a job step. This will implicitly create a new job version. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. jobName - the name of the job. stepName - the name of the job step. parameters - the requested state of the job step.
func (JobStepsClient) CreateOrUpdatePreparer ¶
func (client JobStepsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, stepName string, parameters JobStep) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (JobStepsClient) CreateOrUpdateResponder ¶
func (client JobStepsClient) CreateOrUpdateResponder(resp *http.Response) (result JobStep, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (JobStepsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (JobStepsClient) Delete ¶
func (client JobStepsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, stepName string) (result autorest.Response, err error)
Delete deletes a job step. This will implicitly create a new job version. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. jobName - the name of the job. stepName - the name of the job step to delete.
func (JobStepsClient) DeletePreparer ¶
func (client JobStepsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, stepName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (JobStepsClient) DeleteResponder ¶
func (client JobStepsClient) 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 (JobStepsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (JobStepsClient) Get ¶
func (client JobStepsClient) Get(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, stepName string) (result JobStep, err error)
Get gets a job step in a job's current version. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. jobName - the name of the job. stepName - the name of the job step.
func (JobStepsClient) GetByVersion ¶
func (client JobStepsClient) GetByVersion(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobVersion int32, stepName string) (result JobStep, err error)
GetByVersion gets the specified version of a job step. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. jobName - the name of the job. jobVersion - the version of the job to get. stepName - the name of the job step.
func (JobStepsClient) GetByVersionPreparer ¶
func (client JobStepsClient) GetByVersionPreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobVersion int32, stepName string) (*http.Request, error)
GetByVersionPreparer prepares the GetByVersion request.
func (JobStepsClient) GetByVersionResponder ¶
func (client JobStepsClient) GetByVersionResponder(resp *http.Response) (result JobStep, err error)
GetByVersionResponder handles the response to the GetByVersion request. The method always closes the http.Response Body.
func (JobStepsClient) GetByVersionSender ¶
GetByVersionSender sends the GetByVersion request. The method will close the http.Response Body if it receives an error.
func (JobStepsClient) GetPreparer ¶
func (client JobStepsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, stepName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (JobStepsClient) GetResponder ¶
func (client JobStepsClient) GetResponder(resp *http.Response) (result JobStep, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (JobStepsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (JobStepsClient) ListByJob ¶
func (client JobStepsClient) ListByJob(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string) (result JobStepListResultPage, err error)
ListByJob gets all job steps for a job's current version. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. jobName - the name of the job to get.
func (JobStepsClient) ListByJobComplete ¶
func (client JobStepsClient) ListByJobComplete(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string) (result JobStepListResultIterator, err error)
ListByJobComplete enumerates all values, automatically crossing page boundaries as required.
func (JobStepsClient) ListByJobPreparer ¶
func (client JobStepsClient) ListByJobPreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string) (*http.Request, error)
ListByJobPreparer prepares the ListByJob request.
func (JobStepsClient) ListByJobResponder ¶
func (client JobStepsClient) ListByJobResponder(resp *http.Response) (result JobStepListResult, err error)
ListByJobResponder handles the response to the ListByJob request. The method always closes the http.Response Body.
func (JobStepsClient) ListByJobSender ¶
ListByJobSender sends the ListByJob request. The method will close the http.Response Body if it receives an error.
func (JobStepsClient) ListByVersion ¶
func (client JobStepsClient) ListByVersion(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobVersion int32) (result JobStepListResultPage, err error)
ListByVersion gets all job steps in the specified job version. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. jobName - the name of the job to get. jobVersion - the version of the job to get.
func (JobStepsClient) ListByVersionComplete ¶
func (client JobStepsClient) ListByVersionComplete(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobVersion int32) (result JobStepListResultIterator, err error)
ListByVersionComplete enumerates all values, automatically crossing page boundaries as required.
func (JobStepsClient) ListByVersionPreparer ¶
func (client JobStepsClient) ListByVersionPreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobVersion int32) (*http.Request, error)
ListByVersionPreparer prepares the ListByVersion request.
func (JobStepsClient) ListByVersionResponder ¶
func (client JobStepsClient) ListByVersionResponder(resp *http.Response) (result JobStepListResult, err error)
ListByVersionResponder handles the response to the ListByVersion request. The method always closes the http.Response Body.
func (JobStepsClient) ListByVersionSender ¶
ListByVersionSender sends the ListByVersion request. The method will close the http.Response Body if it receives an error.
type JobTarget ¶
type JobTarget struct { // MembershipType - Whether the target is included or excluded from the group. Possible values include: 'JobTargetGroupMembershipTypeInclude', 'JobTargetGroupMembershipTypeExclude' MembershipType JobTargetGroupMembershipType `json:"membershipType,omitempty"` // Type - The target type. Possible values include: 'JobTargetTypeTargetGroup', 'JobTargetTypeSQLDatabase', 'JobTargetTypeSQLElasticPool', 'JobTargetTypeSQLShardMap', 'JobTargetTypeSQLServer' Type JobTargetType `json:"type,omitempty"` // ServerName - The target server name. ServerName *string `json:"serverName,omitempty"` // DatabaseName - The target database name. DatabaseName *string `json:"databaseName,omitempty"` // ElasticPoolName - The target elastic pool name. ElasticPoolName *string `json:"elasticPoolName,omitempty"` // ShardMapName - The target shard map. ShardMapName *string `json:"shardMapName,omitempty"` // RefreshCredential - The resource ID of the credential that is used during job execution to connect to the target and determine the list of databases inside the target. RefreshCredential *string `json:"refreshCredential,omitempty"` }
JobTarget a job target, for example a specific database or a container of databases that is evaluated during job execution.
type JobTargetExecutionsClient ¶
type JobTargetExecutionsClient struct {
BaseClient
}
JobTargetExecutionsClient 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 NewJobTargetExecutionsClient ¶
func NewJobTargetExecutionsClient(subscriptionID string) JobTargetExecutionsClient
NewJobTargetExecutionsClient creates an instance of the JobTargetExecutionsClient client.
func NewJobTargetExecutionsClientWithBaseURI ¶
func NewJobTargetExecutionsClientWithBaseURI(baseURI string, subscriptionID string) JobTargetExecutionsClient
NewJobTargetExecutionsClientWithBaseURI creates an instance of the JobTargetExecutionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (JobTargetExecutionsClient) Get ¶
func (client JobTargetExecutionsClient) Get(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobExecutionID uuid.UUID, stepName string, targetID uuid.UUID) (result JobExecution, err error)
Get gets a target execution. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. jobName - the name of the job to get. jobExecutionID - the unique id of the job execution stepName - the name of the step. targetID - the target id.
func (JobTargetExecutionsClient) GetPreparer ¶
func (client JobTargetExecutionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobExecutionID uuid.UUID, stepName string, targetID uuid.UUID) (*http.Request, error)
GetPreparer prepares the Get request.
func (JobTargetExecutionsClient) GetResponder ¶
func (client JobTargetExecutionsClient) GetResponder(resp *http.Response) (result JobExecution, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (JobTargetExecutionsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (JobTargetExecutionsClient) ListByJobExecution ¶
func (client JobTargetExecutionsClient) ListByJobExecution(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobExecutionID uuid.UUID, createTimeMin *date.Time, createTimeMax *date.Time, endTimeMin *date.Time, endTimeMax *date.Time, isActive *bool, skip *int32, top *int32) (result JobExecutionListResultPage, err error)
ListByJobExecution lists target executions for all steps of a job execution. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. jobName - the name of the job to get. jobExecutionID - the id of the job execution createTimeMin - if specified, only job executions created at or after the specified time are included. createTimeMax - if specified, only job executions created before the specified time are included. endTimeMin - if specified, only job executions completed at or after the specified time are included. endTimeMax - if specified, only job executions completed before the specified time are included. isActive - if specified, only active or only completed job executions are included. skip - the number of elements in the collection to skip. top - the number of elements to return from the collection.
func (JobTargetExecutionsClient) ListByJobExecutionComplete ¶
func (client JobTargetExecutionsClient) ListByJobExecutionComplete(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobExecutionID uuid.UUID, createTimeMin *date.Time, createTimeMax *date.Time, endTimeMin *date.Time, endTimeMax *date.Time, isActive *bool, skip *int32, top *int32) (result JobExecutionListResultIterator, err error)
ListByJobExecutionComplete enumerates all values, automatically crossing page boundaries as required.
func (JobTargetExecutionsClient) ListByJobExecutionPreparer ¶
func (client JobTargetExecutionsClient) ListByJobExecutionPreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobExecutionID uuid.UUID, createTimeMin *date.Time, createTimeMax *date.Time, endTimeMin *date.Time, endTimeMax *date.Time, isActive *bool, skip *int32, top *int32) (*http.Request, error)
ListByJobExecutionPreparer prepares the ListByJobExecution request.
func (JobTargetExecutionsClient) ListByJobExecutionResponder ¶
func (client JobTargetExecutionsClient) ListByJobExecutionResponder(resp *http.Response) (result JobExecutionListResult, err error)
ListByJobExecutionResponder handles the response to the ListByJobExecution request. The method always closes the http.Response Body.
func (JobTargetExecutionsClient) ListByJobExecutionSender ¶
func (client JobTargetExecutionsClient) ListByJobExecutionSender(req *http.Request) (*http.Response, error)
ListByJobExecutionSender sends the ListByJobExecution request. The method will close the http.Response Body if it receives an error.
func (JobTargetExecutionsClient) ListByStep ¶
func (client JobTargetExecutionsClient) ListByStep(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobExecutionID uuid.UUID, stepName string, createTimeMin *date.Time, createTimeMax *date.Time, endTimeMin *date.Time, endTimeMax *date.Time, isActive *bool, skip *int32, top *int32) (result JobExecutionListResultPage, err error)
ListByStep lists the target executions of a job step execution. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. jobName - the name of the job to get. jobExecutionID - the id of the job execution stepName - the name of the step. createTimeMin - if specified, only job executions created at or after the specified time are included. createTimeMax - if specified, only job executions created before the specified time are included. endTimeMin - if specified, only job executions completed at or after the specified time are included. endTimeMax - if specified, only job executions completed before the specified time are included. isActive - if specified, only active or only completed job executions are included. skip - the number of elements in the collection to skip. top - the number of elements to return from the collection.
func (JobTargetExecutionsClient) ListByStepComplete ¶
func (client JobTargetExecutionsClient) ListByStepComplete(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobExecutionID uuid.UUID, stepName string, createTimeMin *date.Time, createTimeMax *date.Time, endTimeMin *date.Time, endTimeMax *date.Time, isActive *bool, skip *int32, top *int32) (result JobExecutionListResultIterator, err error)
ListByStepComplete enumerates all values, automatically crossing page boundaries as required.
func (JobTargetExecutionsClient) ListByStepPreparer ¶
func (client JobTargetExecutionsClient) ListByStepPreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobExecutionID uuid.UUID, stepName string, createTimeMin *date.Time, createTimeMax *date.Time, endTimeMin *date.Time, endTimeMax *date.Time, isActive *bool, skip *int32, top *int32) (*http.Request, error)
ListByStepPreparer prepares the ListByStep request.
func (JobTargetExecutionsClient) ListByStepResponder ¶
func (client JobTargetExecutionsClient) ListByStepResponder(resp *http.Response) (result JobExecutionListResult, err error)
ListByStepResponder handles the response to the ListByStep request. The method always closes the http.Response Body.
func (JobTargetExecutionsClient) ListByStepSender ¶
ListByStepSender sends the ListByStep request. The method will close the http.Response Body if it receives an error.
type JobTargetGroup ¶
type JobTargetGroup struct { autorest.Response `json:"-"` // JobTargetGroupProperties - Resource properties. *JobTargetGroupProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
JobTargetGroup a group of job targets.
func (JobTargetGroup) MarshalJSON ¶
func (jtg JobTargetGroup) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobTargetGroup.
func (*JobTargetGroup) UnmarshalJSON ¶
func (jtg *JobTargetGroup) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for JobTargetGroup struct.
type JobTargetGroupListResult ¶
type JobTargetGroupListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]JobTargetGroup `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
JobTargetGroupListResult a list of target groups.
func (JobTargetGroupListResult) IsEmpty ¶
func (jtglr JobTargetGroupListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (JobTargetGroupListResult) MarshalJSON ¶
func (jtglr JobTargetGroupListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobTargetGroupListResult.
type JobTargetGroupListResultIterator ¶
type JobTargetGroupListResultIterator struct {
// contains filtered or unexported fields
}
JobTargetGroupListResultIterator provides access to a complete listing of JobTargetGroup values.
func NewJobTargetGroupListResultIterator ¶
func NewJobTargetGroupListResultIterator(page JobTargetGroupListResultPage) JobTargetGroupListResultIterator
Creates a new instance of the JobTargetGroupListResultIterator type.
func (*JobTargetGroupListResultIterator) Next ¶
func (iter *JobTargetGroupListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*JobTargetGroupListResultIterator) NextWithContext ¶
func (iter *JobTargetGroupListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (JobTargetGroupListResultIterator) NotDone ¶
func (iter JobTargetGroupListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (JobTargetGroupListResultIterator) Response ¶
func (iter JobTargetGroupListResultIterator) Response() JobTargetGroupListResult
Response returns the raw server response from the last page request.
func (JobTargetGroupListResultIterator) Value ¶
func (iter JobTargetGroupListResultIterator) Value() JobTargetGroup
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type JobTargetGroupListResultPage ¶
type JobTargetGroupListResultPage struct {
// contains filtered or unexported fields
}
JobTargetGroupListResultPage contains a page of JobTargetGroup values.
func NewJobTargetGroupListResultPage ¶
func NewJobTargetGroupListResultPage(cur JobTargetGroupListResult, getNextPage func(context.Context, JobTargetGroupListResult) (JobTargetGroupListResult, error)) JobTargetGroupListResultPage
Creates a new instance of the JobTargetGroupListResultPage type.
func (*JobTargetGroupListResultPage) Next ¶
func (page *JobTargetGroupListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*JobTargetGroupListResultPage) NextWithContext ¶
func (page *JobTargetGroupListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (JobTargetGroupListResultPage) NotDone ¶
func (page JobTargetGroupListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (JobTargetGroupListResultPage) Response ¶
func (page JobTargetGroupListResultPage) Response() JobTargetGroupListResult
Response returns the raw server response from the last page request.
func (JobTargetGroupListResultPage) Values ¶
func (page JobTargetGroupListResultPage) Values() []JobTargetGroup
Values returns the slice of values for the current page or nil if there are no values.
type JobTargetGroupMembershipType ¶
type JobTargetGroupMembershipType string
JobTargetGroupMembershipType enumerates the values for job target group membership type.
const ( // JobTargetGroupMembershipTypeExclude ... JobTargetGroupMembershipTypeExclude JobTargetGroupMembershipType = "Exclude" // JobTargetGroupMembershipTypeInclude ... JobTargetGroupMembershipTypeInclude JobTargetGroupMembershipType = "Include" )
func PossibleJobTargetGroupMembershipTypeValues ¶
func PossibleJobTargetGroupMembershipTypeValues() []JobTargetGroupMembershipType
PossibleJobTargetGroupMembershipTypeValues returns an array of possible values for the JobTargetGroupMembershipType const type.
type JobTargetGroupProperties ¶
type JobTargetGroupProperties struct { // Members - Members of the target group. Members *[]JobTarget `json:"members,omitempty"` }
JobTargetGroupProperties properties of job target group.
type JobTargetGroupsClient ¶
type JobTargetGroupsClient struct {
BaseClient
}
JobTargetGroupsClient 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 NewJobTargetGroupsClient ¶
func NewJobTargetGroupsClient(subscriptionID string) JobTargetGroupsClient
NewJobTargetGroupsClient creates an instance of the JobTargetGroupsClient client.
func NewJobTargetGroupsClientWithBaseURI ¶
func NewJobTargetGroupsClientWithBaseURI(baseURI string, subscriptionID string) JobTargetGroupsClient
NewJobTargetGroupsClientWithBaseURI creates an instance of the JobTargetGroupsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (JobTargetGroupsClient) CreateOrUpdate ¶
func (client JobTargetGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, targetGroupName string, parameters JobTargetGroup) (result JobTargetGroup, err error)
CreateOrUpdate creates or updates a target group. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. targetGroupName - the name of the target group. parameters - the requested state of the target group.
func (JobTargetGroupsClient) CreateOrUpdatePreparer ¶
func (client JobTargetGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, targetGroupName string, parameters JobTargetGroup) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (JobTargetGroupsClient) CreateOrUpdateResponder ¶
func (client JobTargetGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result JobTargetGroup, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (JobTargetGroupsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (JobTargetGroupsClient) Delete ¶
func (client JobTargetGroupsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, targetGroupName string) (result autorest.Response, err error)
Delete deletes a target group. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. targetGroupName - the name of the target group.
func (JobTargetGroupsClient) DeletePreparer ¶
func (client JobTargetGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, targetGroupName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (JobTargetGroupsClient) DeleteResponder ¶
func (client JobTargetGroupsClient) 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 (JobTargetGroupsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (JobTargetGroupsClient) Get ¶
func (client JobTargetGroupsClient) Get(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, targetGroupName string) (result JobTargetGroup, err error)
Get gets a target group. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. targetGroupName - the name of the target group.
func (JobTargetGroupsClient) GetPreparer ¶
func (client JobTargetGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, targetGroupName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (JobTargetGroupsClient) GetResponder ¶
func (client JobTargetGroupsClient) GetResponder(resp *http.Response) (result JobTargetGroup, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (JobTargetGroupsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (JobTargetGroupsClient) ListByAgent ¶
func (client JobTargetGroupsClient) ListByAgent(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string) (result JobTargetGroupListResultPage, err error)
ListByAgent gets all target groups in an agent. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent.
func (JobTargetGroupsClient) ListByAgentComplete ¶
func (client JobTargetGroupsClient) ListByAgentComplete(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string) (result JobTargetGroupListResultIterator, err error)
ListByAgentComplete enumerates all values, automatically crossing page boundaries as required.
func (JobTargetGroupsClient) ListByAgentPreparer ¶
func (client JobTargetGroupsClient) ListByAgentPreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string) (*http.Request, error)
ListByAgentPreparer prepares the ListByAgent request.
func (JobTargetGroupsClient) ListByAgentResponder ¶
func (client JobTargetGroupsClient) ListByAgentResponder(resp *http.Response) (result JobTargetGroupListResult, err error)
ListByAgentResponder handles the response to the ListByAgent request. The method always closes the http.Response Body.
func (JobTargetGroupsClient) ListByAgentSender ¶
ListByAgentSender sends the ListByAgent request. The method will close the http.Response Body if it receives an error.
type JobTargetType ¶
type JobTargetType string
JobTargetType enumerates the values for job target type.
const ( // JobTargetTypeSQLDatabase ... JobTargetTypeSQLDatabase JobTargetType = "SqlDatabase" // JobTargetTypeSQLElasticPool ... JobTargetTypeSQLElasticPool JobTargetType = "SqlElasticPool" // JobTargetTypeSQLServer ... JobTargetTypeSQLServer JobTargetType = "SqlServer" // JobTargetTypeSQLShardMap ... JobTargetTypeSQLShardMap JobTargetType = "SqlShardMap" // JobTargetTypeTargetGroup ... JobTargetTypeTargetGroup JobTargetType = "TargetGroup" )
func PossibleJobTargetTypeValues ¶
func PossibleJobTargetTypeValues() []JobTargetType
PossibleJobTargetTypeValues returns an array of possible values for the JobTargetType const type.
type JobVersion ¶
type JobVersion struct { autorest.Response `json:"-"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
JobVersion a job version.
func (JobVersion) MarshalJSON ¶
func (jv JobVersion) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobVersion.
type JobVersionListResult ¶
type JobVersionListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]JobVersion `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
JobVersionListResult a list of job versions.
func (JobVersionListResult) IsEmpty ¶
func (jvlr JobVersionListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (JobVersionListResult) MarshalJSON ¶
func (jvlr JobVersionListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobVersionListResult.
type JobVersionListResultIterator ¶
type JobVersionListResultIterator struct {
// contains filtered or unexported fields
}
JobVersionListResultIterator provides access to a complete listing of JobVersion values.
func NewJobVersionListResultIterator ¶
func NewJobVersionListResultIterator(page JobVersionListResultPage) JobVersionListResultIterator
Creates a new instance of the JobVersionListResultIterator type.
func (*JobVersionListResultIterator) Next ¶
func (iter *JobVersionListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*JobVersionListResultIterator) NextWithContext ¶
func (iter *JobVersionListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (JobVersionListResultIterator) NotDone ¶
func (iter JobVersionListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (JobVersionListResultIterator) Response ¶
func (iter JobVersionListResultIterator) Response() JobVersionListResult
Response returns the raw server response from the last page request.
func (JobVersionListResultIterator) Value ¶
func (iter JobVersionListResultIterator) Value() JobVersion
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type JobVersionListResultPage ¶
type JobVersionListResultPage struct {
// contains filtered or unexported fields
}
JobVersionListResultPage contains a page of JobVersion values.
func NewJobVersionListResultPage ¶
func NewJobVersionListResultPage(cur JobVersionListResult, getNextPage func(context.Context, JobVersionListResult) (JobVersionListResult, error)) JobVersionListResultPage
Creates a new instance of the JobVersionListResultPage type.
func (*JobVersionListResultPage) Next ¶
func (page *JobVersionListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*JobVersionListResultPage) NextWithContext ¶
func (page *JobVersionListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (JobVersionListResultPage) NotDone ¶
func (page JobVersionListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (JobVersionListResultPage) Response ¶
func (page JobVersionListResultPage) Response() JobVersionListResult
Response returns the raw server response from the last page request.
func (JobVersionListResultPage) Values ¶
func (page JobVersionListResultPage) Values() []JobVersion
Values returns the slice of values for the current page or nil if there are no values.
type JobVersionsClient ¶
type JobVersionsClient struct {
BaseClient
}
JobVersionsClient 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 NewJobVersionsClient ¶
func NewJobVersionsClient(subscriptionID string) JobVersionsClient
NewJobVersionsClient creates an instance of the JobVersionsClient client.
func NewJobVersionsClientWithBaseURI ¶
func NewJobVersionsClientWithBaseURI(baseURI string, subscriptionID string) JobVersionsClient
NewJobVersionsClientWithBaseURI creates an instance of the JobVersionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (JobVersionsClient) Get ¶
func (client JobVersionsClient) Get(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobVersion int32) (result JobVersion, err error)
Get gets a job version. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. jobName - the name of the job. jobVersion - the version of the job to get.
func (JobVersionsClient) GetPreparer ¶
func (client JobVersionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobVersion int32) (*http.Request, error)
GetPreparer prepares the Get request.
func (JobVersionsClient) GetResponder ¶
func (client JobVersionsClient) GetResponder(resp *http.Response) (result JobVersion, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (JobVersionsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (JobVersionsClient) ListByJob ¶
func (client JobVersionsClient) ListByJob(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string) (result JobVersionListResultPage, err error)
ListByJob gets all versions of a job. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. jobName - the name of the job to get.
func (JobVersionsClient) ListByJobComplete ¶
func (client JobVersionsClient) ListByJobComplete(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string) (result JobVersionListResultIterator, err error)
ListByJobComplete enumerates all values, automatically crossing page boundaries as required.
func (JobVersionsClient) ListByJobPreparer ¶
func (client JobVersionsClient) ListByJobPreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string) (*http.Request, error)
ListByJobPreparer prepares the ListByJob request.
func (JobVersionsClient) ListByJobResponder ¶
func (client JobVersionsClient) ListByJobResponder(resp *http.Response) (result JobVersionListResult, err error)
ListByJobResponder handles the response to the ListByJob request. The method always closes the http.Response Body.
func (JobVersionsClient) ListByJobSender ¶
ListByJobSender sends the ListByJob request. The method will close the http.Response Body if it receives an error.
type JobsClient ¶
type JobsClient struct {
BaseClient
}
JobsClient 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 NewJobsClient ¶
func NewJobsClient(subscriptionID string) JobsClient
NewJobsClient creates an instance of the JobsClient client.
func NewJobsClientWithBaseURI ¶
func NewJobsClientWithBaseURI(baseURI string, subscriptionID string) JobsClient
NewJobsClientWithBaseURI creates an instance of the JobsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (JobsClient) CreateOrUpdate ¶
func (client JobsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, parameters Job) (result Job, err error)
CreateOrUpdate creates or updates a job. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. jobName - the name of the job to get. parameters - the requested job state.
func (JobsClient) CreateOrUpdatePreparer ¶
func (client JobsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, parameters Job) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (JobsClient) CreateOrUpdateResponder ¶
func (client JobsClient) CreateOrUpdateResponder(resp *http.Response) (result Job, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (JobsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (JobsClient) Delete ¶
func (client JobsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string) (result autorest.Response, err error)
Delete deletes a job. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. jobName - the name of the job to delete.
func (JobsClient) DeletePreparer ¶
func (client JobsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (JobsClient) DeleteResponder ¶
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (JobsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (JobsClient) Get ¶
func (client JobsClient) Get(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string) (result Job, err error)
Get gets a job. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent. jobName - the name of the job to get.
func (JobsClient) GetPreparer ¶
func (client JobsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (JobsClient) GetResponder ¶
func (client JobsClient) GetResponder(resp *http.Response) (result Job, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (JobsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (JobsClient) ListByAgent ¶
func (client JobsClient) ListByAgent(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string) (result JobListResultPage, err error)
ListByAgent gets a list of jobs. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. jobAgentName - the name of the job agent.
func (JobsClient) ListByAgentComplete ¶
func (client JobsClient) ListByAgentComplete(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string) (result JobListResultIterator, err error)
ListByAgentComplete enumerates all values, automatically crossing page boundaries as required.
func (JobsClient) ListByAgentPreparer ¶
func (client JobsClient) ListByAgentPreparer(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string) (*http.Request, error)
ListByAgentPreparer prepares the ListByAgent request.
func (JobsClient) ListByAgentResponder ¶
func (client JobsClient) ListByAgentResponder(resp *http.Response) (result JobListResult, err error)
ListByAgentResponder handles the response to the ListByAgent request. The method always closes the http.Response Body.
func (JobsClient) ListByAgentSender ¶
ListByAgentSender sends the ListByAgent request. The method will close the http.Response Body if it receives an error.
type LedgerDigestUploads ¶
type LedgerDigestUploads struct { autorest.Response `json:"-"` // LedgerDigestUploadsProperties - Resource properties. *LedgerDigestUploadsProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
LedgerDigestUploads azure SQL Database ledger digest upload settings.
func (LedgerDigestUploads) MarshalJSON ¶
func (ldu LedgerDigestUploads) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LedgerDigestUploads.
func (*LedgerDigestUploads) UnmarshalJSON ¶
func (ldu *LedgerDigestUploads) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for LedgerDigestUploads struct.
type LedgerDigestUploadsClient ¶
type LedgerDigestUploadsClient struct {
BaseClient
}
LedgerDigestUploadsClient 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 NewLedgerDigestUploadsClient ¶
func NewLedgerDigestUploadsClient(subscriptionID string) LedgerDigestUploadsClient
NewLedgerDigestUploadsClient creates an instance of the LedgerDigestUploadsClient client.
func NewLedgerDigestUploadsClientWithBaseURI ¶
func NewLedgerDigestUploadsClientWithBaseURI(baseURI string, subscriptionID string) LedgerDigestUploadsClient
NewLedgerDigestUploadsClientWithBaseURI creates an instance of the LedgerDigestUploadsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (LedgerDigestUploadsClient) CreateOrUpdate ¶
func (client LedgerDigestUploadsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters LedgerDigestUploads) (result LedgerDigestUploads, err error)
CreateOrUpdate enables upload ledger digests to an Azure Storage account or an Azure Confidential Ledger instance. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (LedgerDigestUploadsClient) CreateOrUpdatePreparer ¶
func (client LedgerDigestUploadsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters LedgerDigestUploads) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (LedgerDigestUploadsClient) CreateOrUpdateResponder ¶
func (client LedgerDigestUploadsClient) CreateOrUpdateResponder(resp *http.Response) (result LedgerDigestUploads, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (LedgerDigestUploadsClient) CreateOrUpdateSender ¶
func (client LedgerDigestUploadsClient) 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 (LedgerDigestUploadsClient) Disable ¶
func (client LedgerDigestUploadsClient) Disable(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result LedgerDigestUploads, err error)
Disable disables uploading ledger digests to an Azure Storage account or an Azure Confidential Ledger instance. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (LedgerDigestUploadsClient) DisablePreparer ¶
func (client LedgerDigestUploadsClient) DisablePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
DisablePreparer prepares the Disable request.
func (LedgerDigestUploadsClient) DisableResponder ¶
func (client LedgerDigestUploadsClient) DisableResponder(resp *http.Response) (result LedgerDigestUploads, err error)
DisableResponder handles the response to the Disable request. The method always closes the http.Response Body.
func (LedgerDigestUploadsClient) DisableSender ¶
DisableSender sends the Disable request. The method will close the http.Response Body if it receives an error.
func (LedgerDigestUploadsClient) Get ¶
func (client LedgerDigestUploadsClient) Get(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result LedgerDigestUploads, err error)
Get gets the current ledger digest upload configuration for a database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (LedgerDigestUploadsClient) GetPreparer ¶
func (client LedgerDigestUploadsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (LedgerDigestUploadsClient) GetResponder ¶
func (client LedgerDigestUploadsClient) GetResponder(resp *http.Response) (result LedgerDigestUploads, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (LedgerDigestUploadsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (LedgerDigestUploadsClient) ListByDatabase ¶
func (client LedgerDigestUploadsClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result LedgerDigestUploadsListResultPage, err error)
ListByDatabase gets all ledger digest upload settings on a database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (LedgerDigestUploadsClient) ListByDatabaseComplete ¶
func (client LedgerDigestUploadsClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result LedgerDigestUploadsListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (LedgerDigestUploadsClient) ListByDatabasePreparer ¶
func (client LedgerDigestUploadsClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (LedgerDigestUploadsClient) ListByDatabaseResponder ¶
func (client LedgerDigestUploadsClient) ListByDatabaseResponder(resp *http.Response) (result LedgerDigestUploadsListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (LedgerDigestUploadsClient) ListByDatabaseSender ¶
func (client LedgerDigestUploadsClient) 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 LedgerDigestUploadsListResult ¶
type LedgerDigestUploadsListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]LedgerDigestUploads `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
LedgerDigestUploadsListResult a list of ledger digest upload settings.
func (LedgerDigestUploadsListResult) IsEmpty ¶
func (ldulr LedgerDigestUploadsListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (LedgerDigestUploadsListResult) MarshalJSON ¶
func (ldulr LedgerDigestUploadsListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LedgerDigestUploadsListResult.
type LedgerDigestUploadsListResultIterator ¶
type LedgerDigestUploadsListResultIterator struct {
// contains filtered or unexported fields
}
LedgerDigestUploadsListResultIterator provides access to a complete listing of LedgerDigestUploads values.
func NewLedgerDigestUploadsListResultIterator ¶
func NewLedgerDigestUploadsListResultIterator(page LedgerDigestUploadsListResultPage) LedgerDigestUploadsListResultIterator
Creates a new instance of the LedgerDigestUploadsListResultIterator type.
func (*LedgerDigestUploadsListResultIterator) Next ¶
func (iter *LedgerDigestUploadsListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*LedgerDigestUploadsListResultIterator) NextWithContext ¶
func (iter *LedgerDigestUploadsListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (LedgerDigestUploadsListResultIterator) NotDone ¶
func (iter LedgerDigestUploadsListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (LedgerDigestUploadsListResultIterator) Response ¶
func (iter LedgerDigestUploadsListResultIterator) Response() LedgerDigestUploadsListResult
Response returns the raw server response from the last page request.
func (LedgerDigestUploadsListResultIterator) Value ¶
func (iter LedgerDigestUploadsListResultIterator) Value() LedgerDigestUploads
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type LedgerDigestUploadsListResultPage ¶
type LedgerDigestUploadsListResultPage struct {
// contains filtered or unexported fields
}
LedgerDigestUploadsListResultPage contains a page of LedgerDigestUploads values.
func NewLedgerDigestUploadsListResultPage ¶
func NewLedgerDigestUploadsListResultPage(cur LedgerDigestUploadsListResult, getNextPage func(context.Context, LedgerDigestUploadsListResult) (LedgerDigestUploadsListResult, error)) LedgerDigestUploadsListResultPage
Creates a new instance of the LedgerDigestUploadsListResultPage type.
func (*LedgerDigestUploadsListResultPage) Next ¶
func (page *LedgerDigestUploadsListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*LedgerDigestUploadsListResultPage) NextWithContext ¶
func (page *LedgerDigestUploadsListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (LedgerDigestUploadsListResultPage) NotDone ¶
func (page LedgerDigestUploadsListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (LedgerDigestUploadsListResultPage) Response ¶
func (page LedgerDigestUploadsListResultPage) Response() LedgerDigestUploadsListResult
Response returns the raw server response from the last page request.
func (LedgerDigestUploadsListResultPage) Values ¶
func (page LedgerDigestUploadsListResultPage) Values() []LedgerDigestUploads
Values returns the slice of values for the current page or nil if there are no values.
type LedgerDigestUploadsProperties ¶
type LedgerDigestUploadsProperties struct { // DigestStorageEndpoint - The digest storage endpoint, which must be either an Azure blob storage endpoint or an URI for Azure Confidential Ledger. DigestStorageEndpoint *string `json:"digestStorageEndpoint,omitempty"` // State - READ-ONLY; Specifies the state of ledger digest upload. Possible values include: 'LedgerDigestUploadsStateEnabled', 'LedgerDigestUploadsStateDisabled' State LedgerDigestUploadsState `json:"state,omitempty"` }
LedgerDigestUploadsProperties the properties of a database ledger digest upload settings.
func (LedgerDigestUploadsProperties) MarshalJSON ¶
func (ldup LedgerDigestUploadsProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LedgerDigestUploadsProperties.
type LedgerDigestUploadsState ¶
type LedgerDigestUploadsState string
LedgerDigestUploadsState enumerates the values for ledger digest uploads state.
const ( // LedgerDigestUploadsStateDisabled ... LedgerDigestUploadsStateDisabled LedgerDigestUploadsState = "Disabled" // LedgerDigestUploadsStateEnabled ... LedgerDigestUploadsStateEnabled LedgerDigestUploadsState = "Enabled" )
func PossibleLedgerDigestUploadsStateValues ¶
func PossibleLedgerDigestUploadsStateValues() []LedgerDigestUploadsState
PossibleLedgerDigestUploadsStateValues returns an array of possible values for the LedgerDigestUploadsState const type.
type LicenseTypeCapability ¶
type LicenseTypeCapability struct { // Name - READ-ONLY; License type identifier. Name *string `json:"name,omitempty"` // Status - READ-ONLY; The status of the capability. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // Reason - The reason for the capability not being available. Reason *string `json:"reason,omitempty"` }
LicenseTypeCapability the license type capability
func (LicenseTypeCapability) MarshalJSON ¶
func (ltc LicenseTypeCapability) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LicenseTypeCapability.
type ListAdvisor ¶
ListAdvisor ...
type ListRecommendedAction ¶
type ListRecommendedAction struct { autorest.Response `json:"-"` Value *[]RecommendedAction `json:"value,omitempty"` }
ListRecommendedAction ...
type LocationCapabilities ¶
type LocationCapabilities struct { autorest.Response `json:"-"` // Name - READ-ONLY; The location name. Name *string `json:"name,omitempty"` // SupportedServerVersions - READ-ONLY; The list of supported server versions. SupportedServerVersions *[]ServerVersionCapability `json:"supportedServerVersions,omitempty"` // SupportedManagedInstanceVersions - READ-ONLY; The list of supported managed instance versions. SupportedManagedInstanceVersions *[]ManagedInstanceVersionCapability `json:"supportedManagedInstanceVersions,omitempty"` // Status - READ-ONLY; The status of the capability. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // Reason - The reason for the capability not being available. Reason *string `json:"reason,omitempty"` }
LocationCapabilities the location capability.
func (LocationCapabilities) MarshalJSON ¶
func (lc LocationCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LocationCapabilities.
type LogSizeCapability ¶
type LogSizeCapability struct { // Limit - READ-ONLY; The log size limit (see 'unit' for the units). Limit *int32 `json:"limit,omitempty"` // Unit - READ-ONLY; The units that the limit is expressed in. Possible values include: 'LogSizeUnitMegabytes', 'LogSizeUnitGigabytes', 'LogSizeUnitTerabytes', 'LogSizeUnitPetabytes', 'LogSizeUnitPercent' Unit LogSizeUnit `json:"unit,omitempty"` }
LogSizeCapability the log size capability.
func (LogSizeCapability) MarshalJSON ¶
func (lsc LogSizeCapability) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LogSizeCapability.
type LogSizeUnit ¶
type LogSizeUnit string
LogSizeUnit enumerates the values for log size unit.
const ( // LogSizeUnitGigabytes ... LogSizeUnitGigabytes LogSizeUnit = "Gigabytes" // LogSizeUnitMegabytes ... LogSizeUnitMegabytes LogSizeUnit = "Megabytes" // LogSizeUnitPercent ... LogSizeUnitPercent LogSizeUnit = "Percent" // LogSizeUnitPetabytes ... LogSizeUnitPetabytes LogSizeUnit = "Petabytes" // LogSizeUnitTerabytes ... LogSizeUnitTerabytes LogSizeUnit = "Terabytes" )
func PossibleLogSizeUnitValues ¶
func PossibleLogSizeUnitValues() []LogSizeUnit
PossibleLogSizeUnitValues returns an array of possible values for the LogSizeUnit const type.
type LogicalServerSecurityAlertPolicyListResult ¶
type LogicalServerSecurityAlertPolicyListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ServerSecurityAlertPolicy `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
LogicalServerSecurityAlertPolicyListResult a list of the server's security alert policies.
func (LogicalServerSecurityAlertPolicyListResult) IsEmpty ¶
func (lssaplr LogicalServerSecurityAlertPolicyListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (LogicalServerSecurityAlertPolicyListResult) MarshalJSON ¶
func (lssaplr LogicalServerSecurityAlertPolicyListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LogicalServerSecurityAlertPolicyListResult.
type LogicalServerSecurityAlertPolicyListResultIterator ¶
type LogicalServerSecurityAlertPolicyListResultIterator struct {
// contains filtered or unexported fields
}
LogicalServerSecurityAlertPolicyListResultIterator provides access to a complete listing of ServerSecurityAlertPolicy values.
func NewLogicalServerSecurityAlertPolicyListResultIterator ¶
func NewLogicalServerSecurityAlertPolicyListResultIterator(page LogicalServerSecurityAlertPolicyListResultPage) LogicalServerSecurityAlertPolicyListResultIterator
Creates a new instance of the LogicalServerSecurityAlertPolicyListResultIterator type.
func (*LogicalServerSecurityAlertPolicyListResultIterator) Next ¶
func (iter *LogicalServerSecurityAlertPolicyListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*LogicalServerSecurityAlertPolicyListResultIterator) NextWithContext ¶
func (iter *LogicalServerSecurityAlertPolicyListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (LogicalServerSecurityAlertPolicyListResultIterator) NotDone ¶
func (iter LogicalServerSecurityAlertPolicyListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (LogicalServerSecurityAlertPolicyListResultIterator) Response ¶
func (iter LogicalServerSecurityAlertPolicyListResultIterator) Response() LogicalServerSecurityAlertPolicyListResult
Response returns the raw server response from the last page request.
func (LogicalServerSecurityAlertPolicyListResultIterator) Value ¶
func (iter LogicalServerSecurityAlertPolicyListResultIterator) Value() ServerSecurityAlertPolicy
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type LogicalServerSecurityAlertPolicyListResultPage ¶
type LogicalServerSecurityAlertPolicyListResultPage struct {
// contains filtered or unexported fields
}
LogicalServerSecurityAlertPolicyListResultPage contains a page of ServerSecurityAlertPolicy values.
func NewLogicalServerSecurityAlertPolicyListResultPage ¶
func NewLogicalServerSecurityAlertPolicyListResultPage(cur LogicalServerSecurityAlertPolicyListResult, getNextPage func(context.Context, LogicalServerSecurityAlertPolicyListResult) (LogicalServerSecurityAlertPolicyListResult, error)) LogicalServerSecurityAlertPolicyListResultPage
Creates a new instance of the LogicalServerSecurityAlertPolicyListResultPage type.
func (*LogicalServerSecurityAlertPolicyListResultPage) Next ¶
func (page *LogicalServerSecurityAlertPolicyListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*LogicalServerSecurityAlertPolicyListResultPage) NextWithContext ¶
func (page *LogicalServerSecurityAlertPolicyListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (LogicalServerSecurityAlertPolicyListResultPage) NotDone ¶
func (page LogicalServerSecurityAlertPolicyListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (LogicalServerSecurityAlertPolicyListResultPage) Response ¶
func (page LogicalServerSecurityAlertPolicyListResultPage) Response() LogicalServerSecurityAlertPolicyListResult
Response returns the raw server response from the last page request.
func (LogicalServerSecurityAlertPolicyListResultPage) Values ¶
func (page LogicalServerSecurityAlertPolicyListResultPage) Values() []ServerSecurityAlertPolicy
Values returns the slice of values for the current page or nil if there are no values.
type LongTermRetentionBackup ¶
type LongTermRetentionBackup struct { autorest.Response `json:"-"` // LongTermRetentionBackupProperties - Resource properties. *LongTermRetentionBackupProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
LongTermRetentionBackup a long term retention backup.
func (LongTermRetentionBackup) MarshalJSON ¶
func (ltrb LongTermRetentionBackup) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LongTermRetentionBackup.
func (*LongTermRetentionBackup) UnmarshalJSON ¶
func (ltrb *LongTermRetentionBackup) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for LongTermRetentionBackup struct.
type LongTermRetentionBackupListResult ¶
type LongTermRetentionBackupListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]LongTermRetentionBackup `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
LongTermRetentionBackupListResult a list of long term retention backups.
func (LongTermRetentionBackupListResult) IsEmpty ¶
func (ltrblr LongTermRetentionBackupListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (LongTermRetentionBackupListResult) MarshalJSON ¶
func (ltrblr LongTermRetentionBackupListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LongTermRetentionBackupListResult.
type LongTermRetentionBackupListResultIterator ¶
type LongTermRetentionBackupListResultIterator struct {
// contains filtered or unexported fields
}
LongTermRetentionBackupListResultIterator provides access to a complete listing of LongTermRetentionBackup values.
func NewLongTermRetentionBackupListResultIterator ¶
func NewLongTermRetentionBackupListResultIterator(page LongTermRetentionBackupListResultPage) LongTermRetentionBackupListResultIterator
Creates a new instance of the LongTermRetentionBackupListResultIterator type.
func (*LongTermRetentionBackupListResultIterator) Next ¶
func (iter *LongTermRetentionBackupListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*LongTermRetentionBackupListResultIterator) NextWithContext ¶
func (iter *LongTermRetentionBackupListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (LongTermRetentionBackupListResultIterator) NotDone ¶
func (iter LongTermRetentionBackupListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (LongTermRetentionBackupListResultIterator) Response ¶
func (iter LongTermRetentionBackupListResultIterator) Response() LongTermRetentionBackupListResult
Response returns the raw server response from the last page request.
func (LongTermRetentionBackupListResultIterator) Value ¶
func (iter LongTermRetentionBackupListResultIterator) Value() LongTermRetentionBackup
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type LongTermRetentionBackupListResultPage ¶
type LongTermRetentionBackupListResultPage struct {
// contains filtered or unexported fields
}
LongTermRetentionBackupListResultPage contains a page of LongTermRetentionBackup values.
func NewLongTermRetentionBackupListResultPage ¶
func NewLongTermRetentionBackupListResultPage(cur LongTermRetentionBackupListResult, getNextPage func(context.Context, LongTermRetentionBackupListResult) (LongTermRetentionBackupListResult, error)) LongTermRetentionBackupListResultPage
Creates a new instance of the LongTermRetentionBackupListResultPage type.
func (*LongTermRetentionBackupListResultPage) Next ¶
func (page *LongTermRetentionBackupListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*LongTermRetentionBackupListResultPage) NextWithContext ¶
func (page *LongTermRetentionBackupListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (LongTermRetentionBackupListResultPage) NotDone ¶
func (page LongTermRetentionBackupListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (LongTermRetentionBackupListResultPage) Response ¶
func (page LongTermRetentionBackupListResultPage) Response() LongTermRetentionBackupListResult
Response returns the raw server response from the last page request.
func (LongTermRetentionBackupListResultPage) Values ¶
func (page LongTermRetentionBackupListResultPage) Values() []LongTermRetentionBackup
Values returns the slice of values for the current page or nil if there are no values.
type LongTermRetentionBackupOperationResult ¶
type LongTermRetentionBackupOperationResult struct { autorest.Response `json:"-"` // LongTermRetentionOperationResultProperties - Resource properties. *LongTermRetentionOperationResultProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
LongTermRetentionBackupOperationResult a LongTermRetentionBackup operation result resource.
func (LongTermRetentionBackupOperationResult) MarshalJSON ¶
func (ltrbor LongTermRetentionBackupOperationResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LongTermRetentionBackupOperationResult.
func (*LongTermRetentionBackupOperationResult) UnmarshalJSON ¶
func (ltrbor *LongTermRetentionBackupOperationResult) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for LongTermRetentionBackupOperationResult struct.
type LongTermRetentionBackupProperties ¶
type LongTermRetentionBackupProperties struct { // ServerName - READ-ONLY; The server name that the backup database belong to. ServerName *string `json:"serverName,omitempty"` // ServerCreateTime - READ-ONLY; The create time of the server. ServerCreateTime *date.Time `json:"serverCreateTime,omitempty"` // DatabaseName - READ-ONLY; The name of the database the backup belong to DatabaseName *string `json:"databaseName,omitempty"` // DatabaseDeletionTime - READ-ONLY; The delete time of the database DatabaseDeletionTime *date.Time `json:"databaseDeletionTime,omitempty"` // BackupTime - READ-ONLY; The time the backup was taken BackupTime *date.Time `json:"backupTime,omitempty"` // BackupExpirationTime - READ-ONLY; The time the long term retention backup will expire. BackupExpirationTime *date.Time `json:"backupExpirationTime,omitempty"` // BackupStorageRedundancy - READ-ONLY; The storage redundancy type of the backup. Possible values include: 'BackupStorageRedundancyGeo', 'BackupStorageRedundancyLocal', 'BackupStorageRedundancyZone' BackupStorageRedundancy BackupStorageRedundancy `json:"backupStorageRedundancy,omitempty"` // RequestedBackupStorageRedundancy - The storage redundancy type of the backup. Possible values include: 'BackupStorageRedundancyGeo', 'BackupStorageRedundancyLocal', 'BackupStorageRedundancyZone' RequestedBackupStorageRedundancy BackupStorageRedundancy `json:"requestedBackupStorageRedundancy,omitempty"` }
LongTermRetentionBackupProperties properties of a long term retention backup
func (LongTermRetentionBackupProperties) MarshalJSON ¶
func (ltrbp LongTermRetentionBackupProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LongTermRetentionBackupProperties.
type LongTermRetentionBackupsClient ¶
type LongTermRetentionBackupsClient struct {
BaseClient
}
LongTermRetentionBackupsClient 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 NewLongTermRetentionBackupsClient ¶
func NewLongTermRetentionBackupsClient(subscriptionID string) LongTermRetentionBackupsClient
NewLongTermRetentionBackupsClient creates an instance of the LongTermRetentionBackupsClient client.
func NewLongTermRetentionBackupsClientWithBaseURI ¶
func NewLongTermRetentionBackupsClientWithBaseURI(baseURI string, subscriptionID string) LongTermRetentionBackupsClient
NewLongTermRetentionBackupsClientWithBaseURI creates an instance of the LongTermRetentionBackupsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (LongTermRetentionBackupsClient) Copy ¶
func (client LongTermRetentionBackupsClient) Copy(ctx context.Context, locationName string, longTermRetentionServerName string, longTermRetentionDatabaseName string, backupName string, parameters CopyLongTermRetentionBackupParameters) (result LongTermRetentionBackupsCopyFuture, err error)
Copy copy an existing long term retention backup. Parameters: locationName - the location of the database. longTermRetentionServerName - the name of the server longTermRetentionDatabaseName - the name of the database backupName - the backup name. parameters - the parameters needed for long term retention copy request
func (LongTermRetentionBackupsClient) CopyByResourceGroup ¶
func (client LongTermRetentionBackupsClient) CopyByResourceGroup(ctx context.Context, resourceGroupName string, locationName string, longTermRetentionServerName string, longTermRetentionDatabaseName string, backupName string, parameters CopyLongTermRetentionBackupParameters) (result LongTermRetentionBackupsCopyByResourceGroupFuture, err error)
CopyByResourceGroup copy an existing long term retention backup to a different server. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. locationName - the location of the database. longTermRetentionServerName - the name of the server longTermRetentionDatabaseName - the name of the database backupName - the backup name. parameters - the parameters needed for long term retention copy request
func (LongTermRetentionBackupsClient) CopyByResourceGroupPreparer ¶
func (client LongTermRetentionBackupsClient) CopyByResourceGroupPreparer(ctx context.Context, resourceGroupName string, locationName string, longTermRetentionServerName string, longTermRetentionDatabaseName string, backupName string, parameters CopyLongTermRetentionBackupParameters) (*http.Request, error)
CopyByResourceGroupPreparer prepares the CopyByResourceGroup request.
func (LongTermRetentionBackupsClient) CopyByResourceGroupResponder ¶
func (client LongTermRetentionBackupsClient) CopyByResourceGroupResponder(resp *http.Response) (result LongTermRetentionBackupOperationResult, err error)
CopyByResourceGroupResponder handles the response to the CopyByResourceGroup request. The method always closes the http.Response Body.
func (LongTermRetentionBackupsClient) CopyByResourceGroupSender ¶
func (client LongTermRetentionBackupsClient) CopyByResourceGroupSender(req *http.Request) (future LongTermRetentionBackupsCopyByResourceGroupFuture, err error)
CopyByResourceGroupSender sends the CopyByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (LongTermRetentionBackupsClient) CopyPreparer ¶
func (client LongTermRetentionBackupsClient) CopyPreparer(ctx context.Context, locationName string, longTermRetentionServerName string, longTermRetentionDatabaseName string, backupName string, parameters CopyLongTermRetentionBackupParameters) (*http.Request, error)
CopyPreparer prepares the Copy request.
func (LongTermRetentionBackupsClient) CopyResponder ¶
func (client LongTermRetentionBackupsClient) CopyResponder(resp *http.Response) (result LongTermRetentionBackupOperationResult, err error)
CopyResponder handles the response to the Copy request. The method always closes the http.Response Body.
func (LongTermRetentionBackupsClient) CopySender ¶
func (client LongTermRetentionBackupsClient) CopySender(req *http.Request) (future LongTermRetentionBackupsCopyFuture, err error)
CopySender sends the Copy request. The method will close the http.Response Body if it receives an error.
func (LongTermRetentionBackupsClient) Delete ¶
func (client LongTermRetentionBackupsClient) Delete(ctx context.Context, locationName string, longTermRetentionServerName string, longTermRetentionDatabaseName string, backupName string) (result LongTermRetentionBackupsDeleteFuture, err error)
Delete deletes a long term retention backup. Parameters: locationName - the location of the database longTermRetentionServerName - the name of the server longTermRetentionDatabaseName - the name of the database backupName - the backup name.
func (LongTermRetentionBackupsClient) DeleteByResourceGroup ¶
func (client LongTermRetentionBackupsClient) DeleteByResourceGroup(ctx context.Context, resourceGroupName string, locationName string, longTermRetentionServerName string, longTermRetentionDatabaseName string, backupName string) (result LongTermRetentionBackupsDeleteByResourceGroupFuture, err error)
DeleteByResourceGroup deletes a long term retention backup. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. locationName - the location of the database longTermRetentionServerName - the name of the server longTermRetentionDatabaseName - the name of the database backupName - the backup name.
func (LongTermRetentionBackupsClient) DeleteByResourceGroupPreparer ¶
func (client LongTermRetentionBackupsClient) DeleteByResourceGroupPreparer(ctx context.Context, resourceGroupName string, locationName string, longTermRetentionServerName string, longTermRetentionDatabaseName string, backupName string) (*http.Request, error)
DeleteByResourceGroupPreparer prepares the DeleteByResourceGroup request.
func (LongTermRetentionBackupsClient) DeleteByResourceGroupResponder ¶
func (client LongTermRetentionBackupsClient) DeleteByResourceGroupResponder(resp *http.Response) (result autorest.Response, err error)
DeleteByResourceGroupResponder handles the response to the DeleteByResourceGroup request. The method always closes the http.Response Body.
func (LongTermRetentionBackupsClient) DeleteByResourceGroupSender ¶
func (client LongTermRetentionBackupsClient) DeleteByResourceGroupSender(req *http.Request) (future LongTermRetentionBackupsDeleteByResourceGroupFuture, err error)
DeleteByResourceGroupSender sends the DeleteByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (LongTermRetentionBackupsClient) DeletePreparer ¶
func (client LongTermRetentionBackupsClient) DeletePreparer(ctx context.Context, locationName string, longTermRetentionServerName string, longTermRetentionDatabaseName string, backupName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (LongTermRetentionBackupsClient) DeleteResponder ¶
func (client LongTermRetentionBackupsClient) 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 (LongTermRetentionBackupsClient) DeleteSender ¶
func (client LongTermRetentionBackupsClient) DeleteSender(req *http.Request) (future LongTermRetentionBackupsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (LongTermRetentionBackupsClient) Get ¶
func (client LongTermRetentionBackupsClient) Get(ctx context.Context, locationName string, longTermRetentionServerName string, longTermRetentionDatabaseName string, backupName string) (result LongTermRetentionBackup, err error)
Get gets a long term retention backup. Parameters: locationName - the location of the database. longTermRetentionServerName - the name of the server longTermRetentionDatabaseName - the name of the database backupName - the backup name.
func (LongTermRetentionBackupsClient) GetByResourceGroup ¶
func (client LongTermRetentionBackupsClient) GetByResourceGroup(ctx context.Context, resourceGroupName string, locationName string, longTermRetentionServerName string, longTermRetentionDatabaseName string, backupName string) (result LongTermRetentionBackup, err error)
GetByResourceGroup gets a long term retention backup. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. locationName - the location of the database. longTermRetentionServerName - the name of the server longTermRetentionDatabaseName - the name of the database backupName - the backup name.
func (LongTermRetentionBackupsClient) GetByResourceGroupPreparer ¶
func (client LongTermRetentionBackupsClient) GetByResourceGroupPreparer(ctx context.Context, resourceGroupName string, locationName string, longTermRetentionServerName string, longTermRetentionDatabaseName string, backupName string) (*http.Request, error)
GetByResourceGroupPreparer prepares the GetByResourceGroup request.
func (LongTermRetentionBackupsClient) GetByResourceGroupResponder ¶
func (client LongTermRetentionBackupsClient) GetByResourceGroupResponder(resp *http.Response) (result LongTermRetentionBackup, err error)
GetByResourceGroupResponder handles the response to the GetByResourceGroup request. The method always closes the http.Response Body.
func (LongTermRetentionBackupsClient) GetByResourceGroupSender ¶
func (client LongTermRetentionBackupsClient) GetByResourceGroupSender(req *http.Request) (*http.Response, error)
GetByResourceGroupSender sends the GetByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (LongTermRetentionBackupsClient) GetPreparer ¶
func (client LongTermRetentionBackupsClient) GetPreparer(ctx context.Context, locationName string, longTermRetentionServerName string, longTermRetentionDatabaseName string, backupName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (LongTermRetentionBackupsClient) GetResponder ¶
func (client LongTermRetentionBackupsClient) GetResponder(resp *http.Response) (result LongTermRetentionBackup, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (LongTermRetentionBackupsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (LongTermRetentionBackupsClient) ListByDatabase ¶
func (client LongTermRetentionBackupsClient) ListByDatabase(ctx context.Context, locationName string, longTermRetentionServerName string, longTermRetentionDatabaseName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (result LongTermRetentionBackupListResultPage, err error)
ListByDatabase lists all long term retention backups for a database. Parameters: locationName - the location of the database longTermRetentionServerName - the name of the server longTermRetentionDatabaseName - the name of the database onlyLatestPerDatabase - whether or not to only get the latest backup for each database. databaseState - whether to query against just live databases, just deleted databases, or all databases.
func (LongTermRetentionBackupsClient) ListByDatabaseComplete ¶
func (client LongTermRetentionBackupsClient) ListByDatabaseComplete(ctx context.Context, locationName string, longTermRetentionServerName string, longTermRetentionDatabaseName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (result LongTermRetentionBackupListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (LongTermRetentionBackupsClient) ListByDatabasePreparer ¶
func (client LongTermRetentionBackupsClient) ListByDatabasePreparer(ctx context.Context, locationName string, longTermRetentionServerName string, longTermRetentionDatabaseName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (LongTermRetentionBackupsClient) ListByDatabaseResponder ¶
func (client LongTermRetentionBackupsClient) ListByDatabaseResponder(resp *http.Response) (result LongTermRetentionBackupListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (LongTermRetentionBackupsClient) ListByDatabaseSender ¶
func (client LongTermRetentionBackupsClient) 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.
func (LongTermRetentionBackupsClient) ListByLocation ¶
func (client LongTermRetentionBackupsClient) ListByLocation(ctx context.Context, locationName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (result LongTermRetentionBackupListResultPage, err error)
ListByLocation lists the long term retention backups for a given location. Parameters: locationName - the location of the database onlyLatestPerDatabase - whether or not to only get the latest backup for each database. databaseState - whether to query against just live databases, just deleted databases, or all databases.
func (LongTermRetentionBackupsClient) ListByLocationComplete ¶
func (client LongTermRetentionBackupsClient) ListByLocationComplete(ctx context.Context, locationName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (result LongTermRetentionBackupListResultIterator, err error)
ListByLocationComplete enumerates all values, automatically crossing page boundaries as required.
func (LongTermRetentionBackupsClient) ListByLocationPreparer ¶
func (client LongTermRetentionBackupsClient) ListByLocationPreparer(ctx context.Context, locationName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (*http.Request, error)
ListByLocationPreparer prepares the ListByLocation request.
func (LongTermRetentionBackupsClient) ListByLocationResponder ¶
func (client LongTermRetentionBackupsClient) ListByLocationResponder(resp *http.Response) (result LongTermRetentionBackupListResult, err error)
ListByLocationResponder handles the response to the ListByLocation request. The method always closes the http.Response Body.
func (LongTermRetentionBackupsClient) ListByLocationSender ¶
func (client LongTermRetentionBackupsClient) 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.
func (LongTermRetentionBackupsClient) ListByResourceGroupDatabase ¶
func (client LongTermRetentionBackupsClient) ListByResourceGroupDatabase(ctx context.Context, resourceGroupName string, locationName string, longTermRetentionServerName string, longTermRetentionDatabaseName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (result LongTermRetentionBackupListResultPage, err error)
ListByResourceGroupDatabase lists all long term retention backups for a database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. locationName - the location of the database longTermRetentionServerName - the name of the server longTermRetentionDatabaseName - the name of the database onlyLatestPerDatabase - whether or not to only get the latest backup for each database. databaseState - whether to query against just live databases, just deleted databases, or all databases.
func (LongTermRetentionBackupsClient) ListByResourceGroupDatabaseComplete ¶
func (client LongTermRetentionBackupsClient) ListByResourceGroupDatabaseComplete(ctx context.Context, resourceGroupName string, locationName string, longTermRetentionServerName string, longTermRetentionDatabaseName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (result LongTermRetentionBackupListResultIterator, err error)
ListByResourceGroupDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (LongTermRetentionBackupsClient) ListByResourceGroupDatabasePreparer ¶
func (client LongTermRetentionBackupsClient) ListByResourceGroupDatabasePreparer(ctx context.Context, resourceGroupName string, locationName string, longTermRetentionServerName string, longTermRetentionDatabaseName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (*http.Request, error)
ListByResourceGroupDatabasePreparer prepares the ListByResourceGroupDatabase request.
func (LongTermRetentionBackupsClient) ListByResourceGroupDatabaseResponder ¶
func (client LongTermRetentionBackupsClient) ListByResourceGroupDatabaseResponder(resp *http.Response) (result LongTermRetentionBackupListResult, err error)
ListByResourceGroupDatabaseResponder handles the response to the ListByResourceGroupDatabase request. The method always closes the http.Response Body.
func (LongTermRetentionBackupsClient) ListByResourceGroupDatabaseSender ¶
func (client LongTermRetentionBackupsClient) ListByResourceGroupDatabaseSender(req *http.Request) (*http.Response, error)
ListByResourceGroupDatabaseSender sends the ListByResourceGroupDatabase request. The method will close the http.Response Body if it receives an error.
func (LongTermRetentionBackupsClient) ListByResourceGroupLocation ¶
func (client LongTermRetentionBackupsClient) ListByResourceGroupLocation(ctx context.Context, resourceGroupName string, locationName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (result LongTermRetentionBackupListResultPage, err error)
ListByResourceGroupLocation lists the long term retention backups for a given location. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. locationName - the location of the database onlyLatestPerDatabase - whether or not to only get the latest backup for each database. databaseState - whether to query against just live databases, just deleted databases, or all databases.
func (LongTermRetentionBackupsClient) ListByResourceGroupLocationComplete ¶
func (client LongTermRetentionBackupsClient) ListByResourceGroupLocationComplete(ctx context.Context, resourceGroupName string, locationName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (result LongTermRetentionBackupListResultIterator, err error)
ListByResourceGroupLocationComplete enumerates all values, automatically crossing page boundaries as required.
func (LongTermRetentionBackupsClient) ListByResourceGroupLocationPreparer ¶
func (client LongTermRetentionBackupsClient) ListByResourceGroupLocationPreparer(ctx context.Context, resourceGroupName string, locationName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (*http.Request, error)
ListByResourceGroupLocationPreparer prepares the ListByResourceGroupLocation request.
func (LongTermRetentionBackupsClient) ListByResourceGroupLocationResponder ¶
func (client LongTermRetentionBackupsClient) ListByResourceGroupLocationResponder(resp *http.Response) (result LongTermRetentionBackupListResult, err error)
ListByResourceGroupLocationResponder handles the response to the ListByResourceGroupLocation request. The method always closes the http.Response Body.
func (LongTermRetentionBackupsClient) ListByResourceGroupLocationSender ¶
func (client LongTermRetentionBackupsClient) ListByResourceGroupLocationSender(req *http.Request) (*http.Response, error)
ListByResourceGroupLocationSender sends the ListByResourceGroupLocation request. The method will close the http.Response Body if it receives an error.
func (LongTermRetentionBackupsClient) ListByResourceGroupServer ¶
func (client LongTermRetentionBackupsClient) ListByResourceGroupServer(ctx context.Context, resourceGroupName string, locationName string, longTermRetentionServerName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (result LongTermRetentionBackupListResultPage, err error)
ListByResourceGroupServer lists the long term retention backups for a given server. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. locationName - the location of the database longTermRetentionServerName - the name of the server onlyLatestPerDatabase - whether or not to only get the latest backup for each database. databaseState - whether to query against just live databases, just deleted databases, or all databases.
func (LongTermRetentionBackupsClient) ListByResourceGroupServerComplete ¶
func (client LongTermRetentionBackupsClient) ListByResourceGroupServerComplete(ctx context.Context, resourceGroupName string, locationName string, longTermRetentionServerName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (result LongTermRetentionBackupListResultIterator, err error)
ListByResourceGroupServerComplete enumerates all values, automatically crossing page boundaries as required.
func (LongTermRetentionBackupsClient) ListByResourceGroupServerPreparer ¶
func (client LongTermRetentionBackupsClient) ListByResourceGroupServerPreparer(ctx context.Context, resourceGroupName string, locationName string, longTermRetentionServerName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (*http.Request, error)
ListByResourceGroupServerPreparer prepares the ListByResourceGroupServer request.
func (LongTermRetentionBackupsClient) ListByResourceGroupServerResponder ¶
func (client LongTermRetentionBackupsClient) ListByResourceGroupServerResponder(resp *http.Response) (result LongTermRetentionBackupListResult, err error)
ListByResourceGroupServerResponder handles the response to the ListByResourceGroupServer request. The method always closes the http.Response Body.
func (LongTermRetentionBackupsClient) ListByResourceGroupServerSender ¶
func (client LongTermRetentionBackupsClient) ListByResourceGroupServerSender(req *http.Request) (*http.Response, error)
ListByResourceGroupServerSender sends the ListByResourceGroupServer request. The method will close the http.Response Body if it receives an error.
func (LongTermRetentionBackupsClient) ListByServer ¶
func (client LongTermRetentionBackupsClient) ListByServer(ctx context.Context, locationName string, longTermRetentionServerName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (result LongTermRetentionBackupListResultPage, err error)
ListByServer lists the long term retention backups for a given server. Parameters: locationName - the location of the database longTermRetentionServerName - the name of the server onlyLatestPerDatabase - whether or not to only get the latest backup for each database. databaseState - whether to query against just live databases, just deleted databases, or all databases.
func (LongTermRetentionBackupsClient) ListByServerComplete ¶
func (client LongTermRetentionBackupsClient) ListByServerComplete(ctx context.Context, locationName string, longTermRetentionServerName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (result LongTermRetentionBackupListResultIterator, err error)
ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
func (LongTermRetentionBackupsClient) ListByServerPreparer ¶
func (client LongTermRetentionBackupsClient) ListByServerPreparer(ctx context.Context, locationName string, longTermRetentionServerName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (LongTermRetentionBackupsClient) ListByServerResponder ¶
func (client LongTermRetentionBackupsClient) ListByServerResponder(resp *http.Response) (result LongTermRetentionBackupListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (LongTermRetentionBackupsClient) ListByServerSender ¶
func (client LongTermRetentionBackupsClient) 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 (LongTermRetentionBackupsClient) Update ¶
func (client LongTermRetentionBackupsClient) Update(ctx context.Context, locationName string, longTermRetentionServerName string, longTermRetentionDatabaseName string, backupName string, parameters UpdateLongTermRetentionBackupParameters) (result LongTermRetentionBackupsUpdateFuture, err error)
Update updates an existing long term retention backup. Parameters: locationName - the location of the database. longTermRetentionServerName - the name of the server longTermRetentionDatabaseName - the name of the database backupName - the backup name. parameters - the requested backup resource state
func (LongTermRetentionBackupsClient) UpdateByResourceGroup ¶
func (client LongTermRetentionBackupsClient) UpdateByResourceGroup(ctx context.Context, resourceGroupName string, locationName string, longTermRetentionServerName string, longTermRetentionDatabaseName string, backupName string, parameters UpdateLongTermRetentionBackupParameters) (result LongTermRetentionBackupsUpdateByResourceGroupFuture, err error)
UpdateByResourceGroup updates an existing long term retention backup. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. locationName - the location of the database. longTermRetentionServerName - the name of the server longTermRetentionDatabaseName - the name of the database backupName - the backup name. parameters - the requested backup resource state
func (LongTermRetentionBackupsClient) UpdateByResourceGroupPreparer ¶
func (client LongTermRetentionBackupsClient) UpdateByResourceGroupPreparer(ctx context.Context, resourceGroupName string, locationName string, longTermRetentionServerName string, longTermRetentionDatabaseName string, backupName string, parameters UpdateLongTermRetentionBackupParameters) (*http.Request, error)
UpdateByResourceGroupPreparer prepares the UpdateByResourceGroup request.
func (LongTermRetentionBackupsClient) UpdateByResourceGroupResponder ¶
func (client LongTermRetentionBackupsClient) UpdateByResourceGroupResponder(resp *http.Response) (result LongTermRetentionBackupOperationResult, err error)
UpdateByResourceGroupResponder handles the response to the UpdateByResourceGroup request. The method always closes the http.Response Body.
func (LongTermRetentionBackupsClient) UpdateByResourceGroupSender ¶
func (client LongTermRetentionBackupsClient) UpdateByResourceGroupSender(req *http.Request) (future LongTermRetentionBackupsUpdateByResourceGroupFuture, err error)
UpdateByResourceGroupSender sends the UpdateByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (LongTermRetentionBackupsClient) UpdatePreparer ¶
func (client LongTermRetentionBackupsClient) UpdatePreparer(ctx context.Context, locationName string, longTermRetentionServerName string, longTermRetentionDatabaseName string, backupName string, parameters UpdateLongTermRetentionBackupParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (LongTermRetentionBackupsClient) UpdateResponder ¶
func (client LongTermRetentionBackupsClient) UpdateResponder(resp *http.Response) (result LongTermRetentionBackupOperationResult, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (LongTermRetentionBackupsClient) UpdateSender ¶
func (client LongTermRetentionBackupsClient) UpdateSender(req *http.Request) (future LongTermRetentionBackupsUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type LongTermRetentionBackupsCopyByResourceGroupFuture ¶
type LongTermRetentionBackupsCopyByResourceGroupFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(LongTermRetentionBackupsClient) (LongTermRetentionBackupOperationResult, error) }
LongTermRetentionBackupsCopyByResourceGroupFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*LongTermRetentionBackupsCopyByResourceGroupFuture) UnmarshalJSON ¶
func (future *LongTermRetentionBackupsCopyByResourceGroupFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type LongTermRetentionBackupsCopyFuture ¶
type LongTermRetentionBackupsCopyFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(LongTermRetentionBackupsClient) (LongTermRetentionBackupOperationResult, error) }
LongTermRetentionBackupsCopyFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*LongTermRetentionBackupsCopyFuture) UnmarshalJSON ¶
func (future *LongTermRetentionBackupsCopyFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type LongTermRetentionBackupsDeleteByResourceGroupFuture ¶
type LongTermRetentionBackupsDeleteByResourceGroupFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(LongTermRetentionBackupsClient) (autorest.Response, error) }
LongTermRetentionBackupsDeleteByResourceGroupFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*LongTermRetentionBackupsDeleteByResourceGroupFuture) UnmarshalJSON ¶
func (future *LongTermRetentionBackupsDeleteByResourceGroupFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type LongTermRetentionBackupsDeleteFuture ¶
type LongTermRetentionBackupsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(LongTermRetentionBackupsClient) (autorest.Response, error) }
LongTermRetentionBackupsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*LongTermRetentionBackupsDeleteFuture) UnmarshalJSON ¶
func (future *LongTermRetentionBackupsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type LongTermRetentionBackupsUpdateByResourceGroupFuture ¶
type LongTermRetentionBackupsUpdateByResourceGroupFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(LongTermRetentionBackupsClient) (LongTermRetentionBackupOperationResult, error) }
LongTermRetentionBackupsUpdateByResourceGroupFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*LongTermRetentionBackupsUpdateByResourceGroupFuture) UnmarshalJSON ¶
func (future *LongTermRetentionBackupsUpdateByResourceGroupFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type LongTermRetentionBackupsUpdateFuture ¶
type LongTermRetentionBackupsUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(LongTermRetentionBackupsClient) (LongTermRetentionBackupOperationResult, error) }
LongTermRetentionBackupsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*LongTermRetentionBackupsUpdateFuture) UnmarshalJSON ¶
func (future *LongTermRetentionBackupsUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type LongTermRetentionManagedInstanceBackupsClient ¶
type LongTermRetentionManagedInstanceBackupsClient struct {
BaseClient
}
LongTermRetentionManagedInstanceBackupsClient 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 NewLongTermRetentionManagedInstanceBackupsClient ¶
func NewLongTermRetentionManagedInstanceBackupsClient(subscriptionID string) LongTermRetentionManagedInstanceBackupsClient
NewLongTermRetentionManagedInstanceBackupsClient creates an instance of the LongTermRetentionManagedInstanceBackupsClient client.
func NewLongTermRetentionManagedInstanceBackupsClientWithBaseURI ¶
func NewLongTermRetentionManagedInstanceBackupsClientWithBaseURI(baseURI string, subscriptionID string) LongTermRetentionManagedInstanceBackupsClient
NewLongTermRetentionManagedInstanceBackupsClientWithBaseURI creates an instance of the LongTermRetentionManagedInstanceBackupsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (LongTermRetentionManagedInstanceBackupsClient) Delete ¶
func (client LongTermRetentionManagedInstanceBackupsClient) Delete(ctx context.Context, locationName string, managedInstanceName string, databaseName string, backupName string) (result LongTermRetentionManagedInstanceBackupsDeleteFuture, err error)
Delete deletes a long term retention backup. Parameters: locationName - the location of the database. managedInstanceName - the name of the managed instance. databaseName - the name of the managed database. backupName - the backup name.
func (LongTermRetentionManagedInstanceBackupsClient) DeleteByResourceGroup ¶
func (client LongTermRetentionManagedInstanceBackupsClient) DeleteByResourceGroup(ctx context.Context, resourceGroupName string, locationName string, managedInstanceName string, databaseName string, backupName string) (result LongTermRetentionManagedInstanceBackupsDeleteByResourceGroupFuture, err error)
DeleteByResourceGroup deletes a long term retention backup. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. locationName - the location of the database managedInstanceName - the name of the managed instance. databaseName - the name of the managed database. backupName - the backup name.
func (LongTermRetentionManagedInstanceBackupsClient) DeleteByResourceGroupPreparer ¶
func (client LongTermRetentionManagedInstanceBackupsClient) DeleteByResourceGroupPreparer(ctx context.Context, resourceGroupName string, locationName string, managedInstanceName string, databaseName string, backupName string) (*http.Request, error)
DeleteByResourceGroupPreparer prepares the DeleteByResourceGroup request.
func (LongTermRetentionManagedInstanceBackupsClient) DeleteByResourceGroupResponder ¶
func (client LongTermRetentionManagedInstanceBackupsClient) DeleteByResourceGroupResponder(resp *http.Response) (result autorest.Response, err error)
DeleteByResourceGroupResponder handles the response to the DeleteByResourceGroup request. The method always closes the http.Response Body.
func (LongTermRetentionManagedInstanceBackupsClient) DeleteByResourceGroupSender ¶
func (client LongTermRetentionManagedInstanceBackupsClient) DeleteByResourceGroupSender(req *http.Request) (future LongTermRetentionManagedInstanceBackupsDeleteByResourceGroupFuture, err error)
DeleteByResourceGroupSender sends the DeleteByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (LongTermRetentionManagedInstanceBackupsClient) DeletePreparer ¶
func (client LongTermRetentionManagedInstanceBackupsClient) DeletePreparer(ctx context.Context, locationName string, managedInstanceName string, databaseName string, backupName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (LongTermRetentionManagedInstanceBackupsClient) DeleteResponder ¶
func (client LongTermRetentionManagedInstanceBackupsClient) 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 (LongTermRetentionManagedInstanceBackupsClient) DeleteSender ¶
func (client LongTermRetentionManagedInstanceBackupsClient) DeleteSender(req *http.Request) (future LongTermRetentionManagedInstanceBackupsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (LongTermRetentionManagedInstanceBackupsClient) Get ¶
func (client LongTermRetentionManagedInstanceBackupsClient) Get(ctx context.Context, locationName string, managedInstanceName string, databaseName string, backupName string) (result ManagedInstanceLongTermRetentionBackup, err error)
Get gets a long term retention backup for a managed database. Parameters: locationName - the location of the database. managedInstanceName - the name of the managed instance. databaseName - the name of the managed database. backupName - the backup name.
func (LongTermRetentionManagedInstanceBackupsClient) GetByResourceGroup ¶
func (client LongTermRetentionManagedInstanceBackupsClient) GetByResourceGroup(ctx context.Context, resourceGroupName string, locationName string, managedInstanceName string, databaseName string, backupName string) (result ManagedInstanceLongTermRetentionBackup, err error)
GetByResourceGroup gets a long term retention backup for a managed database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. locationName - the location of the database. managedInstanceName - the name of the managed instance. databaseName - the name of the managed database. backupName - the backup name.
func (LongTermRetentionManagedInstanceBackupsClient) GetByResourceGroupPreparer ¶
func (client LongTermRetentionManagedInstanceBackupsClient) GetByResourceGroupPreparer(ctx context.Context, resourceGroupName string, locationName string, managedInstanceName string, databaseName string, backupName string) (*http.Request, error)
GetByResourceGroupPreparer prepares the GetByResourceGroup request.
func (LongTermRetentionManagedInstanceBackupsClient) GetByResourceGroupResponder ¶
func (client LongTermRetentionManagedInstanceBackupsClient) GetByResourceGroupResponder(resp *http.Response) (result ManagedInstanceLongTermRetentionBackup, err error)
GetByResourceGroupResponder handles the response to the GetByResourceGroup request. The method always closes the http.Response Body.
func (LongTermRetentionManagedInstanceBackupsClient) GetByResourceGroupSender ¶
func (client LongTermRetentionManagedInstanceBackupsClient) GetByResourceGroupSender(req *http.Request) (*http.Response, error)
GetByResourceGroupSender sends the GetByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (LongTermRetentionManagedInstanceBackupsClient) GetPreparer ¶
func (client LongTermRetentionManagedInstanceBackupsClient) GetPreparer(ctx context.Context, locationName string, managedInstanceName string, databaseName string, backupName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (LongTermRetentionManagedInstanceBackupsClient) GetResponder ¶
func (client LongTermRetentionManagedInstanceBackupsClient) GetResponder(resp *http.Response) (result ManagedInstanceLongTermRetentionBackup, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (LongTermRetentionManagedInstanceBackupsClient) GetSender ¶
func (client LongTermRetentionManagedInstanceBackupsClient) 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 (LongTermRetentionManagedInstanceBackupsClient) ListByDatabase ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByDatabase(ctx context.Context, locationName string, managedInstanceName string, databaseName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (result ManagedInstanceLongTermRetentionBackupListResultPage, err error)
ListByDatabase lists all long term retention backups for a managed database. Parameters: locationName - the location of the database. managedInstanceName - the name of the managed instance. databaseName - the name of the managed database. onlyLatestPerDatabase - whether or not to only get the latest backup for each database. databaseState - whether to query against just live databases, just deleted databases, or all databases.
func (LongTermRetentionManagedInstanceBackupsClient) ListByDatabaseComplete ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByDatabaseComplete(ctx context.Context, locationName string, managedInstanceName string, databaseName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (result ManagedInstanceLongTermRetentionBackupListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (LongTermRetentionManagedInstanceBackupsClient) ListByDatabasePreparer ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByDatabasePreparer(ctx context.Context, locationName string, managedInstanceName string, databaseName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (LongTermRetentionManagedInstanceBackupsClient) ListByDatabaseResponder ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByDatabaseResponder(resp *http.Response) (result ManagedInstanceLongTermRetentionBackupListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (LongTermRetentionManagedInstanceBackupsClient) ListByDatabaseSender ¶
func (client LongTermRetentionManagedInstanceBackupsClient) 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.
func (LongTermRetentionManagedInstanceBackupsClient) ListByInstance ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByInstance(ctx context.Context, locationName string, managedInstanceName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (result ManagedInstanceLongTermRetentionBackupListResultPage, err error)
ListByInstance lists the long term retention backups for a given managed instance. Parameters: locationName - the location of the database managedInstanceName - the name of the managed instance. onlyLatestPerDatabase - whether or not to only get the latest backup for each database. databaseState - whether to query against just live databases, just deleted databases, or all databases.
func (LongTermRetentionManagedInstanceBackupsClient) ListByInstanceComplete ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByInstanceComplete(ctx context.Context, locationName string, managedInstanceName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (result ManagedInstanceLongTermRetentionBackupListResultIterator, err error)
ListByInstanceComplete enumerates all values, automatically crossing page boundaries as required.
func (LongTermRetentionManagedInstanceBackupsClient) ListByInstancePreparer ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByInstancePreparer(ctx context.Context, locationName string, managedInstanceName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (*http.Request, error)
ListByInstancePreparer prepares the ListByInstance request.
func (LongTermRetentionManagedInstanceBackupsClient) ListByInstanceResponder ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByInstanceResponder(resp *http.Response) (result ManagedInstanceLongTermRetentionBackupListResult, err error)
ListByInstanceResponder handles the response to the ListByInstance request. The method always closes the http.Response Body.
func (LongTermRetentionManagedInstanceBackupsClient) ListByInstanceSender ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByInstanceSender(req *http.Request) (*http.Response, error)
ListByInstanceSender sends the ListByInstance request. The method will close the http.Response Body if it receives an error.
func (LongTermRetentionManagedInstanceBackupsClient) ListByLocation ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByLocation(ctx context.Context, locationName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (result ManagedInstanceLongTermRetentionBackupListResultPage, err error)
ListByLocation lists the long term retention backups for managed databases in a given location. Parameters: locationName - the location of the database. onlyLatestPerDatabase - whether or not to only get the latest backup for each database. databaseState - whether to query against just live databases, just deleted databases, or all databases.
func (LongTermRetentionManagedInstanceBackupsClient) ListByLocationComplete ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByLocationComplete(ctx context.Context, locationName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (result ManagedInstanceLongTermRetentionBackupListResultIterator, err error)
ListByLocationComplete enumerates all values, automatically crossing page boundaries as required.
func (LongTermRetentionManagedInstanceBackupsClient) ListByLocationPreparer ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByLocationPreparer(ctx context.Context, locationName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (*http.Request, error)
ListByLocationPreparer prepares the ListByLocation request.
func (LongTermRetentionManagedInstanceBackupsClient) ListByLocationResponder ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByLocationResponder(resp *http.Response) (result ManagedInstanceLongTermRetentionBackupListResult, err error)
ListByLocationResponder handles the response to the ListByLocation request. The method always closes the http.Response Body.
func (LongTermRetentionManagedInstanceBackupsClient) ListByLocationSender ¶
func (client LongTermRetentionManagedInstanceBackupsClient) 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.
func (LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupDatabase ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupDatabase(ctx context.Context, resourceGroupName string, locationName string, managedInstanceName string, databaseName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (result ManagedInstanceLongTermRetentionBackupListResultPage, err error)
ListByResourceGroupDatabase lists all long term retention backups for a managed database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. locationName - the location of the database managedInstanceName - the name of the managed instance. databaseName - the name of the managed database. onlyLatestPerDatabase - whether or not to only get the latest backup for each database. databaseState - whether to query against just live databases, just deleted databases, or all databases.
func (LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupDatabaseComplete ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupDatabaseComplete(ctx context.Context, resourceGroupName string, locationName string, managedInstanceName string, databaseName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (result ManagedInstanceLongTermRetentionBackupListResultIterator, err error)
ListByResourceGroupDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupDatabasePreparer ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupDatabasePreparer(ctx context.Context, resourceGroupName string, locationName string, managedInstanceName string, databaseName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (*http.Request, error)
ListByResourceGroupDatabasePreparer prepares the ListByResourceGroupDatabase request.
func (LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupDatabaseResponder ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupDatabaseResponder(resp *http.Response) (result ManagedInstanceLongTermRetentionBackupListResult, err error)
ListByResourceGroupDatabaseResponder handles the response to the ListByResourceGroupDatabase request. The method always closes the http.Response Body.
func (LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupDatabaseSender ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupDatabaseSender(req *http.Request) (*http.Response, error)
ListByResourceGroupDatabaseSender sends the ListByResourceGroupDatabase request. The method will close the http.Response Body if it receives an error.
func (LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupInstance ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupInstance(ctx context.Context, resourceGroupName string, locationName string, managedInstanceName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (result ManagedInstanceLongTermRetentionBackupListResultPage, err error)
ListByResourceGroupInstance lists the long term retention backups for a given managed instance. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. locationName - the location of the database. managedInstanceName - the name of the managed instance. onlyLatestPerDatabase - whether or not to only get the latest backup for each database. databaseState - whether to query against just live databases, just deleted databases, or all databases.
func (LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupInstanceComplete ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupInstanceComplete(ctx context.Context, resourceGroupName string, locationName string, managedInstanceName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (result ManagedInstanceLongTermRetentionBackupListResultIterator, err error)
ListByResourceGroupInstanceComplete enumerates all values, automatically crossing page boundaries as required.
func (LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupInstancePreparer ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupInstancePreparer(ctx context.Context, resourceGroupName string, locationName string, managedInstanceName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (*http.Request, error)
ListByResourceGroupInstancePreparer prepares the ListByResourceGroupInstance request.
func (LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupInstanceResponder ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupInstanceResponder(resp *http.Response) (result ManagedInstanceLongTermRetentionBackupListResult, err error)
ListByResourceGroupInstanceResponder handles the response to the ListByResourceGroupInstance request. The method always closes the http.Response Body.
func (LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupInstanceSender ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupInstanceSender(req *http.Request) (*http.Response, error)
ListByResourceGroupInstanceSender sends the ListByResourceGroupInstance request. The method will close the http.Response Body if it receives an error.
func (LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupLocation ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupLocation(ctx context.Context, resourceGroupName string, locationName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (result ManagedInstanceLongTermRetentionBackupListResultPage, err error)
ListByResourceGroupLocation lists the long term retention backups for managed databases in a given location. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. locationName - the location of the database. onlyLatestPerDatabase - whether or not to only get the latest backup for each database. databaseState - whether to query against just live databases, just deleted databases, or all databases.
func (LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupLocationComplete ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupLocationComplete(ctx context.Context, resourceGroupName string, locationName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (result ManagedInstanceLongTermRetentionBackupListResultIterator, err error)
ListByResourceGroupLocationComplete enumerates all values, automatically crossing page boundaries as required.
func (LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupLocationPreparer ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupLocationPreparer(ctx context.Context, resourceGroupName string, locationName string, onlyLatestPerDatabase *bool, databaseState DatabaseState) (*http.Request, error)
ListByResourceGroupLocationPreparer prepares the ListByResourceGroupLocation request.
func (LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupLocationResponder ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupLocationResponder(resp *http.Response) (result ManagedInstanceLongTermRetentionBackupListResult, err error)
ListByResourceGroupLocationResponder handles the response to the ListByResourceGroupLocation request. The method always closes the http.Response Body.
func (LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupLocationSender ¶
func (client LongTermRetentionManagedInstanceBackupsClient) ListByResourceGroupLocationSender(req *http.Request) (*http.Response, error)
ListByResourceGroupLocationSender sends the ListByResourceGroupLocation request. The method will close the http.Response Body if it receives an error.
type LongTermRetentionManagedInstanceBackupsDeleteByResourceGroupFuture ¶
type LongTermRetentionManagedInstanceBackupsDeleteByResourceGroupFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(LongTermRetentionManagedInstanceBackupsClient) (autorest.Response, error) }
LongTermRetentionManagedInstanceBackupsDeleteByResourceGroupFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*LongTermRetentionManagedInstanceBackupsDeleteByResourceGroupFuture) UnmarshalJSON ¶
func (future *LongTermRetentionManagedInstanceBackupsDeleteByResourceGroupFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type LongTermRetentionManagedInstanceBackupsDeleteFuture ¶
type LongTermRetentionManagedInstanceBackupsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(LongTermRetentionManagedInstanceBackupsClient) (autorest.Response, error) }
LongTermRetentionManagedInstanceBackupsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*LongTermRetentionManagedInstanceBackupsDeleteFuture) UnmarshalJSON ¶
func (future *LongTermRetentionManagedInstanceBackupsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type LongTermRetentionOperationResultProperties ¶
type LongTermRetentionOperationResultProperties struct { // RequestID - READ-ONLY; Request Id. RequestID *uuid.UUID `json:"requestId,omitempty"` // OperationType - READ-ONLY; Operation type. OperationType *string `json:"operationType,omitempty"` // FromBackupResourceID - READ-ONLY; Source backup resource id FromBackupResourceID *string `json:"fromBackupResourceId,omitempty"` // ToBackupResourceID - READ-ONLY; Target backup resource id ToBackupResourceID *string `json:"toBackupResourceId,omitempty"` // TargetBackupStorageRedundancy - READ-ONLY; The storage redundancy type of the copied backup. Possible values include: 'BackupStorageRedundancyGeo', 'BackupStorageRedundancyLocal', 'BackupStorageRedundancyZone' TargetBackupStorageRedundancy BackupStorageRedundancy `json:"targetBackupStorageRedundancy,omitempty"` // Status - READ-ONLY; Operation status Status *string `json:"status,omitempty"` // Message - READ-ONLY; Progress message Message *string `json:"message,omitempty"` }
LongTermRetentionOperationResultProperties contains the operation result properties for long term retention backup operation.
func (LongTermRetentionOperationResultProperties) MarshalJSON ¶
func (ltrorp LongTermRetentionOperationResultProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LongTermRetentionOperationResultProperties.
type LongTermRetentionPoliciesClient ¶
type LongTermRetentionPoliciesClient struct {
BaseClient
}
LongTermRetentionPoliciesClient 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 NewLongTermRetentionPoliciesClient ¶
func NewLongTermRetentionPoliciesClient(subscriptionID string) LongTermRetentionPoliciesClient
NewLongTermRetentionPoliciesClient creates an instance of the LongTermRetentionPoliciesClient client.
func NewLongTermRetentionPoliciesClientWithBaseURI ¶
func NewLongTermRetentionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) LongTermRetentionPoliciesClient
NewLongTermRetentionPoliciesClientWithBaseURI creates an instance of the LongTermRetentionPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (LongTermRetentionPoliciesClient) CreateOrUpdate ¶
func (client LongTermRetentionPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters LongTermRetentionPolicy) (result LongTermRetentionPoliciesCreateOrUpdateFuture, err error)
CreateOrUpdate sets a database's long term retention policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. parameters - the long term retention policy info.
func (LongTermRetentionPoliciesClient) CreateOrUpdatePreparer ¶
func (client LongTermRetentionPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters LongTermRetentionPolicy) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (LongTermRetentionPoliciesClient) CreateOrUpdateResponder ¶
func (client LongTermRetentionPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result LongTermRetentionPolicy, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (LongTermRetentionPoliciesClient) CreateOrUpdateSender ¶
func (client LongTermRetentionPoliciesClient) CreateOrUpdateSender(req *http.Request) (future LongTermRetentionPoliciesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (LongTermRetentionPoliciesClient) Get ¶
func (client LongTermRetentionPoliciesClient) Get(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result LongTermRetentionPolicy, err error)
Get gets a database's long term retention policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (LongTermRetentionPoliciesClient) GetPreparer ¶
func (client LongTermRetentionPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (LongTermRetentionPoliciesClient) GetResponder ¶
func (client LongTermRetentionPoliciesClient) GetResponder(resp *http.Response) (result LongTermRetentionPolicy, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (LongTermRetentionPoliciesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (LongTermRetentionPoliciesClient) ListByDatabase ¶
func (client LongTermRetentionPoliciesClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result LongTermRetentionPolicyListResultPage, err error)
ListByDatabase gets a database's long term retention policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (LongTermRetentionPoliciesClient) ListByDatabaseComplete ¶
func (client LongTermRetentionPoliciesClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result LongTermRetentionPolicyListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (LongTermRetentionPoliciesClient) ListByDatabasePreparer ¶
func (client LongTermRetentionPoliciesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (LongTermRetentionPoliciesClient) ListByDatabaseResponder ¶
func (client LongTermRetentionPoliciesClient) ListByDatabaseResponder(resp *http.Response) (result LongTermRetentionPolicyListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (LongTermRetentionPoliciesClient) ListByDatabaseSender ¶
func (client LongTermRetentionPoliciesClient) 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 LongTermRetentionPoliciesCreateOrUpdateFuture ¶
type LongTermRetentionPoliciesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(LongTermRetentionPoliciesClient) (LongTermRetentionPolicy, error) }
LongTermRetentionPoliciesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*LongTermRetentionPoliciesCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *LongTermRetentionPoliciesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type LongTermRetentionPolicy ¶
type LongTermRetentionPolicy struct { autorest.Response `json:"-"` // BaseLongTermRetentionPolicyProperties - Resource properties. *BaseLongTermRetentionPolicyProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
LongTermRetentionPolicy a long term retention policy.
func (LongTermRetentionPolicy) MarshalJSON ¶
func (ltrp LongTermRetentionPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LongTermRetentionPolicy.
func (*LongTermRetentionPolicy) UnmarshalJSON ¶
func (ltrp *LongTermRetentionPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for LongTermRetentionPolicy struct.
type LongTermRetentionPolicyListResult ¶
type LongTermRetentionPolicyListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]LongTermRetentionPolicy `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
LongTermRetentionPolicyListResult a list of long term retention policies.
func (LongTermRetentionPolicyListResult) IsEmpty ¶
func (ltrplr LongTermRetentionPolicyListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (LongTermRetentionPolicyListResult) MarshalJSON ¶
func (ltrplr LongTermRetentionPolicyListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LongTermRetentionPolicyListResult.
type LongTermRetentionPolicyListResultIterator ¶
type LongTermRetentionPolicyListResultIterator struct {
// contains filtered or unexported fields
}
LongTermRetentionPolicyListResultIterator provides access to a complete listing of LongTermRetentionPolicy values.
func NewLongTermRetentionPolicyListResultIterator ¶
func NewLongTermRetentionPolicyListResultIterator(page LongTermRetentionPolicyListResultPage) LongTermRetentionPolicyListResultIterator
Creates a new instance of the LongTermRetentionPolicyListResultIterator type.
func (*LongTermRetentionPolicyListResultIterator) Next ¶
func (iter *LongTermRetentionPolicyListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*LongTermRetentionPolicyListResultIterator) NextWithContext ¶
func (iter *LongTermRetentionPolicyListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (LongTermRetentionPolicyListResultIterator) NotDone ¶
func (iter LongTermRetentionPolicyListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (LongTermRetentionPolicyListResultIterator) Response ¶
func (iter LongTermRetentionPolicyListResultIterator) Response() LongTermRetentionPolicyListResult
Response returns the raw server response from the last page request.
func (LongTermRetentionPolicyListResultIterator) Value ¶
func (iter LongTermRetentionPolicyListResultIterator) Value() LongTermRetentionPolicy
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type LongTermRetentionPolicyListResultPage ¶
type LongTermRetentionPolicyListResultPage struct {
// contains filtered or unexported fields
}
LongTermRetentionPolicyListResultPage contains a page of LongTermRetentionPolicy values.
func NewLongTermRetentionPolicyListResultPage ¶
func NewLongTermRetentionPolicyListResultPage(cur LongTermRetentionPolicyListResult, getNextPage func(context.Context, LongTermRetentionPolicyListResult) (LongTermRetentionPolicyListResult, error)) LongTermRetentionPolicyListResultPage
Creates a new instance of the LongTermRetentionPolicyListResultPage type.
func (*LongTermRetentionPolicyListResultPage) Next ¶
func (page *LongTermRetentionPolicyListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*LongTermRetentionPolicyListResultPage) NextWithContext ¶
func (page *LongTermRetentionPolicyListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (LongTermRetentionPolicyListResultPage) NotDone ¶
func (page LongTermRetentionPolicyListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (LongTermRetentionPolicyListResultPage) Response ¶
func (page LongTermRetentionPolicyListResultPage) Response() LongTermRetentionPolicyListResult
Response returns the raw server response from the last page request.
func (LongTermRetentionPolicyListResultPage) Values ¶
func (page LongTermRetentionPolicyListResultPage) Values() []LongTermRetentionPolicy
Values returns the slice of values for the current page or nil if there are no values.
type MaintenanceConfigurationCapability ¶
type MaintenanceConfigurationCapability struct { // Name - READ-ONLY; Maintenance configuration name Name *string `json:"name,omitempty"` // ZoneRedundant - READ-ONLY; Whether or not zone redundancy is supported for the maintenance configuration. ZoneRedundant *bool `json:"zoneRedundant,omitempty"` // Status - READ-ONLY; The status of the capability. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // Reason - The reason for the capability not being available. Reason *string `json:"reason,omitempty"` }
MaintenanceConfigurationCapability the maintenance configuration capability
func (MaintenanceConfigurationCapability) MarshalJSON ¶
func (mcc MaintenanceConfigurationCapability) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MaintenanceConfigurationCapability.
type MaintenanceWindowOptions ¶
type MaintenanceWindowOptions struct { autorest.Response `json:"-"` // MaintenanceWindowOptionsProperties - Resource properties. *MaintenanceWindowOptionsProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
MaintenanceWindowOptions maintenance window options.
func (MaintenanceWindowOptions) MarshalJSON ¶
func (mwo MaintenanceWindowOptions) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MaintenanceWindowOptions.
func (*MaintenanceWindowOptions) UnmarshalJSON ¶
func (mwo *MaintenanceWindowOptions) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for MaintenanceWindowOptions struct.
type MaintenanceWindowOptionsClient ¶
type MaintenanceWindowOptionsClient struct {
BaseClient
}
MaintenanceWindowOptionsClient 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 NewMaintenanceWindowOptionsClient ¶
func NewMaintenanceWindowOptionsClient(subscriptionID string) MaintenanceWindowOptionsClient
NewMaintenanceWindowOptionsClient creates an instance of the MaintenanceWindowOptionsClient client.
func NewMaintenanceWindowOptionsClientWithBaseURI ¶
func NewMaintenanceWindowOptionsClientWithBaseURI(baseURI string, subscriptionID string) MaintenanceWindowOptionsClient
NewMaintenanceWindowOptionsClientWithBaseURI creates an instance of the MaintenanceWindowOptionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (MaintenanceWindowOptionsClient) Get ¶
func (client MaintenanceWindowOptionsClient) Get(ctx context.Context, resourceGroupName string, serverName string, databaseName string, maintenanceWindowOptionsName string) (result MaintenanceWindowOptions, err error)
Get gets a list of available maintenance windows. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database to get maintenance windows options for. maintenanceWindowOptionsName - maintenance window options name.
func (MaintenanceWindowOptionsClient) GetPreparer ¶
func (client MaintenanceWindowOptionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, maintenanceWindowOptionsName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (MaintenanceWindowOptionsClient) GetResponder ¶
func (client MaintenanceWindowOptionsClient) GetResponder(resp *http.Response) (result MaintenanceWindowOptions, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type MaintenanceWindowOptionsProperties ¶
type MaintenanceWindowOptionsProperties struct { // IsEnabled - Whether maintenance windows are enabled for the database. IsEnabled *bool `json:"isEnabled,omitempty"` // MaintenanceWindowCycles - Available maintenance cycles e.g. {Saturday, 0, 48*60}, {Wednesday, 0, 24*60}. MaintenanceWindowCycles *[]MaintenanceWindowTimeRange `json:"maintenanceWindowCycles,omitempty"` // MinDurationInMinutes - Minimum duration of maintenance window. MinDurationInMinutes *int32 `json:"minDurationInMinutes,omitempty"` // DefaultDurationInMinutes - Default duration for maintenance window. DefaultDurationInMinutes *int32 `json:"defaultDurationInMinutes,omitempty"` // MinCycles - Minimum number of maintenance windows cycles to be set on the database. MinCycles *int32 `json:"minCycles,omitempty"` // TimeGranularityInMinutes - Time granularity in minutes for maintenance windows. TimeGranularityInMinutes *int32 `json:"timeGranularityInMinutes,omitempty"` // AllowMultipleMaintenanceWindowsPerCycle - Whether we allow multiple maintenance windows per cycle. AllowMultipleMaintenanceWindowsPerCycle *bool `json:"allowMultipleMaintenanceWindowsPerCycle,omitempty"` }
MaintenanceWindowOptionsProperties maintenance window options properties.
type MaintenanceWindowTimeRange ¶
type MaintenanceWindowTimeRange struct { // DayOfWeek - Day of maintenance window. Possible values include: 'DayOfWeekSunday', 'DayOfWeekMonday', 'DayOfWeekTuesday', 'DayOfWeekWednesday', 'DayOfWeekThursday', 'DayOfWeekFriday', 'DayOfWeekSaturday' DayOfWeek DayOfWeek `json:"dayOfWeek,omitempty"` // StartTime - Start time minutes offset from 12am. StartTime *string `json:"startTime,omitempty"` // Duration - Duration of maintenance window in minutes. Duration *string `json:"duration,omitempty"` }
MaintenanceWindowTimeRange maintenance window time range.
type MaintenanceWindows ¶
type MaintenanceWindows struct { autorest.Response `json:"-"` // MaintenanceWindowsProperties - Resource properties. *MaintenanceWindowsProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
MaintenanceWindows maintenance windows.
func (MaintenanceWindows) MarshalJSON ¶
func (mw MaintenanceWindows) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MaintenanceWindows.
func (*MaintenanceWindows) UnmarshalJSON ¶
func (mw *MaintenanceWindows) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for MaintenanceWindows struct.
type MaintenanceWindowsClient ¶
type MaintenanceWindowsClient struct {
BaseClient
}
MaintenanceWindowsClient 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 NewMaintenanceWindowsClient ¶
func NewMaintenanceWindowsClient(subscriptionID string) MaintenanceWindowsClient
NewMaintenanceWindowsClient creates an instance of the MaintenanceWindowsClient client.
func NewMaintenanceWindowsClientWithBaseURI ¶
func NewMaintenanceWindowsClientWithBaseURI(baseURI string, subscriptionID string) MaintenanceWindowsClient
NewMaintenanceWindowsClientWithBaseURI creates an instance of the MaintenanceWindowsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (MaintenanceWindowsClient) CreateOrUpdate ¶
func (client MaintenanceWindowsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, databaseName string, maintenanceWindowName string, parameters MaintenanceWindows) (result autorest.Response, err error)
CreateOrUpdate sets maintenance windows settings for a database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database to set maintenance windows for. maintenanceWindowName - maintenance window name.
func (MaintenanceWindowsClient) CreateOrUpdatePreparer ¶
func (client MaintenanceWindowsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, maintenanceWindowName string, parameters MaintenanceWindows) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (MaintenanceWindowsClient) CreateOrUpdateResponder ¶
func (client MaintenanceWindowsClient) CreateOrUpdateResponder(resp *http.Response) (result autorest.Response, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (MaintenanceWindowsClient) CreateOrUpdateSender ¶
func (client MaintenanceWindowsClient) 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 (MaintenanceWindowsClient) Get ¶
func (client MaintenanceWindowsClient) Get(ctx context.Context, resourceGroupName string, serverName string, databaseName string, maintenanceWindowName string) (result MaintenanceWindows, err error)
Get gets maintenance windows settings for a database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database to get maintenance windows for. maintenanceWindowName - maintenance window name.
func (MaintenanceWindowsClient) GetPreparer ¶
func (client MaintenanceWindowsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, maintenanceWindowName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (MaintenanceWindowsClient) GetResponder ¶
func (client MaintenanceWindowsClient) GetResponder(resp *http.Response) (result MaintenanceWindows, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type MaintenanceWindowsProperties ¶
type MaintenanceWindowsProperties struct {
TimeRanges *[]MaintenanceWindowTimeRange `json:"timeRanges,omitempty"`
}
MaintenanceWindowsProperties maintenance windows resource properties.
type ManagedBackupShortTermRetentionPoliciesClient ¶
type ManagedBackupShortTermRetentionPoliciesClient struct {
BaseClient
}
ManagedBackupShortTermRetentionPoliciesClient 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 NewManagedBackupShortTermRetentionPoliciesClient ¶
func NewManagedBackupShortTermRetentionPoliciesClient(subscriptionID string) ManagedBackupShortTermRetentionPoliciesClient
NewManagedBackupShortTermRetentionPoliciesClient creates an instance of the ManagedBackupShortTermRetentionPoliciesClient client.
func NewManagedBackupShortTermRetentionPoliciesClientWithBaseURI ¶
func NewManagedBackupShortTermRetentionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ManagedBackupShortTermRetentionPoliciesClient
NewManagedBackupShortTermRetentionPoliciesClientWithBaseURI creates an instance of the ManagedBackupShortTermRetentionPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedBackupShortTermRetentionPoliciesClient) CreateOrUpdate ¶
func (client ManagedBackupShortTermRetentionPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, parameters ManagedBackupShortTermRetentionPolicy) (result ManagedBackupShortTermRetentionPoliciesCreateOrUpdateFuture, err error)
CreateOrUpdate updates a managed database's short term retention policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database. parameters - the short term retention policy info.
func (ManagedBackupShortTermRetentionPoliciesClient) CreateOrUpdatePreparer ¶
func (client ManagedBackupShortTermRetentionPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, parameters ManagedBackupShortTermRetentionPolicy) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ManagedBackupShortTermRetentionPoliciesClient) CreateOrUpdateResponder ¶
func (client ManagedBackupShortTermRetentionPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedBackupShortTermRetentionPolicy, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ManagedBackupShortTermRetentionPoliciesClient) CreateOrUpdateSender ¶
func (client ManagedBackupShortTermRetentionPoliciesClient) CreateOrUpdateSender(req *http.Request) (future ManagedBackupShortTermRetentionPoliciesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ManagedBackupShortTermRetentionPoliciesClient) Get ¶
func (client ManagedBackupShortTermRetentionPoliciesClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (result ManagedBackupShortTermRetentionPolicy, err error)
Get gets a managed database's short term retention policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database.
func (ManagedBackupShortTermRetentionPoliciesClient) GetPreparer ¶
func (client ManagedBackupShortTermRetentionPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagedBackupShortTermRetentionPoliciesClient) GetResponder ¶
func (client ManagedBackupShortTermRetentionPoliciesClient) GetResponder(resp *http.Response) (result ManagedBackupShortTermRetentionPolicy, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagedBackupShortTermRetentionPoliciesClient) GetSender ¶
func (client ManagedBackupShortTermRetentionPoliciesClient) 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 (ManagedBackupShortTermRetentionPoliciesClient) ListByDatabase ¶
func (client ManagedBackupShortTermRetentionPoliciesClient) ListByDatabase(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (result ManagedBackupShortTermRetentionPolicyListResultPage, err error)
ListByDatabase gets a managed database's short term retention policy list. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database.
func (ManagedBackupShortTermRetentionPoliciesClient) ListByDatabaseComplete ¶
func (client ManagedBackupShortTermRetentionPoliciesClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (result ManagedBackupShortTermRetentionPolicyListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedBackupShortTermRetentionPoliciesClient) ListByDatabasePreparer ¶
func (client ManagedBackupShortTermRetentionPoliciesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (ManagedBackupShortTermRetentionPoliciesClient) ListByDatabaseResponder ¶
func (client ManagedBackupShortTermRetentionPoliciesClient) ListByDatabaseResponder(resp *http.Response) (result ManagedBackupShortTermRetentionPolicyListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (ManagedBackupShortTermRetentionPoliciesClient) ListByDatabaseSender ¶
func (client ManagedBackupShortTermRetentionPoliciesClient) 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.
func (ManagedBackupShortTermRetentionPoliciesClient) Update ¶
func (client ManagedBackupShortTermRetentionPoliciesClient) Update(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, parameters ManagedBackupShortTermRetentionPolicy) (result ManagedBackupShortTermRetentionPoliciesUpdateFuture, err error)
Update updates a managed database's short term retention policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database. parameters - the short term retention policy info.
func (ManagedBackupShortTermRetentionPoliciesClient) UpdatePreparer ¶
func (client ManagedBackupShortTermRetentionPoliciesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, parameters ManagedBackupShortTermRetentionPolicy) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ManagedBackupShortTermRetentionPoliciesClient) UpdateResponder ¶
func (client ManagedBackupShortTermRetentionPoliciesClient) UpdateResponder(resp *http.Response) (result ManagedBackupShortTermRetentionPolicy, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ManagedBackupShortTermRetentionPoliciesClient) UpdateSender ¶
func (client ManagedBackupShortTermRetentionPoliciesClient) UpdateSender(req *http.Request) (future ManagedBackupShortTermRetentionPoliciesUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ManagedBackupShortTermRetentionPoliciesCreateOrUpdateFuture ¶
type ManagedBackupShortTermRetentionPoliciesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedBackupShortTermRetentionPoliciesClient) (ManagedBackupShortTermRetentionPolicy, error) }
ManagedBackupShortTermRetentionPoliciesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedBackupShortTermRetentionPoliciesCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *ManagedBackupShortTermRetentionPoliciesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedBackupShortTermRetentionPoliciesUpdateFuture ¶
type ManagedBackupShortTermRetentionPoliciesUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedBackupShortTermRetentionPoliciesClient) (ManagedBackupShortTermRetentionPolicy, error) }
ManagedBackupShortTermRetentionPoliciesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedBackupShortTermRetentionPoliciesUpdateFuture) UnmarshalJSON ¶
func (future *ManagedBackupShortTermRetentionPoliciesUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedBackupShortTermRetentionPolicy ¶
type ManagedBackupShortTermRetentionPolicy struct { autorest.Response `json:"-"` // ManagedBackupShortTermRetentionPolicyProperties - Resource properties. *ManagedBackupShortTermRetentionPolicyProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ManagedBackupShortTermRetentionPolicy a short term retention policy.
func (ManagedBackupShortTermRetentionPolicy) MarshalJSON ¶
func (mbstrp ManagedBackupShortTermRetentionPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedBackupShortTermRetentionPolicy.
func (*ManagedBackupShortTermRetentionPolicy) UnmarshalJSON ¶
func (mbstrp *ManagedBackupShortTermRetentionPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ManagedBackupShortTermRetentionPolicy struct.
type ManagedBackupShortTermRetentionPolicyListResult ¶
type ManagedBackupShortTermRetentionPolicyListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ManagedBackupShortTermRetentionPolicy `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ManagedBackupShortTermRetentionPolicyListResult a list of short term retention policies.
func (ManagedBackupShortTermRetentionPolicyListResult) IsEmpty ¶
func (mbstrplr ManagedBackupShortTermRetentionPolicyListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ManagedBackupShortTermRetentionPolicyListResult) MarshalJSON ¶
func (mbstrplr ManagedBackupShortTermRetentionPolicyListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedBackupShortTermRetentionPolicyListResult.
type ManagedBackupShortTermRetentionPolicyListResultIterator ¶
type ManagedBackupShortTermRetentionPolicyListResultIterator struct {
// contains filtered or unexported fields
}
ManagedBackupShortTermRetentionPolicyListResultIterator provides access to a complete listing of ManagedBackupShortTermRetentionPolicy values.
func NewManagedBackupShortTermRetentionPolicyListResultIterator ¶
func NewManagedBackupShortTermRetentionPolicyListResultIterator(page ManagedBackupShortTermRetentionPolicyListResultPage) ManagedBackupShortTermRetentionPolicyListResultIterator
Creates a new instance of the ManagedBackupShortTermRetentionPolicyListResultIterator type.
func (*ManagedBackupShortTermRetentionPolicyListResultIterator) Next ¶
func (iter *ManagedBackupShortTermRetentionPolicyListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedBackupShortTermRetentionPolicyListResultIterator) NextWithContext ¶
func (iter *ManagedBackupShortTermRetentionPolicyListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ManagedBackupShortTermRetentionPolicyListResultIterator) NotDone ¶
func (iter ManagedBackupShortTermRetentionPolicyListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ManagedBackupShortTermRetentionPolicyListResultIterator) Response ¶
func (iter ManagedBackupShortTermRetentionPolicyListResultIterator) Response() ManagedBackupShortTermRetentionPolicyListResult
Response returns the raw server response from the last page request.
func (ManagedBackupShortTermRetentionPolicyListResultIterator) Value ¶
func (iter ManagedBackupShortTermRetentionPolicyListResultIterator) Value() ManagedBackupShortTermRetentionPolicy
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ManagedBackupShortTermRetentionPolicyListResultPage ¶
type ManagedBackupShortTermRetentionPolicyListResultPage struct {
// contains filtered or unexported fields
}
ManagedBackupShortTermRetentionPolicyListResultPage contains a page of ManagedBackupShortTermRetentionPolicy values.
func NewManagedBackupShortTermRetentionPolicyListResultPage ¶
func NewManagedBackupShortTermRetentionPolicyListResultPage(cur ManagedBackupShortTermRetentionPolicyListResult, getNextPage func(context.Context, ManagedBackupShortTermRetentionPolicyListResult) (ManagedBackupShortTermRetentionPolicyListResult, error)) ManagedBackupShortTermRetentionPolicyListResultPage
Creates a new instance of the ManagedBackupShortTermRetentionPolicyListResultPage type.
func (*ManagedBackupShortTermRetentionPolicyListResultPage) Next ¶
func (page *ManagedBackupShortTermRetentionPolicyListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedBackupShortTermRetentionPolicyListResultPage) NextWithContext ¶
func (page *ManagedBackupShortTermRetentionPolicyListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ManagedBackupShortTermRetentionPolicyListResultPage) NotDone ¶
func (page ManagedBackupShortTermRetentionPolicyListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ManagedBackupShortTermRetentionPolicyListResultPage) Response ¶
func (page ManagedBackupShortTermRetentionPolicyListResultPage) Response() ManagedBackupShortTermRetentionPolicyListResult
Response returns the raw server response from the last page request.
func (ManagedBackupShortTermRetentionPolicyListResultPage) Values ¶
func (page ManagedBackupShortTermRetentionPolicyListResultPage) Values() []ManagedBackupShortTermRetentionPolicy
Values returns the slice of values for the current page or nil if there are no values.
type ManagedBackupShortTermRetentionPolicyProperties ¶
type ManagedBackupShortTermRetentionPolicyProperties struct { // RetentionDays - The backup retention period in days. This is how many days Point-in-Time Restore will be supported. RetentionDays *int32 `json:"retentionDays,omitempty"` }
ManagedBackupShortTermRetentionPolicyProperties properties of a short term retention policy
type ManagedDatabase ¶
type ManagedDatabase struct { autorest.Response `json:"-"` // ManagedDatabaseProperties - Resource properties. *ManagedDatabaseProperties `json:"properties,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ManagedDatabase a managed database resource.
func (ManagedDatabase) MarshalJSON ¶
func (md ManagedDatabase) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedDatabase.
func (*ManagedDatabase) UnmarshalJSON ¶
func (md *ManagedDatabase) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ManagedDatabase struct.
type ManagedDatabaseColumnsClient ¶
type ManagedDatabaseColumnsClient struct {
BaseClient
}
ManagedDatabaseColumnsClient 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 NewManagedDatabaseColumnsClient ¶
func NewManagedDatabaseColumnsClient(subscriptionID string) ManagedDatabaseColumnsClient
NewManagedDatabaseColumnsClient creates an instance of the ManagedDatabaseColumnsClient client.
func NewManagedDatabaseColumnsClientWithBaseURI ¶
func NewManagedDatabaseColumnsClientWithBaseURI(baseURI string, subscriptionID string) ManagedDatabaseColumnsClient
NewManagedDatabaseColumnsClientWithBaseURI creates an instance of the ManagedDatabaseColumnsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedDatabaseColumnsClient) Get ¶
func (client ManagedDatabaseColumnsClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, schemaName string, tableName string, columnName string) (result DatabaseColumn, err error)
Get get managed database column Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database. schemaName - the name of the schema. tableName - the name of the table. columnName - the name of the column.
func (ManagedDatabaseColumnsClient) GetPreparer ¶
func (client ManagedDatabaseColumnsClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, schemaName string, tableName string, columnName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagedDatabaseColumnsClient) GetResponder ¶
func (client ManagedDatabaseColumnsClient) GetResponder(resp *http.Response) (result DatabaseColumn, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagedDatabaseColumnsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ManagedDatabaseColumnsClient) ListByDatabase ¶
func (client ManagedDatabaseColumnsClient) ListByDatabase(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, schema []string, table []string, column []string, orderBy []string, skiptoken string) (result DatabaseColumnListResultPage, err error)
ListByDatabase list managed database columns Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database. skiptoken - an opaque token that identifies a starting point in the collection.
func (ManagedDatabaseColumnsClient) ListByDatabaseComplete ¶
func (client ManagedDatabaseColumnsClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, schema []string, table []string, column []string, orderBy []string, skiptoken string) (result DatabaseColumnListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedDatabaseColumnsClient) ListByDatabasePreparer ¶
func (client ManagedDatabaseColumnsClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, schema []string, table []string, column []string, orderBy []string, skiptoken string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (ManagedDatabaseColumnsClient) ListByDatabaseResponder ¶
func (client ManagedDatabaseColumnsClient) ListByDatabaseResponder(resp *http.Response) (result DatabaseColumnListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (ManagedDatabaseColumnsClient) ListByDatabaseSender ¶
func (client ManagedDatabaseColumnsClient) 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.
func (ManagedDatabaseColumnsClient) ListByTable ¶
func (client ManagedDatabaseColumnsClient) ListByTable(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, schemaName string, tableName string, filter string) (result DatabaseColumnListResultPage, err error)
ListByTable list managed database columns Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database. schemaName - the name of the schema. tableName - the name of the table. filter - an OData filter expression that filters elements in the collection.
func (ManagedDatabaseColumnsClient) ListByTableComplete ¶
func (client ManagedDatabaseColumnsClient) ListByTableComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, schemaName string, tableName string, filter string) (result DatabaseColumnListResultIterator, err error)
ListByTableComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedDatabaseColumnsClient) ListByTablePreparer ¶
func (client ManagedDatabaseColumnsClient) ListByTablePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, schemaName string, tableName string, filter string) (*http.Request, error)
ListByTablePreparer prepares the ListByTable request.
func (ManagedDatabaseColumnsClient) ListByTableResponder ¶
func (client ManagedDatabaseColumnsClient) ListByTableResponder(resp *http.Response) (result DatabaseColumnListResult, err error)
ListByTableResponder handles the response to the ListByTable request. The method always closes the http.Response Body.
func (ManagedDatabaseColumnsClient) ListByTableSender ¶
func (client ManagedDatabaseColumnsClient) ListByTableSender(req *http.Request) (*http.Response, error)
ListByTableSender sends the ListByTable request. The method will close the http.Response Body if it receives an error.
type ManagedDatabaseCreateMode ¶
type ManagedDatabaseCreateMode string
ManagedDatabaseCreateMode enumerates the values for managed database create mode.
const ( // ManagedDatabaseCreateModeDefault ... ManagedDatabaseCreateModeDefault ManagedDatabaseCreateMode = "Default" // ManagedDatabaseCreateModePointInTimeRestore ... ManagedDatabaseCreateModePointInTimeRestore ManagedDatabaseCreateMode = "PointInTimeRestore" // ManagedDatabaseCreateModeRecovery ... ManagedDatabaseCreateModeRecovery ManagedDatabaseCreateMode = "Recovery" // ManagedDatabaseCreateModeRestoreExternalBackup ... ManagedDatabaseCreateModeRestoreExternalBackup ManagedDatabaseCreateMode = "RestoreExternalBackup" // ManagedDatabaseCreateModeRestoreLongTermRetentionBackup ... ManagedDatabaseCreateModeRestoreLongTermRetentionBackup ManagedDatabaseCreateMode = "RestoreLongTermRetentionBackup" )
func PossibleManagedDatabaseCreateModeValues ¶
func PossibleManagedDatabaseCreateModeValues() []ManagedDatabaseCreateMode
PossibleManagedDatabaseCreateModeValues returns an array of possible values for the ManagedDatabaseCreateMode const type.
type ManagedDatabaseListResult ¶
type ManagedDatabaseListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ManagedDatabase `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ManagedDatabaseListResult a list of managed databases.
func (ManagedDatabaseListResult) IsEmpty ¶
func (mdlr ManagedDatabaseListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ManagedDatabaseListResult) MarshalJSON ¶
func (mdlr ManagedDatabaseListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedDatabaseListResult.
type ManagedDatabaseListResultIterator ¶
type ManagedDatabaseListResultIterator struct {
// contains filtered or unexported fields
}
ManagedDatabaseListResultIterator provides access to a complete listing of ManagedDatabase values.
func NewManagedDatabaseListResultIterator ¶
func NewManagedDatabaseListResultIterator(page ManagedDatabaseListResultPage) ManagedDatabaseListResultIterator
Creates a new instance of the ManagedDatabaseListResultIterator type.
func (*ManagedDatabaseListResultIterator) Next ¶
func (iter *ManagedDatabaseListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedDatabaseListResultIterator) NextWithContext ¶
func (iter *ManagedDatabaseListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ManagedDatabaseListResultIterator) NotDone ¶
func (iter ManagedDatabaseListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ManagedDatabaseListResultIterator) Response ¶
func (iter ManagedDatabaseListResultIterator) Response() ManagedDatabaseListResult
Response returns the raw server response from the last page request.
func (ManagedDatabaseListResultIterator) Value ¶
func (iter ManagedDatabaseListResultIterator) Value() ManagedDatabase
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ManagedDatabaseListResultPage ¶
type ManagedDatabaseListResultPage struct {
// contains filtered or unexported fields
}
ManagedDatabaseListResultPage contains a page of ManagedDatabase values.
func NewManagedDatabaseListResultPage ¶
func NewManagedDatabaseListResultPage(cur ManagedDatabaseListResult, getNextPage func(context.Context, ManagedDatabaseListResult) (ManagedDatabaseListResult, error)) ManagedDatabaseListResultPage
Creates a new instance of the ManagedDatabaseListResultPage type.
func (*ManagedDatabaseListResultPage) Next ¶
func (page *ManagedDatabaseListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedDatabaseListResultPage) NextWithContext ¶
func (page *ManagedDatabaseListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ManagedDatabaseListResultPage) NotDone ¶
func (page ManagedDatabaseListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ManagedDatabaseListResultPage) Response ¶
func (page ManagedDatabaseListResultPage) Response() ManagedDatabaseListResult
Response returns the raw server response from the last page request.
func (ManagedDatabaseListResultPage) Values ¶
func (page ManagedDatabaseListResultPage) Values() []ManagedDatabase
Values returns the slice of values for the current page or nil if there are no values.
type ManagedDatabaseProperties ¶
type ManagedDatabaseProperties struct { // Collation - Collation of the managed database. Collation *string `json:"collation,omitempty"` // Status - READ-ONLY; Status of the database. Possible values include: 'ManagedDatabaseStatusOnline', 'ManagedDatabaseStatusOffline', 'ManagedDatabaseStatusShutdown', 'ManagedDatabaseStatusCreating', 'ManagedDatabaseStatusInaccessible', 'ManagedDatabaseStatusRestoring', 'ManagedDatabaseStatusUpdating' Status ManagedDatabaseStatus `json:"status,omitempty"` // CreationDate - READ-ONLY; Creation date of the database. CreationDate *date.Time `json:"creationDate,omitempty"` // EarliestRestorePoint - READ-ONLY; Earliest restore point in time for point in time restore. EarliestRestorePoint *date.Time `json:"earliestRestorePoint,omitempty"` // RestorePointInTime - Conditional. If createMode is PointInTimeRestore, this value is required. Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. RestorePointInTime *date.Time `json:"restorePointInTime,omitempty"` // DefaultSecondaryLocation - READ-ONLY; Geo paired region. DefaultSecondaryLocation *string `json:"defaultSecondaryLocation,omitempty"` // CatalogCollation - Collation of the metadata catalog. Possible values include: 'CatalogCollationTypeDATABASEDEFAULT', 'CatalogCollationTypeSQLLatin1GeneralCP1CIAS' CatalogCollation CatalogCollationType `json:"catalogCollation,omitempty"` // CreateMode - Managed database create mode. PointInTimeRestore: Create a database by restoring a point in time backup of an existing database. SourceDatabaseName, SourceManagedInstanceName and PointInTime must be specified. RestoreExternalBackup: Create a database by restoring from external backup files. Collation, StorageContainerUri and StorageContainerSasToken must be specified. Recovery: Creates a database by restoring a geo-replicated backup. RecoverableDatabaseId must be specified as the recoverable database resource ID to restore. RestoreLongTermRetentionBackup: Create a database by restoring from a long term retention backup (longTermRetentionBackupResourceId required). Possible values include: 'ManagedDatabaseCreateModeDefault', 'ManagedDatabaseCreateModeRestoreExternalBackup', 'ManagedDatabaseCreateModePointInTimeRestore', 'ManagedDatabaseCreateModeRecovery', 'ManagedDatabaseCreateModeRestoreLongTermRetentionBackup' CreateMode ManagedDatabaseCreateMode `json:"createMode,omitempty"` // StorageContainerURI - Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the uri of the storage container where backups for this restore are stored. StorageContainerURI *string `json:"storageContainerUri,omitempty"` // SourceDatabaseID - The resource identifier of the source database associated with create operation of this database. SourceDatabaseID *string `json:"sourceDatabaseId,omitempty"` // RestorableDroppedDatabaseID - The restorable dropped database resource id to restore when creating this database. RestorableDroppedDatabaseID *string `json:"restorableDroppedDatabaseId,omitempty"` // StorageContainerSasToken - Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the storage container sas token. StorageContainerSasToken *string `json:"storageContainerSasToken,omitempty"` // FailoverGroupID - READ-ONLY; Instance Failover Group resource identifier that this managed database belongs to. FailoverGroupID *string `json:"failoverGroupId,omitempty"` // RecoverableDatabaseID - The resource identifier of the recoverable database associated with create operation of this database. RecoverableDatabaseID *string `json:"recoverableDatabaseId,omitempty"` // LongTermRetentionBackupResourceID - The name of the Long Term Retention backup to be used for restore of this managed database. LongTermRetentionBackupResourceID *string `json:"longTermRetentionBackupResourceId,omitempty"` // AutoCompleteRestore - Whether to auto complete restore of this managed database. AutoCompleteRestore *bool `json:"autoCompleteRestore,omitempty"` // LastBackupName - Last backup file name for restore of this managed database. LastBackupName *string `json:"lastBackupName,omitempty"` }
ManagedDatabaseProperties the managed database's properties.
func (ManagedDatabaseProperties) MarshalJSON ¶
func (mdp ManagedDatabaseProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedDatabaseProperties.
type ManagedDatabaseQueriesClient ¶
type ManagedDatabaseQueriesClient struct {
BaseClient
}
ManagedDatabaseQueriesClient 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 NewManagedDatabaseQueriesClient ¶
func NewManagedDatabaseQueriesClient(subscriptionID string) ManagedDatabaseQueriesClient
NewManagedDatabaseQueriesClient creates an instance of the ManagedDatabaseQueriesClient client.
func NewManagedDatabaseQueriesClientWithBaseURI ¶
func NewManagedDatabaseQueriesClientWithBaseURI(baseURI string, subscriptionID string) ManagedDatabaseQueriesClient
NewManagedDatabaseQueriesClientWithBaseURI creates an instance of the ManagedDatabaseQueriesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedDatabaseQueriesClient) Get ¶
func (client ManagedDatabaseQueriesClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, queryID string) (result ManagedInstanceQuery, err error)
Get get query by query id. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database.
func (ManagedDatabaseQueriesClient) GetPreparer ¶
func (client ManagedDatabaseQueriesClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, queryID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagedDatabaseQueriesClient) GetResponder ¶
func (client ManagedDatabaseQueriesClient) GetResponder(resp *http.Response) (result ManagedInstanceQuery, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagedDatabaseQueriesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ManagedDatabaseQueriesClient) ListByQuery ¶
func (client ManagedDatabaseQueriesClient) ListByQuery(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, queryID string, startTime string, endTime string, interval QueryTimeGrainType) (result ManagedInstanceQueryStatisticsPage, err error)
ListByQuery get query execution statistics by query id. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database. startTime - start time for observed period. endTime - end time for observed period. interval - the time step to be used to summarize the metric values.
func (ManagedDatabaseQueriesClient) ListByQueryComplete ¶
func (client ManagedDatabaseQueriesClient) ListByQueryComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, queryID string, startTime string, endTime string, interval QueryTimeGrainType) (result ManagedInstanceQueryStatisticsIterator, err error)
ListByQueryComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedDatabaseQueriesClient) ListByQueryPreparer ¶
func (client ManagedDatabaseQueriesClient) ListByQueryPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, queryID string, startTime string, endTime string, interval QueryTimeGrainType) (*http.Request, error)
ListByQueryPreparer prepares the ListByQuery request.
func (ManagedDatabaseQueriesClient) ListByQueryResponder ¶
func (client ManagedDatabaseQueriesClient) ListByQueryResponder(resp *http.Response) (result ManagedInstanceQueryStatistics, err error)
ListByQueryResponder handles the response to the ListByQuery request. The method always closes the http.Response Body.
func (ManagedDatabaseQueriesClient) ListByQuerySender ¶
func (client ManagedDatabaseQueriesClient) ListByQuerySender(req *http.Request) (*http.Response, error)
ListByQuerySender sends the ListByQuery request. The method will close the http.Response Body if it receives an error.
type ManagedDatabaseRecommendedSensitivityLabelsClient ¶
type ManagedDatabaseRecommendedSensitivityLabelsClient struct {
BaseClient
}
ManagedDatabaseRecommendedSensitivityLabelsClient 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 NewManagedDatabaseRecommendedSensitivityLabelsClient ¶
func NewManagedDatabaseRecommendedSensitivityLabelsClient(subscriptionID string) ManagedDatabaseRecommendedSensitivityLabelsClient
NewManagedDatabaseRecommendedSensitivityLabelsClient creates an instance of the ManagedDatabaseRecommendedSensitivityLabelsClient client.
func NewManagedDatabaseRecommendedSensitivityLabelsClientWithBaseURI ¶
func NewManagedDatabaseRecommendedSensitivityLabelsClientWithBaseURI(baseURI string, subscriptionID string) ManagedDatabaseRecommendedSensitivityLabelsClient
NewManagedDatabaseRecommendedSensitivityLabelsClientWithBaseURI creates an instance of the ManagedDatabaseRecommendedSensitivityLabelsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedDatabaseRecommendedSensitivityLabelsClient) Update ¶
func (client ManagedDatabaseRecommendedSensitivityLabelsClient) Update(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, parameters RecommendedSensitivityLabelUpdateList) (result autorest.Response, err error)
Update update recommended sensitivity labels states of a given database using an operations batch. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database.
func (ManagedDatabaseRecommendedSensitivityLabelsClient) UpdatePreparer ¶
func (client ManagedDatabaseRecommendedSensitivityLabelsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, parameters RecommendedSensitivityLabelUpdateList) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ManagedDatabaseRecommendedSensitivityLabelsClient) UpdateResponder ¶
func (client ManagedDatabaseRecommendedSensitivityLabelsClient) UpdateResponder(resp *http.Response) (result autorest.Response, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ManagedDatabaseRecommendedSensitivityLabelsClient) UpdateSender ¶
func (client ManagedDatabaseRecommendedSensitivityLabelsClient) UpdateSender(req *http.Request) (*http.Response, error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ManagedDatabaseRestoreDetailsClient ¶
type ManagedDatabaseRestoreDetailsClient struct {
BaseClient
}
ManagedDatabaseRestoreDetailsClient 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 NewManagedDatabaseRestoreDetailsClient ¶
func NewManagedDatabaseRestoreDetailsClient(subscriptionID string) ManagedDatabaseRestoreDetailsClient
NewManagedDatabaseRestoreDetailsClient creates an instance of the ManagedDatabaseRestoreDetailsClient client.
func NewManagedDatabaseRestoreDetailsClientWithBaseURI ¶
func NewManagedDatabaseRestoreDetailsClientWithBaseURI(baseURI string, subscriptionID string) ManagedDatabaseRestoreDetailsClient
NewManagedDatabaseRestoreDetailsClientWithBaseURI creates an instance of the ManagedDatabaseRestoreDetailsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedDatabaseRestoreDetailsClient) Get ¶
func (client ManagedDatabaseRestoreDetailsClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (result ManagedDatabaseRestoreDetailsResult, err error)
Get gets managed database restore details. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database.
func (ManagedDatabaseRestoreDetailsClient) GetPreparer ¶
func (client ManagedDatabaseRestoreDetailsClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagedDatabaseRestoreDetailsClient) GetResponder ¶
func (client ManagedDatabaseRestoreDetailsClient) GetResponder(resp *http.Response) (result ManagedDatabaseRestoreDetailsResult, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type ManagedDatabaseRestoreDetailsProperties ¶
type ManagedDatabaseRestoreDetailsProperties struct { // Status - READ-ONLY; Restore status. Status *string `json:"status,omitempty"` // CurrentRestoringFileName - READ-ONLY; Current restoring file name. CurrentRestoringFileName *string `json:"currentRestoringFileName,omitempty"` // LastRestoredFileName - READ-ONLY; Last restored file name. LastRestoredFileName *string `json:"lastRestoredFileName,omitempty"` // LastRestoredFileTime - READ-ONLY; Last restored file time. LastRestoredFileTime *date.Time `json:"lastRestoredFileTime,omitempty"` // PercentCompleted - READ-ONLY; Percent completed. PercentCompleted *float64 `json:"percentCompleted,omitempty"` // UnrestorableFiles - READ-ONLY; List of unrestorable files. UnrestorableFiles *[]string `json:"unrestorableFiles,omitempty"` // NumberOfFilesDetected - READ-ONLY; Number of files detected. NumberOfFilesDetected *int64 `json:"numberOfFilesDetected,omitempty"` // LastUploadedFileName - READ-ONLY; Last uploaded file name. LastUploadedFileName *string `json:"lastUploadedFileName,omitempty"` // LastUploadedFileTime - READ-ONLY; Last uploaded file time. LastUploadedFileTime *date.Time `json:"lastUploadedFileTime,omitempty"` // BlockReason - READ-ONLY; The reason why restore is in Blocked state. BlockReason *string `json:"blockReason,omitempty"` }
ManagedDatabaseRestoreDetailsProperties the managed database's restore details properties.
func (ManagedDatabaseRestoreDetailsProperties) MarshalJSON ¶
func (mdrdp ManagedDatabaseRestoreDetailsProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedDatabaseRestoreDetailsProperties.
type ManagedDatabaseRestoreDetailsResult ¶
type ManagedDatabaseRestoreDetailsResult struct { autorest.Response `json:"-"` // ManagedDatabaseRestoreDetailsProperties - Resource properties. *ManagedDatabaseRestoreDetailsProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ManagedDatabaseRestoreDetailsResult a managed database restore details.
func (ManagedDatabaseRestoreDetailsResult) MarshalJSON ¶
func (mdrdr ManagedDatabaseRestoreDetailsResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedDatabaseRestoreDetailsResult.
func (*ManagedDatabaseRestoreDetailsResult) UnmarshalJSON ¶
func (mdrdr *ManagedDatabaseRestoreDetailsResult) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ManagedDatabaseRestoreDetailsResult struct.
type ManagedDatabaseSchemasClient ¶
type ManagedDatabaseSchemasClient struct {
BaseClient
}
ManagedDatabaseSchemasClient 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 NewManagedDatabaseSchemasClient ¶
func NewManagedDatabaseSchemasClient(subscriptionID string) ManagedDatabaseSchemasClient
NewManagedDatabaseSchemasClient creates an instance of the ManagedDatabaseSchemasClient client.
func NewManagedDatabaseSchemasClientWithBaseURI ¶
func NewManagedDatabaseSchemasClientWithBaseURI(baseURI string, subscriptionID string) ManagedDatabaseSchemasClient
NewManagedDatabaseSchemasClientWithBaseURI creates an instance of the ManagedDatabaseSchemasClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedDatabaseSchemasClient) Get ¶
func (client ManagedDatabaseSchemasClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, schemaName string) (result DatabaseSchema, err error)
Get get managed database schema Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database. schemaName - the name of the schema.
func (ManagedDatabaseSchemasClient) GetPreparer ¶
func (client ManagedDatabaseSchemasClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, schemaName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagedDatabaseSchemasClient) GetResponder ¶
func (client ManagedDatabaseSchemasClient) GetResponder(resp *http.Response) (result DatabaseSchema, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagedDatabaseSchemasClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ManagedDatabaseSchemasClient) ListByDatabase ¶
func (client ManagedDatabaseSchemasClient) ListByDatabase(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, filter string) (result DatabaseSchemaListResultPage, err error)
ListByDatabase list managed database schemas Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database. filter - an OData filter expression that filters elements in the collection.
func (ManagedDatabaseSchemasClient) ListByDatabaseComplete ¶
func (client ManagedDatabaseSchemasClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, filter string) (result DatabaseSchemaListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedDatabaseSchemasClient) ListByDatabasePreparer ¶
func (client ManagedDatabaseSchemasClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, filter string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (ManagedDatabaseSchemasClient) ListByDatabaseResponder ¶
func (client ManagedDatabaseSchemasClient) ListByDatabaseResponder(resp *http.Response) (result DatabaseSchemaListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (ManagedDatabaseSchemasClient) ListByDatabaseSender ¶
func (client ManagedDatabaseSchemasClient) 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 ManagedDatabaseSecurityAlertPoliciesClient ¶
type ManagedDatabaseSecurityAlertPoliciesClient struct {
BaseClient
}
ManagedDatabaseSecurityAlertPoliciesClient 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 NewManagedDatabaseSecurityAlertPoliciesClient ¶
func NewManagedDatabaseSecurityAlertPoliciesClient(subscriptionID string) ManagedDatabaseSecurityAlertPoliciesClient
NewManagedDatabaseSecurityAlertPoliciesClient creates an instance of the ManagedDatabaseSecurityAlertPoliciesClient client.
func NewManagedDatabaseSecurityAlertPoliciesClientWithBaseURI ¶
func NewManagedDatabaseSecurityAlertPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ManagedDatabaseSecurityAlertPoliciesClient
NewManagedDatabaseSecurityAlertPoliciesClientWithBaseURI creates an instance of the ManagedDatabaseSecurityAlertPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedDatabaseSecurityAlertPoliciesClient) CreateOrUpdate ¶
func (client ManagedDatabaseSecurityAlertPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, parameters ManagedDatabaseSecurityAlertPolicy) (result ManagedDatabaseSecurityAlertPolicy, err error)
CreateOrUpdate creates or updates a database's security alert policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the managed database for which the security alert policy is defined. parameters - the database security alert policy.
func (ManagedDatabaseSecurityAlertPoliciesClient) CreateOrUpdatePreparer ¶
func (client ManagedDatabaseSecurityAlertPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, parameters ManagedDatabaseSecurityAlertPolicy) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ManagedDatabaseSecurityAlertPoliciesClient) CreateOrUpdateResponder ¶
func (client ManagedDatabaseSecurityAlertPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedDatabaseSecurityAlertPolicy, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ManagedDatabaseSecurityAlertPoliciesClient) CreateOrUpdateSender ¶
func (client ManagedDatabaseSecurityAlertPoliciesClient) 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 (ManagedDatabaseSecurityAlertPoliciesClient) Get ¶
func (client ManagedDatabaseSecurityAlertPoliciesClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (result ManagedDatabaseSecurityAlertPolicy, err error)
Get gets a managed database's security alert policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the managed database for which the security alert policy is defined.
func (ManagedDatabaseSecurityAlertPoliciesClient) GetPreparer ¶
func (client ManagedDatabaseSecurityAlertPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagedDatabaseSecurityAlertPoliciesClient) GetResponder ¶
func (client ManagedDatabaseSecurityAlertPoliciesClient) GetResponder(resp *http.Response) (result ManagedDatabaseSecurityAlertPolicy, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagedDatabaseSecurityAlertPoliciesClient) GetSender ¶
func (client ManagedDatabaseSecurityAlertPoliciesClient) 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 (ManagedDatabaseSecurityAlertPoliciesClient) ListByDatabase ¶
func (client ManagedDatabaseSecurityAlertPoliciesClient) ListByDatabase(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (result ManagedDatabaseSecurityAlertPolicyListResultPage, err error)
ListByDatabase gets a list of managed database's security alert policies. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the managed database for which the security alert policies are defined.
func (ManagedDatabaseSecurityAlertPoliciesClient) ListByDatabaseComplete ¶
func (client ManagedDatabaseSecurityAlertPoliciesClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (result ManagedDatabaseSecurityAlertPolicyListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedDatabaseSecurityAlertPoliciesClient) ListByDatabasePreparer ¶
func (client ManagedDatabaseSecurityAlertPoliciesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (ManagedDatabaseSecurityAlertPoliciesClient) ListByDatabaseResponder ¶
func (client ManagedDatabaseSecurityAlertPoliciesClient) ListByDatabaseResponder(resp *http.Response) (result ManagedDatabaseSecurityAlertPolicyListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (ManagedDatabaseSecurityAlertPoliciesClient) ListByDatabaseSender ¶
func (client ManagedDatabaseSecurityAlertPoliciesClient) 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 ManagedDatabaseSecurityAlertPolicy ¶
type ManagedDatabaseSecurityAlertPolicy struct { autorest.Response `json:"-"` // SecurityAlertPolicyProperties - Resource properties. *SecurityAlertPolicyProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ManagedDatabaseSecurityAlertPolicy a managed database security alert policy.
func (ManagedDatabaseSecurityAlertPolicy) MarshalJSON ¶
func (mdsap ManagedDatabaseSecurityAlertPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedDatabaseSecurityAlertPolicy.
func (*ManagedDatabaseSecurityAlertPolicy) UnmarshalJSON ¶
func (mdsap *ManagedDatabaseSecurityAlertPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ManagedDatabaseSecurityAlertPolicy struct.
type ManagedDatabaseSecurityAlertPolicyListResult ¶
type ManagedDatabaseSecurityAlertPolicyListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ManagedDatabaseSecurityAlertPolicy `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ManagedDatabaseSecurityAlertPolicyListResult a list of the managed database's security alert policies.
func (ManagedDatabaseSecurityAlertPolicyListResult) IsEmpty ¶
func (mdsaplr ManagedDatabaseSecurityAlertPolicyListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ManagedDatabaseSecurityAlertPolicyListResult) MarshalJSON ¶
func (mdsaplr ManagedDatabaseSecurityAlertPolicyListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedDatabaseSecurityAlertPolicyListResult.
type ManagedDatabaseSecurityAlertPolicyListResultIterator ¶
type ManagedDatabaseSecurityAlertPolicyListResultIterator struct {
// contains filtered or unexported fields
}
ManagedDatabaseSecurityAlertPolicyListResultIterator provides access to a complete listing of ManagedDatabaseSecurityAlertPolicy values.
func NewManagedDatabaseSecurityAlertPolicyListResultIterator ¶
func NewManagedDatabaseSecurityAlertPolicyListResultIterator(page ManagedDatabaseSecurityAlertPolicyListResultPage) ManagedDatabaseSecurityAlertPolicyListResultIterator
Creates a new instance of the ManagedDatabaseSecurityAlertPolicyListResultIterator type.
func (*ManagedDatabaseSecurityAlertPolicyListResultIterator) Next ¶
func (iter *ManagedDatabaseSecurityAlertPolicyListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedDatabaseSecurityAlertPolicyListResultIterator) NextWithContext ¶
func (iter *ManagedDatabaseSecurityAlertPolicyListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ManagedDatabaseSecurityAlertPolicyListResultIterator) NotDone ¶
func (iter ManagedDatabaseSecurityAlertPolicyListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ManagedDatabaseSecurityAlertPolicyListResultIterator) Response ¶
func (iter ManagedDatabaseSecurityAlertPolicyListResultIterator) Response() ManagedDatabaseSecurityAlertPolicyListResult
Response returns the raw server response from the last page request.
func (ManagedDatabaseSecurityAlertPolicyListResultIterator) Value ¶
func (iter ManagedDatabaseSecurityAlertPolicyListResultIterator) Value() ManagedDatabaseSecurityAlertPolicy
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ManagedDatabaseSecurityAlertPolicyListResultPage ¶
type ManagedDatabaseSecurityAlertPolicyListResultPage struct {
// contains filtered or unexported fields
}
ManagedDatabaseSecurityAlertPolicyListResultPage contains a page of ManagedDatabaseSecurityAlertPolicy values.
func NewManagedDatabaseSecurityAlertPolicyListResultPage ¶
func NewManagedDatabaseSecurityAlertPolicyListResultPage(cur ManagedDatabaseSecurityAlertPolicyListResult, getNextPage func(context.Context, ManagedDatabaseSecurityAlertPolicyListResult) (ManagedDatabaseSecurityAlertPolicyListResult, error)) ManagedDatabaseSecurityAlertPolicyListResultPage
Creates a new instance of the ManagedDatabaseSecurityAlertPolicyListResultPage type.
func (*ManagedDatabaseSecurityAlertPolicyListResultPage) Next ¶
func (page *ManagedDatabaseSecurityAlertPolicyListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedDatabaseSecurityAlertPolicyListResultPage) NextWithContext ¶
func (page *ManagedDatabaseSecurityAlertPolicyListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ManagedDatabaseSecurityAlertPolicyListResultPage) NotDone ¶
func (page ManagedDatabaseSecurityAlertPolicyListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ManagedDatabaseSecurityAlertPolicyListResultPage) Response ¶
func (page ManagedDatabaseSecurityAlertPolicyListResultPage) Response() ManagedDatabaseSecurityAlertPolicyListResult
Response returns the raw server response from the last page request.
func (ManagedDatabaseSecurityAlertPolicyListResultPage) Values ¶
func (page ManagedDatabaseSecurityAlertPolicyListResultPage) Values() []ManagedDatabaseSecurityAlertPolicy
Values returns the slice of values for the current page or nil if there are no values.
type ManagedDatabaseSecurityEventsClient ¶
type ManagedDatabaseSecurityEventsClient struct {
BaseClient
}
ManagedDatabaseSecurityEventsClient 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 NewManagedDatabaseSecurityEventsClient ¶
func NewManagedDatabaseSecurityEventsClient(subscriptionID string) ManagedDatabaseSecurityEventsClient
NewManagedDatabaseSecurityEventsClient creates an instance of the ManagedDatabaseSecurityEventsClient client.
func NewManagedDatabaseSecurityEventsClientWithBaseURI ¶
func NewManagedDatabaseSecurityEventsClientWithBaseURI(baseURI string, subscriptionID string) ManagedDatabaseSecurityEventsClient
NewManagedDatabaseSecurityEventsClientWithBaseURI creates an instance of the ManagedDatabaseSecurityEventsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedDatabaseSecurityEventsClient) ListByDatabase ¶
func (client ManagedDatabaseSecurityEventsClient) ListByDatabase(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, filter string, skip *int32, top *int32, skiptoken string) (result SecurityEventCollectionPage, err error)
ListByDatabase gets a list of security events. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the managed database for which the security events are retrieved. filter - an OData filter expression that filters elements in the collection. skip - the number of elements in the collection to skip. top - the number of elements to return from the collection. skiptoken - an opaque token that identifies a starting point in the collection.
func (ManagedDatabaseSecurityEventsClient) ListByDatabaseComplete ¶
func (client ManagedDatabaseSecurityEventsClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, filter string, skip *int32, top *int32, skiptoken string) (result SecurityEventCollectionIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedDatabaseSecurityEventsClient) ListByDatabasePreparer ¶
func (client ManagedDatabaseSecurityEventsClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, filter string, skip *int32, top *int32, skiptoken string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (ManagedDatabaseSecurityEventsClient) ListByDatabaseResponder ¶
func (client ManagedDatabaseSecurityEventsClient) ListByDatabaseResponder(resp *http.Response) (result SecurityEventCollection, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (ManagedDatabaseSecurityEventsClient) ListByDatabaseSender ¶
func (client ManagedDatabaseSecurityEventsClient) 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 ManagedDatabaseSensitivityLabelsClient ¶
type ManagedDatabaseSensitivityLabelsClient struct {
BaseClient
}
ManagedDatabaseSensitivityLabelsClient 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 NewManagedDatabaseSensitivityLabelsClient ¶
func NewManagedDatabaseSensitivityLabelsClient(subscriptionID string) ManagedDatabaseSensitivityLabelsClient
NewManagedDatabaseSensitivityLabelsClient creates an instance of the ManagedDatabaseSensitivityLabelsClient client.
func NewManagedDatabaseSensitivityLabelsClientWithBaseURI ¶
func NewManagedDatabaseSensitivityLabelsClientWithBaseURI(baseURI string, subscriptionID string) ManagedDatabaseSensitivityLabelsClient
NewManagedDatabaseSensitivityLabelsClientWithBaseURI creates an instance of the ManagedDatabaseSensitivityLabelsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedDatabaseSensitivityLabelsClient) CreateOrUpdate ¶
func (client ManagedDatabaseSensitivityLabelsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, schemaName string, tableName string, columnName string, parameters SensitivityLabel) (result SensitivityLabel, err error)
CreateOrUpdate creates or updates the sensitivity label of a given column Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database. schemaName - the name of the schema. tableName - the name of the table. columnName - the name of the column. parameters - the column sensitivity label resource.
func (ManagedDatabaseSensitivityLabelsClient) CreateOrUpdatePreparer ¶
func (client ManagedDatabaseSensitivityLabelsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, schemaName string, tableName string, columnName string, parameters SensitivityLabel) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ManagedDatabaseSensitivityLabelsClient) CreateOrUpdateResponder ¶
func (client ManagedDatabaseSensitivityLabelsClient) CreateOrUpdateResponder(resp *http.Response) (result SensitivityLabel, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ManagedDatabaseSensitivityLabelsClient) CreateOrUpdateSender ¶
func (client ManagedDatabaseSensitivityLabelsClient) 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 (ManagedDatabaseSensitivityLabelsClient) Delete ¶
func (client ManagedDatabaseSensitivityLabelsClient) Delete(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, schemaName string, tableName string, columnName string) (result autorest.Response, err error)
Delete deletes the sensitivity label of a given column Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database. schemaName - the name of the schema. tableName - the name of the table. columnName - the name of the column.
func (ManagedDatabaseSensitivityLabelsClient) DeletePreparer ¶
func (client ManagedDatabaseSensitivityLabelsClient) DeletePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, schemaName string, tableName string, columnName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ManagedDatabaseSensitivityLabelsClient) DeleteResponder ¶
func (client ManagedDatabaseSensitivityLabelsClient) 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 (ManagedDatabaseSensitivityLabelsClient) DeleteSender ¶
func (client ManagedDatabaseSensitivityLabelsClient) 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 (ManagedDatabaseSensitivityLabelsClient) DisableRecommendation ¶
func (client ManagedDatabaseSensitivityLabelsClient) DisableRecommendation(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, schemaName string, tableName string, columnName string) (result autorest.Response, err error)
DisableRecommendation disables sensitivity recommendations on a given column Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database. schemaName - the name of the schema. tableName - the name of the table. columnName - the name of the column.
func (ManagedDatabaseSensitivityLabelsClient) DisableRecommendationPreparer ¶
func (client ManagedDatabaseSensitivityLabelsClient) DisableRecommendationPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, schemaName string, tableName string, columnName string) (*http.Request, error)
DisableRecommendationPreparer prepares the DisableRecommendation request.
func (ManagedDatabaseSensitivityLabelsClient) DisableRecommendationResponder ¶
func (client ManagedDatabaseSensitivityLabelsClient) DisableRecommendationResponder(resp *http.Response) (result autorest.Response, err error)
DisableRecommendationResponder handles the response to the DisableRecommendation request. The method always closes the http.Response Body.
func (ManagedDatabaseSensitivityLabelsClient) DisableRecommendationSender ¶
func (client ManagedDatabaseSensitivityLabelsClient) DisableRecommendationSender(req *http.Request) (*http.Response, error)
DisableRecommendationSender sends the DisableRecommendation request. The method will close the http.Response Body if it receives an error.
func (ManagedDatabaseSensitivityLabelsClient) EnableRecommendation ¶
func (client ManagedDatabaseSensitivityLabelsClient) EnableRecommendation(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, schemaName string, tableName string, columnName string) (result autorest.Response, err error)
EnableRecommendation enables sensitivity recommendations on a given column (recommendations are enabled by default on all columns) Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database. schemaName - the name of the schema. tableName - the name of the table. columnName - the name of the column.
func (ManagedDatabaseSensitivityLabelsClient) EnableRecommendationPreparer ¶
func (client ManagedDatabaseSensitivityLabelsClient) EnableRecommendationPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, schemaName string, tableName string, columnName string) (*http.Request, error)
EnableRecommendationPreparer prepares the EnableRecommendation request.
func (ManagedDatabaseSensitivityLabelsClient) EnableRecommendationResponder ¶
func (client ManagedDatabaseSensitivityLabelsClient) EnableRecommendationResponder(resp *http.Response) (result autorest.Response, err error)
EnableRecommendationResponder handles the response to the EnableRecommendation request. The method always closes the http.Response Body.
func (ManagedDatabaseSensitivityLabelsClient) EnableRecommendationSender ¶
func (client ManagedDatabaseSensitivityLabelsClient) EnableRecommendationSender(req *http.Request) (*http.Response, error)
EnableRecommendationSender sends the EnableRecommendation request. The method will close the http.Response Body if it receives an error.
func (ManagedDatabaseSensitivityLabelsClient) Get ¶
func (client ManagedDatabaseSensitivityLabelsClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, schemaName string, tableName string, columnName string, sensitivityLabelSource SensitivityLabelSource) (result SensitivityLabel, err error)
Get gets the sensitivity label of a given column Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database. schemaName - the name of the schema. tableName - the name of the table. columnName - the name of the column. sensitivityLabelSource - the source of the sensitivity label.
func (ManagedDatabaseSensitivityLabelsClient) GetPreparer ¶
func (client ManagedDatabaseSensitivityLabelsClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, schemaName string, tableName string, columnName string, sensitivityLabelSource SensitivityLabelSource) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagedDatabaseSensitivityLabelsClient) GetResponder ¶
func (client ManagedDatabaseSensitivityLabelsClient) GetResponder(resp *http.Response) (result SensitivityLabel, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagedDatabaseSensitivityLabelsClient) GetSender ¶
func (client ManagedDatabaseSensitivityLabelsClient) 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 (ManagedDatabaseSensitivityLabelsClient) ListCurrentByDatabase ¶
func (client ManagedDatabaseSensitivityLabelsClient) ListCurrentByDatabase(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, skipToken string, count *bool, filter string) (result SensitivityLabelListResultPage, err error)
ListCurrentByDatabase gets the sensitivity labels of a given database Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database. filter - an OData filter expression that filters elements in the collection.
func (ManagedDatabaseSensitivityLabelsClient) ListCurrentByDatabaseComplete ¶
func (client ManagedDatabaseSensitivityLabelsClient) ListCurrentByDatabaseComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, skipToken string, count *bool, filter string) (result SensitivityLabelListResultIterator, err error)
ListCurrentByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedDatabaseSensitivityLabelsClient) ListCurrentByDatabasePreparer ¶
func (client ManagedDatabaseSensitivityLabelsClient) ListCurrentByDatabasePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, skipToken string, count *bool, filter string) (*http.Request, error)
ListCurrentByDatabasePreparer prepares the ListCurrentByDatabase request.
func (ManagedDatabaseSensitivityLabelsClient) ListCurrentByDatabaseResponder ¶
func (client ManagedDatabaseSensitivityLabelsClient) ListCurrentByDatabaseResponder(resp *http.Response) (result SensitivityLabelListResult, err error)
ListCurrentByDatabaseResponder handles the response to the ListCurrentByDatabase request. The method always closes the http.Response Body.
func (ManagedDatabaseSensitivityLabelsClient) ListCurrentByDatabaseSender ¶
func (client ManagedDatabaseSensitivityLabelsClient) ListCurrentByDatabaseSender(req *http.Request) (*http.Response, error)
ListCurrentByDatabaseSender sends the ListCurrentByDatabase request. The method will close the http.Response Body if it receives an error.
func (ManagedDatabaseSensitivityLabelsClient) ListRecommendedByDatabase ¶
func (client ManagedDatabaseSensitivityLabelsClient) ListRecommendedByDatabase(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, skipToken string, includeDisabledRecommendations *bool, filter string) (result SensitivityLabelListResultPage, err error)
ListRecommendedByDatabase gets the sensitivity labels of a given database Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database. includeDisabledRecommendations - specifies whether to include disabled recommendations or not. filter - an OData filter expression that filters elements in the collection.
func (ManagedDatabaseSensitivityLabelsClient) ListRecommendedByDatabaseComplete ¶
func (client ManagedDatabaseSensitivityLabelsClient) ListRecommendedByDatabaseComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, skipToken string, includeDisabledRecommendations *bool, filter string) (result SensitivityLabelListResultIterator, err error)
ListRecommendedByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedDatabaseSensitivityLabelsClient) ListRecommendedByDatabasePreparer ¶
func (client ManagedDatabaseSensitivityLabelsClient) ListRecommendedByDatabasePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, skipToken string, includeDisabledRecommendations *bool, filter string) (*http.Request, error)
ListRecommendedByDatabasePreparer prepares the ListRecommendedByDatabase request.
func (ManagedDatabaseSensitivityLabelsClient) ListRecommendedByDatabaseResponder ¶
func (client ManagedDatabaseSensitivityLabelsClient) ListRecommendedByDatabaseResponder(resp *http.Response) (result SensitivityLabelListResult, err error)
ListRecommendedByDatabaseResponder handles the response to the ListRecommendedByDatabase request. The method always closes the http.Response Body.
func (ManagedDatabaseSensitivityLabelsClient) ListRecommendedByDatabaseSender ¶
func (client ManagedDatabaseSensitivityLabelsClient) ListRecommendedByDatabaseSender(req *http.Request) (*http.Response, error)
ListRecommendedByDatabaseSender sends the ListRecommendedByDatabase request. The method will close the http.Response Body if it receives an error.
func (ManagedDatabaseSensitivityLabelsClient) Update ¶
func (client ManagedDatabaseSensitivityLabelsClient) Update(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, parameters SensitivityLabelUpdateList) (result autorest.Response, err error)
Update update sensitivity labels of a given database using an operations batch. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database.
func (ManagedDatabaseSensitivityLabelsClient) UpdatePreparer ¶
func (client ManagedDatabaseSensitivityLabelsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, parameters SensitivityLabelUpdateList) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ManagedDatabaseSensitivityLabelsClient) UpdateResponder ¶
func (client ManagedDatabaseSensitivityLabelsClient) UpdateResponder(resp *http.Response) (result autorest.Response, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ManagedDatabaseSensitivityLabelsClient) UpdateSender ¶
func (client ManagedDatabaseSensitivityLabelsClient) UpdateSender(req *http.Request) (*http.Response, error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ManagedDatabaseStatus ¶
type ManagedDatabaseStatus string
ManagedDatabaseStatus enumerates the values for managed database status.
const ( // ManagedDatabaseStatusCreating ... ManagedDatabaseStatusCreating ManagedDatabaseStatus = "Creating" // ManagedDatabaseStatusInaccessible ... ManagedDatabaseStatusInaccessible ManagedDatabaseStatus = "Inaccessible" // ManagedDatabaseStatusOffline ... ManagedDatabaseStatusOffline ManagedDatabaseStatus = "Offline" // ManagedDatabaseStatusOnline ... ManagedDatabaseStatusOnline ManagedDatabaseStatus = "Online" // ManagedDatabaseStatusRestoring ... ManagedDatabaseStatusRestoring ManagedDatabaseStatus = "Restoring" // ManagedDatabaseStatusShutdown ... ManagedDatabaseStatusShutdown ManagedDatabaseStatus = "Shutdown" // ManagedDatabaseStatusUpdating ... ManagedDatabaseStatusUpdating ManagedDatabaseStatus = "Updating" )
func PossibleManagedDatabaseStatusValues ¶
func PossibleManagedDatabaseStatusValues() []ManagedDatabaseStatus
PossibleManagedDatabaseStatusValues returns an array of possible values for the ManagedDatabaseStatus const type.
type ManagedDatabaseTablesClient ¶
type ManagedDatabaseTablesClient struct {
BaseClient
}
ManagedDatabaseTablesClient 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 NewManagedDatabaseTablesClient ¶
func NewManagedDatabaseTablesClient(subscriptionID string) ManagedDatabaseTablesClient
NewManagedDatabaseTablesClient creates an instance of the ManagedDatabaseTablesClient client.
func NewManagedDatabaseTablesClientWithBaseURI ¶
func NewManagedDatabaseTablesClientWithBaseURI(baseURI string, subscriptionID string) ManagedDatabaseTablesClient
NewManagedDatabaseTablesClientWithBaseURI creates an instance of the ManagedDatabaseTablesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedDatabaseTablesClient) Get ¶
func (client ManagedDatabaseTablesClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, schemaName string, tableName string) (result DatabaseTable, err error)
Get get managed database table Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database. schemaName - the name of the schema. tableName - the name of the table.
func (ManagedDatabaseTablesClient) GetPreparer ¶
func (client ManagedDatabaseTablesClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, schemaName string, tableName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagedDatabaseTablesClient) GetResponder ¶
func (client ManagedDatabaseTablesClient) GetResponder(resp *http.Response) (result DatabaseTable, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagedDatabaseTablesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ManagedDatabaseTablesClient) ListBySchema ¶
func (client ManagedDatabaseTablesClient) ListBySchema(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, schemaName string, filter string) (result DatabaseTableListResultPage, err error)
ListBySchema list managed database tables Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database. schemaName - the name of the schema. filter - an OData filter expression that filters elements in the collection.
func (ManagedDatabaseTablesClient) ListBySchemaComplete ¶
func (client ManagedDatabaseTablesClient) ListBySchemaComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, schemaName string, filter string) (result DatabaseTableListResultIterator, err error)
ListBySchemaComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedDatabaseTablesClient) ListBySchemaPreparer ¶
func (client ManagedDatabaseTablesClient) ListBySchemaPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, schemaName string, filter string) (*http.Request, error)
ListBySchemaPreparer prepares the ListBySchema request.
func (ManagedDatabaseTablesClient) ListBySchemaResponder ¶
func (client ManagedDatabaseTablesClient) ListBySchemaResponder(resp *http.Response) (result DatabaseTableListResult, err error)
ListBySchemaResponder handles the response to the ListBySchema request. The method always closes the http.Response Body.
func (ManagedDatabaseTablesClient) ListBySchemaSender ¶
func (client ManagedDatabaseTablesClient) ListBySchemaSender(req *http.Request) (*http.Response, error)
ListBySchemaSender sends the ListBySchema request. The method will close the http.Response Body if it receives an error.
type ManagedDatabaseTransparentDataEncryptionClient ¶
type ManagedDatabaseTransparentDataEncryptionClient struct {
BaseClient
}
ManagedDatabaseTransparentDataEncryptionClient 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 NewManagedDatabaseTransparentDataEncryptionClient ¶
func NewManagedDatabaseTransparentDataEncryptionClient(subscriptionID string) ManagedDatabaseTransparentDataEncryptionClient
NewManagedDatabaseTransparentDataEncryptionClient creates an instance of the ManagedDatabaseTransparentDataEncryptionClient client.
func NewManagedDatabaseTransparentDataEncryptionClientWithBaseURI ¶
func NewManagedDatabaseTransparentDataEncryptionClientWithBaseURI(baseURI string, subscriptionID string) ManagedDatabaseTransparentDataEncryptionClient
NewManagedDatabaseTransparentDataEncryptionClientWithBaseURI creates an instance of the ManagedDatabaseTransparentDataEncryptionClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedDatabaseTransparentDataEncryptionClient) CreateOrUpdate ¶
func (client ManagedDatabaseTransparentDataEncryptionClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, parameters ManagedTransparentDataEncryption) (result ManagedTransparentDataEncryption, err error)
CreateOrUpdate updates a database's transparent data encryption configuration. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the managed database for which the security alert policy is defined. parameters - the database transparent data encryption.
func (ManagedDatabaseTransparentDataEncryptionClient) CreateOrUpdatePreparer ¶
func (client ManagedDatabaseTransparentDataEncryptionClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, parameters ManagedTransparentDataEncryption) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ManagedDatabaseTransparentDataEncryptionClient) CreateOrUpdateResponder ¶
func (client ManagedDatabaseTransparentDataEncryptionClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedTransparentDataEncryption, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ManagedDatabaseTransparentDataEncryptionClient) CreateOrUpdateSender ¶
func (client ManagedDatabaseTransparentDataEncryptionClient) 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 (ManagedDatabaseTransparentDataEncryptionClient) Get ¶
func (client ManagedDatabaseTransparentDataEncryptionClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (result ManagedTransparentDataEncryption, err error)
Get gets a managed database's transparent data encryption. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the managed database for which the transparent data encryption is defined.
func (ManagedDatabaseTransparentDataEncryptionClient) GetPreparer ¶
func (client ManagedDatabaseTransparentDataEncryptionClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagedDatabaseTransparentDataEncryptionClient) GetResponder ¶
func (client ManagedDatabaseTransparentDataEncryptionClient) GetResponder(resp *http.Response) (result ManagedTransparentDataEncryption, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagedDatabaseTransparentDataEncryptionClient) GetSender ¶
func (client ManagedDatabaseTransparentDataEncryptionClient) 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 (ManagedDatabaseTransparentDataEncryptionClient) ListByDatabase ¶
func (client ManagedDatabaseTransparentDataEncryptionClient) ListByDatabase(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (result ManagedTransparentDataEncryptionListResultPage, err error)
ListByDatabase gets a list of managed database's transparent data encryptions. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the managed database for which the transparent data encryption is defined.
func (ManagedDatabaseTransparentDataEncryptionClient) ListByDatabaseComplete ¶
func (client ManagedDatabaseTransparentDataEncryptionClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (result ManagedTransparentDataEncryptionListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedDatabaseTransparentDataEncryptionClient) ListByDatabasePreparer ¶
func (client ManagedDatabaseTransparentDataEncryptionClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (ManagedDatabaseTransparentDataEncryptionClient) ListByDatabaseResponder ¶
func (client ManagedDatabaseTransparentDataEncryptionClient) ListByDatabaseResponder(resp *http.Response) (result ManagedTransparentDataEncryptionListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (ManagedDatabaseTransparentDataEncryptionClient) ListByDatabaseSender ¶
func (client ManagedDatabaseTransparentDataEncryptionClient) 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 ManagedDatabaseUpdate ¶
type ManagedDatabaseUpdate struct { // ManagedDatabaseProperties - Resource properties. *ManagedDatabaseProperties `json:"properties,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
ManagedDatabaseUpdate an managed database update.
func (ManagedDatabaseUpdate) MarshalJSON ¶
func (mdu ManagedDatabaseUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedDatabaseUpdate.
func (*ManagedDatabaseUpdate) UnmarshalJSON ¶
func (mdu *ManagedDatabaseUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ManagedDatabaseUpdate struct.
type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient ¶
type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient struct {
BaseClient
}
ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient 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 NewManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient ¶
func NewManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient(subscriptionID string) ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient
NewManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient creates an instance of the ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient client.
func NewManagedDatabaseVulnerabilityAssessmentRuleBaselinesClientWithBaseURI ¶
func NewManagedDatabaseVulnerabilityAssessmentRuleBaselinesClientWithBaseURI(baseURI string, subscriptionID string) ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient
NewManagedDatabaseVulnerabilityAssessmentRuleBaselinesClientWithBaseURI creates an instance of the ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdate ¶
func (client ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, ruleID string, baselineName VulnerabilityAssessmentPolicyBaselineName, parameters DatabaseVulnerabilityAssessmentRuleBaseline) (result DatabaseVulnerabilityAssessmentRuleBaseline, err error)
CreateOrUpdate creates or updates a database's vulnerability assessment rule baseline. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database for which the vulnerability assessment rule baseline is defined. ruleID - the vulnerability assessment rule ID. baselineName - the name of the vulnerability assessment rule baseline (default implies a baseline on a database level rule and master for server level rule). parameters - the requested rule baseline resource.
func (ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdatePreparer ¶
func (client ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, ruleID string, baselineName VulnerabilityAssessmentPolicyBaselineName, parameters DatabaseVulnerabilityAssessmentRuleBaseline) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdateResponder ¶
func (client ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdateResponder(resp *http.Response) (result DatabaseVulnerabilityAssessmentRuleBaseline, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdateSender ¶
func (client ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) 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 (ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) Delete ¶
func (client ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) Delete(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, ruleID string, baselineName VulnerabilityAssessmentPolicyBaselineName) (result autorest.Response, err error)
Delete removes the database's vulnerability assessment rule baseline. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database for which the vulnerability assessment rule baseline is defined. ruleID - the vulnerability assessment rule ID. baselineName - the name of the vulnerability assessment rule baseline (default implies a baseline on a database level rule and master for server level rule).
func (ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) DeletePreparer ¶
func (client ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) DeletePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, ruleID string, baselineName VulnerabilityAssessmentPolicyBaselineName) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) DeleteResponder ¶
func (client ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) 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 (ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) DeleteSender ¶
func (client ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) 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 (ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) Get ¶
func (client ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, ruleID string, baselineName VulnerabilityAssessmentPolicyBaselineName) (result DatabaseVulnerabilityAssessmentRuleBaseline, err error)
Get gets a database's vulnerability assessment rule baseline. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database for which the vulnerability assessment rule baseline is defined. ruleID - the vulnerability assessment rule ID. baselineName - the name of the vulnerability assessment rule baseline (default implies a baseline on a database level rule and master for server level rule).
func (ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) GetPreparer ¶
func (client ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, ruleID string, baselineName VulnerabilityAssessmentPolicyBaselineName) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) GetResponder ¶
func (client ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) GetResponder(resp *http.Response) (result DatabaseVulnerabilityAssessmentRuleBaseline, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) GetSender ¶
func (client ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) GetSender(req *http.Request) (*http.Response, error)
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
type ManagedDatabaseVulnerabilityAssessmentScansClient ¶
type ManagedDatabaseVulnerabilityAssessmentScansClient struct {
BaseClient
}
ManagedDatabaseVulnerabilityAssessmentScansClient 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 NewManagedDatabaseVulnerabilityAssessmentScansClient ¶
func NewManagedDatabaseVulnerabilityAssessmentScansClient(subscriptionID string) ManagedDatabaseVulnerabilityAssessmentScansClient
NewManagedDatabaseVulnerabilityAssessmentScansClient creates an instance of the ManagedDatabaseVulnerabilityAssessmentScansClient client.
func NewManagedDatabaseVulnerabilityAssessmentScansClientWithBaseURI ¶
func NewManagedDatabaseVulnerabilityAssessmentScansClientWithBaseURI(baseURI string, subscriptionID string) ManagedDatabaseVulnerabilityAssessmentScansClient
NewManagedDatabaseVulnerabilityAssessmentScansClientWithBaseURI creates an instance of the ManagedDatabaseVulnerabilityAssessmentScansClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedDatabaseVulnerabilityAssessmentScansClient) Export ¶
func (client ManagedDatabaseVulnerabilityAssessmentScansClient) Export(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, scanID string) (result DatabaseVulnerabilityAssessmentScansExport, err error)
Export convert an existing scan result to a human readable format. If already exists nothing happens Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the scanned database. scanID - the vulnerability assessment scan Id.
func (ManagedDatabaseVulnerabilityAssessmentScansClient) ExportPreparer ¶
func (client ManagedDatabaseVulnerabilityAssessmentScansClient) ExportPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, scanID string) (*http.Request, error)
ExportPreparer prepares the Export request.
func (ManagedDatabaseVulnerabilityAssessmentScansClient) ExportResponder ¶
func (client ManagedDatabaseVulnerabilityAssessmentScansClient) ExportResponder(resp *http.Response) (result DatabaseVulnerabilityAssessmentScansExport, err error)
ExportResponder handles the response to the Export request. The method always closes the http.Response Body.
func (ManagedDatabaseVulnerabilityAssessmentScansClient) ExportSender ¶
func (client ManagedDatabaseVulnerabilityAssessmentScansClient) ExportSender(req *http.Request) (*http.Response, error)
ExportSender sends the Export request. The method will close the http.Response Body if it receives an error.
func (ManagedDatabaseVulnerabilityAssessmentScansClient) Get ¶
func (client ManagedDatabaseVulnerabilityAssessmentScansClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, scanID string) (result VulnerabilityAssessmentScanRecord, err error)
Get gets a vulnerability assessment scan record of a database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database. scanID - the vulnerability assessment scan Id of the scan to retrieve.
func (ManagedDatabaseVulnerabilityAssessmentScansClient) GetPreparer ¶
func (client ManagedDatabaseVulnerabilityAssessmentScansClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, scanID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagedDatabaseVulnerabilityAssessmentScansClient) GetResponder ¶
func (client ManagedDatabaseVulnerabilityAssessmentScansClient) GetResponder(resp *http.Response) (result VulnerabilityAssessmentScanRecord, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagedDatabaseVulnerabilityAssessmentScansClient) GetSender ¶
func (client ManagedDatabaseVulnerabilityAssessmentScansClient) 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 (ManagedDatabaseVulnerabilityAssessmentScansClient) InitiateScan ¶
func (client ManagedDatabaseVulnerabilityAssessmentScansClient) InitiateScan(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, scanID string) (result ManagedDatabaseVulnerabilityAssessmentScansInitiateScanFuture, err error)
InitiateScan executes a Vulnerability Assessment database scan. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database. scanID - the vulnerability assessment scan Id of the scan to retrieve.
func (ManagedDatabaseVulnerabilityAssessmentScansClient) InitiateScanPreparer ¶
func (client ManagedDatabaseVulnerabilityAssessmentScansClient) InitiateScanPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, scanID string) (*http.Request, error)
InitiateScanPreparer prepares the InitiateScan request.
func (ManagedDatabaseVulnerabilityAssessmentScansClient) InitiateScanResponder ¶
func (client ManagedDatabaseVulnerabilityAssessmentScansClient) InitiateScanResponder(resp *http.Response) (result autorest.Response, err error)
InitiateScanResponder handles the response to the InitiateScan request. The method always closes the http.Response Body.
func (ManagedDatabaseVulnerabilityAssessmentScansClient) InitiateScanSender ¶
func (client ManagedDatabaseVulnerabilityAssessmentScansClient) InitiateScanSender(req *http.Request) (future ManagedDatabaseVulnerabilityAssessmentScansInitiateScanFuture, err error)
InitiateScanSender sends the InitiateScan request. The method will close the http.Response Body if it receives an error.
func (ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabase ¶
func (client ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabase(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (result VulnerabilityAssessmentScanRecordListResultPage, err error)
ListByDatabase lists the vulnerability assessment scans of a database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database.
func (ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabaseComplete ¶
func (client ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (result VulnerabilityAssessmentScanRecordListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabasePreparer ¶
func (client ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabaseResponder ¶
func (client ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabaseResponder(resp *http.Response) (result VulnerabilityAssessmentScanRecordListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabaseSender ¶
func (client ManagedDatabaseVulnerabilityAssessmentScansClient) 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 ManagedDatabaseVulnerabilityAssessmentScansInitiateScanFuture ¶
type ManagedDatabaseVulnerabilityAssessmentScansInitiateScanFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedDatabaseVulnerabilityAssessmentScansClient) (autorest.Response, error) }
ManagedDatabaseVulnerabilityAssessmentScansInitiateScanFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedDatabaseVulnerabilityAssessmentScansInitiateScanFuture) UnmarshalJSON ¶
func (future *ManagedDatabaseVulnerabilityAssessmentScansInitiateScanFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedDatabaseVulnerabilityAssessmentsClient ¶
type ManagedDatabaseVulnerabilityAssessmentsClient struct {
BaseClient
}
ManagedDatabaseVulnerabilityAssessmentsClient 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 NewManagedDatabaseVulnerabilityAssessmentsClient ¶
func NewManagedDatabaseVulnerabilityAssessmentsClient(subscriptionID string) ManagedDatabaseVulnerabilityAssessmentsClient
NewManagedDatabaseVulnerabilityAssessmentsClient creates an instance of the ManagedDatabaseVulnerabilityAssessmentsClient client.
func NewManagedDatabaseVulnerabilityAssessmentsClientWithBaseURI ¶
func NewManagedDatabaseVulnerabilityAssessmentsClientWithBaseURI(baseURI string, subscriptionID string) ManagedDatabaseVulnerabilityAssessmentsClient
NewManagedDatabaseVulnerabilityAssessmentsClientWithBaseURI creates an instance of the ManagedDatabaseVulnerabilityAssessmentsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedDatabaseVulnerabilityAssessmentsClient) CreateOrUpdate ¶
func (client ManagedDatabaseVulnerabilityAssessmentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, parameters DatabaseVulnerabilityAssessment) (result DatabaseVulnerabilityAssessment, err error)
CreateOrUpdate creates or updates the database's vulnerability assessment. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database for which the vulnerability assessment is defined. parameters - the requested resource.
func (ManagedDatabaseVulnerabilityAssessmentsClient) CreateOrUpdatePreparer ¶
func (client ManagedDatabaseVulnerabilityAssessmentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, parameters DatabaseVulnerabilityAssessment) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ManagedDatabaseVulnerabilityAssessmentsClient) CreateOrUpdateResponder ¶
func (client ManagedDatabaseVulnerabilityAssessmentsClient) CreateOrUpdateResponder(resp *http.Response) (result DatabaseVulnerabilityAssessment, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ManagedDatabaseVulnerabilityAssessmentsClient) CreateOrUpdateSender ¶
func (client ManagedDatabaseVulnerabilityAssessmentsClient) 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 (ManagedDatabaseVulnerabilityAssessmentsClient) Delete ¶
func (client ManagedDatabaseVulnerabilityAssessmentsClient) Delete(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (result autorest.Response, err error)
Delete removes the database's vulnerability assessment. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database for which the vulnerability assessment is defined.
func (ManagedDatabaseVulnerabilityAssessmentsClient) DeletePreparer ¶
func (client ManagedDatabaseVulnerabilityAssessmentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ManagedDatabaseVulnerabilityAssessmentsClient) DeleteResponder ¶
func (client ManagedDatabaseVulnerabilityAssessmentsClient) 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 (ManagedDatabaseVulnerabilityAssessmentsClient) DeleteSender ¶
func (client ManagedDatabaseVulnerabilityAssessmentsClient) 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 (ManagedDatabaseVulnerabilityAssessmentsClient) Get ¶
func (client ManagedDatabaseVulnerabilityAssessmentsClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (result DatabaseVulnerabilityAssessment, err error)
Get gets the database's vulnerability assessment. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database for which the vulnerability assessment is defined.
func (ManagedDatabaseVulnerabilityAssessmentsClient) GetPreparer ¶
func (client ManagedDatabaseVulnerabilityAssessmentsClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagedDatabaseVulnerabilityAssessmentsClient) GetResponder ¶
func (client ManagedDatabaseVulnerabilityAssessmentsClient) GetResponder(resp *http.Response) (result DatabaseVulnerabilityAssessment, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagedDatabaseVulnerabilityAssessmentsClient) GetSender ¶
func (client ManagedDatabaseVulnerabilityAssessmentsClient) 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 (ManagedDatabaseVulnerabilityAssessmentsClient) ListByDatabase ¶
func (client ManagedDatabaseVulnerabilityAssessmentsClient) ListByDatabase(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (result DatabaseVulnerabilityAssessmentListResultPage, err error)
ListByDatabase lists the vulnerability assessments of a managed database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database for which the vulnerability assessment is defined.
func (ManagedDatabaseVulnerabilityAssessmentsClient) ListByDatabaseComplete ¶
func (client ManagedDatabaseVulnerabilityAssessmentsClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (result DatabaseVulnerabilityAssessmentListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedDatabaseVulnerabilityAssessmentsClient) ListByDatabasePreparer ¶
func (client ManagedDatabaseVulnerabilityAssessmentsClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (ManagedDatabaseVulnerabilityAssessmentsClient) ListByDatabaseResponder ¶
func (client ManagedDatabaseVulnerabilityAssessmentsClient) ListByDatabaseResponder(resp *http.Response) (result DatabaseVulnerabilityAssessmentListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (ManagedDatabaseVulnerabilityAssessmentsClient) ListByDatabaseSender ¶
func (client ManagedDatabaseVulnerabilityAssessmentsClient) 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 ManagedDatabasesClient ¶
type ManagedDatabasesClient struct {
BaseClient
}
ManagedDatabasesClient 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 NewManagedDatabasesClient ¶
func NewManagedDatabasesClient(subscriptionID string) ManagedDatabasesClient
NewManagedDatabasesClient creates an instance of the ManagedDatabasesClient client.
func NewManagedDatabasesClientWithBaseURI ¶
func NewManagedDatabasesClientWithBaseURI(baseURI string, subscriptionID string) ManagedDatabasesClient
NewManagedDatabasesClientWithBaseURI creates an instance of the ManagedDatabasesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedDatabasesClient) CompleteRestore ¶
func (client ManagedDatabasesClient) CompleteRestore(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, parameters CompleteDatabaseRestoreDefinition) (result ManagedDatabasesCompleteRestoreFuture, err error)
CompleteRestore completes the restore operation on a managed database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database. parameters - the definition for completing the restore of this managed database.
func (ManagedDatabasesClient) CompleteRestorePreparer ¶
func (client ManagedDatabasesClient) CompleteRestorePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, parameters CompleteDatabaseRestoreDefinition) (*http.Request, error)
CompleteRestorePreparer prepares the CompleteRestore request.
func (ManagedDatabasesClient) CompleteRestoreResponder ¶
func (client ManagedDatabasesClient) CompleteRestoreResponder(resp *http.Response) (result autorest.Response, err error)
CompleteRestoreResponder handles the response to the CompleteRestore request. The method always closes the http.Response Body.
func (ManagedDatabasesClient) CompleteRestoreSender ¶
func (client ManagedDatabasesClient) CompleteRestoreSender(req *http.Request) (future ManagedDatabasesCompleteRestoreFuture, err error)
CompleteRestoreSender sends the CompleteRestore request. The method will close the http.Response Body if it receives an error.
func (ManagedDatabasesClient) CreateOrUpdate ¶
func (client ManagedDatabasesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, parameters ManagedDatabase) (result ManagedDatabasesCreateOrUpdateFuture, err error)
CreateOrUpdate creates a new database or updates an existing database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database. parameters - the requested database resource state.
func (ManagedDatabasesClient) CreateOrUpdatePreparer ¶
func (client ManagedDatabasesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, parameters ManagedDatabase) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ManagedDatabasesClient) CreateOrUpdateResponder ¶
func (client ManagedDatabasesClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedDatabase, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ManagedDatabasesClient) CreateOrUpdateSender ¶
func (client ManagedDatabasesClient) CreateOrUpdateSender(req *http.Request) (future ManagedDatabasesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ManagedDatabasesClient) Delete ¶
func (client ManagedDatabasesClient) Delete(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (result ManagedDatabasesDeleteFuture, err error)
Delete deletes a managed database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database.
func (ManagedDatabasesClient) DeletePreparer ¶
func (client ManagedDatabasesClient) DeletePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ManagedDatabasesClient) DeleteResponder ¶
func (client ManagedDatabasesClient) 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 (ManagedDatabasesClient) DeleteSender ¶
func (client ManagedDatabasesClient) DeleteSender(req *http.Request) (future ManagedDatabasesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ManagedDatabasesClient) Get ¶
func (client ManagedDatabasesClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (result ManagedDatabase, err error)
Get gets a managed database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database.
func (ManagedDatabasesClient) GetPreparer ¶
func (client ManagedDatabasesClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagedDatabasesClient) GetResponder ¶
func (client ManagedDatabasesClient) GetResponder(resp *http.Response) (result ManagedDatabase, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagedDatabasesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ManagedDatabasesClient) ListByInstance ¶
func (client ManagedDatabasesClient) ListByInstance(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedDatabaseListResultPage, err error)
ListByInstance gets a list of managed databases. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (ManagedDatabasesClient) ListByInstanceComplete ¶
func (client ManagedDatabasesClient) ListByInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedDatabaseListResultIterator, err error)
ListByInstanceComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedDatabasesClient) ListByInstancePreparer ¶
func (client ManagedDatabasesClient) ListByInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
ListByInstancePreparer prepares the ListByInstance request.
func (ManagedDatabasesClient) ListByInstanceResponder ¶
func (client ManagedDatabasesClient) ListByInstanceResponder(resp *http.Response) (result ManagedDatabaseListResult, err error)
ListByInstanceResponder handles the response to the ListByInstance request. The method always closes the http.Response Body.
func (ManagedDatabasesClient) ListByInstanceSender ¶
func (client ManagedDatabasesClient) ListByInstanceSender(req *http.Request) (*http.Response, error)
ListByInstanceSender sends the ListByInstance request. The method will close the http.Response Body if it receives an error.
func (ManagedDatabasesClient) ListInaccessibleByInstance ¶
func (client ManagedDatabasesClient) ListInaccessibleByInstance(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedDatabaseListResultPage, err error)
ListInaccessibleByInstance gets a list of inaccessible managed databases in a managed instance Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (ManagedDatabasesClient) ListInaccessibleByInstanceComplete ¶
func (client ManagedDatabasesClient) ListInaccessibleByInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedDatabaseListResultIterator, err error)
ListInaccessibleByInstanceComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedDatabasesClient) ListInaccessibleByInstancePreparer ¶
func (client ManagedDatabasesClient) ListInaccessibleByInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
ListInaccessibleByInstancePreparer prepares the ListInaccessibleByInstance request.
func (ManagedDatabasesClient) ListInaccessibleByInstanceResponder ¶
func (client ManagedDatabasesClient) ListInaccessibleByInstanceResponder(resp *http.Response) (result ManagedDatabaseListResult, err error)
ListInaccessibleByInstanceResponder handles the response to the ListInaccessibleByInstance request. The method always closes the http.Response Body.
func (ManagedDatabasesClient) ListInaccessibleByInstanceSender ¶
func (client ManagedDatabasesClient) ListInaccessibleByInstanceSender(req *http.Request) (*http.Response, error)
ListInaccessibleByInstanceSender sends the ListInaccessibleByInstance request. The method will close the http.Response Body if it receives an error.
func (ManagedDatabasesClient) Update ¶
func (client ManagedDatabasesClient) Update(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, parameters ManagedDatabaseUpdate) (result ManagedDatabasesUpdateFuture, err error)
Update updates an existing database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database. parameters - the requested database resource state.
func (ManagedDatabasesClient) UpdatePreparer ¶
func (client ManagedDatabasesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, parameters ManagedDatabaseUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ManagedDatabasesClient) UpdateResponder ¶
func (client ManagedDatabasesClient) UpdateResponder(resp *http.Response) (result ManagedDatabase, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ManagedDatabasesClient) UpdateSender ¶
func (client ManagedDatabasesClient) UpdateSender(req *http.Request) (future ManagedDatabasesUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ManagedDatabasesCompleteRestoreFuture ¶
type ManagedDatabasesCompleteRestoreFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedDatabasesClient) (autorest.Response, error) }
ManagedDatabasesCompleteRestoreFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedDatabasesCompleteRestoreFuture) UnmarshalJSON ¶
func (future *ManagedDatabasesCompleteRestoreFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedDatabasesCreateOrUpdateFuture ¶
type ManagedDatabasesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedDatabasesClient) (ManagedDatabase, error) }
ManagedDatabasesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedDatabasesCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *ManagedDatabasesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedDatabasesDeleteFuture ¶
type ManagedDatabasesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedDatabasesClient) (autorest.Response, error) }
ManagedDatabasesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedDatabasesDeleteFuture) UnmarshalJSON ¶
func (future *ManagedDatabasesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedDatabasesUpdateFuture ¶
type ManagedDatabasesUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedDatabasesClient) (ManagedDatabase, error) }
ManagedDatabasesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedDatabasesUpdateFuture) UnmarshalJSON ¶
func (future *ManagedDatabasesUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedInstance ¶
type ManagedInstance struct { autorest.Response `json:"-"` // Identity - The Azure Active Directory identity of the managed instance. Identity *ResourceIdentity `json:"identity,omitempty"` // Sku - Managed instance SKU. Allowed values for sku.name: GP_Gen4, GP_Gen5, BC_Gen4, BC_Gen5 Sku *Sku `json:"sku,omitempty"` // ManagedInstanceProperties - Resource properties. *ManagedInstanceProperties `json:"properties,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ManagedInstance an Azure SQL managed instance.
func (ManagedInstance) MarshalJSON ¶
func (mi ManagedInstance) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstance.
func (*ManagedInstance) UnmarshalJSON ¶
func (mi *ManagedInstance) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ManagedInstance struct.
type ManagedInstanceAdministrator ¶
type ManagedInstanceAdministrator struct { autorest.Response `json:"-"` // ManagedInstanceAdministratorProperties - Resource properties. *ManagedInstanceAdministratorProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ManagedInstanceAdministrator an Azure SQL managed instance administrator.
func (ManagedInstanceAdministrator) MarshalJSON ¶
func (mia ManagedInstanceAdministrator) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceAdministrator.
func (*ManagedInstanceAdministrator) UnmarshalJSON ¶
func (mia *ManagedInstanceAdministrator) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ManagedInstanceAdministrator struct.
type ManagedInstanceAdministratorListResult ¶
type ManagedInstanceAdministratorListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ManagedInstanceAdministrator `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ManagedInstanceAdministratorListResult a list of managed instance administrators.
func (ManagedInstanceAdministratorListResult) IsEmpty ¶
func (mialr ManagedInstanceAdministratorListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ManagedInstanceAdministratorListResult) MarshalJSON ¶
func (mialr ManagedInstanceAdministratorListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceAdministratorListResult.
type ManagedInstanceAdministratorListResultIterator ¶
type ManagedInstanceAdministratorListResultIterator struct {
// contains filtered or unexported fields
}
ManagedInstanceAdministratorListResultIterator provides access to a complete listing of ManagedInstanceAdministrator values.
func NewManagedInstanceAdministratorListResultIterator ¶
func NewManagedInstanceAdministratorListResultIterator(page ManagedInstanceAdministratorListResultPage) ManagedInstanceAdministratorListResultIterator
Creates a new instance of the ManagedInstanceAdministratorListResultIterator type.
func (*ManagedInstanceAdministratorListResultIterator) Next ¶
func (iter *ManagedInstanceAdministratorListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedInstanceAdministratorListResultIterator) NextWithContext ¶
func (iter *ManagedInstanceAdministratorListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ManagedInstanceAdministratorListResultIterator) NotDone ¶
func (iter ManagedInstanceAdministratorListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ManagedInstanceAdministratorListResultIterator) Response ¶
func (iter ManagedInstanceAdministratorListResultIterator) Response() ManagedInstanceAdministratorListResult
Response returns the raw server response from the last page request.
func (ManagedInstanceAdministratorListResultIterator) Value ¶
func (iter ManagedInstanceAdministratorListResultIterator) Value() ManagedInstanceAdministrator
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ManagedInstanceAdministratorListResultPage ¶
type ManagedInstanceAdministratorListResultPage struct {
// contains filtered or unexported fields
}
ManagedInstanceAdministratorListResultPage contains a page of ManagedInstanceAdministrator values.
func NewManagedInstanceAdministratorListResultPage ¶
func NewManagedInstanceAdministratorListResultPage(cur ManagedInstanceAdministratorListResult, getNextPage func(context.Context, ManagedInstanceAdministratorListResult) (ManagedInstanceAdministratorListResult, error)) ManagedInstanceAdministratorListResultPage
Creates a new instance of the ManagedInstanceAdministratorListResultPage type.
func (*ManagedInstanceAdministratorListResultPage) Next ¶
func (page *ManagedInstanceAdministratorListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedInstanceAdministratorListResultPage) NextWithContext ¶
func (page *ManagedInstanceAdministratorListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ManagedInstanceAdministratorListResultPage) NotDone ¶
func (page ManagedInstanceAdministratorListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ManagedInstanceAdministratorListResultPage) Response ¶
func (page ManagedInstanceAdministratorListResultPage) Response() ManagedInstanceAdministratorListResult
Response returns the raw server response from the last page request.
func (ManagedInstanceAdministratorListResultPage) Values ¶
func (page ManagedInstanceAdministratorListResultPage) Values() []ManagedInstanceAdministrator
Values returns the slice of values for the current page or nil if there are no values.
type ManagedInstanceAdministratorProperties ¶
type ManagedInstanceAdministratorProperties struct { // AdministratorType - Type of the managed instance administrator. AdministratorType *string `json:"administratorType,omitempty"` // Login - Login name of the managed instance administrator. Login *string `json:"login,omitempty"` // Sid - SID (object ID) of the managed instance administrator. Sid *uuid.UUID `json:"sid,omitempty"` // TenantID - Tenant ID of the managed instance administrator. TenantID *uuid.UUID `json:"tenantId,omitempty"` }
ManagedInstanceAdministratorProperties the properties of a managed instance administrator.
type ManagedInstanceAdministratorsClient ¶
type ManagedInstanceAdministratorsClient struct {
BaseClient
}
ManagedInstanceAdministratorsClient 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 NewManagedInstanceAdministratorsClient ¶
func NewManagedInstanceAdministratorsClient(subscriptionID string) ManagedInstanceAdministratorsClient
NewManagedInstanceAdministratorsClient creates an instance of the ManagedInstanceAdministratorsClient client.
func NewManagedInstanceAdministratorsClientWithBaseURI ¶
func NewManagedInstanceAdministratorsClientWithBaseURI(baseURI string, subscriptionID string) ManagedInstanceAdministratorsClient
NewManagedInstanceAdministratorsClientWithBaseURI creates an instance of the ManagedInstanceAdministratorsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedInstanceAdministratorsClient) CreateOrUpdate ¶
func (client ManagedInstanceAdministratorsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, parameters ManagedInstanceAdministrator) (result ManagedInstanceAdministratorsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a managed instance administrator. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. parameters - the requested administrator parameters.
func (ManagedInstanceAdministratorsClient) CreateOrUpdatePreparer ¶
func (client ManagedInstanceAdministratorsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, parameters ManagedInstanceAdministrator) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ManagedInstanceAdministratorsClient) CreateOrUpdateResponder ¶
func (client ManagedInstanceAdministratorsClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedInstanceAdministrator, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ManagedInstanceAdministratorsClient) CreateOrUpdateSender ¶
func (client ManagedInstanceAdministratorsClient) CreateOrUpdateSender(req *http.Request) (future ManagedInstanceAdministratorsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ManagedInstanceAdministratorsClient) Delete ¶
func (client ManagedInstanceAdministratorsClient) Delete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceAdministratorsDeleteFuture, err error)
Delete deletes a managed instance administrator. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (ManagedInstanceAdministratorsClient) DeletePreparer ¶
func (client ManagedInstanceAdministratorsClient) DeletePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ManagedInstanceAdministratorsClient) DeleteResponder ¶
func (client ManagedInstanceAdministratorsClient) 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 (ManagedInstanceAdministratorsClient) DeleteSender ¶
func (client ManagedInstanceAdministratorsClient) DeleteSender(req *http.Request) (future ManagedInstanceAdministratorsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ManagedInstanceAdministratorsClient) Get ¶
func (client ManagedInstanceAdministratorsClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceAdministrator, err error)
Get gets a managed instance administrator. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (ManagedInstanceAdministratorsClient) GetPreparer ¶
func (client ManagedInstanceAdministratorsClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagedInstanceAdministratorsClient) GetResponder ¶
func (client ManagedInstanceAdministratorsClient) GetResponder(resp *http.Response) (result ManagedInstanceAdministrator, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagedInstanceAdministratorsClient) GetSender ¶
func (client ManagedInstanceAdministratorsClient) 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 (ManagedInstanceAdministratorsClient) ListByInstance ¶
func (client ManagedInstanceAdministratorsClient) ListByInstance(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceAdministratorListResultPage, err error)
ListByInstance gets a list of managed instance administrators. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (ManagedInstanceAdministratorsClient) ListByInstanceComplete ¶
func (client ManagedInstanceAdministratorsClient) ListByInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceAdministratorListResultIterator, err error)
ListByInstanceComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedInstanceAdministratorsClient) ListByInstancePreparer ¶
func (client ManagedInstanceAdministratorsClient) ListByInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
ListByInstancePreparer prepares the ListByInstance request.
func (ManagedInstanceAdministratorsClient) ListByInstanceResponder ¶
func (client ManagedInstanceAdministratorsClient) ListByInstanceResponder(resp *http.Response) (result ManagedInstanceAdministratorListResult, err error)
ListByInstanceResponder handles the response to the ListByInstance request. The method always closes the http.Response Body.
func (ManagedInstanceAdministratorsClient) ListByInstanceSender ¶
func (client ManagedInstanceAdministratorsClient) ListByInstanceSender(req *http.Request) (*http.Response, error)
ListByInstanceSender sends the ListByInstance request. The method will close the http.Response Body if it receives an error.
type ManagedInstanceAdministratorsCreateOrUpdateFuture ¶
type ManagedInstanceAdministratorsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedInstanceAdministratorsClient) (ManagedInstanceAdministrator, error) }
ManagedInstanceAdministratorsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedInstanceAdministratorsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *ManagedInstanceAdministratorsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedInstanceAdministratorsDeleteFuture ¶
type ManagedInstanceAdministratorsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedInstanceAdministratorsClient) (autorest.Response, error) }
ManagedInstanceAdministratorsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedInstanceAdministratorsDeleteFuture) UnmarshalJSON ¶
func (future *ManagedInstanceAdministratorsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedInstanceAzureADOnlyAuthListResult ¶
type ManagedInstanceAzureADOnlyAuthListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ManagedInstanceAzureADOnlyAuthentication `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ManagedInstanceAzureADOnlyAuthListResult a list of active directory only authentications.
func (ManagedInstanceAzureADOnlyAuthListResult) IsEmpty ¶
func (miaaoalr ManagedInstanceAzureADOnlyAuthListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ManagedInstanceAzureADOnlyAuthListResult) MarshalJSON ¶
func (miaaoalr ManagedInstanceAzureADOnlyAuthListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceAzureADOnlyAuthListResult.
type ManagedInstanceAzureADOnlyAuthListResultIterator ¶
type ManagedInstanceAzureADOnlyAuthListResultIterator struct {
// contains filtered or unexported fields
}
ManagedInstanceAzureADOnlyAuthListResultIterator provides access to a complete listing of ManagedInstanceAzureADOnlyAuthentication values.
func NewManagedInstanceAzureADOnlyAuthListResultIterator ¶
func NewManagedInstanceAzureADOnlyAuthListResultIterator(page ManagedInstanceAzureADOnlyAuthListResultPage) ManagedInstanceAzureADOnlyAuthListResultIterator
Creates a new instance of the ManagedInstanceAzureADOnlyAuthListResultIterator type.
func (*ManagedInstanceAzureADOnlyAuthListResultIterator) Next ¶
func (iter *ManagedInstanceAzureADOnlyAuthListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedInstanceAzureADOnlyAuthListResultIterator) NextWithContext ¶
func (iter *ManagedInstanceAzureADOnlyAuthListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ManagedInstanceAzureADOnlyAuthListResultIterator) NotDone ¶
func (iter ManagedInstanceAzureADOnlyAuthListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ManagedInstanceAzureADOnlyAuthListResultIterator) Response ¶
func (iter ManagedInstanceAzureADOnlyAuthListResultIterator) Response() ManagedInstanceAzureADOnlyAuthListResult
Response returns the raw server response from the last page request.
func (ManagedInstanceAzureADOnlyAuthListResultIterator) Value ¶
func (iter ManagedInstanceAzureADOnlyAuthListResultIterator) Value() ManagedInstanceAzureADOnlyAuthentication
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ManagedInstanceAzureADOnlyAuthListResultPage ¶
type ManagedInstanceAzureADOnlyAuthListResultPage struct {
// contains filtered or unexported fields
}
ManagedInstanceAzureADOnlyAuthListResultPage contains a page of ManagedInstanceAzureADOnlyAuthentication values.
func NewManagedInstanceAzureADOnlyAuthListResultPage ¶
func NewManagedInstanceAzureADOnlyAuthListResultPage(cur ManagedInstanceAzureADOnlyAuthListResult, getNextPage func(context.Context, ManagedInstanceAzureADOnlyAuthListResult) (ManagedInstanceAzureADOnlyAuthListResult, error)) ManagedInstanceAzureADOnlyAuthListResultPage
Creates a new instance of the ManagedInstanceAzureADOnlyAuthListResultPage type.
func (*ManagedInstanceAzureADOnlyAuthListResultPage) Next ¶
func (page *ManagedInstanceAzureADOnlyAuthListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedInstanceAzureADOnlyAuthListResultPage) NextWithContext ¶
func (page *ManagedInstanceAzureADOnlyAuthListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ManagedInstanceAzureADOnlyAuthListResultPage) NotDone ¶
func (page ManagedInstanceAzureADOnlyAuthListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ManagedInstanceAzureADOnlyAuthListResultPage) Response ¶
func (page ManagedInstanceAzureADOnlyAuthListResultPage) Response() ManagedInstanceAzureADOnlyAuthListResult
Response returns the raw server response from the last page request.
func (ManagedInstanceAzureADOnlyAuthListResultPage) Values ¶
func (page ManagedInstanceAzureADOnlyAuthListResultPage) Values() []ManagedInstanceAzureADOnlyAuthentication
Values returns the slice of values for the current page or nil if there are no values.
type ManagedInstanceAzureADOnlyAuthProperties ¶
type ManagedInstanceAzureADOnlyAuthProperties struct { // AzureADOnlyAuthentication - Azure Active Directory only Authentication enabled. AzureADOnlyAuthentication *bool `json:"azureADOnlyAuthentication,omitempty"` }
ManagedInstanceAzureADOnlyAuthProperties properties of a active directory only authentication for Managed Instance.
type ManagedInstanceAzureADOnlyAuthentication ¶
type ManagedInstanceAzureADOnlyAuthentication struct { autorest.Response `json:"-"` // ManagedInstanceAzureADOnlyAuthProperties - Resource properties. *ManagedInstanceAzureADOnlyAuthProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ManagedInstanceAzureADOnlyAuthentication azure Active Directory only authentication.
func (ManagedInstanceAzureADOnlyAuthentication) MarshalJSON ¶
func (miaaoa ManagedInstanceAzureADOnlyAuthentication) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceAzureADOnlyAuthentication.
func (*ManagedInstanceAzureADOnlyAuthentication) UnmarshalJSON ¶
func (miaaoa *ManagedInstanceAzureADOnlyAuthentication) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ManagedInstanceAzureADOnlyAuthentication struct.
type ManagedInstanceAzureADOnlyAuthenticationsClient ¶
type ManagedInstanceAzureADOnlyAuthenticationsClient struct {
BaseClient
}
ManagedInstanceAzureADOnlyAuthenticationsClient 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 NewManagedInstanceAzureADOnlyAuthenticationsClient ¶
func NewManagedInstanceAzureADOnlyAuthenticationsClient(subscriptionID string) ManagedInstanceAzureADOnlyAuthenticationsClient
NewManagedInstanceAzureADOnlyAuthenticationsClient creates an instance of the ManagedInstanceAzureADOnlyAuthenticationsClient client.
func NewManagedInstanceAzureADOnlyAuthenticationsClientWithBaseURI ¶
func NewManagedInstanceAzureADOnlyAuthenticationsClientWithBaseURI(baseURI string, subscriptionID string) ManagedInstanceAzureADOnlyAuthenticationsClient
NewManagedInstanceAzureADOnlyAuthenticationsClientWithBaseURI creates an instance of the ManagedInstanceAzureADOnlyAuthenticationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedInstanceAzureADOnlyAuthenticationsClient) CreateOrUpdate ¶
func (client ManagedInstanceAzureADOnlyAuthenticationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, parameters ManagedInstanceAzureADOnlyAuthentication) (result ManagedInstanceAzureADOnlyAuthenticationsCreateOrUpdateFuture, err error)
CreateOrUpdate sets Server Active Directory only authentication property or updates an existing server Active Directory only authentication property. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. parameters - the required parameters for creating or updating an Active Directory only authentication property.
func (ManagedInstanceAzureADOnlyAuthenticationsClient) CreateOrUpdatePreparer ¶
func (client ManagedInstanceAzureADOnlyAuthenticationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, parameters ManagedInstanceAzureADOnlyAuthentication) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ManagedInstanceAzureADOnlyAuthenticationsClient) CreateOrUpdateResponder ¶
func (client ManagedInstanceAzureADOnlyAuthenticationsClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedInstanceAzureADOnlyAuthentication, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ManagedInstanceAzureADOnlyAuthenticationsClient) CreateOrUpdateSender ¶
func (client ManagedInstanceAzureADOnlyAuthenticationsClient) CreateOrUpdateSender(req *http.Request) (future ManagedInstanceAzureADOnlyAuthenticationsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ManagedInstanceAzureADOnlyAuthenticationsClient) Delete ¶
func (client ManagedInstanceAzureADOnlyAuthenticationsClient) Delete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceAzureADOnlyAuthenticationsDeleteFuture, err error)
Delete deletes an existing server Active Directory only authentication property. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (ManagedInstanceAzureADOnlyAuthenticationsClient) DeletePreparer ¶
func (client ManagedInstanceAzureADOnlyAuthenticationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ManagedInstanceAzureADOnlyAuthenticationsClient) DeleteResponder ¶
func (client ManagedInstanceAzureADOnlyAuthenticationsClient) 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 (ManagedInstanceAzureADOnlyAuthenticationsClient) DeleteSender ¶
func (client ManagedInstanceAzureADOnlyAuthenticationsClient) DeleteSender(req *http.Request) (future ManagedInstanceAzureADOnlyAuthenticationsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ManagedInstanceAzureADOnlyAuthenticationsClient) Get ¶
func (client ManagedInstanceAzureADOnlyAuthenticationsClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceAzureADOnlyAuthentication, err error)
Get gets a specific Azure Active Directory only authentication property. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (ManagedInstanceAzureADOnlyAuthenticationsClient) GetPreparer ¶
func (client ManagedInstanceAzureADOnlyAuthenticationsClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagedInstanceAzureADOnlyAuthenticationsClient) GetResponder ¶
func (client ManagedInstanceAzureADOnlyAuthenticationsClient) GetResponder(resp *http.Response) (result ManagedInstanceAzureADOnlyAuthentication, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagedInstanceAzureADOnlyAuthenticationsClient) GetSender ¶
func (client ManagedInstanceAzureADOnlyAuthenticationsClient) 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 (ManagedInstanceAzureADOnlyAuthenticationsClient) ListByInstance ¶
func (client ManagedInstanceAzureADOnlyAuthenticationsClient) ListByInstance(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceAzureADOnlyAuthListResultPage, err error)
ListByInstance gets a list of server Azure Active Directory only authentications. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (ManagedInstanceAzureADOnlyAuthenticationsClient) ListByInstanceComplete ¶
func (client ManagedInstanceAzureADOnlyAuthenticationsClient) ListByInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceAzureADOnlyAuthListResultIterator, err error)
ListByInstanceComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedInstanceAzureADOnlyAuthenticationsClient) ListByInstancePreparer ¶
func (client ManagedInstanceAzureADOnlyAuthenticationsClient) ListByInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
ListByInstancePreparer prepares the ListByInstance request.
func (ManagedInstanceAzureADOnlyAuthenticationsClient) ListByInstanceResponder ¶
func (client ManagedInstanceAzureADOnlyAuthenticationsClient) ListByInstanceResponder(resp *http.Response) (result ManagedInstanceAzureADOnlyAuthListResult, err error)
ListByInstanceResponder handles the response to the ListByInstance request. The method always closes the http.Response Body.
func (ManagedInstanceAzureADOnlyAuthenticationsClient) ListByInstanceSender ¶
func (client ManagedInstanceAzureADOnlyAuthenticationsClient) ListByInstanceSender(req *http.Request) (*http.Response, error)
ListByInstanceSender sends the ListByInstance request. The method will close the http.Response Body if it receives an error.
type ManagedInstanceAzureADOnlyAuthenticationsCreateOrUpdateFuture ¶
type ManagedInstanceAzureADOnlyAuthenticationsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedInstanceAzureADOnlyAuthenticationsClient) (ManagedInstanceAzureADOnlyAuthentication, error) }
ManagedInstanceAzureADOnlyAuthenticationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedInstanceAzureADOnlyAuthenticationsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *ManagedInstanceAzureADOnlyAuthenticationsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedInstanceAzureADOnlyAuthenticationsDeleteFuture ¶
type ManagedInstanceAzureADOnlyAuthenticationsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedInstanceAzureADOnlyAuthenticationsClient) (autorest.Response, error) }
ManagedInstanceAzureADOnlyAuthenticationsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedInstanceAzureADOnlyAuthenticationsDeleteFuture) UnmarshalJSON ¶
func (future *ManagedInstanceAzureADOnlyAuthenticationsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedInstanceEditionCapability ¶
type ManagedInstanceEditionCapability struct { // Name - READ-ONLY; The managed server version name. Name *string `json:"name,omitempty"` // SupportedFamilies - READ-ONLY; The supported families. SupportedFamilies *[]ManagedInstanceFamilyCapability `json:"supportedFamilies,omitempty"` // SupportedStorageCapabilities - READ-ONLY; The list of supported storage capabilities for this edition SupportedStorageCapabilities *[]StorageCapability `json:"supportedStorageCapabilities,omitempty"` // ZoneRedundant - READ-ONLY; Whether or not zone redundancy is supported for the edition. ZoneRedundant *bool `json:"zoneRedundant,omitempty"` // Status - READ-ONLY; The status of the capability. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // Reason - The reason for the capability not being available. Reason *string `json:"reason,omitempty"` }
ManagedInstanceEditionCapability the managed server capability
func (ManagedInstanceEditionCapability) MarshalJSON ¶
func (miec ManagedInstanceEditionCapability) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceEditionCapability.
type ManagedInstanceEncryptionProtector ¶
type ManagedInstanceEncryptionProtector struct { autorest.Response `json:"-"` // Kind - READ-ONLY; Kind of encryption protector. This is metadata used for the Azure portal experience. Kind *string `json:"kind,omitempty"` // ManagedInstanceEncryptionProtectorProperties - Resource properties. *ManagedInstanceEncryptionProtectorProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ManagedInstanceEncryptionProtector the managed instance encryption protector.
func (ManagedInstanceEncryptionProtector) MarshalJSON ¶
func (miep ManagedInstanceEncryptionProtector) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceEncryptionProtector.
func (*ManagedInstanceEncryptionProtector) UnmarshalJSON ¶
func (miep *ManagedInstanceEncryptionProtector) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ManagedInstanceEncryptionProtector struct.
type ManagedInstanceEncryptionProtectorListResult ¶
type ManagedInstanceEncryptionProtectorListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ManagedInstanceEncryptionProtector `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ManagedInstanceEncryptionProtectorListResult a list of managed instance encryption protectors.
func (ManagedInstanceEncryptionProtectorListResult) IsEmpty ¶
func (mieplr ManagedInstanceEncryptionProtectorListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ManagedInstanceEncryptionProtectorListResult) MarshalJSON ¶
func (mieplr ManagedInstanceEncryptionProtectorListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceEncryptionProtectorListResult.
type ManagedInstanceEncryptionProtectorListResultIterator ¶
type ManagedInstanceEncryptionProtectorListResultIterator struct {
// contains filtered or unexported fields
}
ManagedInstanceEncryptionProtectorListResultIterator provides access to a complete listing of ManagedInstanceEncryptionProtector values.
func NewManagedInstanceEncryptionProtectorListResultIterator ¶
func NewManagedInstanceEncryptionProtectorListResultIterator(page ManagedInstanceEncryptionProtectorListResultPage) ManagedInstanceEncryptionProtectorListResultIterator
Creates a new instance of the ManagedInstanceEncryptionProtectorListResultIterator type.
func (*ManagedInstanceEncryptionProtectorListResultIterator) Next ¶
func (iter *ManagedInstanceEncryptionProtectorListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedInstanceEncryptionProtectorListResultIterator) NextWithContext ¶
func (iter *ManagedInstanceEncryptionProtectorListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ManagedInstanceEncryptionProtectorListResultIterator) NotDone ¶
func (iter ManagedInstanceEncryptionProtectorListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ManagedInstanceEncryptionProtectorListResultIterator) Response ¶
func (iter ManagedInstanceEncryptionProtectorListResultIterator) Response() ManagedInstanceEncryptionProtectorListResult
Response returns the raw server response from the last page request.
func (ManagedInstanceEncryptionProtectorListResultIterator) Value ¶
func (iter ManagedInstanceEncryptionProtectorListResultIterator) Value() ManagedInstanceEncryptionProtector
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ManagedInstanceEncryptionProtectorListResultPage ¶
type ManagedInstanceEncryptionProtectorListResultPage struct {
// contains filtered or unexported fields
}
ManagedInstanceEncryptionProtectorListResultPage contains a page of ManagedInstanceEncryptionProtector values.
func NewManagedInstanceEncryptionProtectorListResultPage ¶
func NewManagedInstanceEncryptionProtectorListResultPage(cur ManagedInstanceEncryptionProtectorListResult, getNextPage func(context.Context, ManagedInstanceEncryptionProtectorListResult) (ManagedInstanceEncryptionProtectorListResult, error)) ManagedInstanceEncryptionProtectorListResultPage
Creates a new instance of the ManagedInstanceEncryptionProtectorListResultPage type.
func (*ManagedInstanceEncryptionProtectorListResultPage) Next ¶
func (page *ManagedInstanceEncryptionProtectorListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedInstanceEncryptionProtectorListResultPage) NextWithContext ¶
func (page *ManagedInstanceEncryptionProtectorListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ManagedInstanceEncryptionProtectorListResultPage) NotDone ¶
func (page ManagedInstanceEncryptionProtectorListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ManagedInstanceEncryptionProtectorListResultPage) Response ¶
func (page ManagedInstanceEncryptionProtectorListResultPage) Response() ManagedInstanceEncryptionProtectorListResult
Response returns the raw server response from the last page request.
func (ManagedInstanceEncryptionProtectorListResultPage) Values ¶
func (page ManagedInstanceEncryptionProtectorListResultPage) Values() []ManagedInstanceEncryptionProtector
Values returns the slice of values for the current page or nil if there are no values.
type ManagedInstanceEncryptionProtectorProperties ¶
type ManagedInstanceEncryptionProtectorProperties struct { // ServerKeyName - The name of the managed instance key. ServerKeyName *string `json:"serverKeyName,omitempty"` // ServerKeyType - The encryption protector type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: 'ServerKeyTypeServiceManaged', 'ServerKeyTypeAzureKeyVault' ServerKeyType ServerKeyType `json:"serverKeyType,omitempty"` // URI - READ-ONLY; The URI of the server key. URI *string `json:"uri,omitempty"` // Thumbprint - READ-ONLY; Thumbprint of the server key. Thumbprint *string `json:"thumbprint,omitempty"` // AutoRotationEnabled - Key auto rotation opt-in flag. Either true or false. AutoRotationEnabled *bool `json:"autoRotationEnabled,omitempty"` }
ManagedInstanceEncryptionProtectorProperties properties for an encryption protector execution.
func (ManagedInstanceEncryptionProtectorProperties) MarshalJSON ¶
func (miepp ManagedInstanceEncryptionProtectorProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceEncryptionProtectorProperties.
type ManagedInstanceEncryptionProtectorsClient ¶
type ManagedInstanceEncryptionProtectorsClient struct {
BaseClient
}
ManagedInstanceEncryptionProtectorsClient 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 NewManagedInstanceEncryptionProtectorsClient ¶
func NewManagedInstanceEncryptionProtectorsClient(subscriptionID string) ManagedInstanceEncryptionProtectorsClient
NewManagedInstanceEncryptionProtectorsClient creates an instance of the ManagedInstanceEncryptionProtectorsClient client.
func NewManagedInstanceEncryptionProtectorsClientWithBaseURI ¶
func NewManagedInstanceEncryptionProtectorsClientWithBaseURI(baseURI string, subscriptionID string) ManagedInstanceEncryptionProtectorsClient
NewManagedInstanceEncryptionProtectorsClientWithBaseURI creates an instance of the ManagedInstanceEncryptionProtectorsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedInstanceEncryptionProtectorsClient) CreateOrUpdate ¶
func (client ManagedInstanceEncryptionProtectorsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, parameters ManagedInstanceEncryptionProtector) (result ManagedInstanceEncryptionProtectorsCreateOrUpdateFuture, err error)
CreateOrUpdate updates an existing encryption protector. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. parameters - the requested encryption protector resource state.
func (ManagedInstanceEncryptionProtectorsClient) CreateOrUpdatePreparer ¶
func (client ManagedInstanceEncryptionProtectorsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, parameters ManagedInstanceEncryptionProtector) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ManagedInstanceEncryptionProtectorsClient) CreateOrUpdateResponder ¶
func (client ManagedInstanceEncryptionProtectorsClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedInstanceEncryptionProtector, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ManagedInstanceEncryptionProtectorsClient) CreateOrUpdateSender ¶
func (client ManagedInstanceEncryptionProtectorsClient) CreateOrUpdateSender(req *http.Request) (future ManagedInstanceEncryptionProtectorsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ManagedInstanceEncryptionProtectorsClient) Get ¶
func (client ManagedInstanceEncryptionProtectorsClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceEncryptionProtector, err error)
Get gets a managed instance encryption protector. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (ManagedInstanceEncryptionProtectorsClient) GetPreparer ¶
func (client ManagedInstanceEncryptionProtectorsClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagedInstanceEncryptionProtectorsClient) GetResponder ¶
func (client ManagedInstanceEncryptionProtectorsClient) GetResponder(resp *http.Response) (result ManagedInstanceEncryptionProtector, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagedInstanceEncryptionProtectorsClient) GetSender ¶
func (client ManagedInstanceEncryptionProtectorsClient) 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 (ManagedInstanceEncryptionProtectorsClient) ListByInstance ¶
func (client ManagedInstanceEncryptionProtectorsClient) ListByInstance(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceEncryptionProtectorListResultPage, err error)
ListByInstance gets a list of managed instance encryption protectors Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (ManagedInstanceEncryptionProtectorsClient) ListByInstanceComplete ¶
func (client ManagedInstanceEncryptionProtectorsClient) ListByInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceEncryptionProtectorListResultIterator, err error)
ListByInstanceComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedInstanceEncryptionProtectorsClient) ListByInstancePreparer ¶
func (client ManagedInstanceEncryptionProtectorsClient) ListByInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
ListByInstancePreparer prepares the ListByInstance request.
func (ManagedInstanceEncryptionProtectorsClient) ListByInstanceResponder ¶
func (client ManagedInstanceEncryptionProtectorsClient) ListByInstanceResponder(resp *http.Response) (result ManagedInstanceEncryptionProtectorListResult, err error)
ListByInstanceResponder handles the response to the ListByInstance request. The method always closes the http.Response Body.
func (ManagedInstanceEncryptionProtectorsClient) ListByInstanceSender ¶
func (client ManagedInstanceEncryptionProtectorsClient) ListByInstanceSender(req *http.Request) (*http.Response, error)
ListByInstanceSender sends the ListByInstance request. The method will close the http.Response Body if it receives an error.
func (ManagedInstanceEncryptionProtectorsClient) Revalidate ¶
func (client ManagedInstanceEncryptionProtectorsClient) Revalidate(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceEncryptionProtectorsRevalidateFuture, err error)
Revalidate revalidates an existing encryption protector. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (ManagedInstanceEncryptionProtectorsClient) RevalidatePreparer ¶
func (client ManagedInstanceEncryptionProtectorsClient) RevalidatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
RevalidatePreparer prepares the Revalidate request.
func (ManagedInstanceEncryptionProtectorsClient) RevalidateResponder ¶
func (client ManagedInstanceEncryptionProtectorsClient) RevalidateResponder(resp *http.Response) (result autorest.Response, err error)
RevalidateResponder handles the response to the Revalidate request. The method always closes the http.Response Body.
func (ManagedInstanceEncryptionProtectorsClient) RevalidateSender ¶
func (client ManagedInstanceEncryptionProtectorsClient) RevalidateSender(req *http.Request) (future ManagedInstanceEncryptionProtectorsRevalidateFuture, err error)
RevalidateSender sends the Revalidate request. The method will close the http.Response Body if it receives an error.
type ManagedInstanceEncryptionProtectorsCreateOrUpdateFuture ¶
type ManagedInstanceEncryptionProtectorsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedInstanceEncryptionProtectorsClient) (ManagedInstanceEncryptionProtector, error) }
ManagedInstanceEncryptionProtectorsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedInstanceEncryptionProtectorsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *ManagedInstanceEncryptionProtectorsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedInstanceEncryptionProtectorsRevalidateFuture ¶
type ManagedInstanceEncryptionProtectorsRevalidateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedInstanceEncryptionProtectorsClient) (autorest.Response, error) }
ManagedInstanceEncryptionProtectorsRevalidateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedInstanceEncryptionProtectorsRevalidateFuture) UnmarshalJSON ¶
func (future *ManagedInstanceEncryptionProtectorsRevalidateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedInstanceExternalAdministrator ¶
type ManagedInstanceExternalAdministrator struct { // AdministratorType - Type of the sever administrator. Possible values include: 'AdministratorTypeActiveDirectory' AdministratorType AdministratorType `json:"administratorType,omitempty"` // PrincipalType - Principal Type of the sever administrator. Possible values include: 'PrincipalTypeUser', 'PrincipalTypeGroup', 'PrincipalTypeApplication' PrincipalType PrincipalType `json:"principalType,omitempty"` // Login - Login name of the server administrator. Login *string `json:"login,omitempty"` // Sid - SID (object ID) of the server administrator. Sid *uuid.UUID `json:"sid,omitempty"` // TenantID - Tenant ID of the administrator. TenantID *uuid.UUID `json:"tenantId,omitempty"` // AzureADOnlyAuthentication - Azure Active Directory only Authentication enabled. AzureADOnlyAuthentication *bool `json:"azureADOnlyAuthentication,omitempty"` }
ManagedInstanceExternalAdministrator properties of a active directory administrator.
type ManagedInstanceFamilyCapability ¶
type ManagedInstanceFamilyCapability struct { // Name - READ-ONLY; Family name. Name *string `json:"name,omitempty"` // Sku - READ-ONLY; SKU name. Sku *string `json:"sku,omitempty"` // SupportedLicenseTypes - READ-ONLY; List of supported license types. SupportedLicenseTypes *[]LicenseTypeCapability `json:"supportedLicenseTypes,omitempty"` // SupportedVcoresValues - READ-ONLY; List of supported virtual cores values. SupportedVcoresValues *[]ManagedInstanceVcoresCapability `json:"supportedVcoresValues,omitempty"` // Status - READ-ONLY; The status of the capability. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // Reason - The reason for the capability not being available. Reason *string `json:"reason,omitempty"` }
ManagedInstanceFamilyCapability the managed server family capability.
func (ManagedInstanceFamilyCapability) MarshalJSON ¶
func (mifc ManagedInstanceFamilyCapability) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceFamilyCapability.
type ManagedInstanceKey ¶
type ManagedInstanceKey struct { autorest.Response `json:"-"` // Kind - READ-ONLY; Kind of encryption protector. This is metadata used for the Azure portal experience. Kind *string `json:"kind,omitempty"` // ManagedInstanceKeyProperties - Resource properties. *ManagedInstanceKeyProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ManagedInstanceKey a managed instance key.
func (ManagedInstanceKey) MarshalJSON ¶
func (mik ManagedInstanceKey) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceKey.
func (*ManagedInstanceKey) UnmarshalJSON ¶
func (mik *ManagedInstanceKey) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ManagedInstanceKey struct.
type ManagedInstanceKeyListResult ¶
type ManagedInstanceKeyListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ManagedInstanceKey `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ManagedInstanceKeyListResult a list of managed instance keys.
func (ManagedInstanceKeyListResult) IsEmpty ¶
func (miklr ManagedInstanceKeyListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ManagedInstanceKeyListResult) MarshalJSON ¶
func (miklr ManagedInstanceKeyListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceKeyListResult.
type ManagedInstanceKeyListResultIterator ¶
type ManagedInstanceKeyListResultIterator struct {
// contains filtered or unexported fields
}
ManagedInstanceKeyListResultIterator provides access to a complete listing of ManagedInstanceKey values.
func NewManagedInstanceKeyListResultIterator ¶
func NewManagedInstanceKeyListResultIterator(page ManagedInstanceKeyListResultPage) ManagedInstanceKeyListResultIterator
Creates a new instance of the ManagedInstanceKeyListResultIterator type.
func (*ManagedInstanceKeyListResultIterator) Next ¶
func (iter *ManagedInstanceKeyListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedInstanceKeyListResultIterator) NextWithContext ¶
func (iter *ManagedInstanceKeyListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ManagedInstanceKeyListResultIterator) NotDone ¶
func (iter ManagedInstanceKeyListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ManagedInstanceKeyListResultIterator) Response ¶
func (iter ManagedInstanceKeyListResultIterator) Response() ManagedInstanceKeyListResult
Response returns the raw server response from the last page request.
func (ManagedInstanceKeyListResultIterator) Value ¶
func (iter ManagedInstanceKeyListResultIterator) Value() ManagedInstanceKey
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ManagedInstanceKeyListResultPage ¶
type ManagedInstanceKeyListResultPage struct {
// contains filtered or unexported fields
}
ManagedInstanceKeyListResultPage contains a page of ManagedInstanceKey values.
func NewManagedInstanceKeyListResultPage ¶
func NewManagedInstanceKeyListResultPage(cur ManagedInstanceKeyListResult, getNextPage func(context.Context, ManagedInstanceKeyListResult) (ManagedInstanceKeyListResult, error)) ManagedInstanceKeyListResultPage
Creates a new instance of the ManagedInstanceKeyListResultPage type.
func (*ManagedInstanceKeyListResultPage) Next ¶
func (page *ManagedInstanceKeyListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedInstanceKeyListResultPage) NextWithContext ¶
func (page *ManagedInstanceKeyListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ManagedInstanceKeyListResultPage) NotDone ¶
func (page ManagedInstanceKeyListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ManagedInstanceKeyListResultPage) Response ¶
func (page ManagedInstanceKeyListResultPage) Response() ManagedInstanceKeyListResult
Response returns the raw server response from the last page request.
func (ManagedInstanceKeyListResultPage) Values ¶
func (page ManagedInstanceKeyListResultPage) Values() []ManagedInstanceKey
Values returns the slice of values for the current page or nil if there are no values.
type ManagedInstanceKeyProperties ¶
type ManagedInstanceKeyProperties struct { // ServerKeyType - The key type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: 'ServerKeyTypeServiceManaged', 'ServerKeyTypeAzureKeyVault' ServerKeyType ServerKeyType `json:"serverKeyType,omitempty"` // URI - The URI of the key. If the ServerKeyType is AzureKeyVault, then the URI is required. URI *string `json:"uri,omitempty"` // Thumbprint - READ-ONLY; Thumbprint of the key. Thumbprint *string `json:"thumbprint,omitempty"` // CreationDate - READ-ONLY; The key creation date. CreationDate *date.Time `json:"creationDate,omitempty"` // AutoRotationEnabled - READ-ONLY; Key auto rotation opt-in flag. Either true or false. AutoRotationEnabled *bool `json:"autoRotationEnabled,omitempty"` }
ManagedInstanceKeyProperties properties for a key execution.
func (ManagedInstanceKeyProperties) MarshalJSON ¶
func (mikp ManagedInstanceKeyProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceKeyProperties.
type ManagedInstanceKeysClient ¶
type ManagedInstanceKeysClient struct {
BaseClient
}
ManagedInstanceKeysClient 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 NewManagedInstanceKeysClient ¶
func NewManagedInstanceKeysClient(subscriptionID string) ManagedInstanceKeysClient
NewManagedInstanceKeysClient creates an instance of the ManagedInstanceKeysClient client.
func NewManagedInstanceKeysClientWithBaseURI ¶
func NewManagedInstanceKeysClientWithBaseURI(baseURI string, subscriptionID string) ManagedInstanceKeysClient
NewManagedInstanceKeysClientWithBaseURI creates an instance of the ManagedInstanceKeysClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedInstanceKeysClient) CreateOrUpdate ¶
func (client ManagedInstanceKeysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, keyName string, parameters ManagedInstanceKey) (result ManagedInstanceKeysCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a managed instance key. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. keyName - the name of the managed instance key to be operated on (updated or created). parameters - the requested managed instance key resource state.
func (ManagedInstanceKeysClient) CreateOrUpdatePreparer ¶
func (client ManagedInstanceKeysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, keyName string, parameters ManagedInstanceKey) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ManagedInstanceKeysClient) CreateOrUpdateResponder ¶
func (client ManagedInstanceKeysClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedInstanceKey, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ManagedInstanceKeysClient) CreateOrUpdateSender ¶
func (client ManagedInstanceKeysClient) CreateOrUpdateSender(req *http.Request) (future ManagedInstanceKeysCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ManagedInstanceKeysClient) Delete ¶
func (client ManagedInstanceKeysClient) Delete(ctx context.Context, resourceGroupName string, managedInstanceName string, keyName string) (result ManagedInstanceKeysDeleteFuture, err error)
Delete deletes the managed instance key with the given name. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. keyName - the name of the managed instance key to be deleted.
func (ManagedInstanceKeysClient) DeletePreparer ¶
func (client ManagedInstanceKeysClient) DeletePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, keyName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ManagedInstanceKeysClient) DeleteResponder ¶
func (client ManagedInstanceKeysClient) 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 (ManagedInstanceKeysClient) DeleteSender ¶
func (client ManagedInstanceKeysClient) DeleteSender(req *http.Request) (future ManagedInstanceKeysDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ManagedInstanceKeysClient) Get ¶
func (client ManagedInstanceKeysClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, keyName string) (result ManagedInstanceKey, err error)
Get gets a managed instance key. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. keyName - the name of the managed instance key to be retrieved.
func (ManagedInstanceKeysClient) GetPreparer ¶
func (client ManagedInstanceKeysClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, keyName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagedInstanceKeysClient) GetResponder ¶
func (client ManagedInstanceKeysClient) GetResponder(resp *http.Response) (result ManagedInstanceKey, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagedInstanceKeysClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ManagedInstanceKeysClient) ListByInstance ¶
func (client ManagedInstanceKeysClient) ListByInstance(ctx context.Context, resourceGroupName string, managedInstanceName string, filter string) (result ManagedInstanceKeyListResultPage, err error)
ListByInstance gets a list of managed instance keys. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. filter - an OData filter expression that filters elements in the collection.
func (ManagedInstanceKeysClient) ListByInstanceComplete ¶
func (client ManagedInstanceKeysClient) ListByInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, filter string) (result ManagedInstanceKeyListResultIterator, err error)
ListByInstanceComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedInstanceKeysClient) ListByInstancePreparer ¶
func (client ManagedInstanceKeysClient) ListByInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, filter string) (*http.Request, error)
ListByInstancePreparer prepares the ListByInstance request.
func (ManagedInstanceKeysClient) ListByInstanceResponder ¶
func (client ManagedInstanceKeysClient) ListByInstanceResponder(resp *http.Response) (result ManagedInstanceKeyListResult, err error)
ListByInstanceResponder handles the response to the ListByInstance request. The method always closes the http.Response Body.
func (ManagedInstanceKeysClient) ListByInstanceSender ¶
func (client ManagedInstanceKeysClient) ListByInstanceSender(req *http.Request) (*http.Response, error)
ListByInstanceSender sends the ListByInstance request. The method will close the http.Response Body if it receives an error.
type ManagedInstanceKeysCreateOrUpdateFuture ¶
type ManagedInstanceKeysCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedInstanceKeysClient) (ManagedInstanceKey, error) }
ManagedInstanceKeysCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedInstanceKeysCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *ManagedInstanceKeysCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedInstanceKeysDeleteFuture ¶
type ManagedInstanceKeysDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedInstanceKeysClient) (autorest.Response, error) }
ManagedInstanceKeysDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedInstanceKeysDeleteFuture) UnmarshalJSON ¶
func (future *ManagedInstanceKeysDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedInstanceLicenseType ¶
type ManagedInstanceLicenseType string
ManagedInstanceLicenseType enumerates the values for managed instance license type.
const ( // ManagedInstanceLicenseTypeBasePrice ... ManagedInstanceLicenseTypeBasePrice ManagedInstanceLicenseType = "BasePrice" // ManagedInstanceLicenseTypeLicenseIncluded ... ManagedInstanceLicenseTypeLicenseIncluded ManagedInstanceLicenseType = "LicenseIncluded" )
func PossibleManagedInstanceLicenseTypeValues ¶
func PossibleManagedInstanceLicenseTypeValues() []ManagedInstanceLicenseType
PossibleManagedInstanceLicenseTypeValues returns an array of possible values for the ManagedInstanceLicenseType const type.
type ManagedInstanceListResult ¶
type ManagedInstanceListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ManagedInstance `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ManagedInstanceListResult a list of managed instances.
func (ManagedInstanceListResult) IsEmpty ¶
func (milr ManagedInstanceListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ManagedInstanceListResult) MarshalJSON ¶
func (milr ManagedInstanceListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceListResult.
type ManagedInstanceListResultIterator ¶
type ManagedInstanceListResultIterator struct {
// contains filtered or unexported fields
}
ManagedInstanceListResultIterator provides access to a complete listing of ManagedInstance values.
func NewManagedInstanceListResultIterator ¶
func NewManagedInstanceListResultIterator(page ManagedInstanceListResultPage) ManagedInstanceListResultIterator
Creates a new instance of the ManagedInstanceListResultIterator type.
func (*ManagedInstanceListResultIterator) Next ¶
func (iter *ManagedInstanceListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedInstanceListResultIterator) NextWithContext ¶
func (iter *ManagedInstanceListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ManagedInstanceListResultIterator) NotDone ¶
func (iter ManagedInstanceListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ManagedInstanceListResultIterator) Response ¶
func (iter ManagedInstanceListResultIterator) Response() ManagedInstanceListResult
Response returns the raw server response from the last page request.
func (ManagedInstanceListResultIterator) Value ¶
func (iter ManagedInstanceListResultIterator) Value() ManagedInstance
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ManagedInstanceListResultPage ¶
type ManagedInstanceListResultPage struct {
// contains filtered or unexported fields
}
ManagedInstanceListResultPage contains a page of ManagedInstance values.
func NewManagedInstanceListResultPage ¶
func NewManagedInstanceListResultPage(cur ManagedInstanceListResult, getNextPage func(context.Context, ManagedInstanceListResult) (ManagedInstanceListResult, error)) ManagedInstanceListResultPage
Creates a new instance of the ManagedInstanceListResultPage type.
func (*ManagedInstanceListResultPage) Next ¶
func (page *ManagedInstanceListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedInstanceListResultPage) NextWithContext ¶
func (page *ManagedInstanceListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ManagedInstanceListResultPage) NotDone ¶
func (page ManagedInstanceListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ManagedInstanceListResultPage) Response ¶
func (page ManagedInstanceListResultPage) Response() ManagedInstanceListResult
Response returns the raw server response from the last page request.
func (ManagedInstanceListResultPage) Values ¶
func (page ManagedInstanceListResultPage) Values() []ManagedInstance
Values returns the slice of values for the current page or nil if there are no values.
type ManagedInstanceLongTermRetentionBackup ¶
type ManagedInstanceLongTermRetentionBackup struct { autorest.Response `json:"-"` // ManagedInstanceLongTermRetentionBackupProperties - Resource properties. *ManagedInstanceLongTermRetentionBackupProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ManagedInstanceLongTermRetentionBackup a long term retention backup for a managed database.
func (ManagedInstanceLongTermRetentionBackup) MarshalJSON ¶
func (miltrb ManagedInstanceLongTermRetentionBackup) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceLongTermRetentionBackup.
func (*ManagedInstanceLongTermRetentionBackup) UnmarshalJSON ¶
func (miltrb *ManagedInstanceLongTermRetentionBackup) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ManagedInstanceLongTermRetentionBackup struct.
type ManagedInstanceLongTermRetentionBackupListResult ¶
type ManagedInstanceLongTermRetentionBackupListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ManagedInstanceLongTermRetentionBackup `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ManagedInstanceLongTermRetentionBackupListResult a list of long term retention backups for managed database(s).
func (ManagedInstanceLongTermRetentionBackupListResult) IsEmpty ¶
func (miltrblr ManagedInstanceLongTermRetentionBackupListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ManagedInstanceLongTermRetentionBackupListResult) MarshalJSON ¶
func (miltrblr ManagedInstanceLongTermRetentionBackupListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceLongTermRetentionBackupListResult.
type ManagedInstanceLongTermRetentionBackupListResultIterator ¶
type ManagedInstanceLongTermRetentionBackupListResultIterator struct {
// contains filtered or unexported fields
}
ManagedInstanceLongTermRetentionBackupListResultIterator provides access to a complete listing of ManagedInstanceLongTermRetentionBackup values.
func NewManagedInstanceLongTermRetentionBackupListResultIterator ¶
func NewManagedInstanceLongTermRetentionBackupListResultIterator(page ManagedInstanceLongTermRetentionBackupListResultPage) ManagedInstanceLongTermRetentionBackupListResultIterator
Creates a new instance of the ManagedInstanceLongTermRetentionBackupListResultIterator type.
func (*ManagedInstanceLongTermRetentionBackupListResultIterator) Next ¶
func (iter *ManagedInstanceLongTermRetentionBackupListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedInstanceLongTermRetentionBackupListResultIterator) NextWithContext ¶
func (iter *ManagedInstanceLongTermRetentionBackupListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ManagedInstanceLongTermRetentionBackupListResultIterator) NotDone ¶
func (iter ManagedInstanceLongTermRetentionBackupListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ManagedInstanceLongTermRetentionBackupListResultIterator) Response ¶
func (iter ManagedInstanceLongTermRetentionBackupListResultIterator) Response() ManagedInstanceLongTermRetentionBackupListResult
Response returns the raw server response from the last page request.
func (ManagedInstanceLongTermRetentionBackupListResultIterator) Value ¶
func (iter ManagedInstanceLongTermRetentionBackupListResultIterator) Value() ManagedInstanceLongTermRetentionBackup
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ManagedInstanceLongTermRetentionBackupListResultPage ¶
type ManagedInstanceLongTermRetentionBackupListResultPage struct {
// contains filtered or unexported fields
}
ManagedInstanceLongTermRetentionBackupListResultPage contains a page of ManagedInstanceLongTermRetentionBackup values.
func NewManagedInstanceLongTermRetentionBackupListResultPage ¶
func NewManagedInstanceLongTermRetentionBackupListResultPage(cur ManagedInstanceLongTermRetentionBackupListResult, getNextPage func(context.Context, ManagedInstanceLongTermRetentionBackupListResult) (ManagedInstanceLongTermRetentionBackupListResult, error)) ManagedInstanceLongTermRetentionBackupListResultPage
Creates a new instance of the ManagedInstanceLongTermRetentionBackupListResultPage type.
func (*ManagedInstanceLongTermRetentionBackupListResultPage) Next ¶
func (page *ManagedInstanceLongTermRetentionBackupListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedInstanceLongTermRetentionBackupListResultPage) NextWithContext ¶
func (page *ManagedInstanceLongTermRetentionBackupListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ManagedInstanceLongTermRetentionBackupListResultPage) NotDone ¶
func (page ManagedInstanceLongTermRetentionBackupListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ManagedInstanceLongTermRetentionBackupListResultPage) Response ¶
func (page ManagedInstanceLongTermRetentionBackupListResultPage) Response() ManagedInstanceLongTermRetentionBackupListResult
Response returns the raw server response from the last page request.
func (ManagedInstanceLongTermRetentionBackupListResultPage) Values ¶
func (page ManagedInstanceLongTermRetentionBackupListResultPage) Values() []ManagedInstanceLongTermRetentionBackup
Values returns the slice of values for the current page or nil if there are no values.
type ManagedInstanceLongTermRetentionBackupProperties ¶
type ManagedInstanceLongTermRetentionBackupProperties struct { // ManagedInstanceName - READ-ONLY; The managed instance that the backup database belongs to. ManagedInstanceName *string `json:"managedInstanceName,omitempty"` // ManagedInstanceCreateTime - READ-ONLY; The create time of the instance. ManagedInstanceCreateTime *date.Time `json:"managedInstanceCreateTime,omitempty"` // DatabaseName - READ-ONLY; The name of the database the backup belong to DatabaseName *string `json:"databaseName,omitempty"` // DatabaseDeletionTime - READ-ONLY; The delete time of the database DatabaseDeletionTime *date.Time `json:"databaseDeletionTime,omitempty"` // BackupTime - READ-ONLY; The time the backup was taken BackupTime *date.Time `json:"backupTime,omitempty"` // BackupExpirationTime - READ-ONLY; The time the long term retention backup will expire. BackupExpirationTime *date.Time `json:"backupExpirationTime,omitempty"` // BackupStorageRedundancy - READ-ONLY; The storage redundancy type of the backup. Possible values include: 'BackupStorageRedundancyGeo', 'BackupStorageRedundancyLocal', 'BackupStorageRedundancyZone' BackupStorageRedundancy BackupStorageRedundancy `json:"backupStorageRedundancy,omitempty"` }
ManagedInstanceLongTermRetentionBackupProperties properties of a long term retention backup
func (ManagedInstanceLongTermRetentionBackupProperties) MarshalJSON ¶
func (miltrbp ManagedInstanceLongTermRetentionBackupProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceLongTermRetentionBackupProperties.
type ManagedInstanceLongTermRetentionPoliciesClient ¶
type ManagedInstanceLongTermRetentionPoliciesClient struct {
BaseClient
}
ManagedInstanceLongTermRetentionPoliciesClient 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 NewManagedInstanceLongTermRetentionPoliciesClient ¶
func NewManagedInstanceLongTermRetentionPoliciesClient(subscriptionID string) ManagedInstanceLongTermRetentionPoliciesClient
NewManagedInstanceLongTermRetentionPoliciesClient creates an instance of the ManagedInstanceLongTermRetentionPoliciesClient client.
func NewManagedInstanceLongTermRetentionPoliciesClientWithBaseURI ¶
func NewManagedInstanceLongTermRetentionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ManagedInstanceLongTermRetentionPoliciesClient
NewManagedInstanceLongTermRetentionPoliciesClientWithBaseURI creates an instance of the ManagedInstanceLongTermRetentionPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedInstanceLongTermRetentionPoliciesClient) CreateOrUpdate ¶
func (client ManagedInstanceLongTermRetentionPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, parameters ManagedInstanceLongTermRetentionPolicy) (result ManagedInstanceLongTermRetentionPoliciesCreateOrUpdateFuture, err error)
CreateOrUpdate sets a managed database's long term retention policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database. parameters - the long term retention policy info.
func (ManagedInstanceLongTermRetentionPoliciesClient) CreateOrUpdatePreparer ¶
func (client ManagedInstanceLongTermRetentionPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string, parameters ManagedInstanceLongTermRetentionPolicy) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ManagedInstanceLongTermRetentionPoliciesClient) CreateOrUpdateResponder ¶
func (client ManagedInstanceLongTermRetentionPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedInstanceLongTermRetentionPolicy, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ManagedInstanceLongTermRetentionPoliciesClient) CreateOrUpdateSender ¶
func (client ManagedInstanceLongTermRetentionPoliciesClient) CreateOrUpdateSender(req *http.Request) (future ManagedInstanceLongTermRetentionPoliciesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ManagedInstanceLongTermRetentionPoliciesClient) Get ¶
func (client ManagedInstanceLongTermRetentionPoliciesClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (result ManagedInstanceLongTermRetentionPolicy, err error)
Get gets a managed database's long term retention policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database.
func (ManagedInstanceLongTermRetentionPoliciesClient) GetPreparer ¶
func (client ManagedInstanceLongTermRetentionPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagedInstanceLongTermRetentionPoliciesClient) GetResponder ¶
func (client ManagedInstanceLongTermRetentionPoliciesClient) GetResponder(resp *http.Response) (result ManagedInstanceLongTermRetentionPolicy, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagedInstanceLongTermRetentionPoliciesClient) GetSender ¶
func (client ManagedInstanceLongTermRetentionPoliciesClient) 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 (ManagedInstanceLongTermRetentionPoliciesClient) ListByDatabase ¶
func (client ManagedInstanceLongTermRetentionPoliciesClient) ListByDatabase(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (result ManagedInstanceLongTermRetentionPolicyListResultPage, err error)
ListByDatabase gets a database's long term retention policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. databaseName - the name of the database.
func (ManagedInstanceLongTermRetentionPoliciesClient) ListByDatabaseComplete ¶
func (client ManagedInstanceLongTermRetentionPoliciesClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (result ManagedInstanceLongTermRetentionPolicyListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedInstanceLongTermRetentionPoliciesClient) ListByDatabasePreparer ¶
func (client ManagedInstanceLongTermRetentionPoliciesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, databaseName string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (ManagedInstanceLongTermRetentionPoliciesClient) ListByDatabaseResponder ¶
func (client ManagedInstanceLongTermRetentionPoliciesClient) ListByDatabaseResponder(resp *http.Response) (result ManagedInstanceLongTermRetentionPolicyListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (ManagedInstanceLongTermRetentionPoliciesClient) ListByDatabaseSender ¶
func (client ManagedInstanceLongTermRetentionPoliciesClient) 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 ManagedInstanceLongTermRetentionPoliciesCreateOrUpdateFuture ¶
type ManagedInstanceLongTermRetentionPoliciesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedInstanceLongTermRetentionPoliciesClient) (ManagedInstanceLongTermRetentionPolicy, error) }
ManagedInstanceLongTermRetentionPoliciesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedInstanceLongTermRetentionPoliciesCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *ManagedInstanceLongTermRetentionPoliciesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedInstanceLongTermRetentionPolicy ¶
type ManagedInstanceLongTermRetentionPolicy struct { autorest.Response `json:"-"` // BaseLongTermRetentionPolicyProperties - Resource properties. *BaseLongTermRetentionPolicyProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ManagedInstanceLongTermRetentionPolicy a long term retention policy.
func (ManagedInstanceLongTermRetentionPolicy) MarshalJSON ¶
func (miltrp ManagedInstanceLongTermRetentionPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceLongTermRetentionPolicy.
func (*ManagedInstanceLongTermRetentionPolicy) UnmarshalJSON ¶
func (miltrp *ManagedInstanceLongTermRetentionPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ManagedInstanceLongTermRetentionPolicy struct.
type ManagedInstanceLongTermRetentionPolicyListResult ¶
type ManagedInstanceLongTermRetentionPolicyListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ManagedInstanceLongTermRetentionPolicy `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ManagedInstanceLongTermRetentionPolicyListResult a list of long term retention policies.
func (ManagedInstanceLongTermRetentionPolicyListResult) IsEmpty ¶
func (miltrplr ManagedInstanceLongTermRetentionPolicyListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ManagedInstanceLongTermRetentionPolicyListResult) MarshalJSON ¶
func (miltrplr ManagedInstanceLongTermRetentionPolicyListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceLongTermRetentionPolicyListResult.
type ManagedInstanceLongTermRetentionPolicyListResultIterator ¶
type ManagedInstanceLongTermRetentionPolicyListResultIterator struct {
// contains filtered or unexported fields
}
ManagedInstanceLongTermRetentionPolicyListResultIterator provides access to a complete listing of ManagedInstanceLongTermRetentionPolicy values.
func NewManagedInstanceLongTermRetentionPolicyListResultIterator ¶
func NewManagedInstanceLongTermRetentionPolicyListResultIterator(page ManagedInstanceLongTermRetentionPolicyListResultPage) ManagedInstanceLongTermRetentionPolicyListResultIterator
Creates a new instance of the ManagedInstanceLongTermRetentionPolicyListResultIterator type.
func (*ManagedInstanceLongTermRetentionPolicyListResultIterator) Next ¶
func (iter *ManagedInstanceLongTermRetentionPolicyListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedInstanceLongTermRetentionPolicyListResultIterator) NextWithContext ¶
func (iter *ManagedInstanceLongTermRetentionPolicyListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ManagedInstanceLongTermRetentionPolicyListResultIterator) NotDone ¶
func (iter ManagedInstanceLongTermRetentionPolicyListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ManagedInstanceLongTermRetentionPolicyListResultIterator) Response ¶
func (iter ManagedInstanceLongTermRetentionPolicyListResultIterator) Response() ManagedInstanceLongTermRetentionPolicyListResult
Response returns the raw server response from the last page request.
func (ManagedInstanceLongTermRetentionPolicyListResultIterator) Value ¶
func (iter ManagedInstanceLongTermRetentionPolicyListResultIterator) Value() ManagedInstanceLongTermRetentionPolicy
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ManagedInstanceLongTermRetentionPolicyListResultPage ¶
type ManagedInstanceLongTermRetentionPolicyListResultPage struct {
// contains filtered or unexported fields
}
ManagedInstanceLongTermRetentionPolicyListResultPage contains a page of ManagedInstanceLongTermRetentionPolicy values.
func NewManagedInstanceLongTermRetentionPolicyListResultPage ¶
func NewManagedInstanceLongTermRetentionPolicyListResultPage(cur ManagedInstanceLongTermRetentionPolicyListResult, getNextPage func(context.Context, ManagedInstanceLongTermRetentionPolicyListResult) (ManagedInstanceLongTermRetentionPolicyListResult, error)) ManagedInstanceLongTermRetentionPolicyListResultPage
Creates a new instance of the ManagedInstanceLongTermRetentionPolicyListResultPage type.
func (*ManagedInstanceLongTermRetentionPolicyListResultPage) Next ¶
func (page *ManagedInstanceLongTermRetentionPolicyListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedInstanceLongTermRetentionPolicyListResultPage) NextWithContext ¶
func (page *ManagedInstanceLongTermRetentionPolicyListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ManagedInstanceLongTermRetentionPolicyListResultPage) NotDone ¶
func (page ManagedInstanceLongTermRetentionPolicyListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ManagedInstanceLongTermRetentionPolicyListResultPage) Response ¶
func (page ManagedInstanceLongTermRetentionPolicyListResultPage) Response() ManagedInstanceLongTermRetentionPolicyListResult
Response returns the raw server response from the last page request.
func (ManagedInstanceLongTermRetentionPolicyListResultPage) Values ¶
func (page ManagedInstanceLongTermRetentionPolicyListResultPage) Values() []ManagedInstanceLongTermRetentionPolicy
Values returns the slice of values for the current page or nil if there are no values.
type ManagedInstanceMaintenanceConfigurationCapability ¶
type ManagedInstanceMaintenanceConfigurationCapability struct { // Name - READ-ONLY; Maintenance configuration name Name *string `json:"name,omitempty"` // Status - READ-ONLY; The status of the capability. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // Reason - The reason for the capability not being available. Reason *string `json:"reason,omitempty"` }
ManagedInstanceMaintenanceConfigurationCapability the maintenance configuration capability
func (ManagedInstanceMaintenanceConfigurationCapability) MarshalJSON ¶
func (mimcc ManagedInstanceMaintenanceConfigurationCapability) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceMaintenanceConfigurationCapability.
type ManagedInstanceOperation ¶
type ManagedInstanceOperation struct { autorest.Response `json:"-"` // ManagedInstanceOperationProperties - Resource properties. *ManagedInstanceOperationProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ManagedInstanceOperation a managed instance operation.
func (ManagedInstanceOperation) MarshalJSON ¶
func (mio ManagedInstanceOperation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceOperation.
func (*ManagedInstanceOperation) UnmarshalJSON ¶
func (mio *ManagedInstanceOperation) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ManagedInstanceOperation struct.
type ManagedInstanceOperationListResult ¶
type ManagedInstanceOperationListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ManagedInstanceOperation `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ManagedInstanceOperationListResult the response to a list managed instance operations request
func (ManagedInstanceOperationListResult) IsEmpty ¶
func (miolr ManagedInstanceOperationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ManagedInstanceOperationListResult) MarshalJSON ¶
func (miolr ManagedInstanceOperationListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceOperationListResult.
type ManagedInstanceOperationListResultIterator ¶
type ManagedInstanceOperationListResultIterator struct {
// contains filtered or unexported fields
}
ManagedInstanceOperationListResultIterator provides access to a complete listing of ManagedInstanceOperation values.
func NewManagedInstanceOperationListResultIterator ¶
func NewManagedInstanceOperationListResultIterator(page ManagedInstanceOperationListResultPage) ManagedInstanceOperationListResultIterator
Creates a new instance of the ManagedInstanceOperationListResultIterator type.
func (*ManagedInstanceOperationListResultIterator) Next ¶
func (iter *ManagedInstanceOperationListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedInstanceOperationListResultIterator) NextWithContext ¶
func (iter *ManagedInstanceOperationListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ManagedInstanceOperationListResultIterator) NotDone ¶
func (iter ManagedInstanceOperationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ManagedInstanceOperationListResultIterator) Response ¶
func (iter ManagedInstanceOperationListResultIterator) Response() ManagedInstanceOperationListResult
Response returns the raw server response from the last page request.
func (ManagedInstanceOperationListResultIterator) Value ¶
func (iter ManagedInstanceOperationListResultIterator) Value() ManagedInstanceOperation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ManagedInstanceOperationListResultPage ¶
type ManagedInstanceOperationListResultPage struct {
// contains filtered or unexported fields
}
ManagedInstanceOperationListResultPage contains a page of ManagedInstanceOperation values.
func NewManagedInstanceOperationListResultPage ¶
func NewManagedInstanceOperationListResultPage(cur ManagedInstanceOperationListResult, getNextPage func(context.Context, ManagedInstanceOperationListResult) (ManagedInstanceOperationListResult, error)) ManagedInstanceOperationListResultPage
Creates a new instance of the ManagedInstanceOperationListResultPage type.
func (*ManagedInstanceOperationListResultPage) Next ¶
func (page *ManagedInstanceOperationListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedInstanceOperationListResultPage) NextWithContext ¶
func (page *ManagedInstanceOperationListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ManagedInstanceOperationListResultPage) NotDone ¶
func (page ManagedInstanceOperationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ManagedInstanceOperationListResultPage) Response ¶
func (page ManagedInstanceOperationListResultPage) Response() ManagedInstanceOperationListResult
Response returns the raw server response from the last page request.
func (ManagedInstanceOperationListResultPage) Values ¶
func (page ManagedInstanceOperationListResultPage) Values() []ManagedInstanceOperation
Values returns the slice of values for the current page or nil if there are no values.
type ManagedInstanceOperationParametersPair ¶
type ManagedInstanceOperationParametersPair struct { // CurrentParameters - READ-ONLY; The current parameters. CurrentParameters *UpsertManagedServerOperationParameters `json:"currentParameters,omitempty"` // RequestedParameters - READ-ONLY; The requested parameters. RequestedParameters *UpsertManagedServerOperationParameters `json:"requestedParameters,omitempty"` }
ManagedInstanceOperationParametersPair the parameters of a managed instance operation.
func (ManagedInstanceOperationParametersPair) MarshalJSON ¶
func (miopp ManagedInstanceOperationParametersPair) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceOperationParametersPair.
type ManagedInstanceOperationProperties ¶
type ManagedInstanceOperationProperties struct { // ManagedInstanceName - READ-ONLY; The name of the managed instance the operation is being performed on. ManagedInstanceName *string `json:"managedInstanceName,omitempty"` // Operation - READ-ONLY; The name of operation. Operation *string `json:"operation,omitempty"` // OperationFriendlyName - READ-ONLY; The friendly name of operation. OperationFriendlyName *string `json:"operationFriendlyName,omitempty"` // PercentComplete - READ-ONLY; The percentage of the operation completed. PercentComplete *int32 `json:"percentComplete,omitempty"` // StartTime - READ-ONLY; The operation start time. StartTime *date.Time `json:"startTime,omitempty"` // State - READ-ONLY; The operation state. Possible values include: 'ManagementOperationStatePending', 'ManagementOperationStateInProgress', 'ManagementOperationStateSucceeded', 'ManagementOperationStateFailed', 'ManagementOperationStateCancelInProgress', 'ManagementOperationStateCancelled' State ManagementOperationState `json:"state,omitempty"` // ErrorCode - READ-ONLY; The operation error code. ErrorCode *int32 `json:"errorCode,omitempty"` // ErrorDescription - READ-ONLY; The operation error description. ErrorDescription *string `json:"errorDescription,omitempty"` // ErrorSeverity - READ-ONLY; The operation error severity. ErrorSeverity *int32 `json:"errorSeverity,omitempty"` // IsUserError - READ-ONLY; Whether or not the error is a user error. IsUserError *bool `json:"isUserError,omitempty"` // EstimatedCompletionTime - READ-ONLY; The estimated completion time of the operation. EstimatedCompletionTime *date.Time `json:"estimatedCompletionTime,omitempty"` // Description - READ-ONLY; The operation description. Description *string `json:"description,omitempty"` // IsCancellable - READ-ONLY; Whether the operation can be cancelled. IsCancellable *bool `json:"isCancellable,omitempty"` // OperationParameters - READ-ONLY; The operation parameters. OperationParameters *ManagedInstanceOperationParametersPair `json:"operationParameters,omitempty"` // OperationSteps - READ-ONLY; The operation steps. OperationSteps *ManagedInstanceOperationSteps `json:"operationSteps,omitempty"` }
ManagedInstanceOperationProperties the properties of a managed instance operation.
func (ManagedInstanceOperationProperties) MarshalJSON ¶
func (miop ManagedInstanceOperationProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceOperationProperties.
type ManagedInstanceOperationSteps ¶
type ManagedInstanceOperationSteps struct { // TotalSteps - READ-ONLY; The total number of operation steps. TotalSteps *string `json:"totalSteps,omitempty"` // CurrentStep - READ-ONLY; The number of current operation steps. CurrentStep *int32 `json:"currentStep,omitempty"` // StepsList - READ-ONLY; The operation steps list. StepsList *[]UpsertManagedServerOperationStep `json:"stepsList,omitempty"` }
ManagedInstanceOperationSteps the steps of a managed instance operation.
func (ManagedInstanceOperationSteps) MarshalJSON ¶
func (mios ManagedInstanceOperationSteps) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceOperationSteps.
type ManagedInstanceOperationsClient ¶
type ManagedInstanceOperationsClient struct {
BaseClient
}
ManagedInstanceOperationsClient 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 NewManagedInstanceOperationsClient ¶
func NewManagedInstanceOperationsClient(subscriptionID string) ManagedInstanceOperationsClient
NewManagedInstanceOperationsClient creates an instance of the ManagedInstanceOperationsClient client.
func NewManagedInstanceOperationsClientWithBaseURI ¶
func NewManagedInstanceOperationsClientWithBaseURI(baseURI string, subscriptionID string) ManagedInstanceOperationsClient
NewManagedInstanceOperationsClientWithBaseURI creates an instance of the ManagedInstanceOperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedInstanceOperationsClient) Cancel ¶
func (client ManagedInstanceOperationsClient) Cancel(ctx context.Context, resourceGroupName string, managedInstanceName string, operationID uuid.UUID) (result autorest.Response, err error)
Cancel cancels the asynchronous operation on the managed instance. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (ManagedInstanceOperationsClient) CancelPreparer ¶
func (client ManagedInstanceOperationsClient) CancelPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, operationID uuid.UUID) (*http.Request, error)
CancelPreparer prepares the Cancel request.
func (ManagedInstanceOperationsClient) CancelResponder ¶
func (client ManagedInstanceOperationsClient) 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 (ManagedInstanceOperationsClient) CancelSender ¶
func (client ManagedInstanceOperationsClient) CancelSender(req *http.Request) (*http.Response, error)
CancelSender sends the Cancel request. The method will close the http.Response Body if it receives an error.
func (ManagedInstanceOperationsClient) Get ¶
func (client ManagedInstanceOperationsClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, operationID uuid.UUID) (result ManagedInstanceOperation, err error)
Get gets a management operation on a managed instance. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (ManagedInstanceOperationsClient) GetPreparer ¶
func (client ManagedInstanceOperationsClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, operationID uuid.UUID) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagedInstanceOperationsClient) GetResponder ¶
func (client ManagedInstanceOperationsClient) GetResponder(resp *http.Response) (result ManagedInstanceOperation, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagedInstanceOperationsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ManagedInstanceOperationsClient) ListByManagedInstance ¶
func (client ManagedInstanceOperationsClient) ListByManagedInstance(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceOperationListResultPage, err error)
ListByManagedInstance gets a list of operations performed on the managed instance. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (ManagedInstanceOperationsClient) ListByManagedInstanceComplete ¶
func (client ManagedInstanceOperationsClient) ListByManagedInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceOperationListResultIterator, err error)
ListByManagedInstanceComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedInstanceOperationsClient) ListByManagedInstancePreparer ¶
func (client ManagedInstanceOperationsClient) ListByManagedInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
ListByManagedInstancePreparer prepares the ListByManagedInstance request.
func (ManagedInstanceOperationsClient) ListByManagedInstanceResponder ¶
func (client ManagedInstanceOperationsClient) ListByManagedInstanceResponder(resp *http.Response) (result ManagedInstanceOperationListResult, err error)
ListByManagedInstanceResponder handles the response to the ListByManagedInstance request. The method always closes the http.Response Body.
func (ManagedInstanceOperationsClient) ListByManagedInstanceSender ¶
func (client ManagedInstanceOperationsClient) ListByManagedInstanceSender(req *http.Request) (*http.Response, error)
ListByManagedInstanceSender sends the ListByManagedInstance request. The method will close the http.Response Body if it receives an error.
type ManagedInstancePairInfo ¶
type ManagedInstancePairInfo struct { // PrimaryManagedInstanceID - Id of Primary Managed Instance in pair. PrimaryManagedInstanceID *string `json:"primaryManagedInstanceId,omitempty"` // PartnerManagedInstanceID - Id of Partner Managed Instance in pair. PartnerManagedInstanceID *string `json:"partnerManagedInstanceId,omitempty"` }
ManagedInstancePairInfo pairs of Managed Instances in the failover group.
type ManagedInstancePecProperty ¶
type ManagedInstancePecProperty struct { // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Properties - READ-ONLY; Private endpoint connection properties Properties *ManagedInstancePrivateEndpointConnectionProperties `json:"properties,omitempty"` }
ManagedInstancePecProperty a private endpoint connection under a managed instance
func (ManagedInstancePecProperty) MarshalJSON ¶
func (mipp ManagedInstancePecProperty) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstancePecProperty.
type ManagedInstancePrivateEndpointConnection ¶
type ManagedInstancePrivateEndpointConnection struct { autorest.Response `json:"-"` // ManagedInstancePrivateEndpointConnectionProperties - Resource properties. *ManagedInstancePrivateEndpointConnectionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ManagedInstancePrivateEndpointConnection a private endpoint connection
func (ManagedInstancePrivateEndpointConnection) MarshalJSON ¶
func (mipec ManagedInstancePrivateEndpointConnection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstancePrivateEndpointConnection.
func (*ManagedInstancePrivateEndpointConnection) UnmarshalJSON ¶
func (mipec *ManagedInstancePrivateEndpointConnection) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ManagedInstancePrivateEndpointConnection struct.
type ManagedInstancePrivateEndpointConnectionListResult ¶
type ManagedInstancePrivateEndpointConnectionListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ManagedInstancePrivateEndpointConnection `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ManagedInstancePrivateEndpointConnectionListResult a list of private endpoint connections.
func (ManagedInstancePrivateEndpointConnectionListResult) IsEmpty ¶
func (mipeclr ManagedInstancePrivateEndpointConnectionListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ManagedInstancePrivateEndpointConnectionListResult) MarshalJSON ¶
func (mipeclr ManagedInstancePrivateEndpointConnectionListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstancePrivateEndpointConnectionListResult.
type ManagedInstancePrivateEndpointConnectionListResultIterator ¶
type ManagedInstancePrivateEndpointConnectionListResultIterator struct {
// contains filtered or unexported fields
}
ManagedInstancePrivateEndpointConnectionListResultIterator provides access to a complete listing of ManagedInstancePrivateEndpointConnection values.
func NewManagedInstancePrivateEndpointConnectionListResultIterator ¶
func NewManagedInstancePrivateEndpointConnectionListResultIterator(page ManagedInstancePrivateEndpointConnectionListResultPage) ManagedInstancePrivateEndpointConnectionListResultIterator
Creates a new instance of the ManagedInstancePrivateEndpointConnectionListResultIterator type.
func (*ManagedInstancePrivateEndpointConnectionListResultIterator) Next ¶
func (iter *ManagedInstancePrivateEndpointConnectionListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedInstancePrivateEndpointConnectionListResultIterator) NextWithContext ¶
func (iter *ManagedInstancePrivateEndpointConnectionListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ManagedInstancePrivateEndpointConnectionListResultIterator) NotDone ¶
func (iter ManagedInstancePrivateEndpointConnectionListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ManagedInstancePrivateEndpointConnectionListResultIterator) Response ¶
func (iter ManagedInstancePrivateEndpointConnectionListResultIterator) Response() ManagedInstancePrivateEndpointConnectionListResult
Response returns the raw server response from the last page request.
func (ManagedInstancePrivateEndpointConnectionListResultIterator) Value ¶
func (iter ManagedInstancePrivateEndpointConnectionListResultIterator) Value() ManagedInstancePrivateEndpointConnection
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ManagedInstancePrivateEndpointConnectionListResultPage ¶
type ManagedInstancePrivateEndpointConnectionListResultPage struct {
// contains filtered or unexported fields
}
ManagedInstancePrivateEndpointConnectionListResultPage contains a page of ManagedInstancePrivateEndpointConnection values.
func NewManagedInstancePrivateEndpointConnectionListResultPage ¶
func NewManagedInstancePrivateEndpointConnectionListResultPage(cur ManagedInstancePrivateEndpointConnectionListResult, getNextPage func(context.Context, ManagedInstancePrivateEndpointConnectionListResult) (ManagedInstancePrivateEndpointConnectionListResult, error)) ManagedInstancePrivateEndpointConnectionListResultPage
Creates a new instance of the ManagedInstancePrivateEndpointConnectionListResultPage type.
func (*ManagedInstancePrivateEndpointConnectionListResultPage) Next ¶
func (page *ManagedInstancePrivateEndpointConnectionListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedInstancePrivateEndpointConnectionListResultPage) NextWithContext ¶
func (page *ManagedInstancePrivateEndpointConnectionListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ManagedInstancePrivateEndpointConnectionListResultPage) NotDone ¶
func (page ManagedInstancePrivateEndpointConnectionListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ManagedInstancePrivateEndpointConnectionListResultPage) Response ¶
func (page ManagedInstancePrivateEndpointConnectionListResultPage) Response() ManagedInstancePrivateEndpointConnectionListResult
Response returns the raw server response from the last page request.
func (ManagedInstancePrivateEndpointConnectionListResultPage) Values ¶
func (page ManagedInstancePrivateEndpointConnectionListResultPage) Values() []ManagedInstancePrivateEndpointConnection
Values returns the slice of values for the current page or nil if there are no values.
type ManagedInstancePrivateEndpointConnectionProperties ¶
type ManagedInstancePrivateEndpointConnectionProperties struct { // PrivateEndpoint - Private endpoint which the connection belongs to. PrivateEndpoint *ManagedInstancePrivateEndpointProperty `json:"privateEndpoint,omitempty"` // PrivateLinkServiceConnectionState - Connection State of the Private Endpoint Connection. PrivateLinkServiceConnectionState *ManagedInstancePrivateLinkServiceConnectionStateProperty `json:"privateLinkServiceConnectionState,omitempty"` // ProvisioningState - READ-ONLY; State of the Private Endpoint Connection. ProvisioningState *string `json:"provisioningState,omitempty"` }
ManagedInstancePrivateEndpointConnectionProperties properties of a private endpoint connection.
func (ManagedInstancePrivateEndpointConnectionProperties) MarshalJSON ¶
func (mipecp ManagedInstancePrivateEndpointConnectionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstancePrivateEndpointConnectionProperties.
type ManagedInstancePrivateEndpointConnectionsClient ¶
type ManagedInstancePrivateEndpointConnectionsClient struct {
BaseClient
}
ManagedInstancePrivateEndpointConnectionsClient 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 NewManagedInstancePrivateEndpointConnectionsClient ¶
func NewManagedInstancePrivateEndpointConnectionsClient(subscriptionID string) ManagedInstancePrivateEndpointConnectionsClient
NewManagedInstancePrivateEndpointConnectionsClient creates an instance of the ManagedInstancePrivateEndpointConnectionsClient client.
func NewManagedInstancePrivateEndpointConnectionsClientWithBaseURI ¶
func NewManagedInstancePrivateEndpointConnectionsClientWithBaseURI(baseURI string, subscriptionID string) ManagedInstancePrivateEndpointConnectionsClient
NewManagedInstancePrivateEndpointConnectionsClientWithBaseURI creates an instance of the ManagedInstancePrivateEndpointConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedInstancePrivateEndpointConnectionsClient) CreateOrUpdate ¶
func (client ManagedInstancePrivateEndpointConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, privateEndpointConnectionName string, parameters ManagedInstancePrivateEndpointConnection) (result ManagedInstancePrivateEndpointConnectionsCreateOrUpdateFuture, err error)
CreateOrUpdate approve or reject a private endpoint connection with a given name. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (ManagedInstancePrivateEndpointConnectionsClient) CreateOrUpdatePreparer ¶
func (client ManagedInstancePrivateEndpointConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, privateEndpointConnectionName string, parameters ManagedInstancePrivateEndpointConnection) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ManagedInstancePrivateEndpointConnectionsClient) CreateOrUpdateResponder ¶
func (client ManagedInstancePrivateEndpointConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedInstancePrivateEndpointConnection, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ManagedInstancePrivateEndpointConnectionsClient) CreateOrUpdateSender ¶
func (client ManagedInstancePrivateEndpointConnectionsClient) CreateOrUpdateSender(req *http.Request) (future ManagedInstancePrivateEndpointConnectionsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ManagedInstancePrivateEndpointConnectionsClient) Delete ¶
func (client ManagedInstancePrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, managedInstanceName string, privateEndpointConnectionName string) (result ManagedInstancePrivateEndpointConnectionsDeleteFuture, err error)
Delete deletes a private endpoint connection with a given name. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (ManagedInstancePrivateEndpointConnectionsClient) DeletePreparer ¶
func (client ManagedInstancePrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, privateEndpointConnectionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ManagedInstancePrivateEndpointConnectionsClient) DeleteResponder ¶
func (client ManagedInstancePrivateEndpointConnectionsClient) 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 (ManagedInstancePrivateEndpointConnectionsClient) DeleteSender ¶
func (client ManagedInstancePrivateEndpointConnectionsClient) DeleteSender(req *http.Request) (future ManagedInstancePrivateEndpointConnectionsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ManagedInstancePrivateEndpointConnectionsClient) Get ¶
func (client ManagedInstancePrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, privateEndpointConnectionName string) (result ManagedInstancePrivateEndpointConnection, err error)
Get gets a private endpoint connection. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. privateEndpointConnectionName - the name of the private endpoint connection.
func (ManagedInstancePrivateEndpointConnectionsClient) GetPreparer ¶
func (client ManagedInstancePrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, privateEndpointConnectionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagedInstancePrivateEndpointConnectionsClient) GetResponder ¶
func (client ManagedInstancePrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result ManagedInstancePrivateEndpointConnection, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagedInstancePrivateEndpointConnectionsClient) GetSender ¶
func (client ManagedInstancePrivateEndpointConnectionsClient) 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 (ManagedInstancePrivateEndpointConnectionsClient) ListByManagedInstance ¶
func (client ManagedInstancePrivateEndpointConnectionsClient) ListByManagedInstance(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstancePrivateEndpointConnectionListResultPage, err error)
ListByManagedInstance gets all private endpoint connections on a server. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (ManagedInstancePrivateEndpointConnectionsClient) ListByManagedInstanceComplete ¶
func (client ManagedInstancePrivateEndpointConnectionsClient) ListByManagedInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstancePrivateEndpointConnectionListResultIterator, err error)
ListByManagedInstanceComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedInstancePrivateEndpointConnectionsClient) ListByManagedInstancePreparer ¶
func (client ManagedInstancePrivateEndpointConnectionsClient) ListByManagedInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
ListByManagedInstancePreparer prepares the ListByManagedInstance request.
func (ManagedInstancePrivateEndpointConnectionsClient) ListByManagedInstanceResponder ¶
func (client ManagedInstancePrivateEndpointConnectionsClient) ListByManagedInstanceResponder(resp *http.Response) (result ManagedInstancePrivateEndpointConnectionListResult, err error)
ListByManagedInstanceResponder handles the response to the ListByManagedInstance request. The method always closes the http.Response Body.
func (ManagedInstancePrivateEndpointConnectionsClient) ListByManagedInstanceSender ¶
func (client ManagedInstancePrivateEndpointConnectionsClient) ListByManagedInstanceSender(req *http.Request) (*http.Response, error)
ListByManagedInstanceSender sends the ListByManagedInstance request. The method will close the http.Response Body if it receives an error.
type ManagedInstancePrivateEndpointConnectionsCreateOrUpdateFuture ¶
type ManagedInstancePrivateEndpointConnectionsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedInstancePrivateEndpointConnectionsClient) (ManagedInstancePrivateEndpointConnection, error) }
ManagedInstancePrivateEndpointConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedInstancePrivateEndpointConnectionsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *ManagedInstancePrivateEndpointConnectionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedInstancePrivateEndpointConnectionsDeleteFuture ¶
type ManagedInstancePrivateEndpointConnectionsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedInstancePrivateEndpointConnectionsClient) (autorest.Response, error) }
ManagedInstancePrivateEndpointConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedInstancePrivateEndpointConnectionsDeleteFuture) UnmarshalJSON ¶
func (future *ManagedInstancePrivateEndpointConnectionsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedInstancePrivateEndpointProperty ¶
type ManagedInstancePrivateEndpointProperty struct { // ID - Resource id of the private endpoint. ID *string `json:"id,omitempty"` }
ManagedInstancePrivateEndpointProperty ...
type ManagedInstancePrivateLink ¶
type ManagedInstancePrivateLink struct { autorest.Response `json:"-"` // Properties - READ-ONLY; The private link resource group id. Properties *ManagedInstancePrivateLinkProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ManagedInstancePrivateLink a private link resource
func (ManagedInstancePrivateLink) MarshalJSON ¶
func (mipl ManagedInstancePrivateLink) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstancePrivateLink.
type ManagedInstancePrivateLinkListResult ¶
type ManagedInstancePrivateLinkListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ManagedInstancePrivateLink `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ManagedInstancePrivateLinkListResult a list of private link resources
func (ManagedInstancePrivateLinkListResult) IsEmpty ¶
func (mipllr ManagedInstancePrivateLinkListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ManagedInstancePrivateLinkListResult) MarshalJSON ¶
func (mipllr ManagedInstancePrivateLinkListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstancePrivateLinkListResult.
type ManagedInstancePrivateLinkListResultIterator ¶
type ManagedInstancePrivateLinkListResultIterator struct {
// contains filtered or unexported fields
}
ManagedInstancePrivateLinkListResultIterator provides access to a complete listing of ManagedInstancePrivateLink values.
func NewManagedInstancePrivateLinkListResultIterator ¶
func NewManagedInstancePrivateLinkListResultIterator(page ManagedInstancePrivateLinkListResultPage) ManagedInstancePrivateLinkListResultIterator
Creates a new instance of the ManagedInstancePrivateLinkListResultIterator type.
func (*ManagedInstancePrivateLinkListResultIterator) Next ¶
func (iter *ManagedInstancePrivateLinkListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedInstancePrivateLinkListResultIterator) NextWithContext ¶
func (iter *ManagedInstancePrivateLinkListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ManagedInstancePrivateLinkListResultIterator) NotDone ¶
func (iter ManagedInstancePrivateLinkListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ManagedInstancePrivateLinkListResultIterator) Response ¶
func (iter ManagedInstancePrivateLinkListResultIterator) Response() ManagedInstancePrivateLinkListResult
Response returns the raw server response from the last page request.
func (ManagedInstancePrivateLinkListResultIterator) Value ¶
func (iter ManagedInstancePrivateLinkListResultIterator) Value() ManagedInstancePrivateLink
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ManagedInstancePrivateLinkListResultPage ¶
type ManagedInstancePrivateLinkListResultPage struct {
// contains filtered or unexported fields
}
ManagedInstancePrivateLinkListResultPage contains a page of ManagedInstancePrivateLink values.
func NewManagedInstancePrivateLinkListResultPage ¶
func NewManagedInstancePrivateLinkListResultPage(cur ManagedInstancePrivateLinkListResult, getNextPage func(context.Context, ManagedInstancePrivateLinkListResult) (ManagedInstancePrivateLinkListResult, error)) ManagedInstancePrivateLinkListResultPage
Creates a new instance of the ManagedInstancePrivateLinkListResultPage type.
func (*ManagedInstancePrivateLinkListResultPage) Next ¶
func (page *ManagedInstancePrivateLinkListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedInstancePrivateLinkListResultPage) NextWithContext ¶
func (page *ManagedInstancePrivateLinkListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ManagedInstancePrivateLinkListResultPage) NotDone ¶
func (page ManagedInstancePrivateLinkListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ManagedInstancePrivateLinkListResultPage) Response ¶
func (page ManagedInstancePrivateLinkListResultPage) Response() ManagedInstancePrivateLinkListResult
Response returns the raw server response from the last page request.
func (ManagedInstancePrivateLinkListResultPage) Values ¶
func (page ManagedInstancePrivateLinkListResultPage) Values() []ManagedInstancePrivateLink
Values returns the slice of values for the current page or nil if there are no values.
type ManagedInstancePrivateLinkProperties ¶
type ManagedInstancePrivateLinkProperties struct { // GroupID - READ-ONLY; The private link resource group id. GroupID *string `json:"groupId,omitempty"` // RequiredMembers - READ-ONLY; The private link resource required member names. RequiredMembers *[]string `json:"requiredMembers,omitempty"` }
ManagedInstancePrivateLinkProperties properties of a private link resource.
func (ManagedInstancePrivateLinkProperties) MarshalJSON ¶
func (miplp ManagedInstancePrivateLinkProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstancePrivateLinkProperties.
type ManagedInstancePrivateLinkResourcesClient ¶
type ManagedInstancePrivateLinkResourcesClient struct {
BaseClient
}
ManagedInstancePrivateLinkResourcesClient 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 NewManagedInstancePrivateLinkResourcesClient ¶
func NewManagedInstancePrivateLinkResourcesClient(subscriptionID string) ManagedInstancePrivateLinkResourcesClient
NewManagedInstancePrivateLinkResourcesClient creates an instance of the ManagedInstancePrivateLinkResourcesClient client.
func NewManagedInstancePrivateLinkResourcesClientWithBaseURI ¶
func NewManagedInstancePrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) ManagedInstancePrivateLinkResourcesClient
NewManagedInstancePrivateLinkResourcesClientWithBaseURI creates an instance of the ManagedInstancePrivateLinkResourcesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedInstancePrivateLinkResourcesClient) Get ¶
func (client ManagedInstancePrivateLinkResourcesClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, groupName string) (result ManagedInstancePrivateLink, err error)
Get gets a private link resource for SQL server. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. groupName - the name of the private link resource.
func (ManagedInstancePrivateLinkResourcesClient) GetPreparer ¶
func (client ManagedInstancePrivateLinkResourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, groupName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagedInstancePrivateLinkResourcesClient) GetResponder ¶
func (client ManagedInstancePrivateLinkResourcesClient) GetResponder(resp *http.Response) (result ManagedInstancePrivateLink, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagedInstancePrivateLinkResourcesClient) GetSender ¶
func (client ManagedInstancePrivateLinkResourcesClient) 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 (ManagedInstancePrivateLinkResourcesClient) ListByManagedInstance ¶
func (client ManagedInstancePrivateLinkResourcesClient) ListByManagedInstance(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstancePrivateLinkListResultPage, err error)
ListByManagedInstance gets the private link resources for SQL server. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (ManagedInstancePrivateLinkResourcesClient) ListByManagedInstanceComplete ¶
func (client ManagedInstancePrivateLinkResourcesClient) ListByManagedInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstancePrivateLinkListResultIterator, err error)
ListByManagedInstanceComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedInstancePrivateLinkResourcesClient) ListByManagedInstancePreparer ¶
func (client ManagedInstancePrivateLinkResourcesClient) ListByManagedInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
ListByManagedInstancePreparer prepares the ListByManagedInstance request.
func (ManagedInstancePrivateLinkResourcesClient) ListByManagedInstanceResponder ¶
func (client ManagedInstancePrivateLinkResourcesClient) ListByManagedInstanceResponder(resp *http.Response) (result ManagedInstancePrivateLinkListResult, err error)
ListByManagedInstanceResponder handles the response to the ListByManagedInstance request. The method always closes the http.Response Body.
func (ManagedInstancePrivateLinkResourcesClient) ListByManagedInstanceSender ¶
func (client ManagedInstancePrivateLinkResourcesClient) ListByManagedInstanceSender(req *http.Request) (*http.Response, error)
ListByManagedInstanceSender sends the ListByManagedInstance request. The method will close the http.Response Body if it receives an error.
type ManagedInstancePrivateLinkServiceConnectionStateProperty ¶
type ManagedInstancePrivateLinkServiceConnectionStateProperty struct { // Status - The private link service connection status. Status *string `json:"status,omitempty"` // Description - The private link service connection description. Description *string `json:"description,omitempty"` // ActionsRequired - READ-ONLY; The private link service connection description. ActionsRequired *string `json:"actionsRequired,omitempty"` }
ManagedInstancePrivateLinkServiceConnectionStateProperty ...
func (ManagedInstancePrivateLinkServiceConnectionStateProperty) MarshalJSON ¶
func (miplscsp ManagedInstancePrivateLinkServiceConnectionStateProperty) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstancePrivateLinkServiceConnectionStateProperty.
type ManagedInstanceProperties ¶
type ManagedInstanceProperties struct { // ProvisioningState - READ-ONLY; Possible values include: 'ProvisioningState1Creating', 'ProvisioningState1Deleting', 'ProvisioningState1Updating', 'ProvisioningState1Unknown', 'ProvisioningState1Succeeded', 'ProvisioningState1Failed' ProvisioningState ProvisioningState1 `json:"provisioningState,omitempty"` // ManagedInstanceCreateMode - Specifies the mode of database creation. // // Default: Regular instance creation. // // Restore: Creates an instance by restoring a set of backups to specific point in time. RestorePointInTime and SourceManagedInstanceId must be specified. Possible values include: 'ManagedServerCreateModeDefault', 'ManagedServerCreateModePointInTimeRestore' ManagedInstanceCreateMode ManagedServerCreateMode `json:"managedInstanceCreateMode,omitempty"` // FullyQualifiedDomainName - READ-ONLY; The fully qualified domain name of the managed instance. FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty"` // AdministratorLogin - Administrator username for the managed instance. Can only be specified when the managed instance is being created (and is required for creation). AdministratorLogin *string `json:"administratorLogin,omitempty"` // AdministratorLoginPassword - The administrator login password (required for managed instance creation). AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` // SubnetID - Subnet resource ID for the managed instance. SubnetID *string `json:"subnetId,omitempty"` // State - READ-ONLY; The state of the managed instance. State *string `json:"state,omitempty"` // LicenseType - The license type. Possible values are 'LicenseIncluded' (regular price inclusive of a new SQL license) and 'BasePrice' (discounted AHB price for bringing your own SQL licenses). Possible values include: 'ManagedInstanceLicenseTypeLicenseIncluded', 'ManagedInstanceLicenseTypeBasePrice' LicenseType ManagedInstanceLicenseType `json:"licenseType,omitempty"` // VCores - The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80. VCores *int32 `json:"vCores,omitempty"` // StorageSizeInGB - Storage size in GB. Minimum value: 32. Maximum value: 8192. Increments of 32 GB allowed only. StorageSizeInGB *int32 `json:"storageSizeInGB,omitempty"` // Collation - Collation of the managed instance. Collation *string `json:"collation,omitempty"` // DNSZone - READ-ONLY; The Dns Zone that the managed instance is in. DNSZone *string `json:"dnsZone,omitempty"` // DNSZonePartner - The resource id of another managed instance whose DNS zone this managed instance will share after creation. DNSZonePartner *string `json:"dnsZonePartner,omitempty"` // PublicDataEndpointEnabled - Whether or not the public data endpoint is enabled. PublicDataEndpointEnabled *bool `json:"publicDataEndpointEnabled,omitempty"` // SourceManagedInstanceID - The resource identifier of the source managed instance associated with create operation of this instance. SourceManagedInstanceID *string `json:"sourceManagedInstanceId,omitempty"` // RestorePointInTime - Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. RestorePointInTime *date.Time `json:"restorePointInTime,omitempty"` // ProxyOverride - Connection type used for connecting to the instance. Possible values include: 'ManagedInstanceProxyOverrideProxy', 'ManagedInstanceProxyOverrideRedirect', 'ManagedInstanceProxyOverrideDefault' ProxyOverride ManagedInstanceProxyOverride `json:"proxyOverride,omitempty"` // TimezoneID - Id of the timezone. Allowed values are timezones supported by Windows. // Windows keeps details on supported timezones, including the id, in registry under // KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones. // You can get those registry values via SQL Server by querying SELECT name AS timezone_id FROM sys.time_zone_info. // List of Ids can also be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. // An example of valid timezone id is "Pacific Standard Time" or "W. Europe Standard Time". TimezoneID *string `json:"timezoneId,omitempty"` // InstancePoolID - The Id of the instance pool this managed server belongs to. InstancePoolID *string `json:"instancePoolId,omitempty"` // MaintenanceConfigurationID - Specifies maintenance configuration id to apply to this managed instance. MaintenanceConfigurationID *string `json:"maintenanceConfigurationId,omitempty"` // PrivateEndpointConnections - READ-ONLY; List of private endpoint connections on a managed instance. PrivateEndpointConnections *[]ManagedInstancePecProperty `json:"privateEndpointConnections,omitempty"` // MinimalTLSVersion - Minimal TLS version. Allowed values: 'None', '1.0', '1.1', '1.2' MinimalTLSVersion *string `json:"minimalTlsVersion,omitempty"` // StorageAccountType - The storage account type used to store backups for this instance. The options are LRS (LocallyRedundantStorage), ZRS (ZoneRedundantStorage) and GRS (GeoRedundantStorage). Possible values include: 'StorageAccountTypeGRS', 'StorageAccountTypeLRS', 'StorageAccountTypeZRS' StorageAccountType StorageAccountType `json:"storageAccountType,omitempty"` // ZoneRedundant - Whether or not the multi-az is enabled. ZoneRedundant *bool `json:"zoneRedundant,omitempty"` // PrimaryUserAssignedIdentityID - The resource id of a user assigned identity to be used by default. PrimaryUserAssignedIdentityID *string `json:"primaryUserAssignedIdentityId,omitempty"` // KeyID - A CMK URI of the key to use for encryption. KeyID *string `json:"keyId,omitempty"` // Administrators - The Azure Active Directory administrator of the server. Administrators *ManagedInstanceExternalAdministrator `json:"administrators,omitempty"` }
ManagedInstanceProperties the properties of a managed instance.
func (ManagedInstanceProperties) MarshalJSON ¶
func (mip ManagedInstanceProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceProperties.
type ManagedInstanceProxyOverride ¶
type ManagedInstanceProxyOverride string
ManagedInstanceProxyOverride enumerates the values for managed instance proxy override.
const ( // ManagedInstanceProxyOverrideDefault ... ManagedInstanceProxyOverrideDefault ManagedInstanceProxyOverride = "Default" // ManagedInstanceProxyOverrideProxy ... ManagedInstanceProxyOverrideProxy ManagedInstanceProxyOverride = "Proxy" // ManagedInstanceProxyOverrideRedirect ... ManagedInstanceProxyOverrideRedirect ManagedInstanceProxyOverride = "Redirect" )
func PossibleManagedInstanceProxyOverrideValues ¶
func PossibleManagedInstanceProxyOverrideValues() []ManagedInstanceProxyOverride
PossibleManagedInstanceProxyOverrideValues returns an array of possible values for the ManagedInstanceProxyOverride const type.
type ManagedInstanceQuery ¶
type ManagedInstanceQuery struct { autorest.Response `json:"-"` // QueryProperties - Resource properties. *QueryProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ManagedInstanceQuery database query.
func (ManagedInstanceQuery) MarshalJSON ¶
func (miq ManagedInstanceQuery) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceQuery.
func (*ManagedInstanceQuery) UnmarshalJSON ¶
func (miq *ManagedInstanceQuery) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ManagedInstanceQuery struct.
type ManagedInstanceQueryStatistics ¶
type ManagedInstanceQueryStatistics struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]QueryStatistics `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ManagedInstanceQueryStatistics execution statistics for one particular query
func (ManagedInstanceQueryStatistics) IsEmpty ¶
func (miqs ManagedInstanceQueryStatistics) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ManagedInstanceQueryStatistics) MarshalJSON ¶
func (miqs ManagedInstanceQueryStatistics) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceQueryStatistics.
type ManagedInstanceQueryStatisticsIterator ¶
type ManagedInstanceQueryStatisticsIterator struct {
// contains filtered or unexported fields
}
ManagedInstanceQueryStatisticsIterator provides access to a complete listing of QueryStatistics values.
func NewManagedInstanceQueryStatisticsIterator ¶
func NewManagedInstanceQueryStatisticsIterator(page ManagedInstanceQueryStatisticsPage) ManagedInstanceQueryStatisticsIterator
Creates a new instance of the ManagedInstanceQueryStatisticsIterator type.
func (*ManagedInstanceQueryStatisticsIterator) Next ¶
func (iter *ManagedInstanceQueryStatisticsIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedInstanceQueryStatisticsIterator) NextWithContext ¶
func (iter *ManagedInstanceQueryStatisticsIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ManagedInstanceQueryStatisticsIterator) NotDone ¶
func (iter ManagedInstanceQueryStatisticsIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ManagedInstanceQueryStatisticsIterator) Response ¶
func (iter ManagedInstanceQueryStatisticsIterator) Response() ManagedInstanceQueryStatistics
Response returns the raw server response from the last page request.
func (ManagedInstanceQueryStatisticsIterator) Value ¶
func (iter ManagedInstanceQueryStatisticsIterator) Value() QueryStatistics
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ManagedInstanceQueryStatisticsPage ¶
type ManagedInstanceQueryStatisticsPage struct {
// contains filtered or unexported fields
}
ManagedInstanceQueryStatisticsPage contains a page of QueryStatistics values.
func NewManagedInstanceQueryStatisticsPage ¶
func NewManagedInstanceQueryStatisticsPage(cur ManagedInstanceQueryStatistics, getNextPage func(context.Context, ManagedInstanceQueryStatistics) (ManagedInstanceQueryStatistics, error)) ManagedInstanceQueryStatisticsPage
Creates a new instance of the ManagedInstanceQueryStatisticsPage type.
func (*ManagedInstanceQueryStatisticsPage) Next ¶
func (page *ManagedInstanceQueryStatisticsPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedInstanceQueryStatisticsPage) NextWithContext ¶
func (page *ManagedInstanceQueryStatisticsPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ManagedInstanceQueryStatisticsPage) NotDone ¶
func (page ManagedInstanceQueryStatisticsPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ManagedInstanceQueryStatisticsPage) Response ¶
func (page ManagedInstanceQueryStatisticsPage) Response() ManagedInstanceQueryStatistics
Response returns the raw server response from the last page request.
func (ManagedInstanceQueryStatisticsPage) Values ¶
func (page ManagedInstanceQueryStatisticsPage) Values() []QueryStatistics
Values returns the slice of values for the current page or nil if there are no values.
type ManagedInstanceTdeCertificatesClient ¶
type ManagedInstanceTdeCertificatesClient struct {
BaseClient
}
ManagedInstanceTdeCertificatesClient 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 NewManagedInstanceTdeCertificatesClient ¶
func NewManagedInstanceTdeCertificatesClient(subscriptionID string) ManagedInstanceTdeCertificatesClient
NewManagedInstanceTdeCertificatesClient creates an instance of the ManagedInstanceTdeCertificatesClient client.
func NewManagedInstanceTdeCertificatesClientWithBaseURI ¶
func NewManagedInstanceTdeCertificatesClientWithBaseURI(baseURI string, subscriptionID string) ManagedInstanceTdeCertificatesClient
NewManagedInstanceTdeCertificatesClientWithBaseURI creates an instance of the ManagedInstanceTdeCertificatesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedInstanceTdeCertificatesClient) Create ¶
func (client ManagedInstanceTdeCertificatesClient) Create(ctx context.Context, resourceGroupName string, managedInstanceName string, parameters TdeCertificate) (result ManagedInstanceTdeCertificatesCreateFuture, err error)
Create creates a TDE certificate for a given server. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. parameters - the requested TDE certificate to be created or updated.
func (ManagedInstanceTdeCertificatesClient) CreatePreparer ¶
func (client ManagedInstanceTdeCertificatesClient) CreatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, parameters TdeCertificate) (*http.Request, error)
CreatePreparer prepares the Create request.
func (ManagedInstanceTdeCertificatesClient) CreateResponder ¶
func (client ManagedInstanceTdeCertificatesClient) CreateResponder(resp *http.Response) (result autorest.Response, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (ManagedInstanceTdeCertificatesClient) CreateSender ¶
func (client ManagedInstanceTdeCertificatesClient) CreateSender(req *http.Request) (future ManagedInstanceTdeCertificatesCreateFuture, err error)
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
type ManagedInstanceTdeCertificatesCreateFuture ¶
type ManagedInstanceTdeCertificatesCreateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedInstanceTdeCertificatesClient) (autorest.Response, error) }
ManagedInstanceTdeCertificatesCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedInstanceTdeCertificatesCreateFuture) UnmarshalJSON ¶
func (future *ManagedInstanceTdeCertificatesCreateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedInstanceUpdate ¶
type ManagedInstanceUpdate struct { // Sku - Managed instance sku Sku *Sku `json:"sku,omitempty"` // Identity - Managed instance identity Identity *ResourceIdentity `json:"identity,omitempty"` // ManagedInstanceProperties - Resource properties. *ManagedInstanceProperties `json:"properties,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
ManagedInstanceUpdate an update request for an Azure SQL Database managed instance.
func (ManagedInstanceUpdate) MarshalJSON ¶
func (miu ManagedInstanceUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceUpdate.
func (*ManagedInstanceUpdate) UnmarshalJSON ¶
func (miu *ManagedInstanceUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ManagedInstanceUpdate struct.
type ManagedInstanceVcoresCapability ¶
type ManagedInstanceVcoresCapability struct { // Name - READ-ONLY; The virtual cores identifier. Name *string `json:"name,omitempty"` // Value - READ-ONLY; The virtual cores value. Value *int32 `json:"value,omitempty"` // IncludedMaxSize - READ-ONLY; Included size. IncludedMaxSize *MaxSizeCapability `json:"includedMaxSize,omitempty"` // SupportedStorageSizes - READ-ONLY; Storage size ranges. SupportedStorageSizes *[]MaxSizeRangeCapability `json:"supportedStorageSizes,omitempty"` // InstancePoolSupported - READ-ONLY; True if this service objective is supported for managed instances in an instance pool. InstancePoolSupported *bool `json:"instancePoolSupported,omitempty"` // StandaloneSupported - READ-ONLY; True if this service objective is supported for standalone managed instances. StandaloneSupported *bool `json:"standaloneSupported,omitempty"` // SupportedMaintenanceConfigurations - READ-ONLY; List of supported maintenance configurations SupportedMaintenanceConfigurations *[]ManagedInstanceMaintenanceConfigurationCapability `json:"supportedMaintenanceConfigurations,omitempty"` // Status - READ-ONLY; The status of the capability. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // Reason - The reason for the capability not being available. Reason *string `json:"reason,omitempty"` }
ManagedInstanceVcoresCapability the managed instance virtual cores capability.
func (ManagedInstanceVcoresCapability) MarshalJSON ¶
func (mivc ManagedInstanceVcoresCapability) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceVcoresCapability.
type ManagedInstanceVersionCapability ¶
type ManagedInstanceVersionCapability struct { // Name - READ-ONLY; The server version name. Name *string `json:"name,omitempty"` // SupportedEditions - READ-ONLY; The list of supported managed instance editions. SupportedEditions *[]ManagedInstanceEditionCapability `json:"supportedEditions,omitempty"` // SupportedInstancePoolEditions - READ-ONLY; The list of supported instance pool editions. SupportedInstancePoolEditions *[]InstancePoolEditionCapability `json:"supportedInstancePoolEditions,omitempty"` // Status - READ-ONLY; The status of the capability. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // Reason - The reason for the capability not being available. Reason *string `json:"reason,omitempty"` }
ManagedInstanceVersionCapability the managed instance capability
func (ManagedInstanceVersionCapability) MarshalJSON ¶
func (mivc ManagedInstanceVersionCapability) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceVersionCapability.
type ManagedInstanceVulnerabilityAssessment ¶
type ManagedInstanceVulnerabilityAssessment struct { autorest.Response `json:"-"` // ManagedInstanceVulnerabilityAssessmentProperties - Resource properties. *ManagedInstanceVulnerabilityAssessmentProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ManagedInstanceVulnerabilityAssessment a managed instance vulnerability assessment.
func (ManagedInstanceVulnerabilityAssessment) MarshalJSON ¶
func (miva ManagedInstanceVulnerabilityAssessment) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceVulnerabilityAssessment.
func (*ManagedInstanceVulnerabilityAssessment) UnmarshalJSON ¶
func (miva *ManagedInstanceVulnerabilityAssessment) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ManagedInstanceVulnerabilityAssessment struct.
type ManagedInstanceVulnerabilityAssessmentListResult ¶
type ManagedInstanceVulnerabilityAssessmentListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ManagedInstanceVulnerabilityAssessment `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ManagedInstanceVulnerabilityAssessmentListResult a list of the ManagedInstance's vulnerability assessments.
func (ManagedInstanceVulnerabilityAssessmentListResult) IsEmpty ¶
func (mivalr ManagedInstanceVulnerabilityAssessmentListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ManagedInstanceVulnerabilityAssessmentListResult) MarshalJSON ¶
func (mivalr ManagedInstanceVulnerabilityAssessmentListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedInstanceVulnerabilityAssessmentListResult.
type ManagedInstanceVulnerabilityAssessmentListResultIterator ¶
type ManagedInstanceVulnerabilityAssessmentListResultIterator struct {
// contains filtered or unexported fields
}
ManagedInstanceVulnerabilityAssessmentListResultIterator provides access to a complete listing of ManagedInstanceVulnerabilityAssessment values.
func NewManagedInstanceVulnerabilityAssessmentListResultIterator ¶
func NewManagedInstanceVulnerabilityAssessmentListResultIterator(page ManagedInstanceVulnerabilityAssessmentListResultPage) ManagedInstanceVulnerabilityAssessmentListResultIterator
Creates a new instance of the ManagedInstanceVulnerabilityAssessmentListResultIterator type.
func (*ManagedInstanceVulnerabilityAssessmentListResultIterator) Next ¶
func (iter *ManagedInstanceVulnerabilityAssessmentListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedInstanceVulnerabilityAssessmentListResultIterator) NextWithContext ¶
func (iter *ManagedInstanceVulnerabilityAssessmentListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ManagedInstanceVulnerabilityAssessmentListResultIterator) NotDone ¶
func (iter ManagedInstanceVulnerabilityAssessmentListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ManagedInstanceVulnerabilityAssessmentListResultIterator) Response ¶
func (iter ManagedInstanceVulnerabilityAssessmentListResultIterator) Response() ManagedInstanceVulnerabilityAssessmentListResult
Response returns the raw server response from the last page request.
func (ManagedInstanceVulnerabilityAssessmentListResultIterator) Value ¶
func (iter ManagedInstanceVulnerabilityAssessmentListResultIterator) Value() ManagedInstanceVulnerabilityAssessment
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ManagedInstanceVulnerabilityAssessmentListResultPage ¶
type ManagedInstanceVulnerabilityAssessmentListResultPage struct {
// contains filtered or unexported fields
}
ManagedInstanceVulnerabilityAssessmentListResultPage contains a page of ManagedInstanceVulnerabilityAssessment values.
func NewManagedInstanceVulnerabilityAssessmentListResultPage ¶
func NewManagedInstanceVulnerabilityAssessmentListResultPage(cur ManagedInstanceVulnerabilityAssessmentListResult, getNextPage func(context.Context, ManagedInstanceVulnerabilityAssessmentListResult) (ManagedInstanceVulnerabilityAssessmentListResult, error)) ManagedInstanceVulnerabilityAssessmentListResultPage
Creates a new instance of the ManagedInstanceVulnerabilityAssessmentListResultPage type.
func (*ManagedInstanceVulnerabilityAssessmentListResultPage) Next ¶
func (page *ManagedInstanceVulnerabilityAssessmentListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedInstanceVulnerabilityAssessmentListResultPage) NextWithContext ¶
func (page *ManagedInstanceVulnerabilityAssessmentListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ManagedInstanceVulnerabilityAssessmentListResultPage) NotDone ¶
func (page ManagedInstanceVulnerabilityAssessmentListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ManagedInstanceVulnerabilityAssessmentListResultPage) Response ¶
func (page ManagedInstanceVulnerabilityAssessmentListResultPage) Response() ManagedInstanceVulnerabilityAssessmentListResult
Response returns the raw server response from the last page request.
func (ManagedInstanceVulnerabilityAssessmentListResultPage) Values ¶
func (page ManagedInstanceVulnerabilityAssessmentListResultPage) Values() []ManagedInstanceVulnerabilityAssessment
Values returns the slice of values for the current page or nil if there are no values.
type ManagedInstanceVulnerabilityAssessmentProperties ¶
type ManagedInstanceVulnerabilityAssessmentProperties struct { // StorageContainerPath - A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). StorageContainerPath *string `json:"storageContainerPath,omitempty"` // StorageContainerSasKey - A shared access signature (SAS Key) that has write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required. Applies only if the storage account is not behind a Vnet or a firewall StorageContainerSasKey *string `json:"storageContainerSasKey,omitempty"` // StorageAccountAccessKey - Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. Applies only if the storage account is not behind a Vnet or a firewall StorageAccountAccessKey *string `json:"storageAccountAccessKey,omitempty"` // RecurringScans - The recurring scans settings RecurringScans *VulnerabilityAssessmentRecurringScansProperties `json:"recurringScans,omitempty"` }
ManagedInstanceVulnerabilityAssessmentProperties properties of a managed instance vulnerability assessment.
type ManagedInstanceVulnerabilityAssessmentsClient ¶
type ManagedInstanceVulnerabilityAssessmentsClient struct {
BaseClient
}
ManagedInstanceVulnerabilityAssessmentsClient 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 NewManagedInstanceVulnerabilityAssessmentsClient ¶
func NewManagedInstanceVulnerabilityAssessmentsClient(subscriptionID string) ManagedInstanceVulnerabilityAssessmentsClient
NewManagedInstanceVulnerabilityAssessmentsClient creates an instance of the ManagedInstanceVulnerabilityAssessmentsClient client.
func NewManagedInstanceVulnerabilityAssessmentsClientWithBaseURI ¶
func NewManagedInstanceVulnerabilityAssessmentsClientWithBaseURI(baseURI string, subscriptionID string) ManagedInstanceVulnerabilityAssessmentsClient
NewManagedInstanceVulnerabilityAssessmentsClientWithBaseURI creates an instance of the ManagedInstanceVulnerabilityAssessmentsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedInstanceVulnerabilityAssessmentsClient) CreateOrUpdate ¶
func (client ManagedInstanceVulnerabilityAssessmentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, parameters ManagedInstanceVulnerabilityAssessment) (result ManagedInstanceVulnerabilityAssessment, err error)
CreateOrUpdate creates or updates the managed instance's vulnerability assessment. Learn more about setting SQL vulnerability assessment with managed identity - https://docs.microsoft.com/azure/azure-sql/database/sql-database-vulnerability-assessment-storage Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance for which the vulnerability assessment is defined. parameters - the requested resource.
func (ManagedInstanceVulnerabilityAssessmentsClient) CreateOrUpdatePreparer ¶
func (client ManagedInstanceVulnerabilityAssessmentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, parameters ManagedInstanceVulnerabilityAssessment) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ManagedInstanceVulnerabilityAssessmentsClient) CreateOrUpdateResponder ¶
func (client ManagedInstanceVulnerabilityAssessmentsClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedInstanceVulnerabilityAssessment, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ManagedInstanceVulnerabilityAssessmentsClient) CreateOrUpdateSender ¶
func (client ManagedInstanceVulnerabilityAssessmentsClient) 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 (ManagedInstanceVulnerabilityAssessmentsClient) Delete ¶
func (client ManagedInstanceVulnerabilityAssessmentsClient) Delete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result autorest.Response, err error)
Delete removes the managed instance's vulnerability assessment. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance for which the vulnerability assessment is defined.
func (ManagedInstanceVulnerabilityAssessmentsClient) DeletePreparer ¶
func (client ManagedInstanceVulnerabilityAssessmentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ManagedInstanceVulnerabilityAssessmentsClient) DeleteResponder ¶
func (client ManagedInstanceVulnerabilityAssessmentsClient) 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 (ManagedInstanceVulnerabilityAssessmentsClient) DeleteSender ¶
func (client ManagedInstanceVulnerabilityAssessmentsClient) 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 (ManagedInstanceVulnerabilityAssessmentsClient) Get ¶
func (client ManagedInstanceVulnerabilityAssessmentsClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceVulnerabilityAssessment, err error)
Get gets the managed instance's vulnerability assessment. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance for which the vulnerability assessment is defined.
func (ManagedInstanceVulnerabilityAssessmentsClient) GetPreparer ¶
func (client ManagedInstanceVulnerabilityAssessmentsClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagedInstanceVulnerabilityAssessmentsClient) GetResponder ¶
func (client ManagedInstanceVulnerabilityAssessmentsClient) GetResponder(resp *http.Response) (result ManagedInstanceVulnerabilityAssessment, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagedInstanceVulnerabilityAssessmentsClient) GetSender ¶
func (client ManagedInstanceVulnerabilityAssessmentsClient) 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 (ManagedInstanceVulnerabilityAssessmentsClient) ListByInstance ¶
func (client ManagedInstanceVulnerabilityAssessmentsClient) ListByInstance(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceVulnerabilityAssessmentListResultPage, err error)
ListByInstance gets the managed instance's vulnerability assessment policies. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance for which the vulnerability assessments is defined.
func (ManagedInstanceVulnerabilityAssessmentsClient) ListByInstanceComplete ¶
func (client ManagedInstanceVulnerabilityAssessmentsClient) ListByInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstanceVulnerabilityAssessmentListResultIterator, err error)
ListByInstanceComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedInstanceVulnerabilityAssessmentsClient) ListByInstancePreparer ¶
func (client ManagedInstanceVulnerabilityAssessmentsClient) ListByInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
ListByInstancePreparer prepares the ListByInstance request.
func (ManagedInstanceVulnerabilityAssessmentsClient) ListByInstanceResponder ¶
func (client ManagedInstanceVulnerabilityAssessmentsClient) ListByInstanceResponder(resp *http.Response) (result ManagedInstanceVulnerabilityAssessmentListResult, err error)
ListByInstanceResponder handles the response to the ListByInstance request. The method always closes the http.Response Body.
func (ManagedInstanceVulnerabilityAssessmentsClient) ListByInstanceSender ¶
func (client ManagedInstanceVulnerabilityAssessmentsClient) ListByInstanceSender(req *http.Request) (*http.Response, error)
ListByInstanceSender sends the ListByInstance request. The method will close the http.Response Body if it receives an error.
type ManagedInstancesClient ¶
type ManagedInstancesClient struct {
BaseClient
}
ManagedInstancesClient 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 NewManagedInstancesClient ¶
func NewManagedInstancesClient(subscriptionID string) ManagedInstancesClient
NewManagedInstancesClient creates an instance of the ManagedInstancesClient client.
func NewManagedInstancesClientWithBaseURI ¶
func NewManagedInstancesClientWithBaseURI(baseURI string, subscriptionID string) ManagedInstancesClient
NewManagedInstancesClientWithBaseURI creates an instance of the ManagedInstancesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedInstancesClient) CreateOrUpdate ¶
func (client ManagedInstancesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, parameters ManagedInstance) (result ManagedInstancesCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a managed instance. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. parameters - the requested managed instance resource state.
func (ManagedInstancesClient) CreateOrUpdatePreparer ¶
func (client ManagedInstancesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, parameters ManagedInstance) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ManagedInstancesClient) CreateOrUpdateResponder ¶
func (client ManagedInstancesClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedInstance, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ManagedInstancesClient) CreateOrUpdateSender ¶
func (client ManagedInstancesClient) CreateOrUpdateSender(req *http.Request) (future ManagedInstancesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ManagedInstancesClient) Delete ¶
func (client ManagedInstancesClient) Delete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedInstancesDeleteFuture, err error)
Delete deletes a managed instance. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (ManagedInstancesClient) DeletePreparer ¶
func (client ManagedInstancesClient) DeletePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ManagedInstancesClient) DeleteResponder ¶
func (client ManagedInstancesClient) 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 (ManagedInstancesClient) DeleteSender ¶
func (client ManagedInstancesClient) DeleteSender(req *http.Request) (future ManagedInstancesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ManagedInstancesClient) Failover ¶
func (client ManagedInstancesClient) Failover(ctx context.Context, resourceGroupName string, managedInstanceName string, replicaType ReplicaType) (result ManagedInstancesFailoverFuture, err error)
Failover failovers a managed instance. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance to failover. replicaType - the type of replica to be failed over.
func (ManagedInstancesClient) FailoverPreparer ¶
func (client ManagedInstancesClient) FailoverPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, replicaType ReplicaType) (*http.Request, error)
FailoverPreparer prepares the Failover request.
func (ManagedInstancesClient) FailoverResponder ¶
func (client ManagedInstancesClient) 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 (ManagedInstancesClient) FailoverSender ¶
func (client ManagedInstancesClient) FailoverSender(req *http.Request) (future ManagedInstancesFailoverFuture, err error)
FailoverSender sends the Failover request. The method will close the http.Response Body if it receives an error.
func (ManagedInstancesClient) Get ¶
func (client ManagedInstancesClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, expand string) (result ManagedInstance, err error)
Get gets a managed instance. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. expand - the child resources to include in the response.
func (ManagedInstancesClient) GetPreparer ¶
func (client ManagedInstancesClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagedInstancesClient) GetResponder ¶
func (client ManagedInstancesClient) GetResponder(resp *http.Response) (result ManagedInstance, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagedInstancesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ManagedInstancesClient) List ¶
func (client ManagedInstancesClient) List(ctx context.Context, expand string) (result ManagedInstanceListResultPage, err error)
List gets a list of all managed instances in the subscription. Parameters: expand - the child resources to include in the response.
func (ManagedInstancesClient) ListByInstancePool ¶
func (client ManagedInstancesClient) ListByInstancePool(ctx context.Context, resourceGroupName string, instancePoolName string, expand string) (result ManagedInstanceListResultPage, err error)
ListByInstancePool gets a list of all managed instances in an instance pool. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. instancePoolName - the instance pool name. expand - the child resources to include in the response.
func (ManagedInstancesClient) ListByInstancePoolComplete ¶
func (client ManagedInstancesClient) ListByInstancePoolComplete(ctx context.Context, resourceGroupName string, instancePoolName string, expand string) (result ManagedInstanceListResultIterator, err error)
ListByInstancePoolComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedInstancesClient) ListByInstancePoolPreparer ¶
func (client ManagedInstancesClient) ListByInstancePoolPreparer(ctx context.Context, resourceGroupName string, instancePoolName string, expand string) (*http.Request, error)
ListByInstancePoolPreparer prepares the ListByInstancePool request.
func (ManagedInstancesClient) ListByInstancePoolResponder ¶
func (client ManagedInstancesClient) ListByInstancePoolResponder(resp *http.Response) (result ManagedInstanceListResult, err error)
ListByInstancePoolResponder handles the response to the ListByInstancePool request. The method always closes the http.Response Body.
func (ManagedInstancesClient) ListByInstancePoolSender ¶
func (client ManagedInstancesClient) ListByInstancePoolSender(req *http.Request) (*http.Response, error)
ListByInstancePoolSender sends the ListByInstancePool request. The method will close the http.Response Body if it receives an error.
func (ManagedInstancesClient) ListByManagedInstance ¶
func (client ManagedInstancesClient) ListByManagedInstance(ctx context.Context, resourceGroupName string, managedInstanceName string, numberOfQueries *int32, databases string, startTime string, endTime string, interval QueryTimeGrainType, aggregationFunction AggregationFunctionType, observationMetric MetricType) (result TopQueriesListResultPage, err error)
ListByManagedInstance get top resource consuming queries of a managed instance. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. numberOfQueries - how many 'top queries' to return. Default is 5. databases - comma separated list of databases to be included into search. All DB's are included if this parameter is not specified. startTime - start time for observed period. endTime - end time for observed period. interval - the time step to be used to summarize the metric values. Default value is PT1H aggregationFunction - aggregation function to be used, default value is 'sum' observationMetric - metric to be used for ranking top queries. Default is 'cpu'
func (ManagedInstancesClient) ListByManagedInstanceComplete ¶
func (client ManagedInstancesClient) ListByManagedInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, numberOfQueries *int32, databases string, startTime string, endTime string, interval QueryTimeGrainType, aggregationFunction AggregationFunctionType, observationMetric MetricType) (result TopQueriesListResultIterator, err error)
ListByManagedInstanceComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedInstancesClient) ListByManagedInstancePreparer ¶
func (client ManagedInstancesClient) ListByManagedInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, numberOfQueries *int32, databases string, startTime string, endTime string, interval QueryTimeGrainType, aggregationFunction AggregationFunctionType, observationMetric MetricType) (*http.Request, error)
ListByManagedInstancePreparer prepares the ListByManagedInstance request.
func (ManagedInstancesClient) ListByManagedInstanceResponder ¶
func (client ManagedInstancesClient) ListByManagedInstanceResponder(resp *http.Response) (result TopQueriesListResult, err error)
ListByManagedInstanceResponder handles the response to the ListByManagedInstance request. The method always closes the http.Response Body.
func (ManagedInstancesClient) ListByManagedInstanceSender ¶
func (client ManagedInstancesClient) ListByManagedInstanceSender(req *http.Request) (*http.Response, error)
ListByManagedInstanceSender sends the ListByManagedInstance request. The method will close the http.Response Body if it receives an error.
func (ManagedInstancesClient) ListByResourceGroup ¶
func (client ManagedInstancesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, expand string) (result ManagedInstanceListResultPage, err error)
ListByResourceGroup gets a list of managed instances in a resource group. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. expand - the child resources to include in the response.
func (ManagedInstancesClient) ListByResourceGroupComplete ¶
func (client ManagedInstancesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, expand string) (result ManagedInstanceListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedInstancesClient) ListByResourceGroupPreparer ¶
func (client ManagedInstancesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, expand string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (ManagedInstancesClient) ListByResourceGroupResponder ¶
func (client ManagedInstancesClient) ListByResourceGroupResponder(resp *http.Response) (result ManagedInstanceListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (ManagedInstancesClient) ListByResourceGroupSender ¶
func (client ManagedInstancesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (ManagedInstancesClient) ListComplete ¶
func (client ManagedInstancesClient) ListComplete(ctx context.Context, expand string) (result ManagedInstanceListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedInstancesClient) ListPreparer ¶
func (client ManagedInstancesClient) ListPreparer(ctx context.Context, expand string) (*http.Request, error)
ListPreparer prepares the List request.
func (ManagedInstancesClient) ListResponder ¶
func (client ManagedInstancesClient) ListResponder(resp *http.Response) (result ManagedInstanceListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ManagedInstancesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (ManagedInstancesClient) Update ¶
func (client ManagedInstancesClient) Update(ctx context.Context, resourceGroupName string, managedInstanceName string, parameters ManagedInstanceUpdate) (result ManagedInstancesUpdateFuture, err error)
Update updates a managed instance. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. parameters - the requested managed instance resource state.
func (ManagedInstancesClient) UpdatePreparer ¶
func (client ManagedInstancesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, parameters ManagedInstanceUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ManagedInstancesClient) UpdateResponder ¶
func (client ManagedInstancesClient) UpdateResponder(resp *http.Response) (result ManagedInstance, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ManagedInstancesClient) UpdateSender ¶
func (client ManagedInstancesClient) UpdateSender(req *http.Request) (future ManagedInstancesUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ManagedInstancesCreateOrUpdateFuture ¶
type ManagedInstancesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedInstancesClient) (ManagedInstance, error) }
ManagedInstancesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedInstancesCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *ManagedInstancesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedInstancesDeleteFuture ¶
type ManagedInstancesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedInstancesClient) (autorest.Response, error) }
ManagedInstancesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedInstancesDeleteFuture) UnmarshalJSON ¶
func (future *ManagedInstancesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedInstancesFailoverFuture ¶
type ManagedInstancesFailoverFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedInstancesClient) (autorest.Response, error) }
ManagedInstancesFailoverFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedInstancesFailoverFuture) UnmarshalJSON ¶
func (future *ManagedInstancesFailoverFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedInstancesUpdateFuture ¶
type ManagedInstancesUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedInstancesClient) (ManagedInstance, error) }
ManagedInstancesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedInstancesUpdateFuture) UnmarshalJSON ¶
func (future *ManagedInstancesUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient ¶
type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient struct {
BaseClient
}
ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient 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 NewManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient ¶
func NewManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient(subscriptionID string) ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient
NewManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient creates an instance of the ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient client.
func NewManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClientWithBaseURI ¶
func NewManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient
NewManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClientWithBaseURI creates an instance of the ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) CreateOrUpdate ¶
func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, restorableDroppedDatabaseID string, parameters ManagedBackupShortTermRetentionPolicy) (result ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateFuture, err error)
CreateOrUpdate sets a database's short term retention policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. parameters - the short term retention policy info.
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) CreateOrUpdatePreparer ¶
func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, restorableDroppedDatabaseID string, parameters ManagedBackupShortTermRetentionPolicy) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) CreateOrUpdateResponder ¶
func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedBackupShortTermRetentionPolicy, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) CreateOrUpdateSender ¶
func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) CreateOrUpdateSender(req *http.Request) (future ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) Get ¶
func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, restorableDroppedDatabaseID string) (result ManagedBackupShortTermRetentionPolicy, err error)
Get gets a dropped database's short term retention policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) GetPreparer ¶
func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, restorableDroppedDatabaseID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) GetResponder ¶
func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) GetResponder(resp *http.Response) (result ManagedBackupShortTermRetentionPolicy, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) GetSender ¶
func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) 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 (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabase ¶
func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabase(ctx context.Context, resourceGroupName string, managedInstanceName string, restorableDroppedDatabaseID string) (result ManagedBackupShortTermRetentionPolicyListResultPage, err error)
ListByRestorableDroppedDatabase gets a dropped database's short term retention policy list. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabaseComplete ¶
func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabaseComplete(ctx context.Context, resourceGroupName string, managedInstanceName string, restorableDroppedDatabaseID string) (result ManagedBackupShortTermRetentionPolicyListResultIterator, err error)
ListByRestorableDroppedDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabasePreparer ¶
func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabasePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, restorableDroppedDatabaseID string) (*http.Request, error)
ListByRestorableDroppedDatabasePreparer prepares the ListByRestorableDroppedDatabase request.
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabaseResponder ¶
func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabaseResponder(resp *http.Response) (result ManagedBackupShortTermRetentionPolicyListResult, err error)
ListByRestorableDroppedDatabaseResponder handles the response to the ListByRestorableDroppedDatabase request. The method always closes the http.Response Body.
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabaseSender ¶
func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabaseSender(req *http.Request) (*http.Response, error)
ListByRestorableDroppedDatabaseSender sends the ListByRestorableDroppedDatabase request. The method will close the http.Response Body if it receives an error.
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) Update ¶
func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) Update(ctx context.Context, resourceGroupName string, managedInstanceName string, restorableDroppedDatabaseID string, parameters ManagedBackupShortTermRetentionPolicy) (result ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpdateFuture, err error)
Update sets a database's short term retention policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. parameters - the short term retention policy info.
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) UpdatePreparer ¶
func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, restorableDroppedDatabaseID string, parameters ManagedBackupShortTermRetentionPolicy) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) UpdateResponder ¶
func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) UpdateResponder(resp *http.Response) (result ManagedBackupShortTermRetentionPolicy, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) UpdateSender ¶
func (client ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) UpdateSender(req *http.Request) (future ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateFuture ¶
type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) (ManagedBackupShortTermRetentionPolicy, error) }
ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpdateFuture ¶
type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) (ManagedBackupShortTermRetentionPolicy, error) }
ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpdateFuture) UnmarshalJSON ¶
func (future *ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedServerCreateMode ¶
type ManagedServerCreateMode string
ManagedServerCreateMode enumerates the values for managed server create mode.
const ( // ManagedServerCreateModeDefault ... ManagedServerCreateModeDefault ManagedServerCreateMode = "Default" // ManagedServerCreateModePointInTimeRestore ... ManagedServerCreateModePointInTimeRestore ManagedServerCreateMode = "PointInTimeRestore" )
func PossibleManagedServerCreateModeValues ¶
func PossibleManagedServerCreateModeValues() []ManagedServerCreateMode
PossibleManagedServerCreateModeValues returns an array of possible values for the ManagedServerCreateMode const type.
type ManagedServerSecurityAlertPoliciesClient ¶
type ManagedServerSecurityAlertPoliciesClient struct {
BaseClient
}
ManagedServerSecurityAlertPoliciesClient 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 NewManagedServerSecurityAlertPoliciesClient ¶
func NewManagedServerSecurityAlertPoliciesClient(subscriptionID string) ManagedServerSecurityAlertPoliciesClient
NewManagedServerSecurityAlertPoliciesClient creates an instance of the ManagedServerSecurityAlertPoliciesClient client.
func NewManagedServerSecurityAlertPoliciesClientWithBaseURI ¶
func NewManagedServerSecurityAlertPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ManagedServerSecurityAlertPoliciesClient
NewManagedServerSecurityAlertPoliciesClientWithBaseURI creates an instance of the ManagedServerSecurityAlertPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedServerSecurityAlertPoliciesClient) CreateOrUpdate ¶
func (client ManagedServerSecurityAlertPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managedInstanceName string, parameters ManagedServerSecurityAlertPolicy) (result ManagedServerSecurityAlertPoliciesCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a threat detection policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance. parameters - the managed server security alert policy.
func (ManagedServerSecurityAlertPoliciesClient) CreateOrUpdatePreparer ¶
func (client ManagedServerSecurityAlertPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, parameters ManagedServerSecurityAlertPolicy) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ManagedServerSecurityAlertPoliciesClient) CreateOrUpdateResponder ¶
func (client ManagedServerSecurityAlertPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedServerSecurityAlertPolicy, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ManagedServerSecurityAlertPoliciesClient) CreateOrUpdateSender ¶
func (client ManagedServerSecurityAlertPoliciesClient) CreateOrUpdateSender(req *http.Request) (future ManagedServerSecurityAlertPoliciesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ManagedServerSecurityAlertPoliciesClient) Get ¶
func (client ManagedServerSecurityAlertPoliciesClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedServerSecurityAlertPolicy, err error)
Get get a managed server's threat detection policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (ManagedServerSecurityAlertPoliciesClient) GetPreparer ¶
func (client ManagedServerSecurityAlertPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagedServerSecurityAlertPoliciesClient) GetResponder ¶
func (client ManagedServerSecurityAlertPoliciesClient) GetResponder(resp *http.Response) (result ManagedServerSecurityAlertPolicy, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagedServerSecurityAlertPoliciesClient) GetSender ¶
func (client ManagedServerSecurityAlertPoliciesClient) 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 (ManagedServerSecurityAlertPoliciesClient) ListByInstance ¶
func (client ManagedServerSecurityAlertPoliciesClient) ListByInstance(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedServerSecurityAlertPolicyListResultPage, err error)
ListByInstance get the managed server's threat detection policies. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (ManagedServerSecurityAlertPoliciesClient) ListByInstanceComplete ¶
func (client ManagedServerSecurityAlertPoliciesClient) ListByInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ManagedServerSecurityAlertPolicyListResultIterator, err error)
ListByInstanceComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedServerSecurityAlertPoliciesClient) ListByInstancePreparer ¶
func (client ManagedServerSecurityAlertPoliciesClient) ListByInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
ListByInstancePreparer prepares the ListByInstance request.
func (ManagedServerSecurityAlertPoliciesClient) ListByInstanceResponder ¶
func (client ManagedServerSecurityAlertPoliciesClient) ListByInstanceResponder(resp *http.Response) (result ManagedServerSecurityAlertPolicyListResult, err error)
ListByInstanceResponder handles the response to the ListByInstance request. The method always closes the http.Response Body.
func (ManagedServerSecurityAlertPoliciesClient) ListByInstanceSender ¶
func (client ManagedServerSecurityAlertPoliciesClient) ListByInstanceSender(req *http.Request) (*http.Response, error)
ListByInstanceSender sends the ListByInstance request. The method will close the http.Response Body if it receives an error.
type ManagedServerSecurityAlertPoliciesCreateOrUpdateFuture ¶
type ManagedServerSecurityAlertPoliciesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedServerSecurityAlertPoliciesClient) (ManagedServerSecurityAlertPolicy, error) }
ManagedServerSecurityAlertPoliciesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedServerSecurityAlertPoliciesCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *ManagedServerSecurityAlertPoliciesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedServerSecurityAlertPolicy ¶
type ManagedServerSecurityAlertPolicy struct { autorest.Response `json:"-"` // SystemData - READ-ONLY; SystemData of SecurityAlertPolicyResource. SystemData *SystemData `json:"systemData,omitempty"` // SecurityAlertsPolicyProperties - Resource properties. *SecurityAlertsPolicyProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ManagedServerSecurityAlertPolicy a managed server security alert policy.
func (ManagedServerSecurityAlertPolicy) MarshalJSON ¶
func (mssap ManagedServerSecurityAlertPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedServerSecurityAlertPolicy.
func (*ManagedServerSecurityAlertPolicy) UnmarshalJSON ¶
func (mssap *ManagedServerSecurityAlertPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ManagedServerSecurityAlertPolicy struct.
type ManagedServerSecurityAlertPolicyListResult ¶
type ManagedServerSecurityAlertPolicyListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ManagedServerSecurityAlertPolicy `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ManagedServerSecurityAlertPolicyListResult a list of the managed Server's security alert policies.
func (ManagedServerSecurityAlertPolicyListResult) IsEmpty ¶
func (mssaplr ManagedServerSecurityAlertPolicyListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ManagedServerSecurityAlertPolicyListResult) MarshalJSON ¶
func (mssaplr ManagedServerSecurityAlertPolicyListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedServerSecurityAlertPolicyListResult.
type ManagedServerSecurityAlertPolicyListResultIterator ¶
type ManagedServerSecurityAlertPolicyListResultIterator struct {
// contains filtered or unexported fields
}
ManagedServerSecurityAlertPolicyListResultIterator provides access to a complete listing of ManagedServerSecurityAlertPolicy values.
func NewManagedServerSecurityAlertPolicyListResultIterator ¶
func NewManagedServerSecurityAlertPolicyListResultIterator(page ManagedServerSecurityAlertPolicyListResultPage) ManagedServerSecurityAlertPolicyListResultIterator
Creates a new instance of the ManagedServerSecurityAlertPolicyListResultIterator type.
func (*ManagedServerSecurityAlertPolicyListResultIterator) Next ¶
func (iter *ManagedServerSecurityAlertPolicyListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedServerSecurityAlertPolicyListResultIterator) NextWithContext ¶
func (iter *ManagedServerSecurityAlertPolicyListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ManagedServerSecurityAlertPolicyListResultIterator) NotDone ¶
func (iter ManagedServerSecurityAlertPolicyListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ManagedServerSecurityAlertPolicyListResultIterator) Response ¶
func (iter ManagedServerSecurityAlertPolicyListResultIterator) Response() ManagedServerSecurityAlertPolicyListResult
Response returns the raw server response from the last page request.
func (ManagedServerSecurityAlertPolicyListResultIterator) Value ¶
func (iter ManagedServerSecurityAlertPolicyListResultIterator) Value() ManagedServerSecurityAlertPolicy
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ManagedServerSecurityAlertPolicyListResultPage ¶
type ManagedServerSecurityAlertPolicyListResultPage struct {
// contains filtered or unexported fields
}
ManagedServerSecurityAlertPolicyListResultPage contains a page of ManagedServerSecurityAlertPolicy values.
func NewManagedServerSecurityAlertPolicyListResultPage ¶
func NewManagedServerSecurityAlertPolicyListResultPage(cur ManagedServerSecurityAlertPolicyListResult, getNextPage func(context.Context, ManagedServerSecurityAlertPolicyListResult) (ManagedServerSecurityAlertPolicyListResult, error)) ManagedServerSecurityAlertPolicyListResultPage
Creates a new instance of the ManagedServerSecurityAlertPolicyListResultPage type.
func (*ManagedServerSecurityAlertPolicyListResultPage) Next ¶
func (page *ManagedServerSecurityAlertPolicyListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedServerSecurityAlertPolicyListResultPage) NextWithContext ¶
func (page *ManagedServerSecurityAlertPolicyListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ManagedServerSecurityAlertPolicyListResultPage) NotDone ¶
func (page ManagedServerSecurityAlertPolicyListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ManagedServerSecurityAlertPolicyListResultPage) Response ¶
func (page ManagedServerSecurityAlertPolicyListResultPage) Response() ManagedServerSecurityAlertPolicyListResult
Response returns the raw server response from the last page request.
func (ManagedServerSecurityAlertPolicyListResultPage) Values ¶
func (page ManagedServerSecurityAlertPolicyListResultPage) Values() []ManagedServerSecurityAlertPolicy
Values returns the slice of values for the current page or nil if there are no values.
type ManagedTransparentDataEncryption ¶
type ManagedTransparentDataEncryption struct { autorest.Response `json:"-"` // ManagedTransparentDataEncryptionProperties - Resource properties. *ManagedTransparentDataEncryptionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ManagedTransparentDataEncryption a managed database transparent data encryption state.
func (ManagedTransparentDataEncryption) MarshalJSON ¶
func (mtde ManagedTransparentDataEncryption) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedTransparentDataEncryption.
func (*ManagedTransparentDataEncryption) UnmarshalJSON ¶
func (mtde *ManagedTransparentDataEncryption) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ManagedTransparentDataEncryption struct.
type ManagedTransparentDataEncryptionListResult ¶
type ManagedTransparentDataEncryptionListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ManagedTransparentDataEncryption `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ManagedTransparentDataEncryptionListResult a list of managed transparent data encryptions
func (ManagedTransparentDataEncryptionListResult) IsEmpty ¶
func (mtdelr ManagedTransparentDataEncryptionListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ManagedTransparentDataEncryptionListResult) MarshalJSON ¶
func (mtdelr ManagedTransparentDataEncryptionListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedTransparentDataEncryptionListResult.
type ManagedTransparentDataEncryptionListResultIterator ¶
type ManagedTransparentDataEncryptionListResultIterator struct {
// contains filtered or unexported fields
}
ManagedTransparentDataEncryptionListResultIterator provides access to a complete listing of ManagedTransparentDataEncryption values.
func NewManagedTransparentDataEncryptionListResultIterator ¶
func NewManagedTransparentDataEncryptionListResultIterator(page ManagedTransparentDataEncryptionListResultPage) ManagedTransparentDataEncryptionListResultIterator
Creates a new instance of the ManagedTransparentDataEncryptionListResultIterator type.
func (*ManagedTransparentDataEncryptionListResultIterator) Next ¶
func (iter *ManagedTransparentDataEncryptionListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedTransparentDataEncryptionListResultIterator) NextWithContext ¶
func (iter *ManagedTransparentDataEncryptionListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ManagedTransparentDataEncryptionListResultIterator) NotDone ¶
func (iter ManagedTransparentDataEncryptionListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ManagedTransparentDataEncryptionListResultIterator) Response ¶
func (iter ManagedTransparentDataEncryptionListResultIterator) Response() ManagedTransparentDataEncryptionListResult
Response returns the raw server response from the last page request.
func (ManagedTransparentDataEncryptionListResultIterator) Value ¶
func (iter ManagedTransparentDataEncryptionListResultIterator) Value() ManagedTransparentDataEncryption
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ManagedTransparentDataEncryptionListResultPage ¶
type ManagedTransparentDataEncryptionListResultPage struct {
// contains filtered or unexported fields
}
ManagedTransparentDataEncryptionListResultPage contains a page of ManagedTransparentDataEncryption values.
func NewManagedTransparentDataEncryptionListResultPage ¶
func NewManagedTransparentDataEncryptionListResultPage(cur ManagedTransparentDataEncryptionListResult, getNextPage func(context.Context, ManagedTransparentDataEncryptionListResult) (ManagedTransparentDataEncryptionListResult, error)) ManagedTransparentDataEncryptionListResultPage
Creates a new instance of the ManagedTransparentDataEncryptionListResultPage type.
func (*ManagedTransparentDataEncryptionListResultPage) Next ¶
func (page *ManagedTransparentDataEncryptionListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedTransparentDataEncryptionListResultPage) NextWithContext ¶
func (page *ManagedTransparentDataEncryptionListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ManagedTransparentDataEncryptionListResultPage) NotDone ¶
func (page ManagedTransparentDataEncryptionListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ManagedTransparentDataEncryptionListResultPage) Response ¶
func (page ManagedTransparentDataEncryptionListResultPage) Response() ManagedTransparentDataEncryptionListResult
Response returns the raw server response from the last page request.
func (ManagedTransparentDataEncryptionListResultPage) Values ¶
func (page ManagedTransparentDataEncryptionListResultPage) Values() []ManagedTransparentDataEncryption
Values returns the slice of values for the current page or nil if there are no values.
type ManagedTransparentDataEncryptionProperties ¶
type ManagedTransparentDataEncryptionProperties struct { // State - Specifies the state of the transparent data encryption. Possible values include: 'TransparentDataEncryptionStateEnabled', 'TransparentDataEncryptionStateDisabled' State TransparentDataEncryptionState `json:"state,omitempty"` }
ManagedTransparentDataEncryptionProperties properties of a transparent data encryption.
type ManagementOperationState ¶
type ManagementOperationState string
ManagementOperationState enumerates the values for management operation state.
const ( // ManagementOperationStateCancelInProgress ... ManagementOperationStateCancelInProgress ManagementOperationState = "CancelInProgress" // ManagementOperationStateCancelled ... ManagementOperationStateCancelled ManagementOperationState = "Cancelled" // ManagementOperationStateFailed ... ManagementOperationStateFailed ManagementOperationState = "Failed" // ManagementOperationStateInProgress ... ManagementOperationStateInProgress ManagementOperationState = "InProgress" // ManagementOperationStatePending ... ManagementOperationStatePending ManagementOperationState = "Pending" // ManagementOperationStateSucceeded ... ManagementOperationStateSucceeded ManagementOperationState = "Succeeded" )
func PossibleManagementOperationStateValues ¶
func PossibleManagementOperationStateValues() []ManagementOperationState
PossibleManagementOperationStateValues returns an array of possible values for the ManagementOperationState const type.
type MaxSizeCapability ¶
type MaxSizeCapability struct { // Limit - READ-ONLY; The maximum size limit (see 'unit' for the units). Limit *int32 `json:"limit,omitempty"` // Unit - READ-ONLY; The units that the limit is expressed in. Possible values include: 'MaxSizeUnitMegabytes', 'MaxSizeUnitGigabytes', 'MaxSizeUnitTerabytes', 'MaxSizeUnitPetabytes' Unit MaxSizeUnit `json:"unit,omitempty"` }
MaxSizeCapability the maximum size capability.
func (MaxSizeCapability) MarshalJSON ¶
func (msc MaxSizeCapability) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MaxSizeCapability.
type MaxSizeRangeCapability ¶
type MaxSizeRangeCapability struct { // MinValue - READ-ONLY; Minimum value. MinValue *MaxSizeCapability `json:"minValue,omitempty"` // MaxValue - READ-ONLY; Maximum value. MaxValue *MaxSizeCapability `json:"maxValue,omitempty"` // ScaleSize - READ-ONLY; Scale/step size for discrete values between the minimum value and the maximum value. ScaleSize *MaxSizeCapability `json:"scaleSize,omitempty"` // LogSize - READ-ONLY; Size of transaction log. LogSize *LogSizeCapability `json:"logSize,omitempty"` // Status - READ-ONLY; The status of the capability. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // Reason - The reason for the capability not being available. Reason *string `json:"reason,omitempty"` }
MaxSizeRangeCapability the maximum size range capability.
func (MaxSizeRangeCapability) MarshalJSON ¶
func (msrc MaxSizeRangeCapability) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MaxSizeRangeCapability.
type MaxSizeUnit ¶
type MaxSizeUnit string
MaxSizeUnit enumerates the values for max size unit.
const ( // MaxSizeUnitGigabytes ... MaxSizeUnitGigabytes MaxSizeUnit = "Gigabytes" // MaxSizeUnitMegabytes ... MaxSizeUnitMegabytes MaxSizeUnit = "Megabytes" // MaxSizeUnitPetabytes ... MaxSizeUnitPetabytes MaxSizeUnit = "Petabytes" // MaxSizeUnitTerabytes ... MaxSizeUnitTerabytes MaxSizeUnit = "Terabytes" )
func PossibleMaxSizeUnitValues ¶
func PossibleMaxSizeUnitValues() []MaxSizeUnit
PossibleMaxSizeUnitValues returns an array of possible values for the MaxSizeUnit const type.
type Metric ¶
type Metric struct { // StartTime - READ-ONLY; The start time for the metric (ISO-8601 format). StartTime *date.Time `json:"startTime,omitempty"` // EndTime - READ-ONLY; The end time for the metric (ISO-8601 format). EndTime *date.Time `json:"endTime,omitempty"` // TimeGrain - READ-ONLY; The time step to be used to summarize the metric values. TimeGrain *string `json:"timeGrain,omitempty"` // Unit - READ-ONLY; The unit of the metric. Possible values include: 'UnitTypeCount', 'UnitTypeBytes', 'UnitTypeSeconds', 'UnitTypePercent', 'UnitTypeCountPerSecond', 'UnitTypeBytesPerSecond' Unit UnitType `json:"unit,omitempty"` // Name - READ-ONLY; The name information for the metric. Name *MetricName `json:"name,omitempty"` // MetricValues - READ-ONLY; The metric values for the specified time window and timestep. MetricValues *[]MetricValue `json:"metricValues,omitempty"` }
Metric database metrics.
func (Metric) MarshalJSON ¶
MarshalJSON is the custom marshaler for Metric.
type MetricAvailability ¶
type MetricAvailability struct { // Retention - READ-ONLY; The length of retention for the database metric. Retention *string `json:"retention,omitempty"` // TimeGrain - READ-ONLY; The granularity of the database metric. TimeGrain *string `json:"timeGrain,omitempty"` }
MetricAvailability a metric availability value.
func (MetricAvailability) MarshalJSON ¶
func (ma MetricAvailability) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MetricAvailability.
type MetricDefinition ¶
type MetricDefinition struct { // Name - READ-ONLY; The name information for the metric. Name *MetricName `json:"name,omitempty"` // PrimaryAggregationType - READ-ONLY; The primary aggregation type defining how metric values are displayed. Possible values include: 'PrimaryAggregationTypeNone', 'PrimaryAggregationTypeAverage', 'PrimaryAggregationTypeCount', 'PrimaryAggregationTypeMinimum', 'PrimaryAggregationTypeMaximum', 'PrimaryAggregationTypeTotal' PrimaryAggregationType PrimaryAggregationType `json:"primaryAggregationType,omitempty"` // ResourceURI - READ-ONLY; The resource uri of the database. ResourceURI *string `json:"resourceUri,omitempty"` // Unit - READ-ONLY; The unit of the metric. Possible values include: 'UnitDefinitionTypeCount', 'UnitDefinitionTypeBytes', 'UnitDefinitionTypeSeconds', 'UnitDefinitionTypePercent', 'UnitDefinitionTypeCountPerSecond', 'UnitDefinitionTypeBytesPerSecond' Unit UnitDefinitionType `json:"unit,omitempty"` // MetricAvailabilities - READ-ONLY; The list of database metric availabilities for the metric. MetricAvailabilities *[]MetricAvailability `json:"metricAvailabilities,omitempty"` }
MetricDefinition a database metric definition.
func (MetricDefinition) MarshalJSON ¶
func (md MetricDefinition) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MetricDefinition.
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 - READ-ONLY; The name of the database metric. Value *string `json:"value,omitempty"` // LocalizedValue - READ-ONLY; The friendly name of the database metric. LocalizedValue *string `json:"localizedValue,omitempty"` }
MetricName a database metric name.
func (MetricName) MarshalJSON ¶
func (mn MetricName) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MetricName.
type MetricType ¶
type MetricType string
MetricType enumerates the values for metric type.
const ( // MetricTypeCPU ... MetricTypeCPU MetricType = "cpu" // MetricTypeDtu ... MetricTypeDtu MetricType = "dtu" // MetricTypeDuration ... MetricTypeDuration MetricType = "duration" // MetricTypeIo ... MetricTypeIo MetricType = "io" // MetricTypeLogIo ... MetricTypeLogIo MetricType = "logIo" )
func PossibleMetricTypeValues ¶
func PossibleMetricTypeValues() []MetricType
PossibleMetricTypeValues returns an array of possible values for the MetricType const type.
type MetricValue ¶
type MetricValue struct { // Count - READ-ONLY; The number of values for the metric. Count *float64 `json:"count,omitempty"` // Average - READ-ONLY; The average value of the metric. Average *float64 `json:"average,omitempty"` // Maximum - READ-ONLY; The max value of the metric. Maximum *float64 `json:"maximum,omitempty"` // Minimum - READ-ONLY; The min value of the metric. Minimum *float64 `json:"minimum,omitempty"` // Timestamp - READ-ONLY; The metric timestamp (ISO-8601 format). Timestamp *date.Time `json:"timestamp,omitempty"` // Total - READ-ONLY; The total value of the metric. Total *float64 `json:"total,omitempty"` }
MetricValue represents database metrics.
func (MetricValue) MarshalJSON ¶
func (mv MetricValue) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MetricValue.
type MinCapacityCapability ¶
type MinCapacityCapability struct { // Value - READ-ONLY; Min capacity value Value *float64 `json:"value,omitempty"` // Status - READ-ONLY; The status of the capability. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // Reason - The reason for the capability not being available. Reason *string `json:"reason,omitempty"` }
MinCapacityCapability the min capacity capability
func (MinCapacityCapability) MarshalJSON ¶
func (mcc MinCapacityCapability) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MinCapacityCapability.
type Name ¶
type Name struct { // Value - Usage name value Value *string `json:"value,omitempty"` // LocalizedValue - Usage name localized value. LocalizedValue *string `json:"localizedValue,omitempty"` }
Name ARM Usage Name
type NetworkIsolationSettings ¶
type NetworkIsolationSettings struct { // StorageAccountResourceID - The resource id for the storage account used to store BACPAC file. If set, private endpoint connection will be created for the storage account. Must match storage account used for StorageUri parameter. StorageAccountResourceID *string `json:"storageAccountResourceId,omitempty"` // SQLServerResourceID - The resource id for the SQL server which is the target of this request. If set, private endpoint connection will be created for the SQL server. Must match server which is target of the operation. SQLServerResourceID *string `json:"sqlServerResourceId,omitempty"` }
NetworkIsolationSettings contains the ARM resources for which to create private endpoint connection.
type Operation ¶
type Operation struct { // Name - READ-ONLY; The name of the operation being performed on this particular object. Name *string `json:"name,omitempty"` // Display - READ-ONLY; The localized display information for this particular operation / action. Display *OperationDisplay `json:"display,omitempty"` // Origin - READ-ONLY; The intended executor of the operation. Possible values include: 'OperationOriginUser', 'OperationOriginSystem' Origin OperationOrigin `json:"origin,omitempty"` // Properties - READ-ONLY; Additional descriptions for the operation. Properties map[string]interface{} `json:"properties"` }
Operation SQL REST API operation definition.
func (Operation) MarshalJSON ¶
MarshalJSON is the custom marshaler for Operation.
type OperationDisplay ¶
type OperationDisplay struct { // Provider - READ-ONLY; The localized friendly form of the resource provider name. Provider *string `json:"provider,omitempty"` // Resource - READ-ONLY; The localized friendly form of the resource type related to this action/operation. Resource *string `json:"resource,omitempty"` // Operation - READ-ONLY; The localized friendly name for the operation. Operation *string `json:"operation,omitempty"` // Description - READ-ONLY; The localized friendly description for the operation. Description *string `json:"description,omitempty"` }
OperationDisplay display metadata associated with the operation.
func (OperationDisplay) MarshalJSON ¶
func (od OperationDisplay) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationDisplay.
type OperationImpact ¶
type OperationImpact struct { // Name - READ-ONLY; The name of the impact dimension. Name *string `json:"name,omitempty"` // Unit - READ-ONLY; The unit in which estimated impact to dimension is measured. Unit *string `json:"unit,omitempty"` // ChangeValueAbsolute - READ-ONLY; The absolute impact to dimension. ChangeValueAbsolute *float64 `json:"changeValueAbsolute,omitempty"` // ChangeValueRelative - READ-ONLY; 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.
func (OperationImpact) MarshalJSON ¶
func (oi OperationImpact) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationImpact.
type OperationListResult ¶
type OperationListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]Operation `json:"value,omitempty"` // NextLink - READ-ONLY; 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.
func (OperationListResult) MarshalJSON ¶
func (olr OperationListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationListResult.
type OperationListResultIterator ¶
type OperationListResultIterator struct {
// contains filtered or unexported fields
}
OperationListResultIterator provides access to a complete listing of Operation values.
func NewOperationListResultIterator ¶
func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator
Creates a new instance of the OperationListResultIterator type.
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. Deprecated: Use NextWithContext() instead.
func (*OperationListResultIterator) NextWithContext ¶
func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (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 NewOperationListResultPage ¶
func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage
Creates a new instance of the OperationListResultPage type.
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. Deprecated: Use NextWithContext() instead.
func (*OperationListResultPage) NextWithContext ¶
func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (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" )
func PossibleOperationOriginValues ¶
func PossibleOperationOriginValues() []OperationOrigin
PossibleOperationOriginValues returns an array of possible values for the OperationOrigin const type.
type OperationsClient ¶
type OperationsClient struct {
BaseClient
}
OperationsClient is the the 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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (OperationsClient) List ¶
func (client OperationsClient) List(ctx context.Context) (result 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 OperationsHealth ¶
type OperationsHealth struct { // OperationsHealthProperties - Resource properties. *OperationsHealthProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
OperationsHealth operations health status in a location.
func (OperationsHealth) MarshalJSON ¶
func (oh OperationsHealth) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationsHealth.
func (*OperationsHealth) UnmarshalJSON ¶
func (oh *OperationsHealth) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for OperationsHealth struct.
type OperationsHealthClient ¶
type OperationsHealthClient struct {
BaseClient
}
OperationsHealthClient 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 NewOperationsHealthClient ¶
func NewOperationsHealthClient(subscriptionID string) OperationsHealthClient
NewOperationsHealthClient creates an instance of the OperationsHealthClient client.
func NewOperationsHealthClientWithBaseURI ¶
func NewOperationsHealthClientWithBaseURI(baseURI string, subscriptionID string) OperationsHealthClient
NewOperationsHealthClientWithBaseURI creates an instance of the OperationsHealthClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (OperationsHealthClient) ListByLocation ¶
func (client OperationsHealthClient) ListByLocation(ctx context.Context, locationName string) (result OperationsHealthListResultPage, err error)
ListByLocation gets a service operation health status. Parameters: locationName - the name of the region where the resource is located.
func (OperationsHealthClient) ListByLocationComplete ¶
func (client OperationsHealthClient) ListByLocationComplete(ctx context.Context, locationName string) (result OperationsHealthListResultIterator, err error)
ListByLocationComplete enumerates all values, automatically crossing page boundaries as required.
func (OperationsHealthClient) ListByLocationPreparer ¶
func (client OperationsHealthClient) ListByLocationPreparer(ctx context.Context, locationName string) (*http.Request, error)
ListByLocationPreparer prepares the ListByLocation request.
func (OperationsHealthClient) ListByLocationResponder ¶
func (client OperationsHealthClient) ListByLocationResponder(resp *http.Response) (result OperationsHealthListResult, err error)
ListByLocationResponder handles the response to the ListByLocation request. The method always closes the http.Response Body.
func (OperationsHealthClient) ListByLocationSender ¶
func (client OperationsHealthClient) 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 OperationsHealthListResult ¶
type OperationsHealthListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]OperationsHealth `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
OperationsHealthListResult a list of service health statuses in a location.
func (OperationsHealthListResult) IsEmpty ¶
func (ohlr OperationsHealthListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (OperationsHealthListResult) MarshalJSON ¶
func (ohlr OperationsHealthListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationsHealthListResult.
type OperationsHealthListResultIterator ¶
type OperationsHealthListResultIterator struct {
// contains filtered or unexported fields
}
OperationsHealthListResultIterator provides access to a complete listing of OperationsHealth values.
func NewOperationsHealthListResultIterator ¶
func NewOperationsHealthListResultIterator(page OperationsHealthListResultPage) OperationsHealthListResultIterator
Creates a new instance of the OperationsHealthListResultIterator type.
func (*OperationsHealthListResultIterator) Next ¶
func (iter *OperationsHealthListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*OperationsHealthListResultIterator) NextWithContext ¶
func (iter *OperationsHealthListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (OperationsHealthListResultIterator) NotDone ¶
func (iter OperationsHealthListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (OperationsHealthListResultIterator) Response ¶
func (iter OperationsHealthListResultIterator) Response() OperationsHealthListResult
Response returns the raw server response from the last page request.
func (OperationsHealthListResultIterator) Value ¶
func (iter OperationsHealthListResultIterator) Value() OperationsHealth
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type OperationsHealthListResultPage ¶
type OperationsHealthListResultPage struct {
// contains filtered or unexported fields
}
OperationsHealthListResultPage contains a page of OperationsHealth values.
func NewOperationsHealthListResultPage ¶
func NewOperationsHealthListResultPage(cur OperationsHealthListResult, getNextPage func(context.Context, OperationsHealthListResult) (OperationsHealthListResult, error)) OperationsHealthListResultPage
Creates a new instance of the OperationsHealthListResultPage type.
func (*OperationsHealthListResultPage) Next ¶
func (page *OperationsHealthListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*OperationsHealthListResultPage) NextWithContext ¶
func (page *OperationsHealthListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (OperationsHealthListResultPage) NotDone ¶
func (page OperationsHealthListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (OperationsHealthListResultPage) Response ¶
func (page OperationsHealthListResultPage) Response() OperationsHealthListResult
Response returns the raw server response from the last page request.
func (OperationsHealthListResultPage) Values ¶
func (page OperationsHealthListResultPage) Values() []OperationsHealth
Values returns the slice of values for the current page or nil if there are no values.
type OperationsHealthProperties ¶
type OperationsHealthProperties struct { // Name - READ-ONLY; Operation name for the service Name *string `json:"name,omitempty"` // Health - READ-ONLY; Operation health status of the service. Health *string `json:"health,omitempty"` // Description - READ-ONLY; Health status description. Description *string `json:"description,omitempty"` }
OperationsHealthProperties properties of an operation health.
func (OperationsHealthProperties) MarshalJSON ¶
func (ohp OperationsHealthProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationsHealthProperties.
type OutboundFirewallRule ¶
type OutboundFirewallRule struct { autorest.Response `json:"-"` // OutboundFirewallRuleProperties - Resource properties. *OutboundFirewallRuleProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
OutboundFirewallRule an Azure SQL DB Server Outbound Firewall Rule.
func (OutboundFirewallRule) MarshalJSON ¶
func (ofr OutboundFirewallRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OutboundFirewallRule.
func (*OutboundFirewallRule) UnmarshalJSON ¶
func (ofr *OutboundFirewallRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for OutboundFirewallRule struct.
type OutboundFirewallRuleListResult ¶
type OutboundFirewallRuleListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]OutboundFirewallRule `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
OutboundFirewallRuleListResult a list of outbound rules.
func (OutboundFirewallRuleListResult) IsEmpty ¶
func (ofrlr OutboundFirewallRuleListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (OutboundFirewallRuleListResult) MarshalJSON ¶
func (ofrlr OutboundFirewallRuleListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OutboundFirewallRuleListResult.
type OutboundFirewallRuleListResultIterator ¶
type OutboundFirewallRuleListResultIterator struct {
// contains filtered or unexported fields
}
OutboundFirewallRuleListResultIterator provides access to a complete listing of OutboundFirewallRule values.
func NewOutboundFirewallRuleListResultIterator ¶
func NewOutboundFirewallRuleListResultIterator(page OutboundFirewallRuleListResultPage) OutboundFirewallRuleListResultIterator
Creates a new instance of the OutboundFirewallRuleListResultIterator type.
func (*OutboundFirewallRuleListResultIterator) Next ¶
func (iter *OutboundFirewallRuleListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*OutboundFirewallRuleListResultIterator) NextWithContext ¶
func (iter *OutboundFirewallRuleListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (OutboundFirewallRuleListResultIterator) NotDone ¶
func (iter OutboundFirewallRuleListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (OutboundFirewallRuleListResultIterator) Response ¶
func (iter OutboundFirewallRuleListResultIterator) Response() OutboundFirewallRuleListResult
Response returns the raw server response from the last page request.
func (OutboundFirewallRuleListResultIterator) Value ¶
func (iter OutboundFirewallRuleListResultIterator) Value() OutboundFirewallRule
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type OutboundFirewallRuleListResultPage ¶
type OutboundFirewallRuleListResultPage struct {
// contains filtered or unexported fields
}
OutboundFirewallRuleListResultPage contains a page of OutboundFirewallRule values.
func NewOutboundFirewallRuleListResultPage ¶
func NewOutboundFirewallRuleListResultPage(cur OutboundFirewallRuleListResult, getNextPage func(context.Context, OutboundFirewallRuleListResult) (OutboundFirewallRuleListResult, error)) OutboundFirewallRuleListResultPage
Creates a new instance of the OutboundFirewallRuleListResultPage type.
func (*OutboundFirewallRuleListResultPage) Next ¶
func (page *OutboundFirewallRuleListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*OutboundFirewallRuleListResultPage) NextWithContext ¶
func (page *OutboundFirewallRuleListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (OutboundFirewallRuleListResultPage) NotDone ¶
func (page OutboundFirewallRuleListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (OutboundFirewallRuleListResultPage) Response ¶
func (page OutboundFirewallRuleListResultPage) Response() OutboundFirewallRuleListResult
Response returns the raw server response from the last page request.
func (OutboundFirewallRuleListResultPage) Values ¶
func (page OutboundFirewallRuleListResultPage) Values() []OutboundFirewallRule
Values returns the slice of values for the current page or nil if there are no values.
type OutboundFirewallRuleProperties ¶
type OutboundFirewallRuleProperties struct { // ProvisioningState - READ-ONLY; The state of the outbound rule. ProvisioningState *string `json:"provisioningState,omitempty"` }
OutboundFirewallRuleProperties the properties of an outbound firewall rule.
func (OutboundFirewallRuleProperties) MarshalJSON ¶
func (ofrp OutboundFirewallRuleProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OutboundFirewallRuleProperties.
type OutboundFirewallRulesClient ¶
type OutboundFirewallRulesClient struct {
BaseClient
}
OutboundFirewallRulesClient 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 NewOutboundFirewallRulesClient ¶
func NewOutboundFirewallRulesClient(subscriptionID string) OutboundFirewallRulesClient
NewOutboundFirewallRulesClient creates an instance of the OutboundFirewallRulesClient client.
func NewOutboundFirewallRulesClientWithBaseURI ¶
func NewOutboundFirewallRulesClientWithBaseURI(baseURI string, subscriptionID string) OutboundFirewallRulesClient
NewOutboundFirewallRulesClientWithBaseURI creates an instance of the OutboundFirewallRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (OutboundFirewallRulesClient) CreateOrUpdate ¶
func (client OutboundFirewallRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, outboundRuleFqdn string, parameters OutboundFirewallRule) (result OutboundFirewallRulesCreateOrUpdateFuture, err error)
CreateOrUpdate create a outbound firewall rule with a given name. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (OutboundFirewallRulesClient) CreateOrUpdatePreparer ¶
func (client OutboundFirewallRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, outboundRuleFqdn string, parameters OutboundFirewallRule) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (OutboundFirewallRulesClient) CreateOrUpdateResponder ¶
func (client OutboundFirewallRulesClient) CreateOrUpdateResponder(resp *http.Response) (result OutboundFirewallRule, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (OutboundFirewallRulesClient) CreateOrUpdateSender ¶
func (client OutboundFirewallRulesClient) CreateOrUpdateSender(req *http.Request) (future OutboundFirewallRulesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (OutboundFirewallRulesClient) Delete ¶
func (client OutboundFirewallRulesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, outboundRuleFqdn string) (result OutboundFirewallRulesDeleteFuture, err error)
Delete deletes a outbound firewall rule with a given name. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (OutboundFirewallRulesClient) DeletePreparer ¶
func (client OutboundFirewallRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, outboundRuleFqdn string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (OutboundFirewallRulesClient) DeleteResponder ¶
func (client OutboundFirewallRulesClient) 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 (OutboundFirewallRulesClient) DeleteSender ¶
func (client OutboundFirewallRulesClient) DeleteSender(req *http.Request) (future OutboundFirewallRulesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (OutboundFirewallRulesClient) Get ¶
func (client OutboundFirewallRulesClient) Get(ctx context.Context, resourceGroupName string, serverName string, outboundRuleFqdn string) (result OutboundFirewallRule, err error)
Get gets an outbound firewall rule. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (OutboundFirewallRulesClient) GetPreparer ¶
func (client OutboundFirewallRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, outboundRuleFqdn string) (*http.Request, error)
GetPreparer prepares the Get request.
func (OutboundFirewallRulesClient) GetResponder ¶
func (client OutboundFirewallRulesClient) GetResponder(resp *http.Response) (result OutboundFirewallRule, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (OutboundFirewallRulesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (OutboundFirewallRulesClient) ListByServer ¶
func (client OutboundFirewallRulesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result OutboundFirewallRuleListResultPage, err error)
ListByServer gets all outbound firewall rules on a server. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (OutboundFirewallRulesClient) ListByServerComplete ¶
func (client OutboundFirewallRulesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result OutboundFirewallRuleListResultIterator, err error)
ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
func (OutboundFirewallRulesClient) ListByServerPreparer ¶
func (client OutboundFirewallRulesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (OutboundFirewallRulesClient) ListByServerResponder ¶
func (client OutboundFirewallRulesClient) ListByServerResponder(resp *http.Response) (result OutboundFirewallRuleListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (OutboundFirewallRulesClient) ListByServerSender ¶
func (client OutboundFirewallRulesClient) 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 OutboundFirewallRulesCreateOrUpdateFuture ¶
type OutboundFirewallRulesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(OutboundFirewallRulesClient) (OutboundFirewallRule, error) }
OutboundFirewallRulesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*OutboundFirewallRulesCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *OutboundFirewallRulesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type OutboundFirewallRulesDeleteFuture ¶
type OutboundFirewallRulesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(OutboundFirewallRulesClient) (autorest.Response, error) }
OutboundFirewallRulesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*OutboundFirewallRulesDeleteFuture) UnmarshalJSON ¶
func (future *OutboundFirewallRulesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type PartnerInfo ¶
type PartnerInfo struct { // ID - Resource identifier of the partner server. ID *string `json:"id,omitempty"` // Location - READ-ONLY; Geo location of the partner server. Location *string `json:"location,omitempty"` // ReplicationRole - READ-ONLY; Replication role of the partner server. Possible values include: 'FailoverGroupReplicationRolePrimary', 'FailoverGroupReplicationRoleSecondary' ReplicationRole FailoverGroupReplicationRole `json:"replicationRole,omitempty"` }
PartnerInfo partner server information for the failover group.
func (PartnerInfo) MarshalJSON ¶
func (pi PartnerInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PartnerInfo.
type PartnerRegionInfo ¶
type PartnerRegionInfo struct { // Location - Geo location of the partner managed instances. Location *string `json:"location,omitempty"` // ReplicationRole - READ-ONLY; Replication role of the partner managed instances. Possible values include: 'InstanceFailoverGroupReplicationRolePrimary', 'InstanceFailoverGroupReplicationRoleSecondary' ReplicationRole InstanceFailoverGroupReplicationRole `json:"replicationRole,omitempty"` }
PartnerRegionInfo partner region information for the failover group.
func (PartnerRegionInfo) MarshalJSON ¶
func (pri PartnerRegionInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PartnerRegionInfo.
type PauseDelayTimeUnit ¶
type PauseDelayTimeUnit string
PauseDelayTimeUnit enumerates the values for pause delay time unit.
const ( // PauseDelayTimeUnitMinutes ... PauseDelayTimeUnitMinutes PauseDelayTimeUnit = "Minutes" )
func PossiblePauseDelayTimeUnitValues ¶
func PossiblePauseDelayTimeUnitValues() []PauseDelayTimeUnit
PossiblePauseDelayTimeUnitValues returns an array of possible values for the PauseDelayTimeUnit const type.
type PerformanceLevelCapability ¶
type PerformanceLevelCapability struct { // Value - READ-ONLY; Performance level value. Value *float64 `json:"value,omitempty"` // Unit - READ-ONLY; Unit type used to measure performance level. Possible values include: 'PerformanceLevelUnitDTU', 'PerformanceLevelUnitVCores' Unit PerformanceLevelUnit `json:"unit,omitempty"` }
PerformanceLevelCapability the performance level capability.
func (PerformanceLevelCapability) MarshalJSON ¶
func (plc PerformanceLevelCapability) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PerformanceLevelCapability.
type PerformanceLevelUnit ¶
type PerformanceLevelUnit string
PerformanceLevelUnit enumerates the values for performance level unit.
const ( // PerformanceLevelUnitDTU ... PerformanceLevelUnitDTU PerformanceLevelUnit = "DTU" // PerformanceLevelUnitVCores ... PerformanceLevelUnitVCores PerformanceLevelUnit = "VCores" )
func PossiblePerformanceLevelUnitValues ¶
func PossiblePerformanceLevelUnitValues() []PerformanceLevelUnit
PossiblePerformanceLevelUnitValues returns an array of possible values for the PerformanceLevelUnit const type.
type PrimaryAggregationType ¶
type PrimaryAggregationType string
PrimaryAggregationType enumerates the values for primary aggregation type.
const ( // PrimaryAggregationTypeAverage ... PrimaryAggregationTypeAverage PrimaryAggregationType = "Average" // PrimaryAggregationTypeCount ... PrimaryAggregationTypeCount PrimaryAggregationType = "Count" // PrimaryAggregationTypeMaximum ... PrimaryAggregationTypeMaximum PrimaryAggregationType = "Maximum" // PrimaryAggregationTypeMinimum ... PrimaryAggregationTypeMinimum PrimaryAggregationType = "Minimum" // PrimaryAggregationTypeNone ... PrimaryAggregationTypeNone PrimaryAggregationType = "None" // PrimaryAggregationTypeTotal ... PrimaryAggregationTypeTotal PrimaryAggregationType = "Total" )
func PossiblePrimaryAggregationTypeValues ¶
func PossiblePrimaryAggregationTypeValues() []PrimaryAggregationType
PossiblePrimaryAggregationTypeValues returns an array of possible values for the PrimaryAggregationType const type.
type PrincipalType ¶
type PrincipalType string
PrincipalType enumerates the values for principal type.
const ( // PrincipalTypeApplication ... PrincipalTypeApplication PrincipalType = "Application" // PrincipalTypeGroup ... PrincipalTypeGroup PrincipalType = "Group" // PrincipalTypeUser ... PrincipalTypeUser PrincipalType = "User" )
func PossiblePrincipalTypeValues ¶
func PossiblePrincipalTypeValues() []PrincipalType
PossiblePrincipalTypeValues returns an array of possible values for the PrincipalType const type.
type PrivateEndpointConnection ¶
type PrivateEndpointConnection struct { autorest.Response `json:"-"` // PrivateEndpointConnectionProperties - Resource properties. *PrivateEndpointConnectionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
PrivateEndpointConnection a private endpoint connection
func (PrivateEndpointConnection) MarshalJSON ¶
func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateEndpointConnection.
func (*PrivateEndpointConnection) UnmarshalJSON ¶
func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PrivateEndpointConnection struct.
type PrivateEndpointConnectionListResult ¶
type PrivateEndpointConnectionListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]PrivateEndpointConnection `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
PrivateEndpointConnectionListResult a list of private endpoint connections.
func (PrivateEndpointConnectionListResult) IsEmpty ¶
func (peclr PrivateEndpointConnectionListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (PrivateEndpointConnectionListResult) MarshalJSON ¶
func (peclr PrivateEndpointConnectionListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateEndpointConnectionListResult.
type PrivateEndpointConnectionListResultIterator ¶
type PrivateEndpointConnectionListResultIterator struct {
// contains filtered or unexported fields
}
PrivateEndpointConnectionListResultIterator provides access to a complete listing of PrivateEndpointConnection values.
func NewPrivateEndpointConnectionListResultIterator ¶
func NewPrivateEndpointConnectionListResultIterator(page PrivateEndpointConnectionListResultPage) PrivateEndpointConnectionListResultIterator
Creates a new instance of the PrivateEndpointConnectionListResultIterator type.
func (*PrivateEndpointConnectionListResultIterator) Next ¶
func (iter *PrivateEndpointConnectionListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*PrivateEndpointConnectionListResultIterator) NextWithContext ¶
func (iter *PrivateEndpointConnectionListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (PrivateEndpointConnectionListResultIterator) NotDone ¶
func (iter PrivateEndpointConnectionListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (PrivateEndpointConnectionListResultIterator) Response ¶
func (iter PrivateEndpointConnectionListResultIterator) Response() PrivateEndpointConnectionListResult
Response returns the raw server response from the last page request.
func (PrivateEndpointConnectionListResultIterator) Value ¶
func (iter PrivateEndpointConnectionListResultIterator) Value() PrivateEndpointConnection
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type PrivateEndpointConnectionListResultPage ¶
type PrivateEndpointConnectionListResultPage struct {
// contains filtered or unexported fields
}
PrivateEndpointConnectionListResultPage contains a page of PrivateEndpointConnection values.
func NewPrivateEndpointConnectionListResultPage ¶
func NewPrivateEndpointConnectionListResultPage(cur PrivateEndpointConnectionListResult, getNextPage func(context.Context, PrivateEndpointConnectionListResult) (PrivateEndpointConnectionListResult, error)) PrivateEndpointConnectionListResultPage
Creates a new instance of the PrivateEndpointConnectionListResultPage type.
func (*PrivateEndpointConnectionListResultPage) Next ¶
func (page *PrivateEndpointConnectionListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*PrivateEndpointConnectionListResultPage) NextWithContext ¶
func (page *PrivateEndpointConnectionListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (PrivateEndpointConnectionListResultPage) NotDone ¶
func (page PrivateEndpointConnectionListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (PrivateEndpointConnectionListResultPage) Response ¶
func (page PrivateEndpointConnectionListResultPage) Response() PrivateEndpointConnectionListResult
Response returns the raw server response from the last page request.
func (PrivateEndpointConnectionListResultPage) Values ¶
func (page PrivateEndpointConnectionListResultPage) Values() []PrivateEndpointConnection
Values returns the slice of values for the current page or nil if there are no values.
type PrivateEndpointConnectionProperties ¶
type PrivateEndpointConnectionProperties struct { // PrivateEndpoint - Private endpoint which the connection belongs to. PrivateEndpoint *PrivateEndpointProperty `json:"privateEndpoint,omitempty"` // PrivateLinkServiceConnectionState - Connection state of the private endpoint connection. PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionStateProperty `json:"privateLinkServiceConnectionState,omitempty"` // ProvisioningState - READ-ONLY; State of the private endpoint connection. Possible values include: 'PrivateEndpointProvisioningStateApproving', 'PrivateEndpointProvisioningStateReady', 'PrivateEndpointProvisioningStateDropping', 'PrivateEndpointProvisioningStateFailed', 'PrivateEndpointProvisioningStateRejecting' ProvisioningState PrivateEndpointProvisioningState `json:"provisioningState,omitempty"` }
PrivateEndpointConnectionProperties properties of a private endpoint connection.
func (PrivateEndpointConnectionProperties) MarshalJSON ¶
func (pecp PrivateEndpointConnectionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateEndpointConnectionProperties.
type PrivateEndpointConnectionRequestStatus ¶
type PrivateEndpointConnectionRequestStatus struct { // PrivateLinkServiceID - READ-ONLY; Resource id for which the private endpoint is created. PrivateLinkServiceID *string `json:"privateLinkServiceId,omitempty"` // PrivateEndpointConnectionName - READ-ONLY; The connection name for the private endpoint. PrivateEndpointConnectionName *string `json:"privateEndpointConnectionName,omitempty"` // Status - READ-ONLY; Status of this private endpoint connection. Status *string `json:"status,omitempty"` }
PrivateEndpointConnectionRequestStatus contains the private endpoint connection requests status.
func (PrivateEndpointConnectionRequestStatus) MarshalJSON ¶
func (pecrs PrivateEndpointConnectionRequestStatus) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateEndpointConnectionRequestStatus.
type PrivateEndpointConnectionsClient ¶
type PrivateEndpointConnectionsClient struct {
BaseClient
}
PrivateEndpointConnectionsClient 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 NewPrivateEndpointConnectionsClient ¶
func NewPrivateEndpointConnectionsClient(subscriptionID string) PrivateEndpointConnectionsClient
NewPrivateEndpointConnectionsClient creates an instance of the PrivateEndpointConnectionsClient client.
func NewPrivateEndpointConnectionsClientWithBaseURI ¶
func NewPrivateEndpointConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointConnectionsClient
NewPrivateEndpointConnectionsClientWithBaseURI creates an instance of the PrivateEndpointConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (PrivateEndpointConnectionsClient) CreateOrUpdate ¶
func (client PrivateEndpointConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string, parameters PrivateEndpointConnection) (result PrivateEndpointConnectionsCreateOrUpdateFuture, err error)
CreateOrUpdate approve or reject a private endpoint connection with a given name. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (PrivateEndpointConnectionsClient) CreateOrUpdatePreparer ¶
func (client PrivateEndpointConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string, parameters PrivateEndpointConnection) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (PrivateEndpointConnectionsClient) CreateOrUpdateResponder ¶
func (client PrivateEndpointConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (PrivateEndpointConnectionsClient) CreateOrUpdateSender ¶
func (client PrivateEndpointConnectionsClient) CreateOrUpdateSender(req *http.Request) (future PrivateEndpointConnectionsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (PrivateEndpointConnectionsClient) Delete ¶
func (client PrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string) (result PrivateEndpointConnectionsDeleteFuture, err error)
Delete deletes a private endpoint connection with a given name. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (PrivateEndpointConnectionsClient) DeletePreparer ¶
func (client PrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (PrivateEndpointConnectionsClient) DeleteResponder ¶
func (client PrivateEndpointConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (PrivateEndpointConnectionsClient) DeleteSender ¶
func (client PrivateEndpointConnectionsClient) DeleteSender(req *http.Request) (future PrivateEndpointConnectionsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (PrivateEndpointConnectionsClient) Get ¶
func (client PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string) (result PrivateEndpointConnection, err error)
Get gets a private endpoint connection. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. privateEndpointConnectionName - the name of the private endpoint connection.
func (PrivateEndpointConnectionsClient) GetPreparer ¶
func (client PrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (PrivateEndpointConnectionsClient) GetResponder ¶
func (client PrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (PrivateEndpointConnectionsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (PrivateEndpointConnectionsClient) ListByServer ¶
func (client PrivateEndpointConnectionsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result PrivateEndpointConnectionListResultPage, err error)
ListByServer gets all private endpoint connections on a server. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (PrivateEndpointConnectionsClient) ListByServerComplete ¶
func (client PrivateEndpointConnectionsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result PrivateEndpointConnectionListResultIterator, err error)
ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
func (PrivateEndpointConnectionsClient) ListByServerPreparer ¶
func (client PrivateEndpointConnectionsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (PrivateEndpointConnectionsClient) ListByServerResponder ¶
func (client PrivateEndpointConnectionsClient) ListByServerResponder(resp *http.Response) (result PrivateEndpointConnectionListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (PrivateEndpointConnectionsClient) ListByServerSender ¶
func (client PrivateEndpointConnectionsClient) ListByServerSender(req *http.Request) (*http.Response, error)
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
type PrivateEndpointConnectionsCreateOrUpdateFuture ¶
type PrivateEndpointConnectionsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(PrivateEndpointConnectionsClient) (PrivateEndpointConnection, error) }
PrivateEndpointConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*PrivateEndpointConnectionsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *PrivateEndpointConnectionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type PrivateEndpointConnectionsDeleteFuture ¶
type PrivateEndpointConnectionsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(PrivateEndpointConnectionsClient) (autorest.Response, error) }
PrivateEndpointConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*PrivateEndpointConnectionsDeleteFuture) UnmarshalJSON ¶
func (future *PrivateEndpointConnectionsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type PrivateEndpointProperty ¶
type PrivateEndpointProperty struct { // ID - Resource id of the private endpoint. ID *string `json:"id,omitempty"` }
PrivateEndpointProperty ...
type PrivateEndpointProvisioningState ¶
type PrivateEndpointProvisioningState string
PrivateEndpointProvisioningState enumerates the values for private endpoint provisioning state.
const ( // PrivateEndpointProvisioningStateApproving ... PrivateEndpointProvisioningStateApproving PrivateEndpointProvisioningState = "Approving" // PrivateEndpointProvisioningStateDropping ... PrivateEndpointProvisioningStateDropping PrivateEndpointProvisioningState = "Dropping" // PrivateEndpointProvisioningStateFailed ... PrivateEndpointProvisioningStateFailed PrivateEndpointProvisioningState = "Failed" // PrivateEndpointProvisioningStateReady ... PrivateEndpointProvisioningStateReady PrivateEndpointProvisioningState = "Ready" // PrivateEndpointProvisioningStateRejecting ... PrivateEndpointProvisioningStateRejecting PrivateEndpointProvisioningState = "Rejecting" )
func PossiblePrivateEndpointProvisioningStateValues ¶
func PossiblePrivateEndpointProvisioningStateValues() []PrivateEndpointProvisioningState
PossiblePrivateEndpointProvisioningStateValues returns an array of possible values for the PrivateEndpointProvisioningState const type.
type PrivateLinkResource ¶
type PrivateLinkResource struct { autorest.Response `json:"-"` // Properties - READ-ONLY; The private link resource group id. Properties *PrivateLinkResourceProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
PrivateLinkResource a private link resource
func (PrivateLinkResource) MarshalJSON ¶
func (plr PrivateLinkResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateLinkResource.
type PrivateLinkResourceListResult ¶
type PrivateLinkResourceListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]PrivateLinkResource `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
PrivateLinkResourceListResult a list of private link resources
func (PrivateLinkResourceListResult) IsEmpty ¶
func (plrlr PrivateLinkResourceListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (PrivateLinkResourceListResult) MarshalJSON ¶
func (plrlr PrivateLinkResourceListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateLinkResourceListResult.
type PrivateLinkResourceListResultIterator ¶
type PrivateLinkResourceListResultIterator struct {
// contains filtered or unexported fields
}
PrivateLinkResourceListResultIterator provides access to a complete listing of PrivateLinkResource values.
func NewPrivateLinkResourceListResultIterator ¶
func NewPrivateLinkResourceListResultIterator(page PrivateLinkResourceListResultPage) PrivateLinkResourceListResultIterator
Creates a new instance of the PrivateLinkResourceListResultIterator type.
func (*PrivateLinkResourceListResultIterator) Next ¶
func (iter *PrivateLinkResourceListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*PrivateLinkResourceListResultIterator) NextWithContext ¶
func (iter *PrivateLinkResourceListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (PrivateLinkResourceListResultIterator) NotDone ¶
func (iter PrivateLinkResourceListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (PrivateLinkResourceListResultIterator) Response ¶
func (iter PrivateLinkResourceListResultIterator) Response() PrivateLinkResourceListResult
Response returns the raw server response from the last page request.
func (PrivateLinkResourceListResultIterator) Value ¶
func (iter PrivateLinkResourceListResultIterator) Value() PrivateLinkResource
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type PrivateLinkResourceListResultPage ¶
type PrivateLinkResourceListResultPage struct {
// contains filtered or unexported fields
}
PrivateLinkResourceListResultPage contains a page of PrivateLinkResource values.
func NewPrivateLinkResourceListResultPage ¶
func NewPrivateLinkResourceListResultPage(cur PrivateLinkResourceListResult, getNextPage func(context.Context, PrivateLinkResourceListResult) (PrivateLinkResourceListResult, error)) PrivateLinkResourceListResultPage
Creates a new instance of the PrivateLinkResourceListResultPage type.
func (*PrivateLinkResourceListResultPage) Next ¶
func (page *PrivateLinkResourceListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*PrivateLinkResourceListResultPage) NextWithContext ¶
func (page *PrivateLinkResourceListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (PrivateLinkResourceListResultPage) NotDone ¶
func (page PrivateLinkResourceListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (PrivateLinkResourceListResultPage) Response ¶
func (page PrivateLinkResourceListResultPage) Response() PrivateLinkResourceListResult
Response returns the raw server response from the last page request.
func (PrivateLinkResourceListResultPage) Values ¶
func (page PrivateLinkResourceListResultPage) Values() []PrivateLinkResource
Values returns the slice of values for the current page or nil if there are no values.
type PrivateLinkResourceProperties ¶
type PrivateLinkResourceProperties struct { // GroupID - READ-ONLY; The private link resource group id. GroupID *string `json:"groupId,omitempty"` // RequiredMembers - READ-ONLY; The private link resource required member names. RequiredMembers *[]string `json:"requiredMembers,omitempty"` // RequiredZoneNames - READ-ONLY; The private link resource required zone names. RequiredZoneNames *[]string `json:"requiredZoneNames,omitempty"` }
PrivateLinkResourceProperties properties of a private link resource.
func (PrivateLinkResourceProperties) MarshalJSON ¶
func (plrp PrivateLinkResourceProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateLinkResourceProperties.
type PrivateLinkResourcesClient ¶
type PrivateLinkResourcesClient struct {
BaseClient
}
PrivateLinkResourcesClient 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 NewPrivateLinkResourcesClient ¶
func NewPrivateLinkResourcesClient(subscriptionID string) PrivateLinkResourcesClient
NewPrivateLinkResourcesClient creates an instance of the PrivateLinkResourcesClient client.
func NewPrivateLinkResourcesClientWithBaseURI ¶
func NewPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkResourcesClient
NewPrivateLinkResourcesClientWithBaseURI creates an instance of the PrivateLinkResourcesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (PrivateLinkResourcesClient) Get ¶
func (client PrivateLinkResourcesClient) Get(ctx context.Context, resourceGroupName string, serverName string, groupName string) (result PrivateLinkResource, err error)
Get gets a private link resource for SQL server. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. groupName - the name of the private link resource.
func (PrivateLinkResourcesClient) GetPreparer ¶
func (client PrivateLinkResourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, groupName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (PrivateLinkResourcesClient) GetResponder ¶
func (client PrivateLinkResourcesClient) GetResponder(resp *http.Response) (result PrivateLinkResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (PrivateLinkResourcesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (PrivateLinkResourcesClient) ListByServer ¶
func (client PrivateLinkResourcesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result PrivateLinkResourceListResultPage, err error)
ListByServer gets the private link resources for SQL server. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (PrivateLinkResourcesClient) ListByServerComplete ¶
func (client PrivateLinkResourcesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result PrivateLinkResourceListResultIterator, err error)
ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
func (PrivateLinkResourcesClient) ListByServerPreparer ¶
func (client PrivateLinkResourcesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (PrivateLinkResourcesClient) ListByServerResponder ¶
func (client PrivateLinkResourcesClient) ListByServerResponder(resp *http.Response) (result PrivateLinkResourceListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (PrivateLinkResourcesClient) ListByServerSender ¶
func (client PrivateLinkResourcesClient) ListByServerSender(req *http.Request) (*http.Response, error)
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
type PrivateLinkServiceConnectionStateActionsRequire ¶
type PrivateLinkServiceConnectionStateActionsRequire string
PrivateLinkServiceConnectionStateActionsRequire enumerates the values for private link service connection state actions require.
const ( // PrivateLinkServiceConnectionStateActionsRequireNone ... PrivateLinkServiceConnectionStateActionsRequireNone PrivateLinkServiceConnectionStateActionsRequire = "None" )
func PossiblePrivateLinkServiceConnectionStateActionsRequireValues ¶
func PossiblePrivateLinkServiceConnectionStateActionsRequireValues() []PrivateLinkServiceConnectionStateActionsRequire
PossiblePrivateLinkServiceConnectionStateActionsRequireValues returns an array of possible values for the PrivateLinkServiceConnectionStateActionsRequire const type.
type PrivateLinkServiceConnectionStateProperty ¶
type PrivateLinkServiceConnectionStateProperty struct { // Status - The private link service connection status. Possible values include: 'PrivateLinkServiceConnectionStateStatusApproved', 'PrivateLinkServiceConnectionStateStatusPending', 'PrivateLinkServiceConnectionStateStatusRejected', 'PrivateLinkServiceConnectionStateStatusDisconnected' Status PrivateLinkServiceConnectionStateStatus `json:"status,omitempty"` // Description - The private link service connection description. Description *string `json:"description,omitempty"` // ActionsRequired - READ-ONLY; The actions required for private link service connection. Possible values include: 'PrivateLinkServiceConnectionStateActionsRequireNone' ActionsRequired PrivateLinkServiceConnectionStateActionsRequire `json:"actionsRequired,omitempty"` }
PrivateLinkServiceConnectionStateProperty ...
func (PrivateLinkServiceConnectionStateProperty) MarshalJSON ¶
func (plscsp PrivateLinkServiceConnectionStateProperty) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateLinkServiceConnectionStateProperty.
type PrivateLinkServiceConnectionStateStatus ¶
type PrivateLinkServiceConnectionStateStatus string
PrivateLinkServiceConnectionStateStatus enumerates the values for private link service connection state status.
const ( // PrivateLinkServiceConnectionStateStatusApproved ... PrivateLinkServiceConnectionStateStatusApproved PrivateLinkServiceConnectionStateStatus = "Approved" // PrivateLinkServiceConnectionStateStatusDisconnected ... PrivateLinkServiceConnectionStateStatusDisconnected PrivateLinkServiceConnectionStateStatus = "Disconnected" // PrivateLinkServiceConnectionStateStatusPending ... PrivateLinkServiceConnectionStateStatusPending PrivateLinkServiceConnectionStateStatus = "Pending" // PrivateLinkServiceConnectionStateStatusRejected ... PrivateLinkServiceConnectionStateStatusRejected PrivateLinkServiceConnectionStateStatus = "Rejected" )
func PossiblePrivateLinkServiceConnectionStateStatusValues ¶
func PossiblePrivateLinkServiceConnectionStateStatusValues() []PrivateLinkServiceConnectionStateStatus
PossiblePrivateLinkServiceConnectionStateStatusValues returns an array of possible values for the PrivateLinkServiceConnectionStateStatus const type.
type ProvisioningState ¶
type ProvisioningState string
ProvisioningState enumerates the values for provisioning state.
const ( // ProvisioningStateCanceled ... ProvisioningStateCanceled ProvisioningState = "Canceled" // ProvisioningStateCreated ... ProvisioningStateCreated ProvisioningState = "Created" // ProvisioningStateFailed ... ProvisioningStateFailed ProvisioningState = "Failed" // ProvisioningStateInProgress ... ProvisioningStateInProgress ProvisioningState = "InProgress" // ProvisioningStateSucceeded ... ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func PossibleProvisioningStateValues ¶
func PossibleProvisioningStateValues() []ProvisioningState
PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
type ProvisioningState1 ¶
type ProvisioningState1 string
ProvisioningState1 enumerates the values for provisioning state 1.
const ( // ProvisioningState1Creating ... ProvisioningState1Creating ProvisioningState1 = "Creating" // ProvisioningState1Deleting ... ProvisioningState1Deleting ProvisioningState1 = "Deleting" // ProvisioningState1Failed ... ProvisioningState1Failed ProvisioningState1 = "Failed" // ProvisioningState1Succeeded ... ProvisioningState1Succeeded ProvisioningState1 = "Succeeded" // ProvisioningState1Unknown ... ProvisioningState1Unknown ProvisioningState1 = "Unknown" // ProvisioningState1Updating ... ProvisioningState1Updating ProvisioningState1 = "Updating" )
func PossibleProvisioningState1Values ¶
func PossibleProvisioningState1Values() []ProvisioningState1
PossibleProvisioningState1Values returns an array of possible values for the ProvisioningState1 const type.
type ProxyResource ¶
type ProxyResource struct { // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ProxyResource ARM proxy resource.
func (ProxyResource) MarshalJSON ¶
func (pr ProxyResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ProxyResource.
type ProxyResourceWithWritableName ¶
type ProxyResourceWithWritableName struct { // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ProxyResourceWithWritableName ARM proxy resource.
func (ProxyResourceWithWritableName) MarshalJSON ¶
func (prwwn ProxyResourceWithWritableName) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ProxyResourceWithWritableName.
type QueryMetricInterval ¶
type QueryMetricInterval struct { // IntervalStartTime - READ-ONLY; The start time for the metric interval (ISO-8601 format). IntervalStartTime *string `json:"intervalStartTime,omitempty"` // IntervalType - READ-ONLY; Interval type (length). Possible values include: 'QueryTimeGrainTypePT1H', 'QueryTimeGrainTypeP1D' IntervalType QueryTimeGrainType `json:"intervalType,omitempty"` // ExecutionCount - READ-ONLY; Execution count of a query in this interval. ExecutionCount *int64 `json:"executionCount,omitempty"` // Metrics - List of metric objects for this interval Metrics *[]QueryMetricProperties `json:"metrics,omitempty"` }
QueryMetricInterval properties of a query metrics interval.
func (QueryMetricInterval) MarshalJSON ¶
func (qmi QueryMetricInterval) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for QueryMetricInterval.
type QueryMetricProperties ¶
type QueryMetricProperties struct { // Name - READ-ONLY; The name information for the metric. Name *string `json:"name,omitempty"` // DisplayName - READ-ONLY; The UI appropriate name for the metric. DisplayName *string `json:"displayName,omitempty"` // Unit - READ-ONLY; The unit of the metric. Possible values include: 'QueryMetricUnitTypePercentage', 'QueryMetricUnitTypeKB', 'QueryMetricUnitTypeMicroseconds', 'QueryMetricUnitTypeCount' Unit QueryMetricUnitType `json:"unit,omitempty"` // Value - READ-ONLY; The value of the metric. Value *float64 `json:"value,omitempty"` // Min - READ-ONLY; Metric value when min() aggregate function is used over the interval. Min *float64 `json:"min,omitempty"` // Max - READ-ONLY; Metric value when max() aggregate function is used over the interval. Max *float64 `json:"max,omitempty"` // Avg - READ-ONLY; Metric value when avg() aggregate function is used over the interval. Avg *float64 `json:"avg,omitempty"` // Sum - READ-ONLY; Metric value when sum() aggregate function is used over the interval. Sum *float64 `json:"sum,omitempty"` // Stdev - READ-ONLY; Metric value when stdev aggregate function is used over the interval. Stdev *float64 `json:"stdev,omitempty"` }
QueryMetricProperties properties of a topquery metric in one interval.
func (QueryMetricProperties) MarshalJSON ¶
func (qmp QueryMetricProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for QueryMetricProperties.
type QueryMetricUnitType ¶
type QueryMetricUnitType string
QueryMetricUnitType enumerates the values for query metric unit type.
const ( // QueryMetricUnitTypeCount ... QueryMetricUnitTypeCount QueryMetricUnitType = "count" // QueryMetricUnitTypeKB ... QueryMetricUnitTypeKB QueryMetricUnitType = "KB" // QueryMetricUnitTypeMicroseconds ... QueryMetricUnitTypeMicroseconds QueryMetricUnitType = "microseconds" // QueryMetricUnitTypePercentage ... QueryMetricUnitTypePercentage QueryMetricUnitType = "percentage" )
func PossibleQueryMetricUnitTypeValues ¶
func PossibleQueryMetricUnitTypeValues() []QueryMetricUnitType
PossibleQueryMetricUnitTypeValues returns an array of possible values for the QueryMetricUnitType const type.
type QueryProperties ¶
type QueryProperties struct { // QueryText - Query text. QueryText *string `json:"queryText,omitempty"` }
QueryProperties properties of a database query.
type QueryStatistics ¶
type QueryStatistics struct { // QueryStatisticsProperties - Resource properties. *QueryStatisticsProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
QueryStatistics ...
func (QueryStatistics) MarshalJSON ¶
func (qs QueryStatistics) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for QueryStatistics.
func (*QueryStatistics) UnmarshalJSON ¶
func (qs *QueryStatistics) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for QueryStatistics struct.
type QueryStatisticsProperties ¶
type QueryStatisticsProperties struct { // DatabaseName - READ-ONLY; Database name of the database in which this query was executed. DatabaseName *string `json:"databaseName,omitempty"` // QueryID - READ-ONLY; Unique query id (unique within one database). QueryID *string `json:"queryId,omitempty"` // StartTime - READ-ONLY; The start time for the metric (ISO-8601 format). StartTime *string `json:"startTime,omitempty"` // EndTime - READ-ONLY; The end time for the metric (ISO-8601 format). EndTime *string `json:"endTime,omitempty"` // Intervals - List of intervals with appropriate metric data Intervals *[]QueryMetricInterval `json:"intervals,omitempty"` }
QueryStatisticsProperties properties of a query execution statistics.
func (QueryStatisticsProperties) MarshalJSON ¶
func (qsp QueryStatisticsProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for QueryStatisticsProperties.
type QueryTimeGrainType ¶
type QueryTimeGrainType string
QueryTimeGrainType enumerates the values for query time grain type.
const ( // QueryTimeGrainTypeP1D ... QueryTimeGrainTypeP1D QueryTimeGrainType = "P1D" // QueryTimeGrainTypePT1H ... QueryTimeGrainTypePT1H QueryTimeGrainType = "PT1H" )
func PossibleQueryTimeGrainTypeValues ¶
func PossibleQueryTimeGrainTypeValues() []QueryTimeGrainType
PossibleQueryTimeGrainTypeValues returns an array of possible values for the QueryTimeGrainType const type.
type ReadOnlyEndpointFailoverPolicy ¶
type ReadOnlyEndpointFailoverPolicy string
ReadOnlyEndpointFailoverPolicy enumerates the values for read only endpoint failover policy.
const ( // ReadOnlyEndpointFailoverPolicyDisabled ... ReadOnlyEndpointFailoverPolicyDisabled ReadOnlyEndpointFailoverPolicy = "Disabled" // ReadOnlyEndpointFailoverPolicyEnabled ... ReadOnlyEndpointFailoverPolicyEnabled ReadOnlyEndpointFailoverPolicy = "Enabled" )
func PossibleReadOnlyEndpointFailoverPolicyValues ¶
func PossibleReadOnlyEndpointFailoverPolicyValues() []ReadOnlyEndpointFailoverPolicy
PossibleReadOnlyEndpointFailoverPolicyValues returns an array of possible values for the ReadOnlyEndpointFailoverPolicy const type.
type ReadScaleCapability ¶
type ReadScaleCapability struct { // MaxNumberOfReplicas - READ-ONLY; The maximum number of read scale replicas. MaxNumberOfReplicas *int32 `json:"maxNumberOfReplicas,omitempty"` // Status - READ-ONLY; The status of the capability. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // Reason - The reason for the capability not being available. Reason *string `json:"reason,omitempty"` }
ReadScaleCapability the read scale capability.
func (ReadScaleCapability) MarshalJSON ¶
func (rsc ReadScaleCapability) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ReadScaleCapability.
type ReadWriteEndpointFailoverPolicy ¶
type ReadWriteEndpointFailoverPolicy string
ReadWriteEndpointFailoverPolicy enumerates the values for read write endpoint failover policy.
const ( // ReadWriteEndpointFailoverPolicyAutomatic ... ReadWriteEndpointFailoverPolicyAutomatic ReadWriteEndpointFailoverPolicy = "Automatic" // ReadWriteEndpointFailoverPolicyManual ... ReadWriteEndpointFailoverPolicyManual ReadWriteEndpointFailoverPolicy = "Manual" )
func PossibleReadWriteEndpointFailoverPolicyValues ¶
func PossibleReadWriteEndpointFailoverPolicyValues() []ReadWriteEndpointFailoverPolicy
PossibleReadWriteEndpointFailoverPolicyValues returns an array of possible values for the ReadWriteEndpointFailoverPolicy const type.
type RecommendedAction ¶
type RecommendedAction struct { autorest.Response `json:"-"` // Kind - READ-ONLY; Resource kind. Kind *string `json:"kind,omitempty"` // Location - READ-ONLY; Resource location. Location *string `json:"location,omitempty"` // RecommendedActionProperties - Resource properties. *RecommendedActionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
RecommendedAction database, Server or Elastic Pool Recommended Action.
func (RecommendedAction) MarshalJSON ¶
func (ra RecommendedAction) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RecommendedAction.
func (*RecommendedAction) UnmarshalJSON ¶
func (ra *RecommendedAction) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RecommendedAction struct.
type RecommendedActionCurrentState ¶
type RecommendedActionCurrentState string
RecommendedActionCurrentState enumerates the values for recommended action current state.
const ( // RecommendedActionCurrentStateActive ... RecommendedActionCurrentStateActive RecommendedActionCurrentState = "Active" // RecommendedActionCurrentStateError ... RecommendedActionCurrentStateError RecommendedActionCurrentState = "Error" // RecommendedActionCurrentStateExecuting ... RecommendedActionCurrentStateExecuting RecommendedActionCurrentState = "Executing" // RecommendedActionCurrentStateExpired ... RecommendedActionCurrentStateExpired RecommendedActionCurrentState = "Expired" // RecommendedActionCurrentStateIgnored ... RecommendedActionCurrentStateIgnored RecommendedActionCurrentState = "Ignored" // RecommendedActionCurrentStateMonitoring ... RecommendedActionCurrentStateMonitoring RecommendedActionCurrentState = "Monitoring" // RecommendedActionCurrentStatePending ... RecommendedActionCurrentStatePending RecommendedActionCurrentState = "Pending" // RecommendedActionCurrentStatePendingRevert ... RecommendedActionCurrentStatePendingRevert RecommendedActionCurrentState = "PendingRevert" // RecommendedActionCurrentStateResolved ... RecommendedActionCurrentStateResolved RecommendedActionCurrentState = "Resolved" // RecommendedActionCurrentStateRevertCancelled ... RecommendedActionCurrentStateRevertCancelled RecommendedActionCurrentState = "RevertCancelled" // RecommendedActionCurrentStateReverted ... RecommendedActionCurrentStateReverted RecommendedActionCurrentState = "Reverted" // RecommendedActionCurrentStateReverting ... RecommendedActionCurrentStateReverting RecommendedActionCurrentState = "Reverting" // RecommendedActionCurrentStateSuccess ... RecommendedActionCurrentStateSuccess RecommendedActionCurrentState = "Success" // RecommendedActionCurrentStateVerifying ... RecommendedActionCurrentStateVerifying RecommendedActionCurrentState = "Verifying" )
func PossibleRecommendedActionCurrentStateValues ¶
func PossibleRecommendedActionCurrentStateValues() []RecommendedActionCurrentState
PossibleRecommendedActionCurrentStateValues returns an array of possible values for the RecommendedActionCurrentState const type.
type RecommendedActionErrorInfo ¶
type RecommendedActionErrorInfo struct { // ErrorCode - READ-ONLY; Gets the reason why the recommended action was put to error state. e.g., DatabaseHasQdsOff, IndexAlreadyExists ErrorCode *string `json:"errorCode,omitempty"` // IsRetryable - READ-ONLY; Gets whether the error could be ignored and recommended action could be retried. Possible values are: Yes/No. Possible values include: 'IsRetryableYes', 'IsRetryableNo' IsRetryable IsRetryable `json:"isRetryable,omitempty"` }
RecommendedActionErrorInfo contains error information for an Azure SQL Database, Server or Elastic Pool Recommended Action.
func (RecommendedActionErrorInfo) MarshalJSON ¶
func (raei RecommendedActionErrorInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RecommendedActionErrorInfo.
type RecommendedActionImpactRecord ¶
type RecommendedActionImpactRecord struct { // DimensionName - READ-ONLY; Gets the name of the impact dimension. e.g., CPUChange, DiskSpaceChange, NumberOfQueriesAffected. DimensionName *string `json:"dimensionName,omitempty"` // Unit - READ-ONLY; Gets the name of the impact dimension. e.g., CPUChange, DiskSpaceChange, NumberOfQueriesAffected. Unit *string `json:"unit,omitempty"` // AbsoluteValue - READ-ONLY; Gets the absolute value of this dimension if applicable. e.g., Number of Queries affected AbsoluteValue *float64 `json:"absoluteValue,omitempty"` // ChangeValueAbsolute - READ-ONLY; Gets the absolute change in the value of this dimension. e.g., Absolute Disk space change in Megabytes ChangeValueAbsolute *float64 `json:"changeValueAbsolute,omitempty"` // ChangeValueRelative - READ-ONLY; Gets the relative change in the value of this dimension. e.g., Relative Disk space change in Percentage ChangeValueRelative *float64 `json:"changeValueRelative,omitempty"` }
RecommendedActionImpactRecord contains information of estimated or observed impact on various metrics for an Azure SQL Database, Server or Elastic Pool Recommended Action.
func (RecommendedActionImpactRecord) MarshalJSON ¶
func (rair RecommendedActionImpactRecord) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RecommendedActionImpactRecord.
type RecommendedActionImplementationInfo ¶
type RecommendedActionImplementationInfo struct { // Method - READ-ONLY; Gets the method in which this recommended action can be manually implemented. e.g., TSql, AzurePowerShell. Possible values include: 'ImplementationMethodTSQL', 'ImplementationMethodAzurePowerShell' Method ImplementationMethod `json:"method,omitempty"` // Script - READ-ONLY; Gets the manual implementation script. e.g., T-SQL script that could be executed on the database. Script *string `json:"script,omitempty"` }
RecommendedActionImplementationInfo contains information for manual implementation for an Azure SQL Database, Server or Elastic Pool Recommended Action.
func (RecommendedActionImplementationInfo) MarshalJSON ¶
func (raii RecommendedActionImplementationInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RecommendedActionImplementationInfo.
type RecommendedActionInitiatedBy ¶
type RecommendedActionInitiatedBy string
RecommendedActionInitiatedBy enumerates the values for recommended action initiated by.
const ( // RecommendedActionInitiatedBySystem ... RecommendedActionInitiatedBySystem RecommendedActionInitiatedBy = "System" // RecommendedActionInitiatedByUser ... RecommendedActionInitiatedByUser RecommendedActionInitiatedBy = "User" )
func PossibleRecommendedActionInitiatedByValues ¶
func PossibleRecommendedActionInitiatedByValues() []RecommendedActionInitiatedBy
PossibleRecommendedActionInitiatedByValues returns an array of possible values for the RecommendedActionInitiatedBy const type.
type RecommendedActionMetricInfo ¶
type RecommendedActionMetricInfo struct { // MetricName - READ-ONLY; Gets the name of the metric. e.g., CPU, Number of Queries. MetricName *string `json:"metricName,omitempty"` // Unit - READ-ONLY; Gets the unit in which metric is measured. e.g., DTU, Frequency Unit *string `json:"unit,omitempty"` // TimeGrain - READ-ONLY; Gets the duration of time interval for the value given by this MetricInfo. e.g., PT1H (1 hour) TimeGrain *string `json:"timeGrain,omitempty"` // StartTime - READ-ONLY; Gets the start time of time interval given by this MetricInfo. StartTime *date.Time `json:"startTime,omitempty"` // Value - READ-ONLY; Gets the value of the metric in the time interval given by this MetricInfo. Value *float64 `json:"value,omitempty"` }
RecommendedActionMetricInfo contains time series of various impacted metrics for an Azure SQL Database, Server or Elastic Pool Recommended Action.
func (RecommendedActionMetricInfo) MarshalJSON ¶
func (rami RecommendedActionMetricInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RecommendedActionMetricInfo.
type RecommendedActionProperties ¶
type RecommendedActionProperties struct { // RecommendationReason - READ-ONLY; Gets the reason for recommending this action. e.g., DuplicateIndex RecommendationReason *string `json:"recommendationReason,omitempty"` // ValidSince - READ-ONLY; Gets the time since when this recommended action is valid. ValidSince *date.Time `json:"validSince,omitempty"` // LastRefresh - READ-ONLY; Gets time when this recommended action was last refreshed. LastRefresh *date.Time `json:"lastRefresh,omitempty"` // State - Gets the info of the current state the recommended action is in. State *RecommendedActionStateInfo `json:"state,omitempty"` // IsExecutableAction - READ-ONLY; Gets if this recommended action is actionable by user IsExecutableAction *bool `json:"isExecutableAction,omitempty"` // IsRevertableAction - READ-ONLY; Gets if changes applied by this recommended action can be reverted by user IsRevertableAction *bool `json:"isRevertableAction,omitempty"` // IsArchivedAction - READ-ONLY; Gets if this recommended action was suggested some time ago but user chose to ignore this and system added a new recommended action again. IsArchivedAction *bool `json:"isArchivedAction,omitempty"` // ExecuteActionStartTime - READ-ONLY; Gets the time when system started applying this recommended action on the user resource. e.g., index creation start time ExecuteActionStartTime *date.Time `json:"executeActionStartTime,omitempty"` // ExecuteActionDuration - READ-ONLY; Gets the time taken for applying this recommended action on user resource. e.g., time taken for index creation ExecuteActionDuration *string `json:"executeActionDuration,omitempty"` // RevertActionStartTime - READ-ONLY; Gets the time when system started reverting changes of this recommended action on user resource. e.g., time when index drop is executed. RevertActionStartTime *date.Time `json:"revertActionStartTime,omitempty"` // RevertActionDuration - READ-ONLY; Gets the time taken for reverting changes of this recommended action on user resource. e.g., time taken for dropping the created index. RevertActionDuration *string `json:"revertActionDuration,omitempty"` // ExecuteActionInitiatedBy - READ-ONLY; Gets if approval for applying this recommended action was given by user/system. Possible values include: 'RecommendedActionInitiatedByUser', 'RecommendedActionInitiatedBySystem' ExecuteActionInitiatedBy RecommendedActionInitiatedBy `json:"executeActionInitiatedBy,omitempty"` // ExecuteActionInitiatedTime - READ-ONLY; Gets the time when this recommended action was approved for execution. ExecuteActionInitiatedTime *date.Time `json:"executeActionInitiatedTime,omitempty"` // RevertActionInitiatedBy - READ-ONLY; Gets if approval for reverting this recommended action was given by user/system. Possible values include: 'RecommendedActionInitiatedByUser', 'RecommendedActionInitiatedBySystem' RevertActionInitiatedBy RecommendedActionInitiatedBy `json:"revertActionInitiatedBy,omitempty"` // RevertActionInitiatedTime - READ-ONLY; Gets the time when this recommended action was approved for revert. RevertActionInitiatedTime *date.Time `json:"revertActionInitiatedTime,omitempty"` // Score - READ-ONLY; Gets the impact of this recommended action. Possible values are 1 - Low impact, 2 - Medium Impact and 3 - High Impact Score *int32 `json:"score,omitempty"` // ImplementationDetails - READ-ONLY; Gets the implementation details of this recommended action for user to apply it manually. ImplementationDetails *RecommendedActionImplementationInfo `json:"implementationDetails,omitempty"` // ErrorDetails - READ-ONLY; Gets the error details if and why this recommended action is put to error state. ErrorDetails *RecommendedActionErrorInfo `json:"errorDetails,omitempty"` // EstimatedImpact - READ-ONLY; Gets the estimated impact info for this recommended action e.g., Estimated CPU gain, Estimated Disk Space change EstimatedImpact *[]RecommendedActionImpactRecord `json:"estimatedImpact,omitempty"` // ObservedImpact - READ-ONLY; Gets the observed/actual impact info for this recommended action e.g., Actual CPU gain, Actual Disk Space change ObservedImpact *[]RecommendedActionImpactRecord `json:"observedImpact,omitempty"` // TimeSeries - READ-ONLY; Gets the time series info of metrics for this recommended action e.g., CPU consumption time series TimeSeries *[]RecommendedActionMetricInfo `json:"timeSeries,omitempty"` // LinkedObjects - READ-ONLY; Gets the linked objects, if any. LinkedObjects *[]string `json:"linkedObjects,omitempty"` // Details - READ-ONLY; Gets additional details specific to this recommended action. Details map[string]interface{} `json:"details"` }
RecommendedActionProperties properties for a Database, Server or Elastic Pool Recommended Action.
func (RecommendedActionProperties) MarshalJSON ¶
func (rap RecommendedActionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RecommendedActionProperties.
type RecommendedActionStateInfo ¶
type RecommendedActionStateInfo struct { // CurrentValue - Current state the recommended action is in. Some commonly used states are: Active -> recommended action is active and no action has been taken yet. Pending -> recommended action is approved for and is awaiting execution. Executing -> recommended action is being applied on the user database. Verifying -> recommended action was applied and is being verified of its usefulness by the system. Success -> recommended action was applied and improvement found during verification. Pending Revert -> verification found little or no improvement so recommended action is queued for revert or user has manually reverted. Reverting -> changes made while applying recommended action are being reverted on the user database. Reverted -> successfully reverted the changes made by recommended action on user database. Ignored -> user explicitly ignored/discarded the recommended action. Possible values include: 'RecommendedActionCurrentStateActive', 'RecommendedActionCurrentStatePending', 'RecommendedActionCurrentStateExecuting', 'RecommendedActionCurrentStateVerifying', 'RecommendedActionCurrentStatePendingRevert', 'RecommendedActionCurrentStateRevertCancelled', 'RecommendedActionCurrentStateReverting', 'RecommendedActionCurrentStateReverted', 'RecommendedActionCurrentStateIgnored', 'RecommendedActionCurrentStateExpired', 'RecommendedActionCurrentStateMonitoring', 'RecommendedActionCurrentStateResolved', 'RecommendedActionCurrentStateSuccess', 'RecommendedActionCurrentStateError' CurrentValue RecommendedActionCurrentState `json:"currentValue,omitempty"` // ActionInitiatedBy - READ-ONLY; Gets who initiated the execution of this recommended action. Possible Value are: User -> When user explicity notified system to apply the recommended action. System -> When auto-execute status of this advisor was set to 'Enabled', in which case the system applied it. Possible values include: 'RecommendedActionInitiatedByUser', 'RecommendedActionInitiatedBySystem' ActionInitiatedBy RecommendedActionInitiatedBy `json:"actionInitiatedBy,omitempty"` // LastModified - READ-ONLY; Gets the time when the state was last modified LastModified *date.Time `json:"lastModified,omitempty"` }
RecommendedActionStateInfo contains information of current state for an Azure SQL Database, Server or Elastic Pool Recommended Action.
func (RecommendedActionStateInfo) MarshalJSON ¶
func (rasi RecommendedActionStateInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RecommendedActionStateInfo.
type RecommendedSensitivityLabelUpdate ¶
type RecommendedSensitivityLabelUpdate struct { // RecommendedSensitivityLabelUpdateProperties - Resource properties. *RecommendedSensitivityLabelUpdateProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
RecommendedSensitivityLabelUpdate a recommended sensitivity label update operation.
func (RecommendedSensitivityLabelUpdate) MarshalJSON ¶
func (rslu RecommendedSensitivityLabelUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RecommendedSensitivityLabelUpdate.
func (*RecommendedSensitivityLabelUpdate) UnmarshalJSON ¶
func (rslu *RecommendedSensitivityLabelUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RecommendedSensitivityLabelUpdate struct.
type RecommendedSensitivityLabelUpdateKind ¶
type RecommendedSensitivityLabelUpdateKind string
RecommendedSensitivityLabelUpdateKind enumerates the values for recommended sensitivity label update kind.
const ( // RecommendedSensitivityLabelUpdateKindDisable ... RecommendedSensitivityLabelUpdateKindDisable RecommendedSensitivityLabelUpdateKind = "disable" // RecommendedSensitivityLabelUpdateKindEnable ... RecommendedSensitivityLabelUpdateKindEnable RecommendedSensitivityLabelUpdateKind = "enable" )
func PossibleRecommendedSensitivityLabelUpdateKindValues ¶
func PossibleRecommendedSensitivityLabelUpdateKindValues() []RecommendedSensitivityLabelUpdateKind
PossibleRecommendedSensitivityLabelUpdateKindValues returns an array of possible values for the RecommendedSensitivityLabelUpdateKind const type.
type RecommendedSensitivityLabelUpdateList ¶
type RecommendedSensitivityLabelUpdateList struct {
Operations *[]RecommendedSensitivityLabelUpdate `json:"operations,omitempty"`
}
RecommendedSensitivityLabelUpdateList a list of recommended sensitivity label update operations.
type RecommendedSensitivityLabelUpdateProperties ¶
type RecommendedSensitivityLabelUpdateProperties struct { // Op - Possible values include: 'RecommendedSensitivityLabelUpdateKindEnable', 'RecommendedSensitivityLabelUpdateKindDisable' Op RecommendedSensitivityLabelUpdateKind `json:"op,omitempty"` // Schema - Schema name of the column to update. Schema *string `json:"schema,omitempty"` // Table - Table name of the column to update. Table *string `json:"table,omitempty"` // Column - Column name to update. Column *string `json:"column,omitempty"` }
RecommendedSensitivityLabelUpdateProperties properties of an operation executed on a recommended sensitivity label.
type RecommendedSensitivityLabelsClient ¶
type RecommendedSensitivityLabelsClient struct {
BaseClient
}
RecommendedSensitivityLabelsClient 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 NewRecommendedSensitivityLabelsClient ¶
func NewRecommendedSensitivityLabelsClient(subscriptionID string) RecommendedSensitivityLabelsClient
NewRecommendedSensitivityLabelsClient creates an instance of the RecommendedSensitivityLabelsClient client.
func NewRecommendedSensitivityLabelsClientWithBaseURI ¶
func NewRecommendedSensitivityLabelsClientWithBaseURI(baseURI string, subscriptionID string) RecommendedSensitivityLabelsClient
NewRecommendedSensitivityLabelsClientWithBaseURI creates an instance of the RecommendedSensitivityLabelsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (RecommendedSensitivityLabelsClient) Update ¶
func (client RecommendedSensitivityLabelsClient) Update(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters RecommendedSensitivityLabelUpdateList) (result autorest.Response, err error)
Update update recommended sensitivity labels states of a given database using an operations batch. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (RecommendedSensitivityLabelsClient) UpdatePreparer ¶
func (client RecommendedSensitivityLabelsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters RecommendedSensitivityLabelUpdateList) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (RecommendedSensitivityLabelsClient) UpdateResponder ¶
func (client RecommendedSensitivityLabelsClient) UpdateResponder(resp *http.Response) (result autorest.Response, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (RecommendedSensitivityLabelsClient) UpdateSender ¶
func (client RecommendedSensitivityLabelsClient) UpdateSender(req *http.Request) (*http.Response, error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type RecoverableDatabase ¶
type RecoverableDatabase struct { autorest.Response `json:"-"` // RecoverableDatabaseProperties - The properties of a recoverable database *RecoverableDatabaseProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
RecoverableDatabase a recoverable database
func (RecoverableDatabase) MarshalJSON ¶
func (rd RecoverableDatabase) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RecoverableDatabase.
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 - READ-ONLY; The edition of the database Edition *string `json:"edition,omitempty"` // ServiceLevelObjective - READ-ONLY; The service level objective name of the database ServiceLevelObjective *string `json:"serviceLevelObjective,omitempty"` // ElasticPoolName - READ-ONLY; The elastic pool name of the database ElasticPoolName *string `json:"elasticPoolName,omitempty"` // LastAvailableBackupDate - READ-ONLY; The last available backup date of the database (ISO8601 format) LastAvailableBackupDate *date.Time `json:"lastAvailableBackupDate,omitempty"` }
RecoverableDatabaseProperties the properties of a recoverable database
func (RecoverableDatabaseProperties) MarshalJSON ¶
func (rdp RecoverableDatabaseProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RecoverableDatabaseProperties.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
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 Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - 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 Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - 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 RecoverableManagedDatabase ¶
type RecoverableManagedDatabase struct { autorest.Response `json:"-"` // RecoverableManagedDatabaseProperties - Resource properties. *RecoverableManagedDatabaseProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
RecoverableManagedDatabase a recoverable managed database resource.
func (RecoverableManagedDatabase) MarshalJSON ¶
func (rmd RecoverableManagedDatabase) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RecoverableManagedDatabase.
func (*RecoverableManagedDatabase) UnmarshalJSON ¶
func (rmd *RecoverableManagedDatabase) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RecoverableManagedDatabase struct.
type RecoverableManagedDatabaseListResult ¶
type RecoverableManagedDatabaseListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]RecoverableManagedDatabase `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
RecoverableManagedDatabaseListResult a list of recoverable managed databases.
func (RecoverableManagedDatabaseListResult) IsEmpty ¶
func (rmdlr RecoverableManagedDatabaseListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (RecoverableManagedDatabaseListResult) MarshalJSON ¶
func (rmdlr RecoverableManagedDatabaseListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RecoverableManagedDatabaseListResult.
type RecoverableManagedDatabaseListResultIterator ¶
type RecoverableManagedDatabaseListResultIterator struct {
// contains filtered or unexported fields
}
RecoverableManagedDatabaseListResultIterator provides access to a complete listing of RecoverableManagedDatabase values.
func NewRecoverableManagedDatabaseListResultIterator ¶
func NewRecoverableManagedDatabaseListResultIterator(page RecoverableManagedDatabaseListResultPage) RecoverableManagedDatabaseListResultIterator
Creates a new instance of the RecoverableManagedDatabaseListResultIterator type.
func (*RecoverableManagedDatabaseListResultIterator) Next ¶
func (iter *RecoverableManagedDatabaseListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*RecoverableManagedDatabaseListResultIterator) NextWithContext ¶
func (iter *RecoverableManagedDatabaseListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (RecoverableManagedDatabaseListResultIterator) NotDone ¶
func (iter RecoverableManagedDatabaseListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (RecoverableManagedDatabaseListResultIterator) Response ¶
func (iter RecoverableManagedDatabaseListResultIterator) Response() RecoverableManagedDatabaseListResult
Response returns the raw server response from the last page request.
func (RecoverableManagedDatabaseListResultIterator) Value ¶
func (iter RecoverableManagedDatabaseListResultIterator) Value() RecoverableManagedDatabase
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type RecoverableManagedDatabaseListResultPage ¶
type RecoverableManagedDatabaseListResultPage struct {
// contains filtered or unexported fields
}
RecoverableManagedDatabaseListResultPage contains a page of RecoverableManagedDatabase values.
func NewRecoverableManagedDatabaseListResultPage ¶
func NewRecoverableManagedDatabaseListResultPage(cur RecoverableManagedDatabaseListResult, getNextPage func(context.Context, RecoverableManagedDatabaseListResult) (RecoverableManagedDatabaseListResult, error)) RecoverableManagedDatabaseListResultPage
Creates a new instance of the RecoverableManagedDatabaseListResultPage type.
func (*RecoverableManagedDatabaseListResultPage) Next ¶
func (page *RecoverableManagedDatabaseListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*RecoverableManagedDatabaseListResultPage) NextWithContext ¶
func (page *RecoverableManagedDatabaseListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (RecoverableManagedDatabaseListResultPage) NotDone ¶
func (page RecoverableManagedDatabaseListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (RecoverableManagedDatabaseListResultPage) Response ¶
func (page RecoverableManagedDatabaseListResultPage) Response() RecoverableManagedDatabaseListResult
Response returns the raw server response from the last page request.
func (RecoverableManagedDatabaseListResultPage) Values ¶
func (page RecoverableManagedDatabaseListResultPage) Values() []RecoverableManagedDatabase
Values returns the slice of values for the current page or nil if there are no values.
type RecoverableManagedDatabaseProperties ¶
type RecoverableManagedDatabaseProperties struct { // LastAvailableBackupDate - READ-ONLY; The last available backup date. LastAvailableBackupDate *string `json:"lastAvailableBackupDate,omitempty"` }
RecoverableManagedDatabaseProperties the recoverable managed database's properties.
func (RecoverableManagedDatabaseProperties) MarshalJSON ¶
func (rmdp RecoverableManagedDatabaseProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RecoverableManagedDatabaseProperties.
type RecoverableManagedDatabasesClient ¶
type RecoverableManagedDatabasesClient struct {
BaseClient
}
RecoverableManagedDatabasesClient 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 NewRecoverableManagedDatabasesClient ¶
func NewRecoverableManagedDatabasesClient(subscriptionID string) RecoverableManagedDatabasesClient
NewRecoverableManagedDatabasesClient creates an instance of the RecoverableManagedDatabasesClient client.
func NewRecoverableManagedDatabasesClientWithBaseURI ¶
func NewRecoverableManagedDatabasesClientWithBaseURI(baseURI string, subscriptionID string) RecoverableManagedDatabasesClient
NewRecoverableManagedDatabasesClientWithBaseURI creates an instance of the RecoverableManagedDatabasesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (RecoverableManagedDatabasesClient) Get ¶
func (client RecoverableManagedDatabasesClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, recoverableDatabaseName string) (result RecoverableManagedDatabase, err error)
Get gets a recoverable managed database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (RecoverableManagedDatabasesClient) GetPreparer ¶
func (client RecoverableManagedDatabasesClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, recoverableDatabaseName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (RecoverableManagedDatabasesClient) GetResponder ¶
func (client RecoverableManagedDatabasesClient) GetResponder(resp *http.Response) (result RecoverableManagedDatabase, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (RecoverableManagedDatabasesClient) GetSender ¶
func (client RecoverableManagedDatabasesClient) 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 (RecoverableManagedDatabasesClient) ListByInstance ¶
func (client RecoverableManagedDatabasesClient) ListByInstance(ctx context.Context, resourceGroupName string, managedInstanceName string) (result RecoverableManagedDatabaseListResultPage, err error)
ListByInstance gets a list of recoverable managed databases. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (RecoverableManagedDatabasesClient) ListByInstanceComplete ¶
func (client RecoverableManagedDatabasesClient) ListByInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result RecoverableManagedDatabaseListResultIterator, err error)
ListByInstanceComplete enumerates all values, automatically crossing page boundaries as required.
func (RecoverableManagedDatabasesClient) ListByInstancePreparer ¶
func (client RecoverableManagedDatabasesClient) ListByInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
ListByInstancePreparer prepares the ListByInstance request.
func (RecoverableManagedDatabasesClient) ListByInstanceResponder ¶
func (client RecoverableManagedDatabasesClient) ListByInstanceResponder(resp *http.Response) (result RecoverableManagedDatabaseListResult, err error)
ListByInstanceResponder handles the response to the ListByInstance request. The method always closes the http.Response Body.
func (RecoverableManagedDatabasesClient) ListByInstanceSender ¶
func (client RecoverableManagedDatabasesClient) ListByInstanceSender(req *http.Request) (*http.Response, error)
ListByInstanceSender sends the ListByInstance request. The method will close the http.Response Body if it receives an error.
type ReplicaType ¶
type ReplicaType string
ReplicaType enumerates the values for replica type.
const ( // ReplicaTypePrimary ... ReplicaTypePrimary ReplicaType = "Primary" // ReplicaTypeReadableSecondary ... ReplicaTypeReadableSecondary ReplicaType = "ReadableSecondary" )
func PossibleReplicaTypeValues ¶
func PossibleReplicaTypeValues() []ReplicaType
PossibleReplicaTypeValues returns an array of possible values for the ReplicaType const type.
type ReplicationLink ¶
type ReplicationLink struct { autorest.Response `json:"-"` // ReplicationLinkProperties - Resource properties. *ReplicationLinkProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ReplicationLink a replication link.
func (ReplicationLink) MarshalJSON ¶
func (rl ReplicationLink) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ReplicationLink.
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 - READ-ONLY; Array of results. Value *[]ReplicationLink `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ReplicationLinkListResult a list of replication links.
func (ReplicationLinkListResult) IsEmpty ¶
func (rllr ReplicationLinkListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ReplicationLinkListResult) MarshalJSON ¶
func (rllr ReplicationLinkListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ReplicationLinkListResult.
type ReplicationLinkListResultIterator ¶
type ReplicationLinkListResultIterator struct {
// contains filtered or unexported fields
}
ReplicationLinkListResultIterator provides access to a complete listing of ReplicationLink values.
func NewReplicationLinkListResultIterator ¶
func NewReplicationLinkListResultIterator(page ReplicationLinkListResultPage) ReplicationLinkListResultIterator
Creates a new instance of the ReplicationLinkListResultIterator type.
func (*ReplicationLinkListResultIterator) Next ¶
func (iter *ReplicationLinkListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ReplicationLinkListResultIterator) NextWithContext ¶
func (iter *ReplicationLinkListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ReplicationLinkListResultIterator) NotDone ¶
func (iter ReplicationLinkListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ReplicationLinkListResultIterator) Response ¶
func (iter ReplicationLinkListResultIterator) Response() ReplicationLinkListResult
Response returns the raw server response from the last page request.
func (ReplicationLinkListResultIterator) Value ¶
func (iter ReplicationLinkListResultIterator) Value() ReplicationLink
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ReplicationLinkListResultPage ¶
type ReplicationLinkListResultPage struct {
// contains filtered or unexported fields
}
ReplicationLinkListResultPage contains a page of ReplicationLink values.
func NewReplicationLinkListResultPage ¶
func NewReplicationLinkListResultPage(cur ReplicationLinkListResult, getNextPage func(context.Context, ReplicationLinkListResult) (ReplicationLinkListResult, error)) ReplicationLinkListResultPage
Creates a new instance of the ReplicationLinkListResultPage type.
func (*ReplicationLinkListResultPage) Next ¶
func (page *ReplicationLinkListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ReplicationLinkListResultPage) NextWithContext ¶
func (page *ReplicationLinkListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ReplicationLinkListResultPage) NotDone ¶
func (page ReplicationLinkListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ReplicationLinkListResultPage) Response ¶
func (page ReplicationLinkListResultPage) Response() ReplicationLinkListResult
Response returns the raw server response from the last page request.
func (ReplicationLinkListResultPage) Values ¶
func (page ReplicationLinkListResultPage) Values() []ReplicationLink
Values returns the slice of values for the current page or nil if there are no values.
type ReplicationLinkProperties ¶
type ReplicationLinkProperties struct { // PartnerServer - READ-ONLY; Resource partner server. PartnerServer *string `json:"partnerServer,omitempty"` // PartnerDatabase - READ-ONLY; Resource partner database. PartnerDatabase *string `json:"partnerDatabase,omitempty"` // PartnerLocation - READ-ONLY; Resource partner location. PartnerLocation *string `json:"partnerLocation,omitempty"` // Role - READ-ONLY; Local replication role. Possible values include: 'ReplicationRolePrimary', 'ReplicationRoleSecondary', 'ReplicationRoleNonReadableSecondary', 'ReplicationRoleSource', 'ReplicationRoleCopy' Role ReplicationRole `json:"role,omitempty"` // PartnerRole - READ-ONLY; Partner replication role. Possible values include: 'ReplicationRolePrimary', 'ReplicationRoleSecondary', 'ReplicationRoleNonReadableSecondary', 'ReplicationRoleSource', 'ReplicationRoleCopy' PartnerRole ReplicationRole `json:"partnerRole,omitempty"` // ReplicationMode - READ-ONLY; Replication mode. ReplicationMode *string `json:"replicationMode,omitempty"` // StartTime - READ-ONLY; Time at which the link was created. StartTime *date.Time `json:"startTime,omitempty"` // PercentComplete - READ-ONLY; Seeding completion percentage for the link. PercentComplete *int32 `json:"percentComplete,omitempty"` // ReplicationState - READ-ONLY; Replication state (PENDING, SEEDING, CATCHUP, SUSPENDED). Possible values include: 'ReplicationStatePENDING', 'ReplicationStateSEEDING', 'ReplicationStateCATCHUP', 'ReplicationStateSUSPENDED' ReplicationState ReplicationState `json:"replicationState,omitempty"` // IsTerminationAllowed - READ-ONLY; Whether the user is currently allowed to terminate the link. IsTerminationAllowed *bool `json:"isTerminationAllowed,omitempty"` // LinkType - READ-ONLY; Link type (GEO, NAMED). Possible values include: 'ReplicationLinkTypeGEO', 'ReplicationLinkTypeNAMED' LinkType ReplicationLinkType `json:"linkType,omitempty"` }
ReplicationLinkProperties properties of a replication link.
func (ReplicationLinkProperties) MarshalJSON ¶
func (rlp ReplicationLinkProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ReplicationLinkProperties.
type ReplicationLinkType ¶
type ReplicationLinkType string
ReplicationLinkType enumerates the values for replication link type.
const ( // ReplicationLinkTypeGEO ... ReplicationLinkTypeGEO ReplicationLinkType = "GEO" // ReplicationLinkTypeNAMED ... ReplicationLinkTypeNAMED ReplicationLinkType = "NAMED" )
func PossibleReplicationLinkTypeValues ¶
func PossibleReplicationLinkTypeValues() []ReplicationLinkType
PossibleReplicationLinkTypeValues returns an array of possible values for the ReplicationLinkType const type.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database that has the replication link to be dropped. linkID - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database that has the replication link to be failed over. linkID - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database that has the replication link to be failed over. linkID - 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 replication link. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. linkID - the name of the replication link.
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 ReplicationLinkListResultPage, err error)
ListByDatabase gets a list of replication links on database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (ReplicationLinksClient) ListByDatabaseComplete ¶
func (client ReplicationLinksClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result ReplicationLinkListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
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.
func (ReplicationLinksClient) ListByServer ¶
func (client ReplicationLinksClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result ReplicationLinkListResultPage, err error)
ListByServer gets a list of replication links. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (ReplicationLinksClient) ListByServerComplete ¶
func (client ReplicationLinksClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result ReplicationLinkListResultIterator, err error)
ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
func (ReplicationLinksClient) ListByServerPreparer ¶
func (client ReplicationLinksClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (ReplicationLinksClient) ListByServerResponder ¶
func (client ReplicationLinksClient) ListByServerResponder(resp *http.Response) (result ReplicationLinkListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (ReplicationLinksClient) ListByServerSender ¶
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
func (ReplicationLinksClient) Unlink ¶
func (client ReplicationLinksClient) Unlink(ctx context.Context, resourceGroupName string, serverName string, databaseName string, linkID string, parameters UnlinkParameters) (result ReplicationLinksUnlinkFuture, err error)
Unlink deletes a database replication link in forced or friendly way. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database that has the replication link to be failed over. linkID - the ID of the replication link to be failed over. parameters - the required parameters for unlinking replication link.
func (ReplicationLinksClient) UnlinkPreparer ¶
func (client ReplicationLinksClient) UnlinkPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, linkID string, parameters UnlinkParameters) (*http.Request, error)
UnlinkPreparer prepares the Unlink request.
func (ReplicationLinksClient) UnlinkResponder ¶
func (client ReplicationLinksClient) UnlinkResponder(resp *http.Response) (result autorest.Response, err error)
UnlinkResponder handles the response to the Unlink request. The method always closes the http.Response Body.
func (ReplicationLinksClient) UnlinkSender ¶
func (client ReplicationLinksClient) UnlinkSender(req *http.Request) (future ReplicationLinksUnlinkFuture, err error)
UnlinkSender sends the Unlink request. The method will close the http.Response Body if it receives an error.
type ReplicationLinksFailoverAllowDataLossFuture ¶
type ReplicationLinksFailoverAllowDataLossFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ReplicationLinksClient) (autorest.Response, error) }
ReplicationLinksFailoverAllowDataLossFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ReplicationLinksFailoverAllowDataLossFuture) UnmarshalJSON ¶
func (future *ReplicationLinksFailoverAllowDataLossFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ReplicationLinksFailoverFuture ¶
type ReplicationLinksFailoverFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ReplicationLinksClient) (autorest.Response, error) }
ReplicationLinksFailoverFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ReplicationLinksFailoverFuture) UnmarshalJSON ¶
func (future *ReplicationLinksFailoverFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ReplicationLinksUnlinkFuture ¶
type ReplicationLinksUnlinkFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ReplicationLinksClient) (autorest.Response, error) }
ReplicationLinksUnlinkFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ReplicationLinksUnlinkFuture) UnmarshalJSON ¶
func (future *ReplicationLinksUnlinkFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
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" )
func PossibleReplicationRoleValues ¶
func PossibleReplicationRoleValues() []ReplicationRole
PossibleReplicationRoleValues returns an array of possible values for the ReplicationRole const type.
type ReplicationState ¶
type ReplicationState string
ReplicationState enumerates the values for replication state.
const ( // ReplicationStateCATCHUP ... ReplicationStateCATCHUP ReplicationState = "CATCH_UP" // ReplicationStatePENDING ... ReplicationStatePENDING ReplicationState = "PENDING" // ReplicationStateSEEDING ... ReplicationStateSEEDING ReplicationState = "SEEDING" // ReplicationStateSUSPENDED ... ReplicationStateSUSPENDED ReplicationState = "SUSPENDED" )
func PossibleReplicationStateValues ¶
func PossibleReplicationStateValues() []ReplicationState
PossibleReplicationStateValues returns an array of possible values for the ReplicationState const type.
type RequestedBackupStorageRedundancy ¶
type RequestedBackupStorageRedundancy string
RequestedBackupStorageRedundancy enumerates the values for requested backup storage redundancy.
const ( // RequestedBackupStorageRedundancyGeo ... RequestedBackupStorageRedundancyGeo RequestedBackupStorageRedundancy = "Geo" // RequestedBackupStorageRedundancyLocal ... RequestedBackupStorageRedundancyLocal RequestedBackupStorageRedundancy = "Local" // RequestedBackupStorageRedundancyZone ... RequestedBackupStorageRedundancyZone RequestedBackupStorageRedundancy = "Zone" )
func PossibleRequestedBackupStorageRedundancyValues ¶
func PossibleRequestedBackupStorageRedundancyValues() []RequestedBackupStorageRedundancy
PossibleRequestedBackupStorageRedundancyValues returns an array of possible values for the RequestedBackupStorageRedundancy const type.
type Resource ¶
type Resource struct { // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
Resource ARM resource.
func (Resource) MarshalJSON ¶
MarshalJSON is the custom marshaler for Resource.
type ResourceIdentity ¶
type ResourceIdentity struct { // UserAssignedIdentities - The resource ids of the user assigned identities to use UserAssignedIdentities map[string]*UserIdentity `json:"userAssignedIdentities"` // PrincipalID - READ-ONLY; The Azure Active Directory principal id. PrincipalID *uuid.UUID `json:"principalId,omitempty"` // Type - The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. Possible values include: 'IdentityTypeNone', 'IdentityTypeSystemAssigned', 'IdentityTypeUserAssigned' Type IdentityType `json:"type,omitempty"` // TenantID - READ-ONLY; The Azure Active Directory tenant id. TenantID *uuid.UUID `json:"tenantId,omitempty"` }
ResourceIdentity azure Active Directory identity configuration for a resource.
func (ResourceIdentity) MarshalJSON ¶
func (ri ResourceIdentity) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResourceIdentity.
type ResourceIdentityWithUserAssignedIdentities ¶
type ResourceIdentityWithUserAssignedIdentities struct { // UserAssignedIdentities - The resource ids of the user assigned identities to use UserAssignedIdentities map[string]*UserIdentity `json:"userAssignedIdentities"` // PrincipalID - READ-ONLY; The Azure Active Directory principal id. PrincipalID *uuid.UUID `json:"principalId,omitempty"` // Type - The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. Possible values include: 'IdentityTypeNone', 'IdentityTypeSystemAssigned', 'IdentityTypeUserAssigned' Type IdentityType `json:"type,omitempty"` // TenantID - READ-ONLY; The Azure Active Directory tenant id. TenantID *uuid.UUID `json:"tenantId,omitempty"` }
ResourceIdentityWithUserAssignedIdentities azure Active Directory identity configuration for a resource.
func (ResourceIdentityWithUserAssignedIdentities) MarshalJSON ¶
func (riwuai ResourceIdentityWithUserAssignedIdentities) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResourceIdentityWithUserAssignedIdentities.
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 ResourceWithWritableName ¶
type ResourceWithWritableName struct { // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ResourceWithWritableName ARM resource.
func (ResourceWithWritableName) MarshalJSON ¶
func (rwwn ResourceWithWritableName) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResourceWithWritableName.
type RestorableDroppedDatabase ¶
type RestorableDroppedDatabase struct { autorest.Response `json:"-"` // Sku - The name and tier of the SKU. Sku *Sku `json:"sku,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // RestorableDroppedDatabaseProperties - Resource properties. *RestorableDroppedDatabaseProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
RestorableDroppedDatabase a restorable dropped database resource.
func (RestorableDroppedDatabase) MarshalJSON ¶
func (rdd RestorableDroppedDatabase) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RestorableDroppedDatabase.
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 - READ-ONLY; Array of results. Value *[]RestorableDroppedDatabase `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
RestorableDroppedDatabaseListResult a list of restorable dropped databases.
func (RestorableDroppedDatabaseListResult) IsEmpty ¶
func (rddlr RestorableDroppedDatabaseListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (RestorableDroppedDatabaseListResult) MarshalJSON ¶
func (rddlr RestorableDroppedDatabaseListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RestorableDroppedDatabaseListResult.
type RestorableDroppedDatabaseListResultIterator ¶
type RestorableDroppedDatabaseListResultIterator struct {
// contains filtered or unexported fields
}
RestorableDroppedDatabaseListResultIterator provides access to a complete listing of RestorableDroppedDatabase values.
func NewRestorableDroppedDatabaseListResultIterator ¶
func NewRestorableDroppedDatabaseListResultIterator(page RestorableDroppedDatabaseListResultPage) RestorableDroppedDatabaseListResultIterator
Creates a new instance of the RestorableDroppedDatabaseListResultIterator type.
func (*RestorableDroppedDatabaseListResultIterator) Next ¶
func (iter *RestorableDroppedDatabaseListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*RestorableDroppedDatabaseListResultIterator) NextWithContext ¶
func (iter *RestorableDroppedDatabaseListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (RestorableDroppedDatabaseListResultIterator) NotDone ¶
func (iter RestorableDroppedDatabaseListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (RestorableDroppedDatabaseListResultIterator) Response ¶
func (iter RestorableDroppedDatabaseListResultIterator) Response() RestorableDroppedDatabaseListResult
Response returns the raw server response from the last page request.
func (RestorableDroppedDatabaseListResultIterator) Value ¶
func (iter RestorableDroppedDatabaseListResultIterator) Value() RestorableDroppedDatabase
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type RestorableDroppedDatabaseListResultPage ¶
type RestorableDroppedDatabaseListResultPage struct {
// contains filtered or unexported fields
}
RestorableDroppedDatabaseListResultPage contains a page of RestorableDroppedDatabase values.
func NewRestorableDroppedDatabaseListResultPage ¶
func NewRestorableDroppedDatabaseListResultPage(cur RestorableDroppedDatabaseListResult, getNextPage func(context.Context, RestorableDroppedDatabaseListResult) (RestorableDroppedDatabaseListResult, error)) RestorableDroppedDatabaseListResultPage
Creates a new instance of the RestorableDroppedDatabaseListResultPage type.
func (*RestorableDroppedDatabaseListResultPage) Next ¶
func (page *RestorableDroppedDatabaseListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*RestorableDroppedDatabaseListResultPage) NextWithContext ¶
func (page *RestorableDroppedDatabaseListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (RestorableDroppedDatabaseListResultPage) NotDone ¶
func (page RestorableDroppedDatabaseListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (RestorableDroppedDatabaseListResultPage) Response ¶
func (page RestorableDroppedDatabaseListResultPage) Response() RestorableDroppedDatabaseListResult
Response returns the raw server response from the last page request.
func (RestorableDroppedDatabaseListResultPage) Values ¶
func (page RestorableDroppedDatabaseListResultPage) Values() []RestorableDroppedDatabase
Values returns the slice of values for the current page or nil if there are no values.
type RestorableDroppedDatabaseProperties ¶
type RestorableDroppedDatabaseProperties struct { // DatabaseName - READ-ONLY; The name of the database. DatabaseName *string `json:"databaseName,omitempty"` // MaxSizeBytes - READ-ONLY; The max size of the database expressed in bytes. MaxSizeBytes *int64 `json:"maxSizeBytes,omitempty"` // ElasticPoolID - READ-ONLY; DEPRECATED: The resource name of the elastic pool containing this database. This property is deprecated and the value will always be null. ElasticPoolID *string `json:"elasticPoolId,omitempty"` // CreationDate - READ-ONLY; The creation date of the database (ISO8601 format). CreationDate *date.Time `json:"creationDate,omitempty"` // DeletionDate - READ-ONLY; The deletion date of the database (ISO8601 format). DeletionDate *date.Time `json:"deletionDate,omitempty"` // EarliestRestoreDate - READ-ONLY; The earliest restore date of the database (ISO8601 format). EarliestRestoreDate *date.Time `json:"earliestRestoreDate,omitempty"` // BackupStorageRedundancy - READ-ONLY; The storage account type used to store backups for this database. Possible values include: 'BackupStorageRedundancy1Geo', 'BackupStorageRedundancy1Local', 'BackupStorageRedundancy1Zone' BackupStorageRedundancy BackupStorageRedundancy1 `json:"backupStorageRedundancy,omitempty"` }
RestorableDroppedDatabaseProperties the restorable dropped database's properties.
func (RestorableDroppedDatabaseProperties) MarshalJSON ¶
func (rddp RestorableDroppedDatabaseProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RestorableDroppedDatabaseProperties.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (RestorableDroppedDatabasesClient) Get ¶
func (client RestorableDroppedDatabasesClient) Get(ctx context.Context, resourceGroupName string, serverName string, restorableDroppedDatabaseID string) (result RestorableDroppedDatabase, err error)
Get gets a restorable dropped database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (RestorableDroppedDatabasesClient) GetPreparer ¶
func (client RestorableDroppedDatabasesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, restorableDroppedDatabaseID 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 RestorableDroppedDatabaseListResultPage, err error)
ListByServer gets a list of restorable dropped databases. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (RestorableDroppedDatabasesClient) ListByServerComplete ¶
func (client RestorableDroppedDatabasesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result RestorableDroppedDatabaseListResultIterator, err error)
ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
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 RestorableDroppedManagedDatabase ¶
type RestorableDroppedManagedDatabase struct { autorest.Response `json:"-"` // RestorableDroppedManagedDatabaseProperties - Resource properties. *RestorableDroppedManagedDatabaseProperties `json:"properties,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
RestorableDroppedManagedDatabase a restorable dropped managed database resource.
func (RestorableDroppedManagedDatabase) MarshalJSON ¶
func (rdmd RestorableDroppedManagedDatabase) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RestorableDroppedManagedDatabase.
func (*RestorableDroppedManagedDatabase) UnmarshalJSON ¶
func (rdmd *RestorableDroppedManagedDatabase) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RestorableDroppedManagedDatabase struct.
type RestorableDroppedManagedDatabaseListResult ¶
type RestorableDroppedManagedDatabaseListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]RestorableDroppedManagedDatabase `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
RestorableDroppedManagedDatabaseListResult a list of restorable dropped managed databases.
func (RestorableDroppedManagedDatabaseListResult) IsEmpty ¶
func (rdmdlr RestorableDroppedManagedDatabaseListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (RestorableDroppedManagedDatabaseListResult) MarshalJSON ¶
func (rdmdlr RestorableDroppedManagedDatabaseListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RestorableDroppedManagedDatabaseListResult.
type RestorableDroppedManagedDatabaseListResultIterator ¶
type RestorableDroppedManagedDatabaseListResultIterator struct {
// contains filtered or unexported fields
}
RestorableDroppedManagedDatabaseListResultIterator provides access to a complete listing of RestorableDroppedManagedDatabase values.
func NewRestorableDroppedManagedDatabaseListResultIterator ¶
func NewRestorableDroppedManagedDatabaseListResultIterator(page RestorableDroppedManagedDatabaseListResultPage) RestorableDroppedManagedDatabaseListResultIterator
Creates a new instance of the RestorableDroppedManagedDatabaseListResultIterator type.
func (*RestorableDroppedManagedDatabaseListResultIterator) Next ¶
func (iter *RestorableDroppedManagedDatabaseListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*RestorableDroppedManagedDatabaseListResultIterator) NextWithContext ¶
func (iter *RestorableDroppedManagedDatabaseListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (RestorableDroppedManagedDatabaseListResultIterator) NotDone ¶
func (iter RestorableDroppedManagedDatabaseListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (RestorableDroppedManagedDatabaseListResultIterator) Response ¶
func (iter RestorableDroppedManagedDatabaseListResultIterator) Response() RestorableDroppedManagedDatabaseListResult
Response returns the raw server response from the last page request.
func (RestorableDroppedManagedDatabaseListResultIterator) Value ¶
func (iter RestorableDroppedManagedDatabaseListResultIterator) Value() RestorableDroppedManagedDatabase
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type RestorableDroppedManagedDatabaseListResultPage ¶
type RestorableDroppedManagedDatabaseListResultPage struct {
// contains filtered or unexported fields
}
RestorableDroppedManagedDatabaseListResultPage contains a page of RestorableDroppedManagedDatabase values.
func NewRestorableDroppedManagedDatabaseListResultPage ¶
func NewRestorableDroppedManagedDatabaseListResultPage(cur RestorableDroppedManagedDatabaseListResult, getNextPage func(context.Context, RestorableDroppedManagedDatabaseListResult) (RestorableDroppedManagedDatabaseListResult, error)) RestorableDroppedManagedDatabaseListResultPage
Creates a new instance of the RestorableDroppedManagedDatabaseListResultPage type.
func (*RestorableDroppedManagedDatabaseListResultPage) Next ¶
func (page *RestorableDroppedManagedDatabaseListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*RestorableDroppedManagedDatabaseListResultPage) NextWithContext ¶
func (page *RestorableDroppedManagedDatabaseListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (RestorableDroppedManagedDatabaseListResultPage) NotDone ¶
func (page RestorableDroppedManagedDatabaseListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (RestorableDroppedManagedDatabaseListResultPage) Response ¶
func (page RestorableDroppedManagedDatabaseListResultPage) Response() RestorableDroppedManagedDatabaseListResult
Response returns the raw server response from the last page request.
func (RestorableDroppedManagedDatabaseListResultPage) Values ¶
func (page RestorableDroppedManagedDatabaseListResultPage) Values() []RestorableDroppedManagedDatabase
Values returns the slice of values for the current page or nil if there are no values.
type RestorableDroppedManagedDatabaseProperties ¶
type RestorableDroppedManagedDatabaseProperties struct { // DatabaseName - READ-ONLY; The name of the database. DatabaseName *string `json:"databaseName,omitempty"` // CreationDate - READ-ONLY; The creation date of the database (ISO8601 format). CreationDate *date.Time `json:"creationDate,omitempty"` // DeletionDate - READ-ONLY; The deletion date of the database (ISO8601 format). DeletionDate *date.Time `json:"deletionDate,omitempty"` // EarliestRestoreDate - READ-ONLY; The earliest restore date of the database (ISO8601 format). EarliestRestoreDate *date.Time `json:"earliestRestoreDate,omitempty"` }
RestorableDroppedManagedDatabaseProperties the restorable dropped managed database's properties.
func (RestorableDroppedManagedDatabaseProperties) MarshalJSON ¶
func (rdmdp RestorableDroppedManagedDatabaseProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RestorableDroppedManagedDatabaseProperties.
type RestorableDroppedManagedDatabasesClient ¶
type RestorableDroppedManagedDatabasesClient struct {
BaseClient
}
RestorableDroppedManagedDatabasesClient 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 NewRestorableDroppedManagedDatabasesClient ¶
func NewRestorableDroppedManagedDatabasesClient(subscriptionID string) RestorableDroppedManagedDatabasesClient
NewRestorableDroppedManagedDatabasesClient creates an instance of the RestorableDroppedManagedDatabasesClient client.
func NewRestorableDroppedManagedDatabasesClientWithBaseURI ¶
func NewRestorableDroppedManagedDatabasesClientWithBaseURI(baseURI string, subscriptionID string) RestorableDroppedManagedDatabasesClient
NewRestorableDroppedManagedDatabasesClientWithBaseURI creates an instance of the RestorableDroppedManagedDatabasesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (RestorableDroppedManagedDatabasesClient) Get ¶
func (client RestorableDroppedManagedDatabasesClient) Get(ctx context.Context, resourceGroupName string, managedInstanceName string, restorableDroppedDatabaseID string) (result RestorableDroppedManagedDatabase, err error)
Get gets a restorable dropped managed database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (RestorableDroppedManagedDatabasesClient) GetPreparer ¶
func (client RestorableDroppedManagedDatabasesClient) GetPreparer(ctx context.Context, resourceGroupName string, managedInstanceName string, restorableDroppedDatabaseID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (RestorableDroppedManagedDatabasesClient) GetResponder ¶
func (client RestorableDroppedManagedDatabasesClient) GetResponder(resp *http.Response) (result RestorableDroppedManagedDatabase, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (RestorableDroppedManagedDatabasesClient) GetSender ¶
func (client RestorableDroppedManagedDatabasesClient) 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 (RestorableDroppedManagedDatabasesClient) ListByInstance ¶
func (client RestorableDroppedManagedDatabasesClient) ListByInstance(ctx context.Context, resourceGroupName string, managedInstanceName string) (result RestorableDroppedManagedDatabaseListResultPage, err error)
ListByInstance gets a list of restorable dropped managed databases. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (RestorableDroppedManagedDatabasesClient) ListByInstanceComplete ¶
func (client RestorableDroppedManagedDatabasesClient) ListByInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result RestorableDroppedManagedDatabaseListResultIterator, err error)
ListByInstanceComplete enumerates all values, automatically crossing page boundaries as required.
func (RestorableDroppedManagedDatabasesClient) ListByInstancePreparer ¶
func (client RestorableDroppedManagedDatabasesClient) ListByInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
ListByInstancePreparer prepares the ListByInstance request.
func (RestorableDroppedManagedDatabasesClient) ListByInstanceResponder ¶
func (client RestorableDroppedManagedDatabasesClient) ListByInstanceResponder(resp *http.Response) (result RestorableDroppedManagedDatabaseListResult, err error)
ListByInstanceResponder handles the response to the ListByInstance request. The method always closes the http.Response Body.
func (RestorableDroppedManagedDatabasesClient) ListByInstanceSender ¶
func (client RestorableDroppedManagedDatabasesClient) ListByInstanceSender(req *http.Request) (*http.Response, error)
ListByInstanceSender sends the ListByInstance request. The method will close the http.Response Body if it receives an error.
type RestorePoint ¶
type RestorePoint struct { autorest.Response `json:"-"` // Location - READ-ONLY; Resource location. Location *string `json:"location,omitempty"` // RestorePointProperties - Resource properties. *RestorePointProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
RestorePoint database restore points.
func (RestorePoint) MarshalJSON ¶
func (rp RestorePoint) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RestorePoint.
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 - READ-ONLY; Array of results. Value *[]RestorePoint `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
RestorePointListResult a list of long term retention backups.
func (RestorePointListResult) IsEmpty ¶
func (rplr RestorePointListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (RestorePointListResult) MarshalJSON ¶
func (rplr RestorePointListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RestorePointListResult.
type RestorePointListResultIterator ¶
type RestorePointListResultIterator struct {
// contains filtered or unexported fields
}
RestorePointListResultIterator provides access to a complete listing of RestorePoint values.
func NewRestorePointListResultIterator ¶
func NewRestorePointListResultIterator(page RestorePointListResultPage) RestorePointListResultIterator
Creates a new instance of the RestorePointListResultIterator type.
func (*RestorePointListResultIterator) Next ¶
func (iter *RestorePointListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*RestorePointListResultIterator) NextWithContext ¶
func (iter *RestorePointListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (RestorePointListResultIterator) NotDone ¶
func (iter RestorePointListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (RestorePointListResultIterator) Response ¶
func (iter RestorePointListResultIterator) Response() RestorePointListResult
Response returns the raw server response from the last page request.
func (RestorePointListResultIterator) Value ¶
func (iter RestorePointListResultIterator) Value() RestorePoint
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type RestorePointListResultPage ¶
type RestorePointListResultPage struct {
// contains filtered or unexported fields
}
RestorePointListResultPage contains a page of RestorePoint values.
func NewRestorePointListResultPage ¶
func NewRestorePointListResultPage(cur RestorePointListResult, getNextPage func(context.Context, RestorePointListResult) (RestorePointListResult, error)) RestorePointListResultPage
Creates a new instance of the RestorePointListResultPage type.
func (*RestorePointListResultPage) Next ¶
func (page *RestorePointListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*RestorePointListResultPage) NextWithContext ¶
func (page *RestorePointListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (RestorePointListResultPage) NotDone ¶
func (page RestorePointListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (RestorePointListResultPage) Response ¶
func (page RestorePointListResultPage) Response() RestorePointListResult
Response returns the raw server response from the last page request.
func (RestorePointListResultPage) Values ¶
func (page RestorePointListResultPage) Values() []RestorePoint
Values returns the slice of values for the current page or nil if there are no values.
type RestorePointProperties ¶
type RestorePointProperties struct { // RestorePointType - READ-ONLY; The type of restore point. Possible values include: 'RestorePointTypeCONTINUOUS', 'RestorePointTypeDISCRETE' RestorePointType RestorePointType `json:"restorePointType,omitempty"` // EarliestRestoreDate - READ-ONLY; The earliest time to which this database can be restored EarliestRestoreDate *date.Time `json:"earliestRestoreDate,omitempty"` // RestorePointCreationDate - READ-ONLY; The time the backup was taken RestorePointCreationDate *date.Time `json:"restorePointCreationDate,omitempty"` // RestorePointLabel - READ-ONLY; The label of restore point for backup request by user RestorePointLabel *string `json:"restorePointLabel,omitempty"` }
RestorePointProperties properties of a database restore point
func (RestorePointProperties) MarshalJSON ¶
func (rpp RestorePointProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RestorePointProperties.
type RestorePointType ¶
type RestorePointType string
RestorePointType enumerates the values for restore point type.
const ( // RestorePointTypeCONTINUOUS ... RestorePointTypeCONTINUOUS RestorePointType = "CONTINUOUS" // RestorePointTypeDISCRETE ... RestorePointTypeDISCRETE RestorePointType = "DISCRETE" )
func PossibleRestorePointTypeValues ¶
func PossibleRestorePointTypeValues() []RestorePointType
PossibleRestorePointTypeValues returns an array of possible values for the RestorePointType const type.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (RestorePointsClient) Create ¶
func (client RestorePointsClient) Create(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters CreateDatabaseRestorePointDefinition) (result RestorePointsCreateFuture, err error)
Create creates a restore point for a data warehouse. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. parameters - the definition for creating the restore point of this database.
func (RestorePointsClient) CreatePreparer ¶
func (client RestorePointsClient) CreatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters CreateDatabaseRestorePointDefinition) (*http.Request, error)
CreatePreparer prepares the Create request.
func (RestorePointsClient) CreateResponder ¶
func (client RestorePointsClient) CreateResponder(resp *http.Response) (result RestorePoint, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (RestorePointsClient) CreateSender ¶
func (client RestorePointsClient) CreateSender(req *http.Request) (future RestorePointsCreateFuture, err error)
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (RestorePointsClient) Delete ¶
func (client RestorePointsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, databaseName string, restorePointName string) (result autorest.Response, err error)
Delete deletes a restore point. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. restorePointName - the name of the restore point.
func (RestorePointsClient) DeletePreparer ¶
func (client RestorePointsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, restorePointName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (RestorePointsClient) DeleteResponder ¶
func (client RestorePointsClient) 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 (RestorePointsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (RestorePointsClient) Get ¶
func (client RestorePointsClient) Get(ctx context.Context, resourceGroupName string, serverName string, databaseName string, restorePointName string) (result RestorePoint, err error)
Get gets a restore point. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. restorePointName - the name of the restore point.
func (RestorePointsClient) GetPreparer ¶
func (client RestorePointsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, restorePointName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (RestorePointsClient) GetResponder ¶
func (client RestorePointsClient) GetResponder(resp *http.Response) (result RestorePoint, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (RestorePointsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (RestorePointsClient) ListByDatabase ¶
func (client RestorePointsClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result RestorePointListResultPage, err error)
ListByDatabase gets a list of database restore points. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (RestorePointsClient) ListByDatabaseComplete ¶
func (client RestorePointsClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result RestorePointListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
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 RestorePointsCreateFuture ¶
type RestorePointsCreateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(RestorePointsClient) (RestorePoint, error) }
RestorePointsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*RestorePointsCreateFuture) UnmarshalJSON ¶
func (future *RestorePointsCreateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type SampleName ¶
type SampleName string
SampleName enumerates the values for sample name.
const ( // SampleNameAdventureWorksLT ... SampleNameAdventureWorksLT SampleName = "AdventureWorksLT" // SampleNameWideWorldImportersFull ... SampleNameWideWorldImportersFull SampleName = "WideWorldImportersFull" // SampleNameWideWorldImportersStd ... SampleNameWideWorldImportersStd SampleName = "WideWorldImportersStd" )
func PossibleSampleNameValues ¶
func PossibleSampleNameValues() []SampleName
PossibleSampleNameValues returns an array of possible values for the SampleName const type.
type SecondaryType ¶
type SecondaryType string
SecondaryType enumerates the values for secondary type.
const ( // SecondaryTypeGeo ... SecondaryTypeGeo SecondaryType = "Geo" // SecondaryTypeNamed ... SecondaryTypeNamed SecondaryType = "Named" )
func PossibleSecondaryTypeValues ¶
func PossibleSecondaryTypeValues() []SecondaryType
PossibleSecondaryTypeValues returns an array of possible values for the SecondaryType const type.
type SecurityAlertPolicyProperties ¶
type SecurityAlertPolicyProperties struct { // State - Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database. Possible values include: 'SecurityAlertPolicyStateNew', 'SecurityAlertPolicyStateEnabled', 'SecurityAlertPolicyStateDisabled' State SecurityAlertPolicyState `json:"state,omitempty"` // DisabledAlerts - Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force DisabledAlerts *[]string `json:"disabledAlerts,omitempty"` // EmailAddresses - Specifies an array of e-mail addresses to which the alert is sent. EmailAddresses *[]string `json:"emailAddresses,omitempty"` // EmailAccountAdmins - Specifies that the alert is sent to the account administrators. EmailAccountAdmins *bool `json:"emailAccountAdmins,omitempty"` // StorageEndpoint - Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. StorageEndpoint *string `json:"storageEndpoint,omitempty"` // StorageAccountAccessKey - Specifies the identifier key of the Threat Detection audit storage account. StorageAccountAccessKey *string `json:"storageAccountAccessKey,omitempty"` // RetentionDays - Specifies the number of days to keep in the Threat Detection audit logs. RetentionDays *int32 `json:"retentionDays,omitempty"` // CreationTime - READ-ONLY; Specifies the UTC creation time of the policy. CreationTime *date.Time `json:"creationTime,omitempty"` }
SecurityAlertPolicyProperties properties of a security alert policy.
func (SecurityAlertPolicyProperties) MarshalJSON ¶
func (sapp SecurityAlertPolicyProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SecurityAlertPolicyProperties.
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" )
func PossibleSecurityAlertPolicyStateValues ¶
func PossibleSecurityAlertPolicyStateValues() []SecurityAlertPolicyState
PossibleSecurityAlertPolicyStateValues returns an array of possible values for the SecurityAlertPolicyState const type.
type SecurityAlertsPolicyProperties ¶
type SecurityAlertsPolicyProperties struct { // State - Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database. Possible values include: 'SecurityAlertsPolicyStateEnabled', 'SecurityAlertsPolicyStateDisabled' State SecurityAlertsPolicyState `json:"state,omitempty"` // DisabledAlerts - Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force DisabledAlerts *[]string `json:"disabledAlerts,omitempty"` // EmailAddresses - Specifies an array of e-mail addresses to which the alert is sent. EmailAddresses *[]string `json:"emailAddresses,omitempty"` // EmailAccountAdmins - Specifies that the alert is sent to the account administrators. EmailAccountAdmins *bool `json:"emailAccountAdmins,omitempty"` // StorageEndpoint - Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. StorageEndpoint *string `json:"storageEndpoint,omitempty"` // StorageAccountAccessKey - Specifies the identifier key of the Threat Detection audit storage account. StorageAccountAccessKey *string `json:"storageAccountAccessKey,omitempty"` // RetentionDays - Specifies the number of days to keep in the Threat Detection audit logs. RetentionDays *int32 `json:"retentionDays,omitempty"` // CreationTime - READ-ONLY; Specifies the UTC creation time of the policy. CreationTime *date.Time `json:"creationTime,omitempty"` }
SecurityAlertsPolicyProperties properties of a security alert policy.
func (SecurityAlertsPolicyProperties) MarshalJSON ¶
func (sapp SecurityAlertsPolicyProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SecurityAlertsPolicyProperties.
type SecurityAlertsPolicyState ¶
type SecurityAlertsPolicyState string
SecurityAlertsPolicyState enumerates the values for security alerts policy state.
const ( // SecurityAlertsPolicyStateDisabled ... SecurityAlertsPolicyStateDisabled SecurityAlertsPolicyState = "Disabled" // SecurityAlertsPolicyStateEnabled ... SecurityAlertsPolicyStateEnabled SecurityAlertsPolicyState = "Enabled" )
func PossibleSecurityAlertsPolicyStateValues ¶
func PossibleSecurityAlertsPolicyStateValues() []SecurityAlertsPolicyState
PossibleSecurityAlertsPolicyStateValues returns an array of possible values for the SecurityAlertsPolicyState const type.
type SecurityEvent ¶
type SecurityEvent struct { // SecurityEventProperties - Resource properties. *SecurityEventProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
SecurityEvent a security event.
func (SecurityEvent) MarshalJSON ¶
func (se SecurityEvent) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SecurityEvent.
func (*SecurityEvent) UnmarshalJSON ¶
func (se *SecurityEvent) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SecurityEvent struct.
type SecurityEventCollection ¶
type SecurityEventCollection struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]SecurityEvent `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
SecurityEventCollection a list of security events.
func (SecurityEventCollection) IsEmpty ¶
func (sec SecurityEventCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (SecurityEventCollection) MarshalJSON ¶
func (sec SecurityEventCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SecurityEventCollection.
type SecurityEventCollectionIterator ¶
type SecurityEventCollectionIterator struct {
// contains filtered or unexported fields
}
SecurityEventCollectionIterator provides access to a complete listing of SecurityEvent values.
func NewSecurityEventCollectionIterator ¶
func NewSecurityEventCollectionIterator(page SecurityEventCollectionPage) SecurityEventCollectionIterator
Creates a new instance of the SecurityEventCollectionIterator type.
func (*SecurityEventCollectionIterator) Next ¶
func (iter *SecurityEventCollectionIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SecurityEventCollectionIterator) NextWithContext ¶
func (iter *SecurityEventCollectionIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (SecurityEventCollectionIterator) NotDone ¶
func (iter SecurityEventCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SecurityEventCollectionIterator) Response ¶
func (iter SecurityEventCollectionIterator) Response() SecurityEventCollection
Response returns the raw server response from the last page request.
func (SecurityEventCollectionIterator) Value ¶
func (iter SecurityEventCollectionIterator) Value() SecurityEvent
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SecurityEventCollectionPage ¶
type SecurityEventCollectionPage struct {
// contains filtered or unexported fields
}
SecurityEventCollectionPage contains a page of SecurityEvent values.
func NewSecurityEventCollectionPage ¶
func NewSecurityEventCollectionPage(cur SecurityEventCollection, getNextPage func(context.Context, SecurityEventCollection) (SecurityEventCollection, error)) SecurityEventCollectionPage
Creates a new instance of the SecurityEventCollectionPage type.
func (*SecurityEventCollectionPage) Next ¶
func (page *SecurityEventCollectionPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SecurityEventCollectionPage) NextWithContext ¶
func (page *SecurityEventCollectionPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (SecurityEventCollectionPage) NotDone ¶
func (page SecurityEventCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SecurityEventCollectionPage) Response ¶
func (page SecurityEventCollectionPage) Response() SecurityEventCollection
Response returns the raw server response from the last page request.
func (SecurityEventCollectionPage) Values ¶
func (page SecurityEventCollectionPage) Values() []SecurityEvent
Values returns the slice of values for the current page or nil if there are no values.
type SecurityEventProperties ¶
type SecurityEventProperties struct { // EventTime - READ-ONLY; The time when the security event occurred. EventTime *date.Time `json:"eventTime,omitempty"` // SecurityEventType - READ-ONLY; The type of the security event. Possible values include: 'SecurityEventTypeUndefined', 'SecurityEventTypeSQLInjectionVulnerability', 'SecurityEventTypeSQLInjectionExploit' SecurityEventType SecurityEventType `json:"securityEventType,omitempty"` // Subscription - READ-ONLY; The subscription name Subscription *string `json:"subscription,omitempty"` // Server - READ-ONLY; The server name Server *string `json:"server,omitempty"` // Database - READ-ONLY; The database name Database *string `json:"database,omitempty"` // ClientIP - READ-ONLY; The IP address of the client who executed the statement. ClientIP *string `json:"clientIp,omitempty"` // ApplicationName - READ-ONLY; The application used to execute the statement. ApplicationName *string `json:"applicationName,omitempty"` // PrincipalName - READ-ONLY; The principal user who executed the statement PrincipalName *string `json:"principalName,omitempty"` // SecurityEventSQLInjectionAdditionalProperties - READ-ONLY; The sql injection additional properties, populated only if the type of the security event is sql injection. SecurityEventSQLInjectionAdditionalProperties *SecurityEventSQLInjectionAdditionalProperties `json:"securityEventSqlInjectionAdditionalProperties,omitempty"` }
SecurityEventProperties the properties of a security event.
func (SecurityEventProperties) MarshalJSON ¶
func (sep SecurityEventProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SecurityEventProperties.
type SecurityEventSQLInjectionAdditionalProperties ¶
type SecurityEventSQLInjectionAdditionalProperties struct { // ThreatID - READ-ONLY; The threat ID. ThreatID *string `json:"threatId,omitempty"` // Statement - READ-ONLY; The statement Statement *string `json:"statement,omitempty"` // StatementHighlightOffset - READ-ONLY; The statement highlight offset StatementHighlightOffset *int32 `json:"statementHighlightOffset,omitempty"` // StatementHighlightLength - READ-ONLY; The statement highlight length StatementHighlightLength *int32 `json:"statementHighlightLength,omitempty"` // ErrorCode - READ-ONLY; The sql error code ErrorCode *int32 `json:"errorCode,omitempty"` // ErrorSeverity - READ-ONLY; The sql error severity ErrorSeverity *int32 `json:"errorSeverity,omitempty"` // ErrorMessage - READ-ONLY; The sql error message ErrorMessage *string `json:"errorMessage,omitempty"` }
SecurityEventSQLInjectionAdditionalProperties the properties of a security event sql injection additional properties.
func (SecurityEventSQLInjectionAdditionalProperties) MarshalJSON ¶
func (sesiap SecurityEventSQLInjectionAdditionalProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SecurityEventSQLInjectionAdditionalProperties.
type SecurityEventType ¶
type SecurityEventType string
SecurityEventType enumerates the values for security event type.
const ( // SecurityEventTypeSQLInjectionExploit ... SecurityEventTypeSQLInjectionExploit SecurityEventType = "SqlInjectionExploit" // SecurityEventTypeSQLInjectionVulnerability ... SecurityEventTypeSQLInjectionVulnerability SecurityEventType = "SqlInjectionVulnerability" // SecurityEventTypeUndefined ... SecurityEventTypeUndefined SecurityEventType = "Undefined" )
func PossibleSecurityEventTypeValues ¶
func PossibleSecurityEventTypeValues() []SecurityEventType
PossibleSecurityEventTypeValues returns an array of possible values for the SecurityEventType const type.
type SecurityEventsFilterParameters ¶
type SecurityEventsFilterParameters struct { // EventTime - Filter on the event time. EventTime *date.Time `json:"eventTime,omitempty"` // ShowServerRecords - Whether to show server records or not. ShowServerRecords *bool `json:"showServerRecords,omitempty"` }
SecurityEventsFilterParameters the properties that are supported in the $filter operation.
type SensitivityLabel ¶
type SensitivityLabel struct { autorest.Response `json:"-"` // ManagedBy - READ-ONLY; Resource that manages the sensitivity label. ManagedBy *string `json:"managedBy,omitempty"` // SensitivityLabelProperties - Resource properties. *SensitivityLabelProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
SensitivityLabel a sensitivity label.
func (SensitivityLabel) MarshalJSON ¶
func (sl SensitivityLabel) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SensitivityLabel.
func (*SensitivityLabel) UnmarshalJSON ¶
func (sl *SensitivityLabel) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SensitivityLabel struct.
type SensitivityLabelListResult ¶
type SensitivityLabelListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]SensitivityLabel `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
SensitivityLabelListResult a list of sensitivity labels.
func (SensitivityLabelListResult) IsEmpty ¶
func (sllr SensitivityLabelListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (SensitivityLabelListResult) MarshalJSON ¶
func (sllr SensitivityLabelListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SensitivityLabelListResult.
type SensitivityLabelListResultIterator ¶
type SensitivityLabelListResultIterator struct {
// contains filtered or unexported fields
}
SensitivityLabelListResultIterator provides access to a complete listing of SensitivityLabel values.
func NewSensitivityLabelListResultIterator ¶
func NewSensitivityLabelListResultIterator(page SensitivityLabelListResultPage) SensitivityLabelListResultIterator
Creates a new instance of the SensitivityLabelListResultIterator type.
func (*SensitivityLabelListResultIterator) Next ¶
func (iter *SensitivityLabelListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SensitivityLabelListResultIterator) NextWithContext ¶
func (iter *SensitivityLabelListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (SensitivityLabelListResultIterator) NotDone ¶
func (iter SensitivityLabelListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SensitivityLabelListResultIterator) Response ¶
func (iter SensitivityLabelListResultIterator) Response() SensitivityLabelListResult
Response returns the raw server response from the last page request.
func (SensitivityLabelListResultIterator) Value ¶
func (iter SensitivityLabelListResultIterator) Value() SensitivityLabel
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SensitivityLabelListResultPage ¶
type SensitivityLabelListResultPage struct {
// contains filtered or unexported fields
}
SensitivityLabelListResultPage contains a page of SensitivityLabel values.
func NewSensitivityLabelListResultPage ¶
func NewSensitivityLabelListResultPage(cur SensitivityLabelListResult, getNextPage func(context.Context, SensitivityLabelListResult) (SensitivityLabelListResult, error)) SensitivityLabelListResultPage
Creates a new instance of the SensitivityLabelListResultPage type.
func (*SensitivityLabelListResultPage) Next ¶
func (page *SensitivityLabelListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SensitivityLabelListResultPage) NextWithContext ¶
func (page *SensitivityLabelListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (SensitivityLabelListResultPage) NotDone ¶
func (page SensitivityLabelListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SensitivityLabelListResultPage) Response ¶
func (page SensitivityLabelListResultPage) Response() SensitivityLabelListResult
Response returns the raw server response from the last page request.
func (SensitivityLabelListResultPage) Values ¶
func (page SensitivityLabelListResultPage) Values() []SensitivityLabel
Values returns the slice of values for the current page or nil if there are no values.
type SensitivityLabelProperties ¶
type SensitivityLabelProperties struct { // SchemaName - READ-ONLY; The schema name. SchemaName *string `json:"schemaName,omitempty"` // TableName - READ-ONLY; The table name. TableName *string `json:"tableName,omitempty"` // ColumnName - READ-ONLY; The column name. ColumnName *string `json:"columnName,omitempty"` // LabelName - The label name. LabelName *string `json:"labelName,omitempty"` // LabelID - The label ID. LabelID *string `json:"labelId,omitempty"` // InformationType - The information type. InformationType *string `json:"informationType,omitempty"` // InformationTypeID - The information type ID. InformationTypeID *string `json:"informationTypeId,omitempty"` // IsDisabled - READ-ONLY; Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not. IsDisabled *bool `json:"isDisabled,omitempty"` // Rank - Possible values include: 'SensitivityLabelRankNone', 'SensitivityLabelRankLow', 'SensitivityLabelRankMedium', 'SensitivityLabelRankHigh', 'SensitivityLabelRankCritical' Rank SensitivityLabelRank `json:"rank,omitempty"` }
SensitivityLabelProperties properties of a sensitivity label.
func (SensitivityLabelProperties) MarshalJSON ¶
func (slp SensitivityLabelProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SensitivityLabelProperties.
type SensitivityLabelRank ¶
type SensitivityLabelRank string
SensitivityLabelRank enumerates the values for sensitivity label rank.
const ( // SensitivityLabelRankCritical ... SensitivityLabelRankCritical SensitivityLabelRank = "Critical" // SensitivityLabelRankHigh ... SensitivityLabelRankHigh SensitivityLabelRank = "High" // SensitivityLabelRankLow ... SensitivityLabelRankLow SensitivityLabelRank = "Low" // SensitivityLabelRankMedium ... SensitivityLabelRankMedium SensitivityLabelRank = "Medium" // SensitivityLabelRankNone ... SensitivityLabelRankNone SensitivityLabelRank = "None" )
func PossibleSensitivityLabelRankValues ¶
func PossibleSensitivityLabelRankValues() []SensitivityLabelRank
PossibleSensitivityLabelRankValues returns an array of possible values for the SensitivityLabelRank const type.
type SensitivityLabelSource ¶
type SensitivityLabelSource string
SensitivityLabelSource enumerates the values for sensitivity label source.
const ( // SensitivityLabelSourceCurrent ... SensitivityLabelSourceCurrent SensitivityLabelSource = "current" // SensitivityLabelSourceRecommended ... SensitivityLabelSourceRecommended SensitivityLabelSource = "recommended" )
func PossibleSensitivityLabelSourceValues ¶
func PossibleSensitivityLabelSourceValues() []SensitivityLabelSource
PossibleSensitivityLabelSourceValues returns an array of possible values for the SensitivityLabelSource const type.
type SensitivityLabelUpdate ¶
type SensitivityLabelUpdate struct { // SensitivityLabelUpdateProperties - Resource properties. *SensitivityLabelUpdateProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
SensitivityLabelUpdate a sensitivity label update operation.
func (SensitivityLabelUpdate) MarshalJSON ¶
func (slu SensitivityLabelUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SensitivityLabelUpdate.
func (*SensitivityLabelUpdate) UnmarshalJSON ¶
func (slu *SensitivityLabelUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SensitivityLabelUpdate struct.
type SensitivityLabelUpdateKind ¶
type SensitivityLabelUpdateKind string
SensitivityLabelUpdateKind enumerates the values for sensitivity label update kind.
const ( // SensitivityLabelUpdateKindRemove ... SensitivityLabelUpdateKindRemove SensitivityLabelUpdateKind = "remove" // SensitivityLabelUpdateKindSet ... SensitivityLabelUpdateKindSet SensitivityLabelUpdateKind = "set" )
func PossibleSensitivityLabelUpdateKindValues ¶
func PossibleSensitivityLabelUpdateKindValues() []SensitivityLabelUpdateKind
PossibleSensitivityLabelUpdateKindValues returns an array of possible values for the SensitivityLabelUpdateKind const type.
type SensitivityLabelUpdateList ¶
type SensitivityLabelUpdateList struct {
Operations *[]SensitivityLabelUpdate `json:"operations,omitempty"`
}
SensitivityLabelUpdateList a list of sensitivity label update operations.
type SensitivityLabelUpdateProperties ¶
type SensitivityLabelUpdateProperties struct { // Op - Possible values include: 'SensitivityLabelUpdateKindSet', 'SensitivityLabelUpdateKindRemove' Op SensitivityLabelUpdateKind `json:"op,omitempty"` // Schema - Schema name of the column to update. Schema *string `json:"schema,omitempty"` // Table - Table name of the column to update. Table *string `json:"table,omitempty"` // Column - Column name to update. Column *string `json:"column,omitempty"` // SensitivityLabel - The sensitivity label information to apply on a column. SensitivityLabel *SensitivityLabel `json:"sensitivityLabel,omitempty"` }
SensitivityLabelUpdateProperties properties of an operation executed on a sensitivity label.
type SensitivityLabelsClient ¶
type SensitivityLabelsClient struct {
BaseClient
}
SensitivityLabelsClient 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 NewSensitivityLabelsClient ¶
func NewSensitivityLabelsClient(subscriptionID string) SensitivityLabelsClient
NewSensitivityLabelsClient creates an instance of the SensitivityLabelsClient client.
func NewSensitivityLabelsClientWithBaseURI ¶
func NewSensitivityLabelsClientWithBaseURI(baseURI string, subscriptionID string) SensitivityLabelsClient
NewSensitivityLabelsClientWithBaseURI creates an instance of the SensitivityLabelsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (SensitivityLabelsClient) CreateOrUpdate ¶
func (client SensitivityLabelsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, databaseName string, schemaName string, tableName string, columnName string, parameters SensitivityLabel) (result SensitivityLabel, err error)
CreateOrUpdate creates or updates the sensitivity label of a given column Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. schemaName - the name of the schema. tableName - the name of the table. columnName - the name of the column. parameters - the column sensitivity label resource.
func (SensitivityLabelsClient) CreateOrUpdatePreparer ¶
func (client SensitivityLabelsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, schemaName string, tableName string, columnName string, parameters SensitivityLabel) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (SensitivityLabelsClient) CreateOrUpdateResponder ¶
func (client SensitivityLabelsClient) CreateOrUpdateResponder(resp *http.Response) (result SensitivityLabel, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (SensitivityLabelsClient) CreateOrUpdateSender ¶
func (client SensitivityLabelsClient) 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 (SensitivityLabelsClient) Delete ¶
func (client SensitivityLabelsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, databaseName string, schemaName string, tableName string, columnName string) (result autorest.Response, err error)
Delete deletes the sensitivity label of a given column Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. schemaName - the name of the schema. tableName - the name of the table. columnName - the name of the column.
func (SensitivityLabelsClient) DeletePreparer ¶
func (client SensitivityLabelsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, schemaName string, tableName string, columnName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (SensitivityLabelsClient) DeleteResponder ¶
func (client SensitivityLabelsClient) 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 (SensitivityLabelsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (SensitivityLabelsClient) DisableRecommendation ¶
func (client SensitivityLabelsClient) DisableRecommendation(ctx context.Context, resourceGroupName string, serverName string, databaseName string, schemaName string, tableName string, columnName string) (result autorest.Response, err error)
DisableRecommendation disables sensitivity recommendations on a given column Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. schemaName - the name of the schema. tableName - the name of the table. columnName - the name of the column.
func (SensitivityLabelsClient) DisableRecommendationPreparer ¶
func (client SensitivityLabelsClient) DisableRecommendationPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, schemaName string, tableName string, columnName string) (*http.Request, error)
DisableRecommendationPreparer prepares the DisableRecommendation request.
func (SensitivityLabelsClient) DisableRecommendationResponder ¶
func (client SensitivityLabelsClient) DisableRecommendationResponder(resp *http.Response) (result autorest.Response, err error)
DisableRecommendationResponder handles the response to the DisableRecommendation request. The method always closes the http.Response Body.
func (SensitivityLabelsClient) DisableRecommendationSender ¶
func (client SensitivityLabelsClient) DisableRecommendationSender(req *http.Request) (*http.Response, error)
DisableRecommendationSender sends the DisableRecommendation request. The method will close the http.Response Body if it receives an error.
func (SensitivityLabelsClient) EnableRecommendation ¶
func (client SensitivityLabelsClient) EnableRecommendation(ctx context.Context, resourceGroupName string, serverName string, databaseName string, schemaName string, tableName string, columnName string) (result autorest.Response, err error)
EnableRecommendation enables sensitivity recommendations on a given column (recommendations are enabled by default on all columns) Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. schemaName - the name of the schema. tableName - the name of the table. columnName - the name of the column.
func (SensitivityLabelsClient) EnableRecommendationPreparer ¶
func (client SensitivityLabelsClient) EnableRecommendationPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, schemaName string, tableName string, columnName string) (*http.Request, error)
EnableRecommendationPreparer prepares the EnableRecommendation request.
func (SensitivityLabelsClient) EnableRecommendationResponder ¶
func (client SensitivityLabelsClient) EnableRecommendationResponder(resp *http.Response) (result autorest.Response, err error)
EnableRecommendationResponder handles the response to the EnableRecommendation request. The method always closes the http.Response Body.
func (SensitivityLabelsClient) EnableRecommendationSender ¶
func (client SensitivityLabelsClient) EnableRecommendationSender(req *http.Request) (*http.Response, error)
EnableRecommendationSender sends the EnableRecommendation request. The method will close the http.Response Body if it receives an error.
func (SensitivityLabelsClient) Get ¶
func (client SensitivityLabelsClient) Get(ctx context.Context, resourceGroupName string, serverName string, databaseName string, schemaName string, tableName string, columnName string, sensitivityLabelSource SensitivityLabelSource) (result SensitivityLabel, err error)
Get gets the sensitivity label of a given column Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. schemaName - the name of the schema. tableName - the name of the table. columnName - the name of the column. sensitivityLabelSource - the source of the sensitivity label.
func (SensitivityLabelsClient) GetPreparer ¶
func (client SensitivityLabelsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, schemaName string, tableName string, columnName string, sensitivityLabelSource SensitivityLabelSource) (*http.Request, error)
GetPreparer prepares the Get request.
func (SensitivityLabelsClient) GetResponder ¶
func (client SensitivityLabelsClient) GetResponder(resp *http.Response) (result SensitivityLabel, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (SensitivityLabelsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (SensitivityLabelsClient) ListCurrentByDatabase ¶
func (client SensitivityLabelsClient) ListCurrentByDatabase(ctx context.Context, resourceGroupName string, serverName string, databaseName string, skipToken string, count *bool, filter string) (result SensitivityLabelListResultPage, err error)
ListCurrentByDatabase gets the sensitivity labels of a given database Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. filter - an OData filter expression that filters elements in the collection.
func (SensitivityLabelsClient) ListCurrentByDatabaseComplete ¶
func (client SensitivityLabelsClient) ListCurrentByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, databaseName string, skipToken string, count *bool, filter string) (result SensitivityLabelListResultIterator, err error)
ListCurrentByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (SensitivityLabelsClient) ListCurrentByDatabasePreparer ¶
func (client SensitivityLabelsClient) ListCurrentByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, skipToken string, count *bool, filter string) (*http.Request, error)
ListCurrentByDatabasePreparer prepares the ListCurrentByDatabase request.
func (SensitivityLabelsClient) ListCurrentByDatabaseResponder ¶
func (client SensitivityLabelsClient) ListCurrentByDatabaseResponder(resp *http.Response) (result SensitivityLabelListResult, err error)
ListCurrentByDatabaseResponder handles the response to the ListCurrentByDatabase request. The method always closes the http.Response Body.
func (SensitivityLabelsClient) ListCurrentByDatabaseSender ¶
func (client SensitivityLabelsClient) ListCurrentByDatabaseSender(req *http.Request) (*http.Response, error)
ListCurrentByDatabaseSender sends the ListCurrentByDatabase request. The method will close the http.Response Body if it receives an error.
func (SensitivityLabelsClient) ListRecommendedByDatabase ¶
func (client SensitivityLabelsClient) ListRecommendedByDatabase(ctx context.Context, resourceGroupName string, serverName string, databaseName string, skipToken string, includeDisabledRecommendations *bool, filter string) (result SensitivityLabelListResultPage, err error)
ListRecommendedByDatabase gets the sensitivity labels of a given database Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. includeDisabledRecommendations - specifies whether to include disabled recommendations or not. filter - an OData filter expression that filters elements in the collection.
func (SensitivityLabelsClient) ListRecommendedByDatabaseComplete ¶
func (client SensitivityLabelsClient) ListRecommendedByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, databaseName string, skipToken string, includeDisabledRecommendations *bool, filter string) (result SensitivityLabelListResultIterator, err error)
ListRecommendedByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (SensitivityLabelsClient) ListRecommendedByDatabasePreparer ¶
func (client SensitivityLabelsClient) ListRecommendedByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, skipToken string, includeDisabledRecommendations *bool, filter string) (*http.Request, error)
ListRecommendedByDatabasePreparer prepares the ListRecommendedByDatabase request.
func (SensitivityLabelsClient) ListRecommendedByDatabaseResponder ¶
func (client SensitivityLabelsClient) ListRecommendedByDatabaseResponder(resp *http.Response) (result SensitivityLabelListResult, err error)
ListRecommendedByDatabaseResponder handles the response to the ListRecommendedByDatabase request. The method always closes the http.Response Body.
func (SensitivityLabelsClient) ListRecommendedByDatabaseSender ¶
func (client SensitivityLabelsClient) ListRecommendedByDatabaseSender(req *http.Request) (*http.Response, error)
ListRecommendedByDatabaseSender sends the ListRecommendedByDatabase request. The method will close the http.Response Body if it receives an error.
func (SensitivityLabelsClient) Update ¶
func (client SensitivityLabelsClient) Update(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters SensitivityLabelUpdateList) (result autorest.Response, err error)
Update update sensitivity labels of a given database using an operations batch. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (SensitivityLabelsClient) UpdatePreparer ¶
func (client SensitivityLabelsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters SensitivityLabelUpdateList) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (SensitivityLabelsClient) UpdateResponder ¶
func (client SensitivityLabelsClient) UpdateResponder(resp *http.Response) (result autorest.Response, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (SensitivityLabelsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type Server ¶
type Server struct { autorest.Response `json:"-"` // Identity - The Azure Active Directory identity of the server. Identity *ResourceIdentity `json:"identity,omitempty"` // Kind - READ-ONLY; 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"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
Server an Azure SQL Database server.
func (Server) MarshalJSON ¶
MarshalJSON is the custom marshaler for Server.
func (*Server) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Server struct.
type ServerAdvisorsClient ¶
type ServerAdvisorsClient struct {
BaseClient
}
ServerAdvisorsClient 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 NewServerAdvisorsClient ¶
func NewServerAdvisorsClient(subscriptionID string) ServerAdvisorsClient
NewServerAdvisorsClient creates an instance of the ServerAdvisorsClient client.
func NewServerAdvisorsClientWithBaseURI ¶
func NewServerAdvisorsClientWithBaseURI(baseURI string, subscriptionID string) ServerAdvisorsClient
NewServerAdvisorsClientWithBaseURI creates an instance of the ServerAdvisorsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ServerAdvisorsClient) Get ¶
func (client ServerAdvisorsClient) Get(ctx context.Context, resourceGroupName string, serverName string, advisorName string) (result Advisor, err error)
Get gets a server advisor. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. advisorName - the name of the Server Advisor.
func (ServerAdvisorsClient) GetPreparer ¶
func (client ServerAdvisorsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, advisorName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ServerAdvisorsClient) GetResponder ¶
func (client ServerAdvisorsClient) GetResponder(resp *http.Response) (result Advisor, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ServerAdvisorsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ServerAdvisorsClient) ListByServer ¶
func (client ServerAdvisorsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string, expand string) (result ListAdvisor, err error)
ListByServer gets a list of server advisors. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. expand - the child resources to include in the response.
func (ServerAdvisorsClient) ListByServerPreparer ¶
func (client ServerAdvisorsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string, expand string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (ServerAdvisorsClient) ListByServerResponder ¶
func (client ServerAdvisorsClient) ListByServerResponder(resp *http.Response) (result ListAdvisor, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (ServerAdvisorsClient) ListByServerSender ¶
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
func (ServerAdvisorsClient) Update ¶
func (client ServerAdvisorsClient) Update(ctx context.Context, resourceGroupName string, serverName string, advisorName string, parameters Advisor) (result Advisor, err error)
Update updates a server advisor. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. advisorName - the name of the Server Advisor. parameters - the requested advisor resource state.
func (ServerAdvisorsClient) UpdatePreparer ¶
func (client ServerAdvisorsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, advisorName string, parameters Advisor) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ServerAdvisorsClient) UpdateResponder ¶
func (client ServerAdvisorsClient) UpdateResponder(resp *http.Response) (result Advisor, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ServerAdvisorsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ServerAutomaticTuning ¶
type ServerAutomaticTuning struct { autorest.Response `json:"-"` // AutomaticTuningServerProperties - Resource properties. *AutomaticTuningServerProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ServerAutomaticTuning server-level Automatic Tuning.
func (ServerAutomaticTuning) MarshalJSON ¶
func (sat ServerAutomaticTuning) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerAutomaticTuning.
func (*ServerAutomaticTuning) UnmarshalJSON ¶
func (sat *ServerAutomaticTuning) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServerAutomaticTuning struct.
type ServerAutomaticTuningClient ¶
type ServerAutomaticTuningClient struct {
BaseClient
}
ServerAutomaticTuningClient 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 NewServerAutomaticTuningClient ¶
func NewServerAutomaticTuningClient(subscriptionID string) ServerAutomaticTuningClient
NewServerAutomaticTuningClient creates an instance of the ServerAutomaticTuningClient client.
func NewServerAutomaticTuningClientWithBaseURI ¶
func NewServerAutomaticTuningClientWithBaseURI(baseURI string, subscriptionID string) ServerAutomaticTuningClient
NewServerAutomaticTuningClientWithBaseURI creates an instance of the ServerAutomaticTuningClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ServerAutomaticTuningClient) Get ¶
func (client ServerAutomaticTuningClient) Get(ctx context.Context, resourceGroupName string, serverName string) (result ServerAutomaticTuning, err error)
Get retrieves server automatic tuning options. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (ServerAutomaticTuningClient) GetPreparer ¶
func (client ServerAutomaticTuningClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ServerAutomaticTuningClient) GetResponder ¶
func (client ServerAutomaticTuningClient) GetResponder(resp *http.Response) (result ServerAutomaticTuning, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ServerAutomaticTuningClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ServerAutomaticTuningClient) Update ¶
func (client ServerAutomaticTuningClient) Update(ctx context.Context, resourceGroupName string, serverName string, parameters ServerAutomaticTuning) (result ServerAutomaticTuning, err error)
Update update automatic tuning options on server. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. parameters - the requested automatic tuning resource state.
func (ServerAutomaticTuningClient) UpdatePreparer ¶
func (client ServerAutomaticTuningClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, parameters ServerAutomaticTuning) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ServerAutomaticTuningClient) UpdateResponder ¶
func (client ServerAutomaticTuningClient) UpdateResponder(resp *http.Response) (result ServerAutomaticTuning, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ServerAutomaticTuningClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ServerAzureADAdministrator ¶
type ServerAzureADAdministrator struct { autorest.Response `json:"-"` // AdministratorProperties - Resource properties. *AdministratorProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ServerAzureADAdministrator azure Active Directory administrator.
func (ServerAzureADAdministrator) MarshalJSON ¶
func (saaa ServerAzureADAdministrator) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerAzureADAdministrator.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ServerAzureADAdministratorsClient) CreateOrUpdate ¶
func (client ServerAzureADAdministratorsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, parameters ServerAzureADAdministrator) (result ServerAzureADAdministratorsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates an existing Azure Active Directory administrator. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. parameters - the requested Azure Active Directory administrator Resource state.
func (ServerAzureADAdministratorsClient) CreateOrUpdatePreparer ¶
func (client ServerAzureADAdministratorsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, parameters 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) (result ServerAzureADAdministratorsDeleteFuture, err error)
Delete deletes the Azure Active Directory administrator with the given name. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (ServerAzureADAdministratorsClient) DeletePreparer ¶
func (client ServerAzureADAdministratorsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ServerAzureADAdministratorsClient) DeleteResponder ¶
func (client ServerAzureADAdministratorsClient) 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 (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) (result ServerAzureADAdministrator, err error)
Get gets a Azure Active Directory administrator. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (ServerAzureADAdministratorsClient) GetPreparer ¶
func (client ServerAzureADAdministratorsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName 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 AdministratorListResultPage, err error)
ListByServer gets a list of Azure Active Directory administrators in a server. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (ServerAzureADAdministratorsClient) ListByServerComplete ¶
func (client ServerAzureADAdministratorsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result AdministratorListResultIterator, err error)
ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
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 AdministratorListResult, 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.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServerAzureADAdministratorsClient) (ServerAzureADAdministrator, error) }
ServerAzureADAdministratorsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ServerAzureADAdministratorsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *ServerAzureADAdministratorsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ServerAzureADAdministratorsDeleteFuture ¶
type ServerAzureADAdministratorsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServerAzureADAdministratorsClient) (autorest.Response, error) }
ServerAzureADAdministratorsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ServerAzureADAdministratorsDeleteFuture) UnmarshalJSON ¶
func (future *ServerAzureADAdministratorsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ServerAzureADOnlyAuthentication ¶
type ServerAzureADOnlyAuthentication struct { autorest.Response `json:"-"` // AzureADOnlyAuthProperties - Resource properties. *AzureADOnlyAuthProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ServerAzureADOnlyAuthentication azure Active Directory only authentication.
func (ServerAzureADOnlyAuthentication) MarshalJSON ¶
func (saaoa ServerAzureADOnlyAuthentication) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerAzureADOnlyAuthentication.
func (*ServerAzureADOnlyAuthentication) UnmarshalJSON ¶
func (saaoa *ServerAzureADOnlyAuthentication) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServerAzureADOnlyAuthentication struct.
type ServerAzureADOnlyAuthenticationsClient ¶
type ServerAzureADOnlyAuthenticationsClient struct {
BaseClient
}
ServerAzureADOnlyAuthenticationsClient 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 NewServerAzureADOnlyAuthenticationsClient ¶
func NewServerAzureADOnlyAuthenticationsClient(subscriptionID string) ServerAzureADOnlyAuthenticationsClient
NewServerAzureADOnlyAuthenticationsClient creates an instance of the ServerAzureADOnlyAuthenticationsClient client.
func NewServerAzureADOnlyAuthenticationsClientWithBaseURI ¶
func NewServerAzureADOnlyAuthenticationsClientWithBaseURI(baseURI string, subscriptionID string) ServerAzureADOnlyAuthenticationsClient
NewServerAzureADOnlyAuthenticationsClientWithBaseURI creates an instance of the ServerAzureADOnlyAuthenticationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ServerAzureADOnlyAuthenticationsClient) CreateOrUpdate ¶
func (client ServerAzureADOnlyAuthenticationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, parameters ServerAzureADOnlyAuthentication) (result ServerAzureADOnlyAuthenticationsCreateOrUpdateFuture, err error)
CreateOrUpdate sets Server Active Directory only authentication property or updates an existing server Active Directory only authentication property. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. parameters - the required parameters for creating or updating an Active Directory only authentication property.
func (ServerAzureADOnlyAuthenticationsClient) CreateOrUpdatePreparer ¶
func (client ServerAzureADOnlyAuthenticationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, parameters ServerAzureADOnlyAuthentication) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ServerAzureADOnlyAuthenticationsClient) CreateOrUpdateResponder ¶
func (client ServerAzureADOnlyAuthenticationsClient) CreateOrUpdateResponder(resp *http.Response) (result ServerAzureADOnlyAuthentication, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ServerAzureADOnlyAuthenticationsClient) CreateOrUpdateSender ¶
func (client ServerAzureADOnlyAuthenticationsClient) CreateOrUpdateSender(req *http.Request) (future ServerAzureADOnlyAuthenticationsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ServerAzureADOnlyAuthenticationsClient) Delete ¶
func (client ServerAzureADOnlyAuthenticationsClient) Delete(ctx context.Context, resourceGroupName string, serverName string) (result ServerAzureADOnlyAuthenticationsDeleteFuture, err error)
Delete deletes an existing server Active Directory only authentication property. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (ServerAzureADOnlyAuthenticationsClient) DeletePreparer ¶
func (client ServerAzureADOnlyAuthenticationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ServerAzureADOnlyAuthenticationsClient) DeleteResponder ¶
func (client ServerAzureADOnlyAuthenticationsClient) 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 (ServerAzureADOnlyAuthenticationsClient) DeleteSender ¶
func (client ServerAzureADOnlyAuthenticationsClient) DeleteSender(req *http.Request) (future ServerAzureADOnlyAuthenticationsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ServerAzureADOnlyAuthenticationsClient) Get ¶
func (client ServerAzureADOnlyAuthenticationsClient) Get(ctx context.Context, resourceGroupName string, serverName string) (result ServerAzureADOnlyAuthentication, err error)
Get gets a specific Azure Active Directory only authentication property. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (ServerAzureADOnlyAuthenticationsClient) GetPreparer ¶
func (client ServerAzureADOnlyAuthenticationsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ServerAzureADOnlyAuthenticationsClient) GetResponder ¶
func (client ServerAzureADOnlyAuthenticationsClient) GetResponder(resp *http.Response) (result ServerAzureADOnlyAuthentication, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ServerAzureADOnlyAuthenticationsClient) GetSender ¶
func (client ServerAzureADOnlyAuthenticationsClient) 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 (ServerAzureADOnlyAuthenticationsClient) ListByServer ¶
func (client ServerAzureADOnlyAuthenticationsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result AzureADOnlyAuthListResultPage, err error)
ListByServer gets a list of server Azure Active Directory only authentications. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (ServerAzureADOnlyAuthenticationsClient) ListByServerComplete ¶
func (client ServerAzureADOnlyAuthenticationsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result AzureADOnlyAuthListResultIterator, err error)
ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
func (ServerAzureADOnlyAuthenticationsClient) ListByServerPreparer ¶
func (client ServerAzureADOnlyAuthenticationsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (ServerAzureADOnlyAuthenticationsClient) ListByServerResponder ¶
func (client ServerAzureADOnlyAuthenticationsClient) ListByServerResponder(resp *http.Response) (result AzureADOnlyAuthListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (ServerAzureADOnlyAuthenticationsClient) ListByServerSender ¶
func (client ServerAzureADOnlyAuthenticationsClient) 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 ServerAzureADOnlyAuthenticationsCreateOrUpdateFuture ¶
type ServerAzureADOnlyAuthenticationsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServerAzureADOnlyAuthenticationsClient) (ServerAzureADOnlyAuthentication, error) }
ServerAzureADOnlyAuthenticationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ServerAzureADOnlyAuthenticationsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *ServerAzureADOnlyAuthenticationsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ServerAzureADOnlyAuthenticationsDeleteFuture ¶
type ServerAzureADOnlyAuthenticationsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServerAzureADOnlyAuthenticationsClient) (autorest.Response, error) }
ServerAzureADOnlyAuthenticationsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ServerAzureADOnlyAuthenticationsDeleteFuture) UnmarshalJSON ¶
func (future *ServerAzureADOnlyAuthenticationsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ServerBlobAuditingPoliciesClient ¶
type ServerBlobAuditingPoliciesClient struct {
BaseClient
}
ServerBlobAuditingPoliciesClient 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 NewServerBlobAuditingPoliciesClient ¶
func NewServerBlobAuditingPoliciesClient(subscriptionID string) ServerBlobAuditingPoliciesClient
NewServerBlobAuditingPoliciesClient creates an instance of the ServerBlobAuditingPoliciesClient client.
func NewServerBlobAuditingPoliciesClientWithBaseURI ¶
func NewServerBlobAuditingPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ServerBlobAuditingPoliciesClient
NewServerBlobAuditingPoliciesClientWithBaseURI creates an instance of the ServerBlobAuditingPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ServerBlobAuditingPoliciesClient) CreateOrUpdate ¶
func (client ServerBlobAuditingPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, parameters ServerBlobAuditingPolicy) (result ServerBlobAuditingPoliciesCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a server's blob auditing policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. parameters - properties of blob auditing policy
func (ServerBlobAuditingPoliciesClient) CreateOrUpdatePreparer ¶
func (client ServerBlobAuditingPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, parameters ServerBlobAuditingPolicy) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ServerBlobAuditingPoliciesClient) CreateOrUpdateResponder ¶
func (client ServerBlobAuditingPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ServerBlobAuditingPolicy, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ServerBlobAuditingPoliciesClient) CreateOrUpdateSender ¶
func (client ServerBlobAuditingPoliciesClient) CreateOrUpdateSender(req *http.Request) (future ServerBlobAuditingPoliciesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ServerBlobAuditingPoliciesClient) Get ¶
func (client ServerBlobAuditingPoliciesClient) Get(ctx context.Context, resourceGroupName string, serverName string) (result ServerBlobAuditingPolicy, err error)
Get gets a server's blob auditing policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (ServerBlobAuditingPoliciesClient) GetPreparer ¶
func (client ServerBlobAuditingPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ServerBlobAuditingPoliciesClient) GetResponder ¶
func (client ServerBlobAuditingPoliciesClient) GetResponder(resp *http.Response) (result ServerBlobAuditingPolicy, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ServerBlobAuditingPoliciesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ServerBlobAuditingPoliciesClient) ListByServer ¶
func (client ServerBlobAuditingPoliciesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result ServerBlobAuditingPolicyListResultPage, err error)
ListByServer lists auditing settings of a server. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (ServerBlobAuditingPoliciesClient) ListByServerComplete ¶
func (client ServerBlobAuditingPoliciesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result ServerBlobAuditingPolicyListResultIterator, err error)
ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
func (ServerBlobAuditingPoliciesClient) ListByServerPreparer ¶
func (client ServerBlobAuditingPoliciesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (ServerBlobAuditingPoliciesClient) ListByServerResponder ¶
func (client ServerBlobAuditingPoliciesClient) ListByServerResponder(resp *http.Response) (result ServerBlobAuditingPolicyListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (ServerBlobAuditingPoliciesClient) ListByServerSender ¶
func (client ServerBlobAuditingPoliciesClient) 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 ServerBlobAuditingPoliciesCreateOrUpdateFuture ¶
type ServerBlobAuditingPoliciesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServerBlobAuditingPoliciesClient) (ServerBlobAuditingPolicy, error) }
ServerBlobAuditingPoliciesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ServerBlobAuditingPoliciesCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *ServerBlobAuditingPoliciesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ServerBlobAuditingPolicy ¶
type ServerBlobAuditingPolicy struct { autorest.Response `json:"-"` // ServerBlobAuditingPolicyProperties - Resource properties. *ServerBlobAuditingPolicyProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ServerBlobAuditingPolicy a server blob auditing policy.
func (ServerBlobAuditingPolicy) MarshalJSON ¶
func (sbap ServerBlobAuditingPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerBlobAuditingPolicy.
func (*ServerBlobAuditingPolicy) UnmarshalJSON ¶
func (sbap *ServerBlobAuditingPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServerBlobAuditingPolicy struct.
type ServerBlobAuditingPolicyListResult ¶
type ServerBlobAuditingPolicyListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ServerBlobAuditingPolicy `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ServerBlobAuditingPolicyListResult a list of server auditing settings.
func (ServerBlobAuditingPolicyListResult) IsEmpty ¶
func (sbaplr ServerBlobAuditingPolicyListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ServerBlobAuditingPolicyListResult) MarshalJSON ¶
func (sbaplr ServerBlobAuditingPolicyListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerBlobAuditingPolicyListResult.
type ServerBlobAuditingPolicyListResultIterator ¶
type ServerBlobAuditingPolicyListResultIterator struct {
// contains filtered or unexported fields
}
ServerBlobAuditingPolicyListResultIterator provides access to a complete listing of ServerBlobAuditingPolicy values.
func NewServerBlobAuditingPolicyListResultIterator ¶
func NewServerBlobAuditingPolicyListResultIterator(page ServerBlobAuditingPolicyListResultPage) ServerBlobAuditingPolicyListResultIterator
Creates a new instance of the ServerBlobAuditingPolicyListResultIterator type.
func (*ServerBlobAuditingPolicyListResultIterator) Next ¶
func (iter *ServerBlobAuditingPolicyListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ServerBlobAuditingPolicyListResultIterator) NextWithContext ¶
func (iter *ServerBlobAuditingPolicyListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ServerBlobAuditingPolicyListResultIterator) NotDone ¶
func (iter ServerBlobAuditingPolicyListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ServerBlobAuditingPolicyListResultIterator) Response ¶
func (iter ServerBlobAuditingPolicyListResultIterator) Response() ServerBlobAuditingPolicyListResult
Response returns the raw server response from the last page request.
func (ServerBlobAuditingPolicyListResultIterator) Value ¶
func (iter ServerBlobAuditingPolicyListResultIterator) Value() ServerBlobAuditingPolicy
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ServerBlobAuditingPolicyListResultPage ¶
type ServerBlobAuditingPolicyListResultPage struct {
// contains filtered or unexported fields
}
ServerBlobAuditingPolicyListResultPage contains a page of ServerBlobAuditingPolicy values.
func NewServerBlobAuditingPolicyListResultPage ¶
func NewServerBlobAuditingPolicyListResultPage(cur ServerBlobAuditingPolicyListResult, getNextPage func(context.Context, ServerBlobAuditingPolicyListResult) (ServerBlobAuditingPolicyListResult, error)) ServerBlobAuditingPolicyListResultPage
Creates a new instance of the ServerBlobAuditingPolicyListResultPage type.
func (*ServerBlobAuditingPolicyListResultPage) Next ¶
func (page *ServerBlobAuditingPolicyListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ServerBlobAuditingPolicyListResultPage) NextWithContext ¶
func (page *ServerBlobAuditingPolicyListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ServerBlobAuditingPolicyListResultPage) NotDone ¶
func (page ServerBlobAuditingPolicyListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ServerBlobAuditingPolicyListResultPage) Response ¶
func (page ServerBlobAuditingPolicyListResultPage) Response() ServerBlobAuditingPolicyListResult
Response returns the raw server response from the last page request.
func (ServerBlobAuditingPolicyListResultPage) Values ¶
func (page ServerBlobAuditingPolicyListResultPage) Values() []ServerBlobAuditingPolicy
Values returns the slice of values for the current page or nil if there are no values.
type ServerBlobAuditingPolicyProperties ¶
type ServerBlobAuditingPolicyProperties struct { // IsDevopsAuditEnabled - Specifies the state of devops audit. If state is Enabled, devops logs will be sent to Azure Monitor. // In order to send the events to Azure Monitor, specify 'State' as 'Enabled', 'IsAzureMonitorTargetEnabled' as true and 'IsDevopsAuditEnabled' as true // // When using REST API to configure auditing, Diagnostic Settings with 'DevOpsOperationsAudit' diagnostic logs category on the master database should also be created. // // Diagnostic Settings URI format: // PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/master/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview // // For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207) // or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) IsDevopsAuditEnabled *bool `json:"isDevopsAuditEnabled,omitempty"` // RetentionDays - Specifies the number of days to keep in the audit logs in the storage account. RetentionDays *int32 `json:"retentionDays,omitempty"` // AuditActionsAndGroups - Specifies the Actions-Groups and Actions to audit. // // The recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins: // // BATCH_COMPLETED_GROUP, // SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP, // FAILED_DATABASE_AUTHENTICATION_GROUP. // // This above combination is also the set that is configured by default when enabling auditing from the Azure portal. // // The supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records): // // APPLICATION_ROLE_CHANGE_PASSWORD_GROUP // BACKUP_RESTORE_GROUP // DATABASE_LOGOUT_GROUP // DATABASE_OBJECT_CHANGE_GROUP // DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP // DATABASE_OBJECT_PERMISSION_CHANGE_GROUP // DATABASE_OPERATION_GROUP // DATABASE_PERMISSION_CHANGE_GROUP // DATABASE_PRINCIPAL_CHANGE_GROUP // DATABASE_PRINCIPAL_IMPERSONATION_GROUP // DATABASE_ROLE_MEMBER_CHANGE_GROUP // FAILED_DATABASE_AUTHENTICATION_GROUP // SCHEMA_OBJECT_ACCESS_GROUP // SCHEMA_OBJECT_CHANGE_GROUP // SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP // SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP // SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP // USER_CHANGE_PASSWORD_GROUP // BATCH_STARTED_GROUP // BATCH_COMPLETED_GROUP // // These are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs. // // For more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups). // // For Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are: // SELECT // UPDATE // INSERT // DELETE // EXECUTE // RECEIVE // REFERENCES // // The general form for defining an action to be audited is: // {action} ON {object} BY {principal} // // Note that <object> in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively. // // For example: // SELECT on dbo.myTable by public // SELECT on DATABASE::myDatabase by public // SELECT on SCHEMA::mySchema by public // // For more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions) AuditActionsAndGroups *[]string `json:"auditActionsAndGroups,omitempty"` // IsStorageSecondaryKeyInUse - Specifies whether storageAccountAccessKey value is the storage's secondary key. IsStorageSecondaryKeyInUse *bool `json:"isStorageSecondaryKeyInUse,omitempty"` // IsAzureMonitorTargetEnabled - Specifies whether audit events are sent to Azure Monitor. // In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true. // // When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created. // Note that for server level audit you should use the 'master' database as {databaseName}. // // Diagnostic Settings URI format: // PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview // // For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207) // or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) IsAzureMonitorTargetEnabled *bool `json:"isAzureMonitorTargetEnabled,omitempty"` // QueueDelayMs - Specifies the amount of time in milliseconds that can elapse before audit actions are forced to be processed. // The default minimum value is 1000 (1 second). The maximum is 2,147,483,647. QueueDelayMs *int32 `json:"queueDelayMs,omitempty"` // State - Specifies the state of the audit. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled 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 or isAzureMonitorTargetEnabled is required. StorageEndpoint *string `json:"storageEndpoint,omitempty"` // StorageAccountAccessKey - Specifies the identifier key of the auditing storage account. // If state is Enabled and storageEndpoint is specified, not specifying the storageAccountAccessKey will use SQL server system-assigned managed identity to access the storage. // Prerequisites for using managed identity authentication: // 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD). // 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data Contributor' RBAC role to the server identity. // For more information, see [Auditing to storage using Managed Identity authentication](https://go.microsoft.com/fwlink/?linkid=2114355) StorageAccountAccessKey *string `json:"storageAccountAccessKey,omitempty"` // StorageAccountSubscriptionID - Specifies the blob storage subscription Id. StorageAccountSubscriptionID *uuid.UUID `json:"storageAccountSubscriptionId,omitempty"` }
ServerBlobAuditingPolicyProperties properties of a server blob auditing policy.
type ServerCommunicationLink ¶
type ServerCommunicationLink struct { autorest.Response `json:"-"` // ServerCommunicationLinkProperties - The properties of resource. *ServerCommunicationLinkProperties `json:"properties,omitempty"` // Location - READ-ONLY; Communication link location. Location *string `json:"location,omitempty"` // Kind - READ-ONLY; Communication link kind. This property is used for Azure Portal metadata. Kind *string `json:"kind,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ServerCommunicationLink server communication link.
func (ServerCommunicationLink) MarshalJSON ¶
func (scl ServerCommunicationLink) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerCommunicationLink.
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 - READ-ONLY; 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.
func (ServerCommunicationLinkProperties) MarshalJSON ¶
func (sclp ServerCommunicationLinkProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerCommunicationLinkProperties.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. communicationLinkName - the name of the server communication link. parameters - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. communicationLinkName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. communicationLinkName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - 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.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServerCommunicationLinksClient) (ServerCommunicationLink, error) }
ServerCommunicationLinksCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ServerCommunicationLinksCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *ServerCommunicationLinksCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ServerConnectionPoliciesClient) CreateOrUpdate ¶
func (client ServerConnectionPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, parameters ServerConnectionPolicy) (result ServerConnectionPolicy, err error)
CreateOrUpdate creates or updates the server's connection policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. parameters - the required parameters for updating a secure connection policy.
func (ServerConnectionPoliciesClient) CreateOrUpdatePreparer ¶
func (client ServerConnectionPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName 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) (result ServerConnectionPolicy, err error)
Get gets the server's secure connection policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (ServerConnectionPoliciesClient) GetPreparer ¶
func (client ServerConnectionPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName 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:"-"` // Kind - READ-ONLY; Metadata used for the Azure portal experience. Kind *string `json:"kind,omitempty"` // Location - READ-ONLY; Resource location. Location *string `json:"location,omitempty"` // ServerConnectionPolicyProperties - The properties of the server secure connection policy. *ServerConnectionPolicyProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ServerConnectionPolicy a server secure connection policy.
func (ServerConnectionPolicy) MarshalJSON ¶
func (scp ServerConnectionPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerConnectionPolicy.
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" )
func PossibleServerConnectionTypeValues ¶
func PossibleServerConnectionTypeValues() []ServerConnectionType
PossibleServerConnectionTypeValues returns an array of possible values for the ServerConnectionType const type.
type ServerDNSAlias ¶
type ServerDNSAlias struct { autorest.Response `json:"-"` // ServerDNSAliasProperties - Resource properties. *ServerDNSAliasProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ServerDNSAlias a server DNS alias.
func (ServerDNSAlias) MarshalJSON ¶
func (sda ServerDNSAlias) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerDNSAlias.
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 - READ-ONLY; Array of results. Value *[]ServerDNSAlias `json:"value,omitempty"` // NextLink - READ-ONLY; 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.
func (ServerDNSAliasListResult) MarshalJSON ¶
func (sdalr ServerDNSAliasListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerDNSAliasListResult.
type ServerDNSAliasListResultIterator ¶
type ServerDNSAliasListResultIterator struct {
// contains filtered or unexported fields
}
ServerDNSAliasListResultIterator provides access to a complete listing of ServerDNSAlias values.
func NewServerDNSAliasListResultIterator ¶
func NewServerDNSAliasListResultIterator(page ServerDNSAliasListResultPage) ServerDNSAliasListResultIterator
Creates a new instance of the ServerDNSAliasListResultIterator type.
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. Deprecated: Use NextWithContext() instead.
func (*ServerDNSAliasListResultIterator) NextWithContext ¶
func (iter *ServerDNSAliasListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (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 NewServerDNSAliasListResultPage ¶
func NewServerDNSAliasListResultPage(cur ServerDNSAliasListResult, getNextPage func(context.Context, ServerDNSAliasListResult) (ServerDNSAliasListResult, error)) ServerDNSAliasListResultPage
Creates a new instance of the ServerDNSAliasListResultPage type.
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. Deprecated: Use NextWithContext() instead.
func (*ServerDNSAliasListResultPage) NextWithContext ¶
func (page *ServerDNSAliasListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (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 - READ-ONLY; The fully qualified DNS record for alias AzureDNSRecord *string `json:"azureDnsRecord,omitempty"` }
ServerDNSAliasProperties properties of a server DNS alias.
func (ServerDNSAliasProperties) MarshalJSON ¶
func (sdap ServerDNSAliasProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerDNSAliasProperties.
type ServerDNSAliasesAcquireFuture ¶
type ServerDNSAliasesAcquireFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServerDNSAliasesClient) (ServerDNSAlias, error) }
ServerDNSAliasesAcquireFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ServerDNSAliasesAcquireFuture) UnmarshalJSON ¶
func (future *ServerDNSAliasesAcquireFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server that the alias is pointing to. DNSAliasName - 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 ServerDNSAlias, 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server that the alias is pointing to. DNSAliasName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server that the alias is pointing to. DNSAliasName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server that the alias is pointing to. DNSAliasName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - 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.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServerDNSAliasesClient) (ServerDNSAlias, error) }
ServerDNSAliasesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ServerDNSAliasesCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *ServerDNSAliasesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ServerDNSAliasesDeleteFuture ¶
type ServerDNSAliasesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServerDNSAliasesClient) (autorest.Response, error) }
ServerDNSAliasesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ServerDNSAliasesDeleteFuture) UnmarshalJSON ¶
func (future *ServerDNSAliasesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ServerDevOpsAuditSettingsClient ¶
type ServerDevOpsAuditSettingsClient struct {
BaseClient
}
ServerDevOpsAuditSettingsClient 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 NewServerDevOpsAuditSettingsClient ¶
func NewServerDevOpsAuditSettingsClient(subscriptionID string) ServerDevOpsAuditSettingsClient
NewServerDevOpsAuditSettingsClient creates an instance of the ServerDevOpsAuditSettingsClient client.
func NewServerDevOpsAuditSettingsClientWithBaseURI ¶
func NewServerDevOpsAuditSettingsClientWithBaseURI(baseURI string, subscriptionID string) ServerDevOpsAuditSettingsClient
NewServerDevOpsAuditSettingsClientWithBaseURI creates an instance of the ServerDevOpsAuditSettingsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ServerDevOpsAuditSettingsClient) CreateOrUpdate ¶
func (client ServerDevOpsAuditSettingsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, devOpsAuditingSettingsName string, parameters ServerDevOpsAuditingSettings) (result ServerDevOpsAuditSettingsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a server's DevOps audit settings. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. devOpsAuditingSettingsName - the name of the devops audit settings. This should always be 'default'. parameters - properties of DevOps audit settings
func (ServerDevOpsAuditSettingsClient) CreateOrUpdatePreparer ¶
func (client ServerDevOpsAuditSettingsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, devOpsAuditingSettingsName string, parameters ServerDevOpsAuditingSettings) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ServerDevOpsAuditSettingsClient) CreateOrUpdateResponder ¶
func (client ServerDevOpsAuditSettingsClient) CreateOrUpdateResponder(resp *http.Response) (result ServerDevOpsAuditingSettings, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ServerDevOpsAuditSettingsClient) CreateOrUpdateSender ¶
func (client ServerDevOpsAuditSettingsClient) CreateOrUpdateSender(req *http.Request) (future ServerDevOpsAuditSettingsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ServerDevOpsAuditSettingsClient) Get ¶
func (client ServerDevOpsAuditSettingsClient) Get(ctx context.Context, resourceGroupName string, serverName string, devOpsAuditingSettingsName string) (result ServerDevOpsAuditingSettings, err error)
Get gets a server's DevOps audit settings. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. devOpsAuditingSettingsName - the name of the devops audit settings. This should always be 'default'.
func (ServerDevOpsAuditSettingsClient) GetPreparer ¶
func (client ServerDevOpsAuditSettingsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, devOpsAuditingSettingsName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ServerDevOpsAuditSettingsClient) GetResponder ¶
func (client ServerDevOpsAuditSettingsClient) GetResponder(resp *http.Response) (result ServerDevOpsAuditingSettings, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ServerDevOpsAuditSettingsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ServerDevOpsAuditSettingsClient) ListByServer ¶
func (client ServerDevOpsAuditSettingsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result ServerDevOpsAuditSettingsListResultPage, err error)
ListByServer lists DevOps audit settings of a server. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (ServerDevOpsAuditSettingsClient) ListByServerComplete ¶
func (client ServerDevOpsAuditSettingsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result ServerDevOpsAuditSettingsListResultIterator, err error)
ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
func (ServerDevOpsAuditSettingsClient) ListByServerPreparer ¶
func (client ServerDevOpsAuditSettingsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (ServerDevOpsAuditSettingsClient) ListByServerResponder ¶
func (client ServerDevOpsAuditSettingsClient) ListByServerResponder(resp *http.Response) (result ServerDevOpsAuditSettingsListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (ServerDevOpsAuditSettingsClient) ListByServerSender ¶
func (client ServerDevOpsAuditSettingsClient) 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 ServerDevOpsAuditSettingsCreateOrUpdateFuture ¶
type ServerDevOpsAuditSettingsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServerDevOpsAuditSettingsClient) (ServerDevOpsAuditingSettings, error) }
ServerDevOpsAuditSettingsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ServerDevOpsAuditSettingsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *ServerDevOpsAuditSettingsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ServerDevOpsAuditSettingsListResult ¶
type ServerDevOpsAuditSettingsListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ServerDevOpsAuditingSettings `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ServerDevOpsAuditSettingsListResult a list of server DevOps audit settings.
func (ServerDevOpsAuditSettingsListResult) IsEmpty ¶
func (sdoaslr ServerDevOpsAuditSettingsListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ServerDevOpsAuditSettingsListResult) MarshalJSON ¶
func (sdoaslr ServerDevOpsAuditSettingsListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerDevOpsAuditSettingsListResult.
type ServerDevOpsAuditSettingsListResultIterator ¶
type ServerDevOpsAuditSettingsListResultIterator struct {
// contains filtered or unexported fields
}
ServerDevOpsAuditSettingsListResultIterator provides access to a complete listing of ServerDevOpsAuditingSettings values.
func NewServerDevOpsAuditSettingsListResultIterator ¶
func NewServerDevOpsAuditSettingsListResultIterator(page ServerDevOpsAuditSettingsListResultPage) ServerDevOpsAuditSettingsListResultIterator
Creates a new instance of the ServerDevOpsAuditSettingsListResultIterator type.
func (*ServerDevOpsAuditSettingsListResultIterator) Next ¶
func (iter *ServerDevOpsAuditSettingsListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ServerDevOpsAuditSettingsListResultIterator) NextWithContext ¶
func (iter *ServerDevOpsAuditSettingsListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ServerDevOpsAuditSettingsListResultIterator) NotDone ¶
func (iter ServerDevOpsAuditSettingsListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ServerDevOpsAuditSettingsListResultIterator) Response ¶
func (iter ServerDevOpsAuditSettingsListResultIterator) Response() ServerDevOpsAuditSettingsListResult
Response returns the raw server response from the last page request.
func (ServerDevOpsAuditSettingsListResultIterator) Value ¶
func (iter ServerDevOpsAuditSettingsListResultIterator) Value() ServerDevOpsAuditingSettings
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ServerDevOpsAuditSettingsListResultPage ¶
type ServerDevOpsAuditSettingsListResultPage struct {
// contains filtered or unexported fields
}
ServerDevOpsAuditSettingsListResultPage contains a page of ServerDevOpsAuditingSettings values.
func NewServerDevOpsAuditSettingsListResultPage ¶
func NewServerDevOpsAuditSettingsListResultPage(cur ServerDevOpsAuditSettingsListResult, getNextPage func(context.Context, ServerDevOpsAuditSettingsListResult) (ServerDevOpsAuditSettingsListResult, error)) ServerDevOpsAuditSettingsListResultPage
Creates a new instance of the ServerDevOpsAuditSettingsListResultPage type.
func (*ServerDevOpsAuditSettingsListResultPage) Next ¶
func (page *ServerDevOpsAuditSettingsListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ServerDevOpsAuditSettingsListResultPage) NextWithContext ¶
func (page *ServerDevOpsAuditSettingsListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ServerDevOpsAuditSettingsListResultPage) NotDone ¶
func (page ServerDevOpsAuditSettingsListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ServerDevOpsAuditSettingsListResultPage) Response ¶
func (page ServerDevOpsAuditSettingsListResultPage) Response() ServerDevOpsAuditSettingsListResult
Response returns the raw server response from the last page request.
func (ServerDevOpsAuditSettingsListResultPage) Values ¶
func (page ServerDevOpsAuditSettingsListResultPage) Values() []ServerDevOpsAuditingSettings
Values returns the slice of values for the current page or nil if there are no values.
type ServerDevOpsAuditSettingsProperties ¶
type ServerDevOpsAuditSettingsProperties struct { // IsAzureMonitorTargetEnabled - Specifies whether DevOps audit events are sent to Azure Monitor. // In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true. // // When using REST API to configure DevOps audit, Diagnostic Settings with 'DevOpsOperationsAudit' diagnostic logs category on the master database should be also created. // // Diagnostic Settings URI format: // PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/master/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview // // For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207) // or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) IsAzureMonitorTargetEnabled *bool `json:"isAzureMonitorTargetEnabled,omitempty"` // State - Specifies the state of the audit. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled 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 or isAzureMonitorTargetEnabled is required. StorageEndpoint *string `json:"storageEndpoint,omitempty"` // StorageAccountAccessKey - Specifies the identifier key of the auditing storage account. // If state is Enabled and storageEndpoint is specified, not specifying the storageAccountAccessKey will use SQL server system-assigned managed identity to access the storage. // Prerequisites for using managed identity authentication: // 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD). // 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data Contributor' RBAC role to the server identity. // For more information, see [Auditing to storage using Managed Identity authentication](https://go.microsoft.com/fwlink/?linkid=2114355) StorageAccountAccessKey *string `json:"storageAccountAccessKey,omitempty"` // StorageAccountSubscriptionID - Specifies the blob storage subscription Id. StorageAccountSubscriptionID *uuid.UUID `json:"storageAccountSubscriptionId,omitempty"` }
ServerDevOpsAuditSettingsProperties properties of a server DevOps audit settings.
type ServerDevOpsAuditingSettings ¶
type ServerDevOpsAuditingSettings struct { autorest.Response `json:"-"` // SystemData - READ-ONLY; SystemData of ServerDevOpsAuditSettingsResource. SystemData *SystemData `json:"systemData,omitempty"` // ServerDevOpsAuditSettingsProperties - Resource properties. *ServerDevOpsAuditSettingsProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ServerDevOpsAuditingSettings a server DevOps auditing settings.
func (ServerDevOpsAuditingSettings) MarshalJSON ¶
func (sdoas ServerDevOpsAuditingSettings) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerDevOpsAuditingSettings.
func (*ServerDevOpsAuditingSettings) UnmarshalJSON ¶
func (sdoas *ServerDevOpsAuditingSettings) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServerDevOpsAuditingSettings struct.
type ServerExternalAdministrator ¶
type ServerExternalAdministrator struct { // AdministratorType - Type of the sever administrator. Possible values include: 'AdministratorTypeActiveDirectory' AdministratorType AdministratorType `json:"administratorType,omitempty"` // PrincipalType - Principal Type of the sever administrator. Possible values include: 'PrincipalTypeUser', 'PrincipalTypeGroup', 'PrincipalTypeApplication' PrincipalType PrincipalType `json:"principalType,omitempty"` // Login - Login name of the server administrator. Login *string `json:"login,omitempty"` // Sid - SID (object ID) of the server administrator. Sid *uuid.UUID `json:"sid,omitempty"` // TenantID - Tenant ID of the administrator. TenantID *uuid.UUID `json:"tenantId,omitempty"` // AzureADOnlyAuthentication - Azure Active Directory only Authentication enabled. AzureADOnlyAuthentication *bool `json:"azureADOnlyAuthentication,omitempty"` }
ServerExternalAdministrator properties of a active directory administrator.
type ServerFirewallRuleProperties ¶
type ServerFirewallRuleProperties struct { // StartIPAddress - The start IP address of the firewall rule. Must be IPv4 format. Use value '0.0.0.0' for 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' for all Azure-internal IP addresses. EndIPAddress *string `json:"endIpAddress,omitempty"` }
ServerFirewallRuleProperties the properties of a server firewall rule.
type ServerInfo ¶
type ServerInfo struct { // ServerID - Server Id. ServerID *string `json:"serverId,omitempty"` }
ServerInfo server info for the server trust group.
type ServerKey ¶
type ServerKey struct { autorest.Response `json:"-"` // Kind - READ-ONLY; Kind of encryption protector. This is metadata used for the Azure portal experience. Kind *string `json:"kind,omitempty"` // Location - READ-ONLY; Resource location. Location *string `json:"location,omitempty"` // ServerKeyProperties - Resource properties. *ServerKeyProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ServerKey a server key.
func (ServerKey) MarshalJSON ¶
MarshalJSON is the custom marshaler for ServerKey.
func (*ServerKey) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for ServerKey struct.
type ServerKeyListResult ¶
type ServerKeyListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ServerKey `json:"value,omitempty"` // NextLink - READ-ONLY; 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.
func (ServerKeyListResult) MarshalJSON ¶
func (sklr ServerKeyListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerKeyListResult.
type ServerKeyListResultIterator ¶
type ServerKeyListResultIterator struct {
// contains filtered or unexported fields
}
ServerKeyListResultIterator provides access to a complete listing of ServerKey values.
func NewServerKeyListResultIterator ¶
func NewServerKeyListResultIterator(page ServerKeyListResultPage) ServerKeyListResultIterator
Creates a new instance of the ServerKeyListResultIterator type.
func (*ServerKeyListResultIterator) Next ¶
func (iter *ServerKeyListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ServerKeyListResultIterator) NextWithContext ¶
func (iter *ServerKeyListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ServerKeyListResultIterator) NotDone ¶
func (iter ServerKeyListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ServerKeyListResultIterator) Response ¶
func (iter ServerKeyListResultIterator) Response() ServerKeyListResult
Response returns the raw server response from the last page request.
func (ServerKeyListResultIterator) Value ¶
func (iter ServerKeyListResultIterator) Value() ServerKey
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ServerKeyListResultPage ¶
type ServerKeyListResultPage struct {
// contains filtered or unexported fields
}
ServerKeyListResultPage contains a page of ServerKey values.
func NewServerKeyListResultPage ¶
func NewServerKeyListResultPage(cur ServerKeyListResult, getNextPage func(context.Context, ServerKeyListResult) (ServerKeyListResult, error)) ServerKeyListResultPage
Creates a new instance of the ServerKeyListResultPage type.
func (*ServerKeyListResultPage) Next ¶
func (page *ServerKeyListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ServerKeyListResultPage) NextWithContext ¶
func (page *ServerKeyListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ServerKeyListResultPage) NotDone ¶
func (page ServerKeyListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ServerKeyListResultPage) Response ¶
func (page ServerKeyListResultPage) Response() ServerKeyListResult
Response returns the raw server response from the last page request.
func (ServerKeyListResultPage) Values ¶
func (page ServerKeyListResultPage) Values() []ServerKey
Values returns the slice of values for the current page or nil if there are no values.
type ServerKeyProperties ¶
type ServerKeyProperties struct { // Subregion - READ-ONLY; Subregion of the server key. Subregion *string `json:"subregion,omitempty"` // ServerKeyType - The server key type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: 'ServerKeyTypeServiceManaged', 'ServerKeyTypeAzureKeyVault' ServerKeyType ServerKeyType `json:"serverKeyType,omitempty"` // URI - The URI of the server key. If the ServerKeyType is AzureKeyVault, then the URI is required. URI *string `json:"uri,omitempty"` // Thumbprint - READ-ONLY; Thumbprint of the server key. Thumbprint *string `json:"thumbprint,omitempty"` // CreationDate - READ-ONLY; The server key creation date. CreationDate *date.Time `json:"creationDate,omitempty"` // AutoRotationEnabled - READ-ONLY; Key auto rotation opt-in flag. Either true or false. AutoRotationEnabled *bool `json:"autoRotationEnabled,omitempty"` }
ServerKeyProperties properties for a server key execution.
func (ServerKeyProperties) MarshalJSON ¶
func (skp ServerKeyProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerKeyProperties.
type ServerKeyType ¶
type ServerKeyType string
ServerKeyType enumerates the values for server key type.
const ( // ServerKeyTypeAzureKeyVault ... ServerKeyTypeAzureKeyVault ServerKeyType = "AzureKeyVault" // ServerKeyTypeServiceManaged ... ServerKeyTypeServiceManaged ServerKeyType = "ServiceManaged" )
func PossibleServerKeyTypeValues ¶
func PossibleServerKeyTypeValues() []ServerKeyType
PossibleServerKeyTypeValues returns an array of possible values for the ServerKeyType const type.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ServerKeysClient) CreateOrUpdate ¶
func (client ServerKeysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, keyName string, parameters ServerKey) (result ServerKeysCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a server key. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. keyName - 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/YourKeyVersion, then the server key name should be formatted as: YourVaultName_YourKeyName_YourKeyVersion parameters - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. keyName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. keyName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - 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.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServerKeysClient) (ServerKey, error) }
ServerKeysCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ServerKeysCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *ServerKeysCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ServerKeysDeleteFuture ¶
type ServerKeysDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServerKeysClient) (autorest.Response, error) }
ServerKeysDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ServerKeysDeleteFuture) UnmarshalJSON ¶
func (future *ServerKeysDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ServerListResult ¶
type ServerListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]Server `json:"value,omitempty"` // NextLink - READ-ONLY; 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.
func (ServerListResult) MarshalJSON ¶
func (slr ServerListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerListResult.
type ServerListResultIterator ¶
type ServerListResultIterator struct {
// contains filtered or unexported fields
}
ServerListResultIterator provides access to a complete listing of Server values.
func NewServerListResultIterator ¶
func NewServerListResultIterator(page ServerListResultPage) ServerListResultIterator
Creates a new instance of the ServerListResultIterator type.
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. Deprecated: Use NextWithContext() instead.
func (*ServerListResultIterator) NextWithContext ¶
func (iter *ServerListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (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 NewServerListResultPage ¶
func NewServerListResultPage(cur ServerListResult, getNextPage func(context.Context, ServerListResult) (ServerListResult, error)) ServerListResultPage
Creates a new instance of the ServerListResultPage type.
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. Deprecated: Use NextWithContext() instead.
func (*ServerListResultPage) NextWithContext ¶
func (page *ServerListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (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 ServerNetworkAccessFlag ¶
type ServerNetworkAccessFlag string
ServerNetworkAccessFlag enumerates the values for server network access flag.
const ( // ServerNetworkAccessFlagDisabled ... ServerNetworkAccessFlagDisabled ServerNetworkAccessFlag = "Disabled" // ServerNetworkAccessFlagEnabled ... ServerNetworkAccessFlagEnabled ServerNetworkAccessFlag = "Enabled" )
func PossibleServerNetworkAccessFlagValues ¶
func PossibleServerNetworkAccessFlagValues() []ServerNetworkAccessFlag
PossibleServerNetworkAccessFlagValues returns an array of possible values for the ServerNetworkAccessFlag const type.
type ServerOperation ¶
type ServerOperation struct { // ServerOperationProperties - Resource properties. *ServerOperationProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ServerOperation a server operation.
func (ServerOperation) MarshalJSON ¶
func (so ServerOperation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerOperation.
func (*ServerOperation) UnmarshalJSON ¶
func (so *ServerOperation) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServerOperation struct.
type ServerOperationListResult ¶
type ServerOperationListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ServerOperation `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ServerOperationListResult the response to a list server operations request
func (ServerOperationListResult) IsEmpty ¶
func (solr ServerOperationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ServerOperationListResult) MarshalJSON ¶
func (solr ServerOperationListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerOperationListResult.
type ServerOperationListResultIterator ¶
type ServerOperationListResultIterator struct {
// contains filtered or unexported fields
}
ServerOperationListResultIterator provides access to a complete listing of ServerOperation values.
func NewServerOperationListResultIterator ¶
func NewServerOperationListResultIterator(page ServerOperationListResultPage) ServerOperationListResultIterator
Creates a new instance of the ServerOperationListResultIterator type.
func (*ServerOperationListResultIterator) Next ¶
func (iter *ServerOperationListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ServerOperationListResultIterator) NextWithContext ¶
func (iter *ServerOperationListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ServerOperationListResultIterator) NotDone ¶
func (iter ServerOperationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ServerOperationListResultIterator) Response ¶
func (iter ServerOperationListResultIterator) Response() ServerOperationListResult
Response returns the raw server response from the last page request.
func (ServerOperationListResultIterator) Value ¶
func (iter ServerOperationListResultIterator) Value() ServerOperation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ServerOperationListResultPage ¶
type ServerOperationListResultPage struct {
// contains filtered or unexported fields
}
ServerOperationListResultPage contains a page of ServerOperation values.
func NewServerOperationListResultPage ¶
func NewServerOperationListResultPage(cur ServerOperationListResult, getNextPage func(context.Context, ServerOperationListResult) (ServerOperationListResult, error)) ServerOperationListResultPage
Creates a new instance of the ServerOperationListResultPage type.
func (*ServerOperationListResultPage) Next ¶
func (page *ServerOperationListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ServerOperationListResultPage) NextWithContext ¶
func (page *ServerOperationListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ServerOperationListResultPage) NotDone ¶
func (page ServerOperationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ServerOperationListResultPage) Response ¶
func (page ServerOperationListResultPage) Response() ServerOperationListResult
Response returns the raw server response from the last page request.
func (ServerOperationListResultPage) Values ¶
func (page ServerOperationListResultPage) Values() []ServerOperation
Values returns the slice of values for the current page or nil if there are no values.
type ServerOperationProperties ¶
type ServerOperationProperties struct { // Operation - READ-ONLY; The name of operation. Operation *string `json:"operation,omitempty"` // OperationFriendlyName - READ-ONLY; The friendly name of operation. OperationFriendlyName *string `json:"operationFriendlyName,omitempty"` // PercentComplete - READ-ONLY; The percentage of the operation completed. PercentComplete *int32 `json:"percentComplete,omitempty"` // ServerName - READ-ONLY; The name of the server. ServerName *string `json:"serverName,omitempty"` // StartTime - READ-ONLY; The operation start time. StartTime *date.Time `json:"startTime,omitempty"` // State - READ-ONLY; The operation state. Possible values include: 'ManagementOperationStatePending', 'ManagementOperationStateInProgress', 'ManagementOperationStateSucceeded', 'ManagementOperationStateFailed', 'ManagementOperationStateCancelInProgress', 'ManagementOperationStateCancelled' State ManagementOperationState `json:"state,omitempty"` // ErrorCode - READ-ONLY; The operation error code. ErrorCode *int32 `json:"errorCode,omitempty"` // ErrorDescription - READ-ONLY; The operation error description. ErrorDescription *string `json:"errorDescription,omitempty"` // ErrorSeverity - READ-ONLY; The operation error severity. ErrorSeverity *int32 `json:"errorSeverity,omitempty"` // IsUserError - READ-ONLY; Whether or not the error is a user error. IsUserError *bool `json:"isUserError,omitempty"` // EstimatedCompletionTime - READ-ONLY; The estimated completion time of the operation. EstimatedCompletionTime *date.Time `json:"estimatedCompletionTime,omitempty"` // Description - READ-ONLY; The operation description. Description *string `json:"description,omitempty"` // IsCancellable - READ-ONLY; Whether the operation can be cancelled. IsCancellable *bool `json:"isCancellable,omitempty"` }
ServerOperationProperties the properties of a server operation.
func (ServerOperationProperties) MarshalJSON ¶
func (sop ServerOperationProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerOperationProperties.
type ServerOperationsClient ¶
type ServerOperationsClient struct {
BaseClient
}
ServerOperationsClient 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 NewServerOperationsClient ¶
func NewServerOperationsClient(subscriptionID string) ServerOperationsClient
NewServerOperationsClient creates an instance of the ServerOperationsClient client.
func NewServerOperationsClientWithBaseURI ¶
func NewServerOperationsClientWithBaseURI(baseURI string, subscriptionID string) ServerOperationsClient
NewServerOperationsClientWithBaseURI creates an instance of the ServerOperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ServerOperationsClient) ListByServer ¶
func (client ServerOperationsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result ServerOperationListResultPage, err error)
ListByServer gets a list of operations performed on the server. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (ServerOperationsClient) ListByServerComplete ¶
func (client ServerOperationsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result ServerOperationListResultIterator, err error)
ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
func (ServerOperationsClient) ListByServerPreparer ¶
func (client ServerOperationsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (ServerOperationsClient) ListByServerResponder ¶
func (client ServerOperationsClient) ListByServerResponder(resp *http.Response) (result ServerOperationListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (ServerOperationsClient) ListByServerSender ¶
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
type ServerPrivateEndpointConnection ¶
type ServerPrivateEndpointConnection struct { // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Properties - READ-ONLY; Private endpoint connection properties Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"` }
ServerPrivateEndpointConnection a private endpoint connection under a server
func (ServerPrivateEndpointConnection) MarshalJSON ¶
func (spec ServerPrivateEndpointConnection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerPrivateEndpointConnection.
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 - READ-ONLY; The state of the server. State *string `json:"state,omitempty"` // FullyQualifiedDomainName - READ-ONLY; The fully qualified domain name of the server. FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty"` // PrivateEndpointConnections - READ-ONLY; List of private endpoint connections on a server PrivateEndpointConnections *[]ServerPrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` // MinimalTLSVersion - Minimal TLS version. Allowed values: '1.0', '1.1', '1.2' MinimalTLSVersion *string `json:"minimalTlsVersion,omitempty"` // PublicNetworkAccess - Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'ServerNetworkAccessFlagEnabled', 'ServerNetworkAccessFlagDisabled' PublicNetworkAccess ServerNetworkAccessFlag `json:"publicNetworkAccess,omitempty"` // WorkspaceFeature - READ-ONLY; Whether or not existing server has a workspace created and if it allows connection from workspace. Possible values include: 'ServerWorkspaceFeatureConnected', 'ServerWorkspaceFeatureDisconnected' WorkspaceFeature ServerWorkspaceFeature `json:"workspaceFeature,omitempty"` // PrimaryUserAssignedIdentityID - The resource id of a user assigned identity to be used by default. PrimaryUserAssignedIdentityID *string `json:"primaryUserAssignedIdentityId,omitempty"` // FederatedClientID - The Client id used for cross tenant CMK scenario FederatedClientID *uuid.UUID `json:"federatedClientId,omitempty"` // KeyID - A CMK URI of the key to use for encryption. KeyID *string `json:"keyId,omitempty"` // Administrators - The Azure Active Directory identity of the server. Administrators *ServerExternalAdministrator `json:"administrators,omitempty"` // RestrictOutboundNetworkAccess - Whether or not to restrict outbound network access for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'ServerNetworkAccessFlagEnabled', 'ServerNetworkAccessFlagDisabled' RestrictOutboundNetworkAccess ServerNetworkAccessFlag `json:"restrictOutboundNetworkAccess,omitempty"` }
ServerProperties the properties of a server.
func (ServerProperties) MarshalJSON ¶
func (sp ServerProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerProperties.
type ServerSecurityAlertPoliciesClient ¶
type ServerSecurityAlertPoliciesClient struct {
BaseClient
}
ServerSecurityAlertPoliciesClient 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 NewServerSecurityAlertPoliciesClient ¶
func NewServerSecurityAlertPoliciesClient(subscriptionID string) ServerSecurityAlertPoliciesClient
NewServerSecurityAlertPoliciesClient creates an instance of the ServerSecurityAlertPoliciesClient client.
func NewServerSecurityAlertPoliciesClientWithBaseURI ¶
func NewServerSecurityAlertPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ServerSecurityAlertPoliciesClient
NewServerSecurityAlertPoliciesClientWithBaseURI creates an instance of the ServerSecurityAlertPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ServerSecurityAlertPoliciesClient) CreateOrUpdate ¶
func (client ServerSecurityAlertPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, parameters ServerSecurityAlertPolicy) (result ServerSecurityAlertPoliciesCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a threat detection policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. parameters - the server security alert policy.
func (ServerSecurityAlertPoliciesClient) CreateOrUpdatePreparer ¶
func (client ServerSecurityAlertPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, parameters ServerSecurityAlertPolicy) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ServerSecurityAlertPoliciesClient) CreateOrUpdateResponder ¶
func (client ServerSecurityAlertPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ServerSecurityAlertPolicy, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ServerSecurityAlertPoliciesClient) CreateOrUpdateSender ¶
func (client ServerSecurityAlertPoliciesClient) CreateOrUpdateSender(req *http.Request) (future ServerSecurityAlertPoliciesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ServerSecurityAlertPoliciesClient) Get ¶
func (client ServerSecurityAlertPoliciesClient) Get(ctx context.Context, resourceGroupName string, serverName string) (result ServerSecurityAlertPolicy, err error)
Get get a server's security alert policy. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (ServerSecurityAlertPoliciesClient) GetPreparer ¶
func (client ServerSecurityAlertPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ServerSecurityAlertPoliciesClient) GetResponder ¶
func (client ServerSecurityAlertPoliciesClient) GetResponder(resp *http.Response) (result ServerSecurityAlertPolicy, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ServerSecurityAlertPoliciesClient) GetSender ¶
func (client ServerSecurityAlertPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ServerSecurityAlertPoliciesClient) ListByServer ¶
func (client ServerSecurityAlertPoliciesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result LogicalServerSecurityAlertPolicyListResultPage, err error)
ListByServer get the server's threat detection policies. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (ServerSecurityAlertPoliciesClient) ListByServerComplete ¶
func (client ServerSecurityAlertPoliciesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result LogicalServerSecurityAlertPolicyListResultIterator, err error)
ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
func (ServerSecurityAlertPoliciesClient) ListByServerPreparer ¶
func (client ServerSecurityAlertPoliciesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (ServerSecurityAlertPoliciesClient) ListByServerResponder ¶
func (client ServerSecurityAlertPoliciesClient) ListByServerResponder(resp *http.Response) (result LogicalServerSecurityAlertPolicyListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (ServerSecurityAlertPoliciesClient) ListByServerSender ¶
func (client ServerSecurityAlertPoliciesClient) 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 ServerSecurityAlertPoliciesCreateOrUpdateFuture ¶
type ServerSecurityAlertPoliciesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServerSecurityAlertPoliciesClient) (ServerSecurityAlertPolicy, error) }
ServerSecurityAlertPoliciesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ServerSecurityAlertPoliciesCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *ServerSecurityAlertPoliciesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ServerSecurityAlertPolicy ¶
type ServerSecurityAlertPolicy struct { autorest.Response `json:"-"` // SystemData - READ-ONLY; SystemData of SecurityAlertPolicyResource. SystemData *SystemData `json:"systemData,omitempty"` // SecurityAlertsPolicyProperties - Resource properties. *SecurityAlertsPolicyProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ServerSecurityAlertPolicy a server security alert policy.
func (ServerSecurityAlertPolicy) MarshalJSON ¶
func (ssap ServerSecurityAlertPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerSecurityAlertPolicy.
func (*ServerSecurityAlertPolicy) UnmarshalJSON ¶
func (ssap *ServerSecurityAlertPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServerSecurityAlertPolicy struct.
type ServerTrustGroup ¶
type ServerTrustGroup struct { autorest.Response `json:"-"` // ServerTrustGroupProperties - Resource properties. *ServerTrustGroupProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ServerTrustGroup a server trust group.
func (ServerTrustGroup) MarshalJSON ¶
func (stg ServerTrustGroup) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerTrustGroup.
func (*ServerTrustGroup) UnmarshalJSON ¶
func (stg *ServerTrustGroup) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServerTrustGroup struct.
type ServerTrustGroupListResult ¶
type ServerTrustGroupListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ServerTrustGroup `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ServerTrustGroupListResult a list of server trust groups.
func (ServerTrustGroupListResult) IsEmpty ¶
func (stglr ServerTrustGroupListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ServerTrustGroupListResult) MarshalJSON ¶
func (stglr ServerTrustGroupListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerTrustGroupListResult.
type ServerTrustGroupListResultIterator ¶
type ServerTrustGroupListResultIterator struct {
// contains filtered or unexported fields
}
ServerTrustGroupListResultIterator provides access to a complete listing of ServerTrustGroup values.
func NewServerTrustGroupListResultIterator ¶
func NewServerTrustGroupListResultIterator(page ServerTrustGroupListResultPage) ServerTrustGroupListResultIterator
Creates a new instance of the ServerTrustGroupListResultIterator type.
func (*ServerTrustGroupListResultIterator) Next ¶
func (iter *ServerTrustGroupListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ServerTrustGroupListResultIterator) NextWithContext ¶
func (iter *ServerTrustGroupListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ServerTrustGroupListResultIterator) NotDone ¶
func (iter ServerTrustGroupListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ServerTrustGroupListResultIterator) Response ¶
func (iter ServerTrustGroupListResultIterator) Response() ServerTrustGroupListResult
Response returns the raw server response from the last page request.
func (ServerTrustGroupListResultIterator) Value ¶
func (iter ServerTrustGroupListResultIterator) Value() ServerTrustGroup
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ServerTrustGroupListResultPage ¶
type ServerTrustGroupListResultPage struct {
// contains filtered or unexported fields
}
ServerTrustGroupListResultPage contains a page of ServerTrustGroup values.
func NewServerTrustGroupListResultPage ¶
func NewServerTrustGroupListResultPage(cur ServerTrustGroupListResult, getNextPage func(context.Context, ServerTrustGroupListResult) (ServerTrustGroupListResult, error)) ServerTrustGroupListResultPage
Creates a new instance of the ServerTrustGroupListResultPage type.
func (*ServerTrustGroupListResultPage) Next ¶
func (page *ServerTrustGroupListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ServerTrustGroupListResultPage) NextWithContext ¶
func (page *ServerTrustGroupListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ServerTrustGroupListResultPage) NotDone ¶
func (page ServerTrustGroupListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ServerTrustGroupListResultPage) Response ¶
func (page ServerTrustGroupListResultPage) Response() ServerTrustGroupListResult
Response returns the raw server response from the last page request.
func (ServerTrustGroupListResultPage) Values ¶
func (page ServerTrustGroupListResultPage) Values() []ServerTrustGroup
Values returns the slice of values for the current page or nil if there are no values.
type ServerTrustGroupProperties ¶
type ServerTrustGroupProperties struct { // GroupMembers - Group members information for the server trust group. GroupMembers *[]ServerInfo `json:"groupMembers,omitempty"` // TrustScopes - Trust scope of the server trust group. TrustScopes *[]string `json:"trustScopes,omitempty"` }
ServerTrustGroupProperties properties of a server trust group.
type ServerTrustGroupsClient ¶
type ServerTrustGroupsClient struct {
BaseClient
}
ServerTrustGroupsClient 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 NewServerTrustGroupsClient ¶
func NewServerTrustGroupsClient(subscriptionID string) ServerTrustGroupsClient
NewServerTrustGroupsClient creates an instance of the ServerTrustGroupsClient client.
func NewServerTrustGroupsClientWithBaseURI ¶
func NewServerTrustGroupsClientWithBaseURI(baseURI string, subscriptionID string) ServerTrustGroupsClient
NewServerTrustGroupsClientWithBaseURI creates an instance of the ServerTrustGroupsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ServerTrustGroupsClient) CreateOrUpdate ¶
func (client ServerTrustGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, locationName string, serverTrustGroupName string, parameters ServerTrustGroup) (result ServerTrustGroupsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a server trust group. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. locationName - the name of the region where the resource is located. serverTrustGroupName - the name of the server trust group. parameters - the server trust group parameters.
func (ServerTrustGroupsClient) CreateOrUpdatePreparer ¶
func (client ServerTrustGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, locationName string, serverTrustGroupName string, parameters ServerTrustGroup) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ServerTrustGroupsClient) CreateOrUpdateResponder ¶
func (client ServerTrustGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result ServerTrustGroup, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ServerTrustGroupsClient) CreateOrUpdateSender ¶
func (client ServerTrustGroupsClient) CreateOrUpdateSender(req *http.Request) (future ServerTrustGroupsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ServerTrustGroupsClient) Delete ¶
func (client ServerTrustGroupsClient) Delete(ctx context.Context, resourceGroupName string, locationName string, serverTrustGroupName string) (result ServerTrustGroupsDeleteFuture, err error)
Delete deletes a server trust group. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. locationName - the name of the region where the resource is located. serverTrustGroupName - the name of the server trust group.
func (ServerTrustGroupsClient) DeletePreparer ¶
func (client ServerTrustGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, locationName string, serverTrustGroupName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ServerTrustGroupsClient) DeleteResponder ¶
func (client ServerTrustGroupsClient) 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 (ServerTrustGroupsClient) DeleteSender ¶
func (client ServerTrustGroupsClient) DeleteSender(req *http.Request) (future ServerTrustGroupsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ServerTrustGroupsClient) Get ¶
func (client ServerTrustGroupsClient) Get(ctx context.Context, resourceGroupName string, locationName string, serverTrustGroupName string) (result ServerTrustGroup, err error)
Get gets a server trust group. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. locationName - the name of the region where the resource is located. serverTrustGroupName - the name of the server trust group.
func (ServerTrustGroupsClient) GetPreparer ¶
func (client ServerTrustGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, locationName string, serverTrustGroupName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ServerTrustGroupsClient) GetResponder ¶
func (client ServerTrustGroupsClient) GetResponder(resp *http.Response) (result ServerTrustGroup, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ServerTrustGroupsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ServerTrustGroupsClient) ListByInstance ¶
func (client ServerTrustGroupsClient) ListByInstance(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ServerTrustGroupListResultPage, err error)
ListByInstance gets a server trust groups by instance name. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. managedInstanceName - the name of the managed instance.
func (ServerTrustGroupsClient) ListByInstanceComplete ¶
func (client ServerTrustGroupsClient) ListByInstanceComplete(ctx context.Context, resourceGroupName string, managedInstanceName string) (result ServerTrustGroupListResultIterator, err error)
ListByInstanceComplete enumerates all values, automatically crossing page boundaries as required.
func (ServerTrustGroupsClient) ListByInstancePreparer ¶
func (client ServerTrustGroupsClient) ListByInstancePreparer(ctx context.Context, resourceGroupName string, managedInstanceName string) (*http.Request, error)
ListByInstancePreparer prepares the ListByInstance request.
func (ServerTrustGroupsClient) ListByInstanceResponder ¶
func (client ServerTrustGroupsClient) ListByInstanceResponder(resp *http.Response) (result ServerTrustGroupListResult, err error)
ListByInstanceResponder handles the response to the ListByInstance request. The method always closes the http.Response Body.
func (ServerTrustGroupsClient) ListByInstanceSender ¶
func (client ServerTrustGroupsClient) ListByInstanceSender(req *http.Request) (*http.Response, error)
ListByInstanceSender sends the ListByInstance request. The method will close the http.Response Body if it receives an error.
func (ServerTrustGroupsClient) ListByLocation ¶
func (client ServerTrustGroupsClient) ListByLocation(ctx context.Context, resourceGroupName string, locationName string) (result ServerTrustGroupListResultPage, err error)
ListByLocation lists a server trust group. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. locationName - the name of the region where the resource is located.
func (ServerTrustGroupsClient) ListByLocationComplete ¶
func (client ServerTrustGroupsClient) ListByLocationComplete(ctx context.Context, resourceGroupName string, locationName string) (result ServerTrustGroupListResultIterator, err error)
ListByLocationComplete enumerates all values, automatically crossing page boundaries as required.
func (ServerTrustGroupsClient) ListByLocationPreparer ¶
func (client ServerTrustGroupsClient) ListByLocationPreparer(ctx context.Context, resourceGroupName string, locationName string) (*http.Request, error)
ListByLocationPreparer prepares the ListByLocation request.
func (ServerTrustGroupsClient) ListByLocationResponder ¶
func (client ServerTrustGroupsClient) ListByLocationResponder(resp *http.Response) (result ServerTrustGroupListResult, err error)
ListByLocationResponder handles the response to the ListByLocation request. The method always closes the http.Response Body.
func (ServerTrustGroupsClient) ListByLocationSender ¶
func (client ServerTrustGroupsClient) 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 ServerTrustGroupsCreateOrUpdateFuture ¶
type ServerTrustGroupsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServerTrustGroupsClient) (ServerTrustGroup, error) }
ServerTrustGroupsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ServerTrustGroupsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *ServerTrustGroupsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ServerTrustGroupsDeleteFuture ¶
type ServerTrustGroupsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServerTrustGroupsClient) (autorest.Response, error) }
ServerTrustGroupsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ServerTrustGroupsDeleteFuture) UnmarshalJSON ¶
func (future *ServerTrustGroupsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ServerUpdate ¶
type ServerUpdate struct { // Identity - Server identity Identity *ResourceIdentity `json:"identity,omitempty"` // ServerProperties - Resource properties. *ServerProperties `json:"properties,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
ServerUpdate an update request for an Azure SQL Database server.
func (ServerUpdate) MarshalJSON ¶
func (su ServerUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerUpdate.
func (*ServerUpdate) UnmarshalJSON ¶
func (su *ServerUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServerUpdate struct.
type ServerUsage ¶
type ServerUsage struct { // Name - READ-ONLY; Name of the server usage metric. Name *string `json:"name,omitempty"` // ResourceName - READ-ONLY; The name of the resource. ResourceName *string `json:"resourceName,omitempty"` // DisplayName - READ-ONLY; The metric display name. DisplayName *string `json:"displayName,omitempty"` // CurrentValue - READ-ONLY; The current value of the metric. CurrentValue *float64 `json:"currentValue,omitempty"` // Limit - READ-ONLY; The current limit of the metric. Limit *float64 `json:"limit,omitempty"` // Unit - READ-ONLY; The units of the metric. Unit *string `json:"unit,omitempty"` // NextResetTime - READ-ONLY; The next reset time for the metric (ISO8601 format). NextResetTime *date.Time `json:"nextResetTime,omitempty"` }
ServerUsage represents server metrics.
func (ServerUsage) MarshalJSON ¶
func (su ServerUsage) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerUsage.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ServerUsagesClient) ListByServer ¶
func (client ServerUsagesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result ServerUsageListResult, err error)
ListByServer returns server usages. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - 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 - READ-ONLY; The server version name. Name *string `json:"name,omitempty"` // SupportedEditions - READ-ONLY; The list of supported database editions. SupportedEditions *[]EditionCapability `json:"supportedEditions,omitempty"` // SupportedElasticPoolEditions - READ-ONLY; The list of supported elastic pool editions. SupportedElasticPoolEditions *[]ElasticPoolEditionCapability `json:"supportedElasticPoolEditions,omitempty"` // Status - READ-ONLY; The status of the capability. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // Reason - The reason for the capability not being available. Reason *string `json:"reason,omitempty"` }
ServerVersionCapability the server capability
func (ServerVersionCapability) MarshalJSON ¶
func (svc ServerVersionCapability) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerVersionCapability.
type ServerVulnerabilityAssessment ¶
type ServerVulnerabilityAssessment struct { autorest.Response `json:"-"` // ServerVulnerabilityAssessmentProperties - Resource properties. *ServerVulnerabilityAssessmentProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ServerVulnerabilityAssessment a server vulnerability assessment.
func (ServerVulnerabilityAssessment) MarshalJSON ¶
func (sva ServerVulnerabilityAssessment) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerVulnerabilityAssessment.
func (*ServerVulnerabilityAssessment) UnmarshalJSON ¶
func (sva *ServerVulnerabilityAssessment) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServerVulnerabilityAssessment struct.
type ServerVulnerabilityAssessmentListResult ¶
type ServerVulnerabilityAssessmentListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]ServerVulnerabilityAssessment `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
ServerVulnerabilityAssessmentListResult a list of the server's vulnerability assessments.
func (ServerVulnerabilityAssessmentListResult) IsEmpty ¶
func (svalr ServerVulnerabilityAssessmentListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ServerVulnerabilityAssessmentListResult) MarshalJSON ¶
func (svalr ServerVulnerabilityAssessmentListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerVulnerabilityAssessmentListResult.
type ServerVulnerabilityAssessmentListResultIterator ¶
type ServerVulnerabilityAssessmentListResultIterator struct {
// contains filtered or unexported fields
}
ServerVulnerabilityAssessmentListResultIterator provides access to a complete listing of ServerVulnerabilityAssessment values.
func NewServerVulnerabilityAssessmentListResultIterator ¶
func NewServerVulnerabilityAssessmentListResultIterator(page ServerVulnerabilityAssessmentListResultPage) ServerVulnerabilityAssessmentListResultIterator
Creates a new instance of the ServerVulnerabilityAssessmentListResultIterator type.
func (*ServerVulnerabilityAssessmentListResultIterator) Next ¶
func (iter *ServerVulnerabilityAssessmentListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ServerVulnerabilityAssessmentListResultIterator) NextWithContext ¶
func (iter *ServerVulnerabilityAssessmentListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ServerVulnerabilityAssessmentListResultIterator) NotDone ¶
func (iter ServerVulnerabilityAssessmentListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ServerVulnerabilityAssessmentListResultIterator) Response ¶
func (iter ServerVulnerabilityAssessmentListResultIterator) Response() ServerVulnerabilityAssessmentListResult
Response returns the raw server response from the last page request.
func (ServerVulnerabilityAssessmentListResultIterator) Value ¶
func (iter ServerVulnerabilityAssessmentListResultIterator) Value() ServerVulnerabilityAssessment
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ServerVulnerabilityAssessmentListResultPage ¶
type ServerVulnerabilityAssessmentListResultPage struct {
// contains filtered or unexported fields
}
ServerVulnerabilityAssessmentListResultPage contains a page of ServerVulnerabilityAssessment values.
func NewServerVulnerabilityAssessmentListResultPage ¶
func NewServerVulnerabilityAssessmentListResultPage(cur ServerVulnerabilityAssessmentListResult, getNextPage func(context.Context, ServerVulnerabilityAssessmentListResult) (ServerVulnerabilityAssessmentListResult, error)) ServerVulnerabilityAssessmentListResultPage
Creates a new instance of the ServerVulnerabilityAssessmentListResultPage type.
func (*ServerVulnerabilityAssessmentListResultPage) Next ¶
func (page *ServerVulnerabilityAssessmentListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ServerVulnerabilityAssessmentListResultPage) NextWithContext ¶
func (page *ServerVulnerabilityAssessmentListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ServerVulnerabilityAssessmentListResultPage) NotDone ¶
func (page ServerVulnerabilityAssessmentListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ServerVulnerabilityAssessmentListResultPage) Response ¶
func (page ServerVulnerabilityAssessmentListResultPage) Response() ServerVulnerabilityAssessmentListResult
Response returns the raw server response from the last page request.
func (ServerVulnerabilityAssessmentListResultPage) Values ¶
func (page ServerVulnerabilityAssessmentListResultPage) Values() []ServerVulnerabilityAssessment
Values returns the slice of values for the current page or nil if there are no values.
type ServerVulnerabilityAssessmentProperties ¶
type ServerVulnerabilityAssessmentProperties struct { // StorageContainerPath - A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). StorageContainerPath *string `json:"storageContainerPath,omitempty"` // StorageContainerSasKey - A shared access signature (SAS Key) that has write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required. Applies only if the storage account is not behind a Vnet or a firewall StorageContainerSasKey *string `json:"storageContainerSasKey,omitempty"` // StorageAccountAccessKey - Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. Applies only if the storage account is not behind a Vnet or a firewall StorageAccountAccessKey *string `json:"storageAccountAccessKey,omitempty"` // RecurringScans - The recurring scans settings RecurringScans *VulnerabilityAssessmentRecurringScansProperties `json:"recurringScans,omitempty"` }
ServerVulnerabilityAssessmentProperties properties of a server Vulnerability Assessment.
type ServerVulnerabilityAssessmentsClient ¶
type ServerVulnerabilityAssessmentsClient struct {
BaseClient
}
ServerVulnerabilityAssessmentsClient 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 NewServerVulnerabilityAssessmentsClient ¶
func NewServerVulnerabilityAssessmentsClient(subscriptionID string) ServerVulnerabilityAssessmentsClient
NewServerVulnerabilityAssessmentsClient creates an instance of the ServerVulnerabilityAssessmentsClient client.
func NewServerVulnerabilityAssessmentsClientWithBaseURI ¶
func NewServerVulnerabilityAssessmentsClientWithBaseURI(baseURI string, subscriptionID string) ServerVulnerabilityAssessmentsClient
NewServerVulnerabilityAssessmentsClientWithBaseURI creates an instance of the ServerVulnerabilityAssessmentsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ServerVulnerabilityAssessmentsClient) CreateOrUpdate ¶
func (client ServerVulnerabilityAssessmentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, parameters ServerVulnerabilityAssessment) (result ServerVulnerabilityAssessment, err error)
CreateOrUpdate creates or updates the server's vulnerability assessment. Learn more about setting SQL vulnerability assessment with managed identity - https://docs.microsoft.com/azure/azure-sql/database/sql-database-vulnerability-assessment-storage Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server for which the vulnerability assessment is defined. parameters - the requested resource.
func (ServerVulnerabilityAssessmentsClient) CreateOrUpdatePreparer ¶
func (client ServerVulnerabilityAssessmentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, parameters ServerVulnerabilityAssessment) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ServerVulnerabilityAssessmentsClient) CreateOrUpdateResponder ¶
func (client ServerVulnerabilityAssessmentsClient) CreateOrUpdateResponder(resp *http.Response) (result ServerVulnerabilityAssessment, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ServerVulnerabilityAssessmentsClient) CreateOrUpdateSender ¶
func (client ServerVulnerabilityAssessmentsClient) 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 (ServerVulnerabilityAssessmentsClient) Delete ¶
func (client ServerVulnerabilityAssessmentsClient) Delete(ctx context.Context, resourceGroupName string, serverName string) (result autorest.Response, err error)
Delete removes the server's vulnerability assessment. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server for which the vulnerability assessment is defined.
func (ServerVulnerabilityAssessmentsClient) DeletePreparer ¶
func (client ServerVulnerabilityAssessmentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ServerVulnerabilityAssessmentsClient) DeleteResponder ¶
func (client ServerVulnerabilityAssessmentsClient) 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 (ServerVulnerabilityAssessmentsClient) DeleteSender ¶
func (client ServerVulnerabilityAssessmentsClient) 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 (ServerVulnerabilityAssessmentsClient) Get ¶
func (client ServerVulnerabilityAssessmentsClient) Get(ctx context.Context, resourceGroupName string, serverName string) (result ServerVulnerabilityAssessment, err error)
Get gets the server's vulnerability assessment. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server for which the vulnerability assessment is defined.
func (ServerVulnerabilityAssessmentsClient) GetPreparer ¶
func (client ServerVulnerabilityAssessmentsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ServerVulnerabilityAssessmentsClient) GetResponder ¶
func (client ServerVulnerabilityAssessmentsClient) GetResponder(resp *http.Response) (result ServerVulnerabilityAssessment, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ServerVulnerabilityAssessmentsClient) GetSender ¶
func (client ServerVulnerabilityAssessmentsClient) 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 (ServerVulnerabilityAssessmentsClient) ListByServer ¶
func (client ServerVulnerabilityAssessmentsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result ServerVulnerabilityAssessmentListResultPage, err error)
ListByServer lists the vulnerability assessment policies associated with a server. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (ServerVulnerabilityAssessmentsClient) ListByServerComplete ¶
func (client ServerVulnerabilityAssessmentsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result ServerVulnerabilityAssessmentListResultIterator, err error)
ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
func (ServerVulnerabilityAssessmentsClient) ListByServerPreparer ¶
func (client ServerVulnerabilityAssessmentsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (ServerVulnerabilityAssessmentsClient) ListByServerResponder ¶
func (client ServerVulnerabilityAssessmentsClient) ListByServerResponder(resp *http.Response) (result ServerVulnerabilityAssessmentListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (ServerVulnerabilityAssessmentsClient) ListByServerSender ¶
func (client ServerVulnerabilityAssessmentsClient) 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 ServerWorkspaceFeature ¶
type ServerWorkspaceFeature string
ServerWorkspaceFeature enumerates the values for server workspace feature.
const ( // ServerWorkspaceFeatureConnected ... ServerWorkspaceFeatureConnected ServerWorkspaceFeature = "Connected" // ServerWorkspaceFeatureDisconnected ... ServerWorkspaceFeatureDisconnected ServerWorkspaceFeature = "Disconnected" )
func PossibleServerWorkspaceFeatureValues ¶
func PossibleServerWorkspaceFeatureValues() []ServerWorkspaceFeature
PossibleServerWorkspaceFeatureValues returns an array of possible values for the ServerWorkspaceFeature const type.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ServersClient) 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: parameters - the name availability request parameters.
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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. parameters - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (ServersClient) DeletePreparer ¶
func (client ServersClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ServersClient) DeleteResponder ¶
func (client ServersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ServersClient) DeleteSender ¶
func (client ServersClient) DeleteSender(req *http.Request) (future ServersDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ServersClient) Get ¶
func (client ServersClient) Get(ctx context.Context, resourceGroupName string, serverName string, expand string) (result Server, err error)
Get gets a server. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. expand - the child resources to include in the response.
func (ServersClient) GetPreparer ¶
func (client ServersClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, expand 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) ImportDatabase ¶
func (client ServersClient) ImportDatabase(ctx context.Context, resourceGroupName string, serverName string, parameters ImportNewDatabaseDefinition) (result ServersImportDatabaseFuture, err error)
ImportDatabase imports a bacpac into a new database. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. parameters - the database import request parameters.
func (ServersClient) ImportDatabasePreparer ¶
func (client ServersClient) ImportDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, parameters ImportNewDatabaseDefinition) (*http.Request, error)
ImportDatabasePreparer prepares the ImportDatabase request.
func (ServersClient) ImportDatabaseResponder ¶
func (client ServersClient) ImportDatabaseResponder(resp *http.Response) (result ImportExportOperationResult, err error)
ImportDatabaseResponder handles the response to the ImportDatabase request. The method always closes the http.Response Body.
func (ServersClient) ImportDatabaseSender ¶
func (client ServersClient) ImportDatabaseSender(req *http.Request) (future ServersImportDatabaseFuture, err error)
ImportDatabaseSender sends the ImportDatabase request. The method will close the http.Response Body if it receives an error.
func (ServersClient) List ¶
func (client ServersClient) List(ctx context.Context, expand string) (result ServerListResultPage, err error)
List gets a list of all servers in the subscription. Parameters: expand - the child resources to include in the response.
func (ServersClient) ListByResourceGroup ¶
func (client ServersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, expand string) (result ServerListResultPage, err error)
ListByResourceGroup gets a list of servers in a resource groups. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. expand - the child resources to include in the response.
func (ServersClient) ListByResourceGroupComplete ¶
func (client ServersClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, expand 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, expand 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, expand string) (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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. parameters - 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 ¶
type ServersCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServersClient) (Server, error) }
ServersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ServersCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *ServersCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ServersDeleteFuture ¶
type ServersDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServersClient) (autorest.Response, error) }
ServersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ServersDeleteFuture) UnmarshalJSON ¶
func (future *ServersDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ServersImportDatabaseFuture ¶
type ServersImportDatabaseFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServersClient) (ImportExportOperationResult, error) }
ServersImportDatabaseFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ServersImportDatabaseFuture) UnmarshalJSON ¶
func (future *ServersImportDatabaseFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ServersUpdateFuture ¶
type ServersUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServersClient) (Server, error) }
ServersUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ServersUpdateFuture) UnmarshalJSON ¶
func (future *ServersUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ServiceObjective ¶
type ServiceObjective struct { autorest.Response `json:"-"` // ServiceObjectiveProperties - Represents the properties of the resource. *ServiceObjectiveProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
ServiceObjective represents a database service objective.
func (ServiceObjective) MarshalJSON ¶
func (so ServiceObjective) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServiceObjective.
func (*ServiceObjective) UnmarshalJSON ¶
func (so *ServiceObjective) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServiceObjective struct.
type ServiceObjectiveCapability ¶
type ServiceObjectiveCapability struct { // ID - READ-ONLY; The unique ID of the service objective. ID *uuid.UUID `json:"id,omitempty"` // Name - READ-ONLY; The service objective name. Name *string `json:"name,omitempty"` // SupportedMaxSizes - READ-ONLY; The list of supported maximum database sizes. SupportedMaxSizes *[]MaxSizeRangeCapability `json:"supportedMaxSizes,omitempty"` // PerformanceLevel - READ-ONLY; The performance level. PerformanceLevel *PerformanceLevelCapability `json:"performanceLevel,omitempty"` // Sku - READ-ONLY; The sku. Sku *Sku `json:"sku,omitempty"` // SupportedLicenseTypes - READ-ONLY; List of supported license types. SupportedLicenseTypes *[]LicenseTypeCapability `json:"supportedLicenseTypes,omitempty"` // IncludedMaxSize - READ-ONLY; The included (free) max size. IncludedMaxSize *MaxSizeCapability `json:"includedMaxSize,omitempty"` // ZoneRedundant - READ-ONLY; Whether or not zone redundancy is supported for the service objective. ZoneRedundant *bool `json:"zoneRedundant,omitempty"` // SupportedAutoPauseDelay - READ-ONLY; Supported time range for auto pause delay SupportedAutoPauseDelay *AutoPauseDelayTimeRange `json:"supportedAutoPauseDelay,omitempty"` // SupportedMinCapacities - READ-ONLY; List of supported min capacities SupportedMinCapacities *[]MinCapacityCapability `json:"supportedMinCapacities,omitempty"` // ComputeModel - READ-ONLY; The compute model ComputeModel *string `json:"computeModel,omitempty"` // SupportedMaintenanceConfigurations - READ-ONLY; List of supported maintenance configurations SupportedMaintenanceConfigurations *[]MaintenanceConfigurationCapability `json:"supportedMaintenanceConfigurations,omitempty"` // Status - READ-ONLY; The status of the capability. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // Reason - The reason for the capability not being available. Reason *string `json:"reason,omitempty"` }
ServiceObjectiveCapability the service objectives capability.
func (ServiceObjectiveCapability) MarshalJSON ¶
func (soc ServiceObjectiveCapability) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServiceObjectiveCapability.
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" )
func PossibleServiceObjectiveNameValues ¶
func PossibleServiceObjectiveNameValues() []ServiceObjectiveName
PossibleServiceObjectiveNameValues returns an array of possible values for the ServiceObjectiveName const type.
type ServiceObjectiveProperties ¶
type ServiceObjectiveProperties struct { // ServiceObjectiveName - READ-ONLY; The name for the service objective. ServiceObjectiveName *string `json:"serviceObjectiveName,omitempty"` // IsDefault - READ-ONLY; Gets whether the service level objective is the default service objective. IsDefault *bool `json:"isDefault,omitempty"` // IsSystem - READ-ONLY; Gets whether the service level objective is a system service objective. IsSystem *bool `json:"isSystem,omitempty"` // Description - READ-ONLY; The description for the service level objective. Description *string `json:"description,omitempty"` // Enabled - READ-ONLY; Gets whether the service level objective is enabled. Enabled *bool `json:"enabled,omitempty"` }
ServiceObjectiveProperties represents the properties of a database service objective.
func (ServiceObjectiveProperties) MarshalJSON ¶
func (sop ServiceObjectiveProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServiceObjectiveProperties.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. serviceObjectiveName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - 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 Sku ¶
type Sku struct { // Name - The name of the SKU, typically, a letter + Number code, e.g. P3. Name *string `json:"name,omitempty"` // Tier - The tier or edition of the particular SKU, e.g. Basic, Premium. Tier *string `json:"tier,omitempty"` // Size - Size of the particular SKU Size *string `json:"size,omitempty"` // Family - If the service has different generations of hardware, for the same SKU, then that can be captured here. Family *string `json:"family,omitempty"` // Capacity - Capacity of the particular SKU. Capacity *int32 `json:"capacity,omitempty"` }
Sku an ARM Resource SKU.
type SloUsageMetric ¶
type SloUsageMetric struct { // ServiceLevelObjective - READ-ONLY; 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 - READ-ONLY; The serviceLevelObjectiveId for SLO usage metric. ServiceLevelObjectiveID *uuid.UUID `json:"serviceLevelObjectiveId,omitempty"` // InRangeTimeRatio - READ-ONLY; Gets or sets inRangeTimeRatio for SLO usage metric. InRangeTimeRatio *float64 `json:"inRangeTimeRatio,omitempty"` }
SloUsageMetric a Slo Usage Metric.
func (SloUsageMetric) MarshalJSON ¶
func (sum SloUsageMetric) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SloUsageMetric.
type State ¶
type State string
State enumerates the values for state.
func PossibleStateValues ¶
func PossibleStateValues() []State
PossibleStateValues returns an array of possible values for the State const type.
type Status ¶
type Status string
Status enumerates the values for status.
const ( // StatusCanceled ... StatusCanceled Status = "Canceled" // StatusCompleted ... StatusCompleted Status = "Completed" // StatusFailed ... StatusFailed Status = "Failed" // StatusInProgress ... StatusInProgress Status = "InProgress" // StatusNotStarted ... StatusNotStarted Status = "NotStarted" // StatusSlowedDown ... StatusSlowedDown Status = "SlowedDown" )
func PossibleStatusValues ¶
func PossibleStatusValues() []Status
PossibleStatusValues returns an array of possible values for the Status const type.
type Status1 ¶
type Status1 string
Status1 enumerates the values for status 1.
func PossibleStatus1Values ¶
func PossibleStatus1Values() []Status1
PossibleStatus1Values returns an array of possible values for the Status1 const type.
type StorageAccountType ¶
type StorageAccountType string
StorageAccountType enumerates the values for storage account type.
const ( // StorageAccountTypeGRS ... StorageAccountTypeGRS StorageAccountType = "GRS" // StorageAccountTypeLRS ... StorageAccountTypeLRS StorageAccountType = "LRS" // StorageAccountTypeZRS ... StorageAccountTypeZRS StorageAccountType = "ZRS" )
func PossibleStorageAccountTypeValues ¶
func PossibleStorageAccountTypeValues() []StorageAccountType
PossibleStorageAccountTypeValues returns an array of possible values for the StorageAccountType const type.
type StorageAccountType1 ¶
type StorageAccountType1 string
StorageAccountType1 enumerates the values for storage account type 1.
const ( // StorageAccountType1GRS ... StorageAccountType1GRS StorageAccountType1 = "GRS" // StorageAccountType1LRS ... StorageAccountType1LRS StorageAccountType1 = "LRS" // StorageAccountType1ZRS ... StorageAccountType1ZRS StorageAccountType1 = "ZRS" )
func PossibleStorageAccountType1Values ¶
func PossibleStorageAccountType1Values() []StorageAccountType1
PossibleStorageAccountType1Values returns an array of possible values for the StorageAccountType1 const type.
type StorageCapability ¶
type StorageCapability struct { // StorageAccountType - READ-ONLY; The storage account type for the database's backups. Possible values include: 'StorageAccountType1GRS', 'StorageAccountType1LRS', 'StorageAccountType1ZRS' StorageAccountType StorageAccountType1 `json:"storageAccountType,omitempty"` // Status - READ-ONLY; The status of the capability. Possible values include: 'CapabilityStatusVisible', 'CapabilityStatusAvailable', 'CapabilityStatusDefault', 'CapabilityStatusDisabled' Status CapabilityStatus `json:"status,omitempty"` // Reason - The reason for the capability not being available. Reason *string `json:"reason,omitempty"` }
StorageCapability the storage account type capability.
func (StorageCapability) MarshalJSON ¶
func (sc StorageCapability) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StorageCapability.
type StorageKeyType ¶
type StorageKeyType string
StorageKeyType enumerates the values for storage key type.
const ( StorageKeyType = "SharedAccessKey" // StorageKeyTypeStorageAccessKey ... StorageKeyTypeStorageAccessKey StorageKeyType = "StorageAccessKey" )StorageKeyTypeSharedAccessKey
func PossibleStorageKeyTypeValues ¶
func PossibleStorageKeyTypeValues() []StorageKeyType
PossibleStorageKeyTypeValues returns an array of possible values for the StorageKeyType const type.
type SubscriptionUsage ¶
type SubscriptionUsage struct { autorest.Response `json:"-"` // SubscriptionUsageProperties - Resource properties. *SubscriptionUsageProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
SubscriptionUsage usage Metric of a Subscription in a Location.
func (SubscriptionUsage) MarshalJSON ¶
func (su SubscriptionUsage) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SubscriptionUsage.
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 - READ-ONLY; Array of results. Value *[]SubscriptionUsage `json:"value,omitempty"` // NextLink - READ-ONLY; 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.
func (SubscriptionUsageListResult) MarshalJSON ¶
func (sulr SubscriptionUsageListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SubscriptionUsageListResult.
type SubscriptionUsageListResultIterator ¶
type SubscriptionUsageListResultIterator struct {
// contains filtered or unexported fields
}
SubscriptionUsageListResultIterator provides access to a complete listing of SubscriptionUsage values.
func NewSubscriptionUsageListResultIterator ¶
func NewSubscriptionUsageListResultIterator(page SubscriptionUsageListResultPage) SubscriptionUsageListResultIterator
Creates a new instance of the SubscriptionUsageListResultIterator type.
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. Deprecated: Use NextWithContext() instead.
func (*SubscriptionUsageListResultIterator) NextWithContext ¶
func (iter *SubscriptionUsageListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (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 NewSubscriptionUsageListResultPage ¶
func NewSubscriptionUsageListResultPage(cur SubscriptionUsageListResult, getNextPage func(context.Context, SubscriptionUsageListResult) (SubscriptionUsageListResult, error)) SubscriptionUsageListResultPage
Creates a new instance of the SubscriptionUsageListResultPage type.
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. Deprecated: Use NextWithContext() instead.
func (*SubscriptionUsageListResultPage) NextWithContext ¶
func (page *SubscriptionUsageListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (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 - READ-ONLY; User-readable name of the metric. DisplayName *string `json:"displayName,omitempty"` // CurrentValue - READ-ONLY; Current value of the metric. CurrentValue *float64 `json:"currentValue,omitempty"` // Limit - READ-ONLY; Boundary value of the metric. Limit *float64 `json:"limit,omitempty"` // Unit - READ-ONLY; Unit of the metric. Unit *string `json:"unit,omitempty"` }
SubscriptionUsageProperties properties of a subscription usage.
func (SubscriptionUsageProperties) MarshalJSON ¶
func (sup SubscriptionUsageProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SubscriptionUsageProperties.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (SubscriptionUsagesClient) Get ¶
func (client SubscriptionUsagesClient) Get(ctx context.Context, locationName string, usageName string) (result SubscriptionUsage, err error)
Get gets a subscription usage metric. Parameters: locationName - the name of the region where the resource is located. usageName - 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. Parameters: locationName - 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:"-"` // SyncAgentProperties - Resource properties. *SyncAgentProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
SyncAgent an Azure SQL Database sync agent.
func (SyncAgent) MarshalJSON ¶
MarshalJSON is the custom marshaler for SyncAgent.
func (*SyncAgent) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for SyncAgent struct.
type SyncAgentKeyProperties ¶
type SyncAgentKeyProperties struct { autorest.Response `json:"-"` // SyncAgentKey - READ-ONLY; Key of sync agent. SyncAgentKey *string `json:"syncAgentKey,omitempty"` }
SyncAgentKeyProperties properties of an Azure SQL Database sync agent key.
func (SyncAgentKeyProperties) MarshalJSON ¶
func (sakp SyncAgentKeyProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SyncAgentKeyProperties.
type SyncAgentLinkedDatabase ¶
type SyncAgentLinkedDatabase struct { // SyncAgentLinkedDatabaseProperties - Resource properties. *SyncAgentLinkedDatabaseProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
SyncAgentLinkedDatabase an Azure SQL Database sync agent linked database.
func (SyncAgentLinkedDatabase) MarshalJSON ¶
func (sald SyncAgentLinkedDatabase) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SyncAgentLinkedDatabase.
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 - READ-ONLY; Array of results. Value *[]SyncAgentLinkedDatabase `json:"value,omitempty"` // NextLink - READ-ONLY; 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.
func (SyncAgentLinkedDatabaseListResult) MarshalJSON ¶
func (saldlr SyncAgentLinkedDatabaseListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SyncAgentLinkedDatabaseListResult.
type SyncAgentLinkedDatabaseListResultIterator ¶
type SyncAgentLinkedDatabaseListResultIterator struct {
// contains filtered or unexported fields
}
SyncAgentLinkedDatabaseListResultIterator provides access to a complete listing of SyncAgentLinkedDatabase values.
func NewSyncAgentLinkedDatabaseListResultIterator ¶
func NewSyncAgentLinkedDatabaseListResultIterator(page SyncAgentLinkedDatabaseListResultPage) SyncAgentLinkedDatabaseListResultIterator
Creates a new instance of the SyncAgentLinkedDatabaseListResultIterator type.
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. Deprecated: Use NextWithContext() instead.
func (*SyncAgentLinkedDatabaseListResultIterator) NextWithContext ¶
func (iter *SyncAgentLinkedDatabaseListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (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 NewSyncAgentLinkedDatabaseListResultPage ¶
func NewSyncAgentLinkedDatabaseListResultPage(cur SyncAgentLinkedDatabaseListResult, getNextPage func(context.Context, SyncAgentLinkedDatabaseListResult) (SyncAgentLinkedDatabaseListResult, error)) SyncAgentLinkedDatabaseListResultPage
Creates a new instance of the SyncAgentLinkedDatabaseListResultPage type.
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. Deprecated: Use NextWithContext() instead.
func (*SyncAgentLinkedDatabaseListResultPage) NextWithContext ¶
func (page *SyncAgentLinkedDatabaseListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (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 - READ-ONLY; Type of the sync agent linked database. Possible values include: 'SyncMemberDbTypeAzureSQLDatabase', 'SyncMemberDbTypeSQLServerDatabase' DatabaseType SyncMemberDbType `json:"databaseType,omitempty"` // DatabaseID - READ-ONLY; Id of the sync agent linked database. DatabaseID *string `json:"databaseId,omitempty"` // Description - READ-ONLY; Description of the sync agent linked database. Description *string `json:"description,omitempty"` // ServerName - READ-ONLY; Server name of the sync agent linked database. ServerName *string `json:"serverName,omitempty"` // DatabaseName - READ-ONLY; Database name of the sync agent linked database. DatabaseName *string `json:"databaseName,omitempty"` // UserName - READ-ONLY; User name of the sync agent linked database. UserName *string `json:"userName,omitempty"` }
SyncAgentLinkedDatabaseProperties properties of an Azure SQL Database sync agent linked database.
func (SyncAgentLinkedDatabaseProperties) MarshalJSON ¶
func (saldp SyncAgentLinkedDatabaseProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SyncAgentLinkedDatabaseProperties.
type SyncAgentListResult ¶
type SyncAgentListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]SyncAgent `json:"value,omitempty"` // NextLink - READ-ONLY; 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.
func (SyncAgentListResult) MarshalJSON ¶
func (salr SyncAgentListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SyncAgentListResult.
type SyncAgentListResultIterator ¶
type SyncAgentListResultIterator struct {
// contains filtered or unexported fields
}
SyncAgentListResultIterator provides access to a complete listing of SyncAgent values.
func NewSyncAgentListResultIterator ¶
func NewSyncAgentListResultIterator(page SyncAgentListResultPage) SyncAgentListResultIterator
Creates a new instance of the SyncAgentListResultIterator type.
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. Deprecated: Use NextWithContext() instead.
func (*SyncAgentListResultIterator) NextWithContext ¶
func (iter *SyncAgentListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (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 NewSyncAgentListResultPage ¶
func NewSyncAgentListResultPage(cur SyncAgentListResult, getNextPage func(context.Context, SyncAgentListResult) (SyncAgentListResult, error)) SyncAgentListResultPage
Creates a new instance of the SyncAgentListResultPage type.
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. Deprecated: Use NextWithContext() instead.
func (*SyncAgentListResultPage) NextWithContext ¶
func (page *SyncAgentListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (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 - READ-ONLY; 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 - READ-ONLY; Last alive time of the sync agent. LastAliveTime *date.Time `json:"lastAliveTime,omitempty"` // State - READ-ONLY; State of the sync agent. Possible values include: 'SyncAgentStateOnline', 'SyncAgentStateOffline', 'SyncAgentStateNeverConnected' State SyncAgentState `json:"state,omitempty"` // IsUpToDate - READ-ONLY; If the sync agent version is up to date. IsUpToDate *bool `json:"isUpToDate,omitempty"` // ExpiryTime - READ-ONLY; Expiration time of the sync agent version. ExpiryTime *date.Time `json:"expiryTime,omitempty"` // Version - READ-ONLY; Version of the sync agent. Version *string `json:"version,omitempty"` }
SyncAgentProperties properties of an Azure SQL Database sync agent.
func (SyncAgentProperties) MarshalJSON ¶
func (sap SyncAgentProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SyncAgentProperties.
type SyncAgentState ¶
type SyncAgentState string
SyncAgentState enumerates the values for sync agent state.
const ( // SyncAgentStateNeverConnected ... SyncAgentStateNeverConnected SyncAgentState = "NeverConnected" // SyncAgentStateOffline ... SyncAgentStateOffline SyncAgentState = "Offline" // SyncAgentStateOnline ... SyncAgentStateOnline SyncAgentState = "Online" )
func PossibleSyncAgentStateValues ¶
func PossibleSyncAgentStateValues() []SyncAgentState
PossibleSyncAgentStateValues returns an array of possible values for the SyncAgentState const type.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server on which the sync agent is hosted. syncAgentName - the name of the sync agent. parameters - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server on which the sync agent is hosted. syncAgentName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server on which the sync agent is hosted. syncAgentName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server on which the sync agent is hosted. syncAgentName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server on which the sync agent is hosted. syncAgentName - 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.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(SyncAgentsClient) (SyncAgent, error) }
SyncAgentsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*SyncAgentsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *SyncAgentsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type SyncAgentsDeleteFuture ¶
type SyncAgentsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(SyncAgentsClient) (autorest.Response, error) }
SyncAgentsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*SyncAgentsDeleteFuture) UnmarshalJSON ¶
func (future *SyncAgentsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type SyncConflictResolutionPolicy ¶
type SyncConflictResolutionPolicy string
SyncConflictResolutionPolicy enumerates the values for sync conflict resolution policy.
const ( // SyncConflictResolutionPolicyHubWin ... SyncConflictResolutionPolicyHubWin SyncConflictResolutionPolicy = "HubWin" // SyncConflictResolutionPolicyMemberWin ... SyncConflictResolutionPolicyMemberWin SyncConflictResolutionPolicy = "MemberWin" )
func PossibleSyncConflictResolutionPolicyValues ¶
func PossibleSyncConflictResolutionPolicyValues() []SyncConflictResolutionPolicy
PossibleSyncConflictResolutionPolicyValues returns an array of possible values for the SyncConflictResolutionPolicy const type.
type SyncDatabaseIDListResult ¶
type SyncDatabaseIDListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]SyncDatabaseIDProperties `json:"value,omitempty"` // NextLink - READ-ONLY; 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.
func (SyncDatabaseIDListResult) MarshalJSON ¶
func (sdilr SyncDatabaseIDListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SyncDatabaseIDListResult.
type SyncDatabaseIDListResultIterator ¶
type SyncDatabaseIDListResultIterator struct {
// contains filtered or unexported fields
}
SyncDatabaseIDListResultIterator provides access to a complete listing of SyncDatabaseIDProperties values.
func NewSyncDatabaseIDListResultIterator ¶
func NewSyncDatabaseIDListResultIterator(page SyncDatabaseIDListResultPage) SyncDatabaseIDListResultIterator
Creates a new instance of the SyncDatabaseIDListResultIterator type.
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. Deprecated: Use NextWithContext() instead.
func (*SyncDatabaseIDListResultIterator) NextWithContext ¶
func (iter *SyncDatabaseIDListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (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 NewSyncDatabaseIDListResultPage ¶
func NewSyncDatabaseIDListResultPage(cur SyncDatabaseIDListResult, getNextPage func(context.Context, SyncDatabaseIDListResult) (SyncDatabaseIDListResult, error)) SyncDatabaseIDListResultPage
Creates a new instance of the SyncDatabaseIDListResultPage type.
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. Deprecated: Use NextWithContext() instead.
func (*SyncDatabaseIDListResultPage) NextWithContext ¶
func (page *SyncDatabaseIDListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (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 - READ-ONLY; ARM resource id of sync database. ID *string `json:"id,omitempty"` }
SyncDatabaseIDProperties properties of the sync database id.
func (SyncDatabaseIDProperties) MarshalJSON ¶
func (sdip SyncDatabaseIDProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SyncDatabaseIDProperties.
type SyncDirection ¶
type SyncDirection string
SyncDirection enumerates the values for sync direction.
const ( // SyncDirectionBidirectional ... SyncDirectionBidirectional SyncDirection = "Bidirectional" // SyncDirectionOneWayHubToMember ... SyncDirectionOneWayHubToMember SyncDirection = "OneWayHubToMember" // SyncDirectionOneWayMemberToHub ... SyncDirectionOneWayMemberToHub SyncDirection = "OneWayMemberToHub" )
func PossibleSyncDirectionValues ¶
func PossibleSyncDirectionValues() []SyncDirection
PossibleSyncDirectionValues returns an array of possible values for the SyncDirection const type.
type SyncFullSchemaProperties ¶
type SyncFullSchemaProperties struct { // Tables - READ-ONLY; List of tables in the database full schema. Tables *[]SyncFullSchemaTable `json:"tables,omitempty"` // LastUpdateTime - READ-ONLY; Last update time of the database schema. LastUpdateTime *date.Time `json:"lastUpdateTime,omitempty"` }
SyncFullSchemaProperties properties of the database full schema.
func (SyncFullSchemaProperties) MarshalJSON ¶
func (sfsp SyncFullSchemaProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SyncFullSchemaProperties.
type SyncFullSchemaPropertiesListResult ¶
type SyncFullSchemaPropertiesListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]SyncFullSchemaProperties `json:"value,omitempty"` // NextLink - READ-ONLY; 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.
func (SyncFullSchemaPropertiesListResult) MarshalJSON ¶
func (sfsplr SyncFullSchemaPropertiesListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SyncFullSchemaPropertiesListResult.
type SyncFullSchemaPropertiesListResultIterator ¶
type SyncFullSchemaPropertiesListResultIterator struct {
// contains filtered or unexported fields
}
SyncFullSchemaPropertiesListResultIterator provides access to a complete listing of SyncFullSchemaProperties values.
func NewSyncFullSchemaPropertiesListResultIterator ¶
func NewSyncFullSchemaPropertiesListResultIterator(page SyncFullSchemaPropertiesListResultPage) SyncFullSchemaPropertiesListResultIterator
Creates a new instance of the SyncFullSchemaPropertiesListResultIterator type.
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. Deprecated: Use NextWithContext() instead.
func (*SyncFullSchemaPropertiesListResultIterator) NextWithContext ¶
func (iter *SyncFullSchemaPropertiesListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (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 NewSyncFullSchemaPropertiesListResultPage ¶
func NewSyncFullSchemaPropertiesListResultPage(cur SyncFullSchemaPropertiesListResult, getNextPage func(context.Context, SyncFullSchemaPropertiesListResult) (SyncFullSchemaPropertiesListResult, error)) SyncFullSchemaPropertiesListResultPage
Creates a new instance of the SyncFullSchemaPropertiesListResultPage type.
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. Deprecated: Use NextWithContext() instead.
func (*SyncFullSchemaPropertiesListResultPage) NextWithContext ¶
func (page *SyncFullSchemaPropertiesListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (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 - READ-ONLY; List of columns in the table of database full schema. Columns *[]SyncFullSchemaTableColumn `json:"columns,omitempty"` // ErrorID - READ-ONLY; Error id of the table. ErrorID *string `json:"errorId,omitempty"` // HasError - READ-ONLY; If there is error in the table. HasError *bool `json:"hasError,omitempty"` // Name - READ-ONLY; Name of the table. Name *string `json:"name,omitempty"` // QuotedName - READ-ONLY; Quoted name of the table. QuotedName *string `json:"quotedName,omitempty"` }
SyncFullSchemaTable properties of the table in the database full schema.
func (SyncFullSchemaTable) MarshalJSON ¶
func (sfst SyncFullSchemaTable) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SyncFullSchemaTable.
type SyncFullSchemaTableColumn ¶
type SyncFullSchemaTableColumn struct { // DataSize - READ-ONLY; Data size of the column. DataSize *string `json:"dataSize,omitempty"` // DataType - READ-ONLY; Data type of the column. DataType *string `json:"dataType,omitempty"` // ErrorID - READ-ONLY; Error id of the column. ErrorID *string `json:"errorId,omitempty"` // HasError - READ-ONLY; If there is error in the table. HasError *bool `json:"hasError,omitempty"` // IsPrimaryKey - READ-ONLY; If it is the primary key of the table. IsPrimaryKey *bool `json:"isPrimaryKey,omitempty"` // Name - READ-ONLY; Name of the column. Name *string `json:"name,omitempty"` // QuotedName - READ-ONLY; Quoted name of the column. QuotedName *string `json:"quotedName,omitempty"` }
SyncFullSchemaTableColumn properties of the column in the table of database full schema.
func (SyncFullSchemaTableColumn) MarshalJSON ¶
func (sfstc SyncFullSchemaTableColumn) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SyncFullSchemaTableColumn.
type SyncGroup ¶
type SyncGroup struct { autorest.Response `json:"-"` // Sku - The name and capacity of the SKU. Sku *Sku `json:"sku,omitempty"` // SyncGroupProperties - Resource properties. *SyncGroupProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
SyncGroup an Azure SQL Database sync group.
func (SyncGroup) MarshalJSON ¶
MarshalJSON is the custom marshaler for SyncGroup.
func (*SyncGroup) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for SyncGroup struct.
type SyncGroupListResult ¶
type SyncGroupListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]SyncGroup `json:"value,omitempty"` // NextLink - READ-ONLY; 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.
func (SyncGroupListResult) MarshalJSON ¶
func (sglr SyncGroupListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SyncGroupListResult.
type SyncGroupListResultIterator ¶
type SyncGroupListResultIterator struct {
// contains filtered or unexported fields
}
SyncGroupListResultIterator provides access to a complete listing of SyncGroup values.
func NewSyncGroupListResultIterator ¶
func NewSyncGroupListResultIterator(page SyncGroupListResultPage) SyncGroupListResultIterator
Creates a new instance of the SyncGroupListResultIterator type.
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. Deprecated: Use NextWithContext() instead.
func (*SyncGroupListResultIterator) NextWithContext ¶
func (iter *SyncGroupListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (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 NewSyncGroupListResultPage ¶
func NewSyncGroupListResultPage(cur SyncGroupListResult, getNextPage func(context.Context, SyncGroupListResult) (SyncGroupListResult, error)) SyncGroupListResultPage
Creates a new instance of the SyncGroupListResultPage type.
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. Deprecated: Use NextWithContext() instead.
func (*SyncGroupListResultPage) NextWithContext ¶
func (page *SyncGroupListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (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 - READ-ONLY; Array of results. Value *[]SyncGroupLogProperties `json:"value,omitempty"` // NextLink - READ-ONLY; 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.
func (SyncGroupLogListResult) MarshalJSON ¶
func (sgllr SyncGroupLogListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SyncGroupLogListResult.
type SyncGroupLogListResultIterator ¶
type SyncGroupLogListResultIterator struct {
// contains filtered or unexported fields
}
SyncGroupLogListResultIterator provides access to a complete listing of SyncGroupLogProperties values.
func NewSyncGroupLogListResultIterator ¶
func NewSyncGroupLogListResultIterator(page SyncGroupLogListResultPage) SyncGroupLogListResultIterator
Creates a new instance of the SyncGroupLogListResultIterator type.
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. Deprecated: Use NextWithContext() instead.
func (*SyncGroupLogListResultIterator) NextWithContext ¶
func (iter *SyncGroupLogListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (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 NewSyncGroupLogListResultPage ¶
func NewSyncGroupLogListResultPage(cur SyncGroupLogListResult, getNextPage func(context.Context, SyncGroupLogListResult) (SyncGroupLogListResult, error)) SyncGroupLogListResultPage
Creates a new instance of the SyncGroupLogListResultPage type.
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. Deprecated: Use NextWithContext() instead.
func (*SyncGroupLogListResultPage) NextWithContext ¶
func (page *SyncGroupLogListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (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 - READ-ONLY; Timestamp of the sync group log. Timestamp *date.Time `json:"timestamp,omitempty"` // Type - READ-ONLY; Type of the sync group log. Possible values include: 'SyncGroupLogTypeAll', 'SyncGroupLogTypeError', 'SyncGroupLogTypeWarning', 'SyncGroupLogTypeSuccess' Type SyncGroupLogType `json:"type,omitempty"` // Source - READ-ONLY; Source of the sync group log. Source *string `json:"source,omitempty"` // Details - READ-ONLY; Details of the sync group log. Details *string `json:"details,omitempty"` // TracingID - READ-ONLY; TracingId of the sync group log. TracingID *uuid.UUID `json:"tracingId,omitempty"` // OperationStatus - READ-ONLY; OperationStatus of the sync group log. OperationStatus *string `json:"operationStatus,omitempty"` }
SyncGroupLogProperties properties of an Azure SQL Database sync group log.
func (SyncGroupLogProperties) MarshalJSON ¶
func (sglp SyncGroupLogProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SyncGroupLogProperties.
type SyncGroupLogType ¶
type SyncGroupLogType string
SyncGroupLogType enumerates the values for sync group log type.
const ( // SyncGroupLogTypeAll ... SyncGroupLogTypeAll SyncGroupLogType = "All" // SyncGroupLogTypeError ... SyncGroupLogTypeError SyncGroupLogType = "Error" // SyncGroupLogTypeSuccess ... SyncGroupLogTypeSuccess SyncGroupLogType = "Success" // SyncGroupLogTypeWarning ... SyncGroupLogTypeWarning SyncGroupLogType = "Warning" )
func PossibleSyncGroupLogTypeValues ¶
func PossibleSyncGroupLogTypeValues() []SyncGroupLogType
PossibleSyncGroupLogTypeValues returns an array of possible values for the SyncGroupLogType const type.
type SyncGroupProperties ¶
type SyncGroupProperties struct { // Interval - Sync interval of the sync group. Interval *int32 `json:"interval,omitempty"` // LastSyncTime - READ-ONLY; Last sync time of the sync group. LastSyncTime *date.Time `json:"lastSyncTime,omitempty"` // ConflictResolutionPolicy - Conflict resolution policy of the sync group. Possible values include: 'SyncConflictResolutionPolicyHubWin', 'SyncConflictResolutionPolicyMemberWin' 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 - READ-ONLY; 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"` // EnableConflictLogging - If conflict logging is enabled. EnableConflictLogging *bool `json:"enableConflictLogging,omitempty"` // ConflictLoggingRetentionInDays - Conflict logging retention period. ConflictLoggingRetentionInDays *int32 `json:"conflictLoggingRetentionInDays,omitempty"` // UsePrivateLinkConnection - If use private link connection is enabled. UsePrivateLinkConnection *bool `json:"usePrivateLinkConnection,omitempty"` // PrivateEndpointName - READ-ONLY; Private endpoint name of the sync group if use private link connection is enabled. PrivateEndpointName *string `json:"privateEndpointName,omitempty"` }
SyncGroupProperties properties of a sync group.
func (SyncGroupProperties) MarshalJSON ¶
func (sgp SyncGroupProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SyncGroupProperties.
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" )
func PossibleSyncGroupStateValues ¶
func PossibleSyncGroupStateValues() []SyncGroupState
PossibleSyncGroupStateValues returns an array of possible values for the SyncGroupState const type.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database on which the sync group is hosted. syncGroupName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database on which the sync group is hosted. syncGroupName - the name of the sync group. parameters - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database on which the sync group is hosted. syncGroupName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database on which the sync group is hosted. syncGroupName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database on which the sync group is hosted. syncGroupName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database on which the sync group is hosted. syncGroupName - the name of the sync group. startTime - get logs generated after this time. endTime - get logs generated before this time. typeParameter - the types of logs to retrieve. continuationToken - 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. Parameters: locationName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database on which the sync group is hosted. syncGroupName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database on which the sync group is hosted. syncGroupName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database on which the sync group is hosted. syncGroupName - the name of the sync group. parameters - 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.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(SyncGroupsClient) (SyncGroup, error) }
SyncGroupsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*SyncGroupsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *SyncGroupsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type SyncGroupsDeleteFuture ¶
type SyncGroupsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(SyncGroupsClient) (autorest.Response, error) }
SyncGroupsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*SyncGroupsDeleteFuture) UnmarshalJSON ¶
func (future *SyncGroupsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type SyncGroupsRefreshHubSchemaFuture ¶
type SyncGroupsRefreshHubSchemaFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(SyncGroupsClient) (autorest.Response, error) }
SyncGroupsRefreshHubSchemaFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*SyncGroupsRefreshHubSchemaFuture) UnmarshalJSON ¶
func (future *SyncGroupsRefreshHubSchemaFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type SyncGroupsUpdateFuture ¶
type SyncGroupsUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(SyncGroupsClient) (SyncGroup, error) }
SyncGroupsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*SyncGroupsUpdateFuture) UnmarshalJSON ¶
func (future *SyncGroupsUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type SyncMember ¶
type SyncMember struct { autorest.Response `json:"-"` // SyncMemberProperties - Resource properties. *SyncMemberProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
SyncMember an Azure SQL Database sync member.
func (SyncMember) MarshalJSON ¶
func (sm SyncMember) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SyncMember.
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 ( // SyncMemberDbTypeAzureSQLDatabase ... SyncMemberDbTypeAzureSQLDatabase SyncMemberDbType = "AzureSqlDatabase" // SyncMemberDbTypeSQLServerDatabase ... SyncMemberDbTypeSQLServerDatabase SyncMemberDbType = "SqlServerDatabase" )
func PossibleSyncMemberDbTypeValues ¶
func PossibleSyncMemberDbTypeValues() []SyncMemberDbType
PossibleSyncMemberDbTypeValues returns an array of possible values for the SyncMemberDbType const type.
type SyncMemberListResult ¶
type SyncMemberListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]SyncMember `json:"value,omitempty"` // NextLink - READ-ONLY; 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.
func (SyncMemberListResult) MarshalJSON ¶
func (smlr SyncMemberListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SyncMemberListResult.
type SyncMemberListResultIterator ¶
type SyncMemberListResultIterator struct {
// contains filtered or unexported fields
}
SyncMemberListResultIterator provides access to a complete listing of SyncMember values.
func NewSyncMemberListResultIterator ¶
func NewSyncMemberListResultIterator(page SyncMemberListResultPage) SyncMemberListResultIterator
Creates a new instance of the SyncMemberListResultIterator type.
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. Deprecated: Use NextWithContext() instead.
func (*SyncMemberListResultIterator) NextWithContext ¶
func (iter *SyncMemberListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (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 NewSyncMemberListResultPage ¶
func NewSyncMemberListResultPage(cur SyncMemberListResult, getNextPage func(context.Context, SyncMemberListResult) (SyncMemberListResult, error)) SyncMemberListResultPage
Creates a new instance of the SyncMemberListResultPage type.
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. Deprecated: Use NextWithContext() instead.
func (*SyncMemberListResultPage) NextWithContext ¶
func (page *SyncMemberListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (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: 'SyncMemberDbTypeAzureSQLDatabase', 'SyncMemberDbTypeSQLServerDatabase' 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"` // SyncMemberAzureDatabaseResourceID - ARM resource id of the sync member logical database, for sync members in Azure. SyncMemberAzureDatabaseResourceID *string `json:"syncMemberAzureDatabaseResourceId,omitempty"` // UsePrivateLinkConnection - Whether to use private link connection. UsePrivateLinkConnection *bool `json:"usePrivateLinkConnection,omitempty"` // PrivateEndpointName - READ-ONLY; Private endpoint name of the sync member if use private link connection is enabled, for sync members in Azure. PrivateEndpointName *string `json:"privateEndpointName,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: 'SyncDirectionBidirectional', 'SyncDirectionOneWayMemberToHub', 'SyncDirectionOneWayHubToMember' SyncDirection SyncDirection `json:"syncDirection,omitempty"` // SyncState - READ-ONLY; Sync state of the sync member. Possible values include: 'SyncMemberStateSyncInProgress', 'SyncMemberStateSyncSucceeded', 'SyncMemberStateSyncFailed', 'SyncMemberStateDisabledTombstoneCleanup', 'SyncMemberStateDisabledBackupRestore', 'SyncMemberStateSyncSucceededWithWarnings', 'SyncMemberStateSyncCancelling', 'SyncMemberStateSyncCancelled', 'SyncMemberStateUnProvisioned', 'SyncMemberStateProvisioning', 'SyncMemberStateProvisioned', 'SyncMemberStateProvisionFailed', 'SyncMemberStateDeProvisioning', 'SyncMemberStateDeProvisioned', 'SyncMemberStateDeProvisionFailed', 'SyncMemberStateReprovisioning', 'SyncMemberStateReprovisionFailed', 'SyncMemberStateUnReprovisioned' SyncState SyncMemberState `json:"syncState,omitempty"` }
SyncMemberProperties properties of a sync member.
func (SyncMemberProperties) MarshalJSON ¶
func (smp SyncMemberProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SyncMemberProperties.
type SyncMemberState ¶
type SyncMemberState string
SyncMemberState enumerates the values for sync member state.
const ( // SyncMemberStateDeProvisioned ... SyncMemberStateDeProvisioned SyncMemberState = "DeProvisioned" // SyncMemberStateDeProvisionFailed ... SyncMemberStateDeProvisionFailed SyncMemberState = "DeProvisionFailed" // SyncMemberStateDeProvisioning ... SyncMemberStateDeProvisioning SyncMemberState = "DeProvisioning" // SyncMemberStateDisabledBackupRestore ... SyncMemberStateDisabledBackupRestore SyncMemberState = "DisabledBackupRestore" // SyncMemberStateDisabledTombstoneCleanup ... SyncMemberStateDisabledTombstoneCleanup SyncMemberState = "DisabledTombstoneCleanup" // SyncMemberStateProvisioned ... SyncMemberStateProvisioned SyncMemberState = "Provisioned" // SyncMemberStateProvisionFailed ... SyncMemberStateProvisionFailed SyncMemberState = "ProvisionFailed" // SyncMemberStateProvisioning ... SyncMemberStateProvisioning SyncMemberState = "Provisioning" // SyncMemberStateReprovisionFailed ... SyncMemberStateReprovisionFailed SyncMemberState = "ReprovisionFailed" // SyncMemberStateReprovisioning ... SyncMemberStateReprovisioning SyncMemberState = "Reprovisioning" // SyncMemberStateSyncCancelled ... SyncMemberStateSyncCancelled SyncMemberState = "SyncCancelled" // SyncMemberStateSyncCancelling ... SyncMemberStateSyncCancelling SyncMemberState = "SyncCancelling" // SyncMemberStateSyncFailed ... SyncMemberStateSyncFailed SyncMemberState = "SyncFailed" // SyncMemberStateSyncInProgress ... SyncMemberStateSyncInProgress SyncMemberState = "SyncInProgress" // SyncMemberStateSyncSucceeded ... SyncMemberStateSyncSucceeded SyncMemberState = "SyncSucceeded" // SyncMemberStateSyncSucceededWithWarnings ... SyncMemberStateSyncSucceededWithWarnings SyncMemberState = "SyncSucceededWithWarnings" // SyncMemberStateUnProvisioned ... SyncMemberStateUnProvisioned SyncMemberState = "UnProvisioned" // SyncMemberStateUnReprovisioned ... SyncMemberStateUnReprovisioned SyncMemberState = "UnReprovisioned" )
func PossibleSyncMemberStateValues ¶
func PossibleSyncMemberStateValues() []SyncMemberState
PossibleSyncMemberStateValues returns an array of possible values for the SyncMemberState const type.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database on which the sync group is hosted. syncGroupName - the name of the sync group on which the sync member is hosted. syncMemberName - the name of the sync member. parameters - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database on which the sync group is hosted. syncGroupName - the name of the sync group on which the sync member is hosted. syncMemberName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database on which the sync group is hosted. syncGroupName - the name of the sync group on which the sync member is hosted. syncMemberName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database on which the sync group is hosted. syncGroupName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database on which the sync group is hosted. syncGroupName - the name of the sync group on which the sync member is hosted. syncMemberName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database on which the sync group is hosted. syncGroupName - the name of the sync group on which the sync member is hosted. syncMemberName - 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. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database on which the sync group is hosted. syncGroupName - the name of the sync group on which the sync member is hosted. syncMemberName - the name of the sync member. parameters - 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.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(SyncMembersClient) (SyncMember, error) }
SyncMembersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*SyncMembersCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *SyncMembersCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type SyncMembersDeleteFuture ¶
type SyncMembersDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(SyncMembersClient) (autorest.Response, error) }
SyncMembersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*SyncMembersDeleteFuture) UnmarshalJSON ¶
func (future *SyncMembersDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type SyncMembersRefreshMemberSchemaFuture ¶
type SyncMembersRefreshMemberSchemaFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(SyncMembersClient) (autorest.Response, error) }
SyncMembersRefreshMemberSchemaFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*SyncMembersRefreshMemberSchemaFuture) UnmarshalJSON ¶
func (future *SyncMembersRefreshMemberSchemaFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type SyncMembersUpdateFuture ¶
type SyncMembersUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(SyncMembersClient) (SyncMember, error) }
SyncMembersUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*SyncMembersUpdateFuture) UnmarshalJSON ¶
func (future *SyncMembersUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type SystemData ¶
type SystemData struct { // CreatedBy - The identity that created the resource. CreatedBy *string `json:"createdBy,omitempty"` // CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey' CreatedByType CreatedByType `json:"createdByType,omitempty"` // CreatedAt - The timestamp of resource creation (UTC). CreatedAt *date.Time `json:"createdAt,omitempty"` // LastModifiedBy - The identity that last modified the resource. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey' LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"` // LastModifiedAt - The timestamp of resource last modification (UTC) LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"` }
SystemData metadata pertaining to creation and last modification of the resource.
type TableTemporalType ¶
type TableTemporalType string
TableTemporalType enumerates the values for table temporal type.
const ( // TableTemporalTypeHistoryTable ... TableTemporalTypeHistoryTable TableTemporalType = "HistoryTable" // TableTemporalTypeNonTemporalTable ... TableTemporalTypeNonTemporalTable TableTemporalType = "NonTemporalTable" // TableTemporalTypeSystemVersionedTemporalTable ... TableTemporalTypeSystemVersionedTemporalTable TableTemporalType = "SystemVersionedTemporalTable" )
func PossibleTableTemporalTypeValues ¶
func PossibleTableTemporalTypeValues() []TableTemporalType
PossibleTableTemporalTypeValues returns an array of possible values for the TableTemporalType const type.
type TargetBackupStorageRedundancy ¶
type TargetBackupStorageRedundancy string
TargetBackupStorageRedundancy enumerates the values for target backup storage redundancy.
const ( // TargetBackupStorageRedundancyGeo ... TargetBackupStorageRedundancyGeo TargetBackupStorageRedundancy = "Geo" // TargetBackupStorageRedundancyLocal ... TargetBackupStorageRedundancyLocal TargetBackupStorageRedundancy = "Local" // TargetBackupStorageRedundancyZone ... TargetBackupStorageRedundancyZone TargetBackupStorageRedundancy = "Zone" )
func PossibleTargetBackupStorageRedundancyValues ¶
func PossibleTargetBackupStorageRedundancyValues() []TargetBackupStorageRedundancy
PossibleTargetBackupStorageRedundancyValues returns an array of possible values for the TargetBackupStorageRedundancy const type.
type TdeCertificate ¶
type TdeCertificate struct { // TdeCertificateProperties - Resource properties. *TdeCertificateProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
TdeCertificate a TDE certificate that can be uploaded into a server.
func (TdeCertificate) MarshalJSON ¶
func (tc TdeCertificate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TdeCertificate.
func (*TdeCertificate) UnmarshalJSON ¶
func (tc *TdeCertificate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for TdeCertificate struct.
type TdeCertificateProperties ¶
type TdeCertificateProperties struct { // PrivateBlob - The base64 encoded certificate private blob. PrivateBlob *string `json:"privateBlob,omitempty"` // CertPassword - The certificate password. CertPassword *string `json:"certPassword,omitempty"` }
TdeCertificateProperties properties of a TDE certificate.
type TdeCertificatesClient ¶
type TdeCertificatesClient struct {
BaseClient
}
TdeCertificatesClient 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 NewTdeCertificatesClient ¶
func NewTdeCertificatesClient(subscriptionID string) TdeCertificatesClient
NewTdeCertificatesClient creates an instance of the TdeCertificatesClient client.
func NewTdeCertificatesClientWithBaseURI ¶
func NewTdeCertificatesClientWithBaseURI(baseURI string, subscriptionID string) TdeCertificatesClient
NewTdeCertificatesClientWithBaseURI creates an instance of the TdeCertificatesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (TdeCertificatesClient) Create ¶
func (client TdeCertificatesClient) Create(ctx context.Context, resourceGroupName string, serverName string, parameters TdeCertificate) (result TdeCertificatesCreateFuture, err error)
Create creates a TDE certificate for a given server. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. parameters - the requested TDE certificate to be created or updated.
func (TdeCertificatesClient) CreatePreparer ¶
func (client TdeCertificatesClient) CreatePreparer(ctx context.Context, resourceGroupName string, serverName string, parameters TdeCertificate) (*http.Request, error)
CreatePreparer prepares the Create request.
func (TdeCertificatesClient) CreateResponder ¶
func (client TdeCertificatesClient) CreateResponder(resp *http.Response) (result autorest.Response, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (TdeCertificatesClient) CreateSender ¶
func (client TdeCertificatesClient) CreateSender(req *http.Request) (future TdeCertificatesCreateFuture, err error)
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
type TdeCertificatesCreateFuture ¶
type TdeCertificatesCreateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(TdeCertificatesClient) (autorest.Response, error) }
TdeCertificatesCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*TdeCertificatesCreateFuture) UnmarshalJSON ¶
func (future *TdeCertificatesCreateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type TimeZone ¶
type TimeZone struct { autorest.Response `json:"-"` // TimeZoneProperties - Resource properties. *TimeZoneProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
TimeZone time Zone.
func (TimeZone) MarshalJSON ¶
MarshalJSON is the custom marshaler for TimeZone.
func (*TimeZone) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for TimeZone struct.
type TimeZoneListResult ¶
type TimeZoneListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]TimeZone `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
TimeZoneListResult a list of time zones.
func (TimeZoneListResult) IsEmpty ¶
func (tzlr TimeZoneListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (TimeZoneListResult) MarshalJSON ¶
func (tzlr TimeZoneListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TimeZoneListResult.
type TimeZoneListResultIterator ¶
type TimeZoneListResultIterator struct {
// contains filtered or unexported fields
}
TimeZoneListResultIterator provides access to a complete listing of TimeZone values.
func NewTimeZoneListResultIterator ¶
func NewTimeZoneListResultIterator(page TimeZoneListResultPage) TimeZoneListResultIterator
Creates a new instance of the TimeZoneListResultIterator type.
func (*TimeZoneListResultIterator) Next ¶
func (iter *TimeZoneListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*TimeZoneListResultIterator) NextWithContext ¶
func (iter *TimeZoneListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (TimeZoneListResultIterator) NotDone ¶
func (iter TimeZoneListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (TimeZoneListResultIterator) Response ¶
func (iter TimeZoneListResultIterator) Response() TimeZoneListResult
Response returns the raw server response from the last page request.
func (TimeZoneListResultIterator) Value ¶
func (iter TimeZoneListResultIterator) Value() TimeZone
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type TimeZoneListResultPage ¶
type TimeZoneListResultPage struct {
// contains filtered or unexported fields
}
TimeZoneListResultPage contains a page of TimeZone values.
func NewTimeZoneListResultPage ¶
func NewTimeZoneListResultPage(cur TimeZoneListResult, getNextPage func(context.Context, TimeZoneListResult) (TimeZoneListResult, error)) TimeZoneListResultPage
Creates a new instance of the TimeZoneListResultPage type.
func (*TimeZoneListResultPage) Next ¶
func (page *TimeZoneListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*TimeZoneListResultPage) NextWithContext ¶
func (page *TimeZoneListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (TimeZoneListResultPage) NotDone ¶
func (page TimeZoneListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (TimeZoneListResultPage) Response ¶
func (page TimeZoneListResultPage) Response() TimeZoneListResult
Response returns the raw server response from the last page request.
func (TimeZoneListResultPage) Values ¶
func (page TimeZoneListResultPage) Values() []TimeZone
Values returns the slice of values for the current page or nil if there are no values.
type TimeZoneProperties ¶
type TimeZoneProperties struct { // TimeZoneID - READ-ONLY; The time zone id TimeZoneID *string `json:"timeZoneId,omitempty"` // DisplayName - READ-ONLY; The time zone display name DisplayName *string `json:"displayName,omitempty"` }
TimeZoneProperties the properties of a time zone.
func (TimeZoneProperties) MarshalJSON ¶
func (tzp TimeZoneProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TimeZoneProperties.
type TimeZonesClient ¶
type TimeZonesClient struct {
BaseClient
}
TimeZonesClient 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 NewTimeZonesClient ¶
func NewTimeZonesClient(subscriptionID string) TimeZonesClient
NewTimeZonesClient creates an instance of the TimeZonesClient client.
func NewTimeZonesClientWithBaseURI ¶
func NewTimeZonesClientWithBaseURI(baseURI string, subscriptionID string) TimeZonesClient
NewTimeZonesClientWithBaseURI creates an instance of the TimeZonesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (TimeZonesClient) Get ¶
func (client TimeZonesClient) Get(ctx context.Context, locationName string, timeZoneID string) (result TimeZone, err error)
Get gets a managed instance time zone.
func (TimeZonesClient) GetPreparer ¶
func (client TimeZonesClient) GetPreparer(ctx context.Context, locationName string, timeZoneID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (TimeZonesClient) GetResponder ¶
func (client TimeZonesClient) GetResponder(resp *http.Response) (result TimeZone, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (TimeZonesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (TimeZonesClient) ListByLocation ¶
func (client TimeZonesClient) ListByLocation(ctx context.Context, locationName string) (result TimeZoneListResultPage, err error)
ListByLocation gets a list of managed instance time zones by location.
func (TimeZonesClient) ListByLocationComplete ¶
func (client TimeZonesClient) ListByLocationComplete(ctx context.Context, locationName string) (result TimeZoneListResultIterator, err error)
ListByLocationComplete enumerates all values, automatically crossing page boundaries as required.
func (TimeZonesClient) ListByLocationPreparer ¶
func (client TimeZonesClient) ListByLocationPreparer(ctx context.Context, locationName string) (*http.Request, error)
ListByLocationPreparer prepares the ListByLocation request.
func (TimeZonesClient) ListByLocationResponder ¶
func (client TimeZonesClient) ListByLocationResponder(resp *http.Response) (result TimeZoneListResult, err error)
ListByLocationResponder handles the response to the ListByLocation request. The method always closes the http.Response Body.
func (TimeZonesClient) ListByLocationSender ¶
ListByLocationSender sends the ListByLocation request. The method will close the http.Response Body if it receives an error.
type TopQueries ¶
type TopQueries struct { // NumberOfQueries - READ-ONLY; Requested number of top queries. NumberOfQueries *int32 `json:"numberOfQueries,omitempty"` // AggregationFunction - READ-ONLY; Aggregation function used to calculate query metrics. AggregationFunction *string `json:"aggregationFunction,omitempty"` // ObservationMetric - READ-ONLY; Metric used to rank queries. ObservationMetric *string `json:"observationMetric,omitempty"` // IntervalType - READ-ONLY; Interval type (length). Possible values include: 'QueryTimeGrainTypePT1H', 'QueryTimeGrainTypeP1D' IntervalType QueryTimeGrainType `json:"intervalType,omitempty"` // StartTime - READ-ONLY; The start time for the metric (ISO-8601 format). StartTime *string `json:"startTime,omitempty"` // EndTime - READ-ONLY; The end time for the metric (ISO-8601 format). EndTime *string `json:"endTime,omitempty"` // Queries - List of top resource consuming queries with appropriate metric data Queries *[]QueryStatisticsProperties `json:"queries,omitempty"` }
TopQueries ...
func (TopQueries) MarshalJSON ¶
func (tq TopQueries) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TopQueries.
type TopQueriesListResult ¶
type TopQueriesListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]TopQueries `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
TopQueriesListResult a list of top resource consuming queries on managed instance
func (TopQueriesListResult) IsEmpty ¶
func (tqlr TopQueriesListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (TopQueriesListResult) MarshalJSON ¶
func (tqlr TopQueriesListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TopQueriesListResult.
type TopQueriesListResultIterator ¶
type TopQueriesListResultIterator struct {
// contains filtered or unexported fields
}
TopQueriesListResultIterator provides access to a complete listing of TopQueries values.
func NewTopQueriesListResultIterator ¶
func NewTopQueriesListResultIterator(page TopQueriesListResultPage) TopQueriesListResultIterator
Creates a new instance of the TopQueriesListResultIterator type.
func (*TopQueriesListResultIterator) Next ¶
func (iter *TopQueriesListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*TopQueriesListResultIterator) NextWithContext ¶
func (iter *TopQueriesListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (TopQueriesListResultIterator) NotDone ¶
func (iter TopQueriesListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (TopQueriesListResultIterator) Response ¶
func (iter TopQueriesListResultIterator) Response() TopQueriesListResult
Response returns the raw server response from the last page request.
func (TopQueriesListResultIterator) Value ¶
func (iter TopQueriesListResultIterator) Value() TopQueries
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type TopQueriesListResultPage ¶
type TopQueriesListResultPage struct {
// contains filtered or unexported fields
}
TopQueriesListResultPage contains a page of TopQueries values.
func NewTopQueriesListResultPage ¶
func NewTopQueriesListResultPage(cur TopQueriesListResult, getNextPage func(context.Context, TopQueriesListResult) (TopQueriesListResult, error)) TopQueriesListResultPage
Creates a new instance of the TopQueriesListResultPage type.
func (*TopQueriesListResultPage) Next ¶
func (page *TopQueriesListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*TopQueriesListResultPage) NextWithContext ¶
func (page *TopQueriesListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (TopQueriesListResultPage) NotDone ¶
func (page TopQueriesListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (TopQueriesListResultPage) Response ¶
func (page TopQueriesListResultPage) Response() TopQueriesListResult
Response returns the raw server response from the last page request.
func (TopQueriesListResultPage) Values ¶
func (page TopQueriesListResultPage) Values() []TopQueries
Values returns the slice of values for the current page or nil if there are no values.
type TrackedResource ¶
type TrackedResource struct { // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
TrackedResource ARM tracked top level resource.
func (TrackedResource) MarshalJSON ¶
func (tr TrackedResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TrackedResource.
type TransparentDataEncryption ¶
type TransparentDataEncryption struct { autorest.Response `json:"-"` // Location - READ-ONLY; Resource location. Location *string `json:"location,omitempty"` // TransparentDataEncryptionProperties - Represents the properties of the resource. *TransparentDataEncryptionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
TransparentDataEncryption represents a database transparent data encryption configuration.
func (TransparentDataEncryption) MarshalJSON ¶
func (tde TransparentDataEncryption) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TransparentDataEncryption.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (TransparentDataEncryptionActivitiesClient) ListByConfiguration ¶
func (client TransparentDataEncryptionActivitiesClient) ListByConfiguration(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result TransparentDataEncryptionActivityListResult, err error)
ListByConfiguration returns a database's transparent data encryption operation result. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database for which the transparent data encryption applies.
func (TransparentDataEncryptionActivitiesClient) ListByConfigurationPreparer ¶
func (client TransparentDataEncryptionActivitiesClient) ListByConfigurationPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName 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 { // Location - READ-ONLY; Resource location. Location *string `json:"location,omitempty"` // TransparentDataEncryptionActivityProperties - Represents the properties of the resource. *TransparentDataEncryptionActivityProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
TransparentDataEncryptionActivity represents a database transparent data encryption Scan.
func (TransparentDataEncryptionActivity) MarshalJSON ¶
func (tdea TransparentDataEncryptionActivity) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TransparentDataEncryptionActivity.
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 - READ-ONLY; The status of the database. Possible values include: 'TransparentDataEncryptionActivityStatusEncrypting', 'TransparentDataEncryptionActivityStatusDecrypting' Status TransparentDataEncryptionActivityStatus `json:"status,omitempty"` // PercentComplete - READ-ONLY; 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.
func (TransparentDataEncryptionActivityProperties) MarshalJSON ¶
func (tdeap TransparentDataEncryptionActivityProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TransparentDataEncryptionActivityProperties.
type TransparentDataEncryptionActivityStatus ¶
type TransparentDataEncryptionActivityStatus string
TransparentDataEncryptionActivityStatus enumerates the values for transparent data encryption activity status.
const ( // TransparentDataEncryptionActivityStatusDecrypting ... TransparentDataEncryptionActivityStatusDecrypting TransparentDataEncryptionActivityStatus = "Decrypting" // TransparentDataEncryptionActivityStatusEncrypting ... TransparentDataEncryptionActivityStatusEncrypting TransparentDataEncryptionActivityStatus = "Encrypting" )
func PossibleTransparentDataEncryptionActivityStatusValues ¶
func PossibleTransparentDataEncryptionActivityStatusValues() []TransparentDataEncryptionActivityStatus
PossibleTransparentDataEncryptionActivityStatusValues returns an array of possible values for the TransparentDataEncryptionActivityStatus const type.
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 TransparentDataEncryptionState ¶
type TransparentDataEncryptionState string
TransparentDataEncryptionState enumerates the values for transparent data encryption state.
const ( // TransparentDataEncryptionStateDisabled ... TransparentDataEncryptionStateDisabled TransparentDataEncryptionState = "Disabled" // TransparentDataEncryptionStateEnabled ... TransparentDataEncryptionStateEnabled TransparentDataEncryptionState = "Enabled" )
func PossibleTransparentDataEncryptionStateValues ¶
func PossibleTransparentDataEncryptionStateValues() []TransparentDataEncryptionState
PossibleTransparentDataEncryptionStateValues returns an array of possible values for the TransparentDataEncryptionState const type.
type TransparentDataEncryptionStatus ¶
type TransparentDataEncryptionStatus string
TransparentDataEncryptionStatus enumerates the values for transparent data encryption status.
const ( // TransparentDataEncryptionStatusDisabled ... TransparentDataEncryptionStatusDisabled TransparentDataEncryptionStatus = "Disabled" // TransparentDataEncryptionStatusEnabled ... TransparentDataEncryptionStatusEnabled TransparentDataEncryptionStatus = "Enabled" )
func PossibleTransparentDataEncryptionStatusValues ¶
func PossibleTransparentDataEncryptionStatusValues() []TransparentDataEncryptionStatus
PossibleTransparentDataEncryptionStatusValues returns an array of possible values for the TransparentDataEncryptionStatus const type.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (TransparentDataEncryptionsClient) CreateOrUpdate ¶
func (client TransparentDataEncryptionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters TransparentDataEncryption) (result TransparentDataEncryption, err error)
CreateOrUpdate creates or updates a database's transparent data encryption configuration. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database for which setting the transparent data encryption applies. parameters - 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, 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) (result TransparentDataEncryption, err error)
Get gets a database's transparent data encryption configuration. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database for which the transparent data encryption applies.
func (TransparentDataEncryptionsClient) GetPreparer ¶
func (client TransparentDataEncryptionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName 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" )
func PossibleUnitDefinitionTypeValues ¶
func PossibleUnitDefinitionTypeValues() []UnitDefinitionType
PossibleUnitDefinitionTypeValues returns an array of possible values for the UnitDefinitionType const type.
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" )
func PossibleUnitTypeValues ¶
func PossibleUnitTypeValues() []UnitType
PossibleUnitTypeValues returns an array of possible values for the UnitType const type.
type UnlinkParameters ¶
type UnlinkParameters struct { // ForcedTermination - Determines whether link will be terminated in a forced or a friendly way. ForcedTermination *bool `json:"forcedTermination,omitempty"` }
UnlinkParameters represents the parameters for Unlink Replication Link request.
type UpdateLongTermRetentionBackupParameters ¶
type UpdateLongTermRetentionBackupParameters struct { // UpdateLongTermRetentionBackupParametersProperties - Resource properties. *UpdateLongTermRetentionBackupParametersProperties `json:"properties,omitempty"` }
UpdateLongTermRetentionBackupParameters contains the information necessary to perform long term retention backup update operation.
func (UpdateLongTermRetentionBackupParameters) MarshalJSON ¶
func (ultrbp UpdateLongTermRetentionBackupParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UpdateLongTermRetentionBackupParameters.
func (*UpdateLongTermRetentionBackupParameters) UnmarshalJSON ¶
func (ultrbp *UpdateLongTermRetentionBackupParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for UpdateLongTermRetentionBackupParameters struct.
type UpdateLongTermRetentionBackupParametersProperties ¶
type UpdateLongTermRetentionBackupParametersProperties struct { // RequestedBackupStorageRedundancy - The storage redundancy type of the copied backup. Possible values include: 'RequestedBackupStorageRedundancyGeo', 'RequestedBackupStorageRedundancyLocal', 'RequestedBackupStorageRedundancyZone' RequestedBackupStorageRedundancy RequestedBackupStorageRedundancy `json:"requestedBackupStorageRedundancy,omitempty"` }
UpdateLongTermRetentionBackupParametersProperties contains the properties to perform long term retention backup copy operation.
type UpdateManagedInstanceDNSServersOperation ¶
type UpdateManagedInstanceDNSServersOperation struct { autorest.Response `json:"-"` // DNSRefreshConfigurationProperties - Resource properties. *DNSRefreshConfigurationProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
UpdateManagedInstanceDNSServersOperation a recoverable managed database resource.
func (UpdateManagedInstanceDNSServersOperation) MarshalJSON ¶
func (umidso UpdateManagedInstanceDNSServersOperation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UpdateManagedInstanceDNSServersOperation.
func (*UpdateManagedInstanceDNSServersOperation) UnmarshalJSON ¶
func (umidso *UpdateManagedInstanceDNSServersOperation) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for UpdateManagedInstanceDNSServersOperation struct.
type UpsertManagedServerOperationParameters ¶
type UpsertManagedServerOperationParameters struct { Family *string `json:"family,omitempty"` Tier *string `json:"tier,omitempty"` VCores *int32 `json:"vCores,omitempty"` StorageSizeInGB *int32 `json:"storageSizeInGB,omitempty"` }
UpsertManagedServerOperationParameters ...
type UpsertManagedServerOperationStep ¶
type UpsertManagedServerOperationStep struct { Order *int32 `json:"order,omitempty"` Name *string `json:"name,omitempty"` // Status - Possible values include: 'StatusNotStarted', 'StatusInProgress', 'StatusSlowedDown', 'StatusCompleted', 'StatusFailed', 'StatusCanceled' Status Status `json:"status,omitempty"` }
UpsertManagedServerOperationStep ...
type Usage ¶
type Usage struct { // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *Name `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Unit - READ-ONLY; Usage unit. Unit *string `json:"unit,omitempty"` // CurrentValue - READ-ONLY; Usage current value. CurrentValue *int32 `json:"currentValue,omitempty"` // Limit - READ-ONLY; Usage limit. Limit *int32 `json:"limit,omitempty"` // RequestedLimit - READ-ONLY; Usage requested limit. RequestedLimit *int32 `json:"requestedLimit,omitempty"` }
Usage ARM usage.
func (Usage) MarshalJSON ¶
MarshalJSON is the custom marshaler for Usage.
type UsageListResult ¶
type UsageListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]Usage `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
UsageListResult a list of usages.
func (UsageListResult) IsEmpty ¶
func (ulr UsageListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (UsageListResult) MarshalJSON ¶
func (ulr UsageListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UsageListResult.
type UsageListResultIterator ¶
type UsageListResultIterator struct {
// contains filtered or unexported fields
}
UsageListResultIterator provides access to a complete listing of Usage values.
func NewUsageListResultIterator ¶
func NewUsageListResultIterator(page UsageListResultPage) UsageListResultIterator
Creates a new instance of the UsageListResultIterator type.
func (*UsageListResultIterator) Next ¶
func (iter *UsageListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*UsageListResultIterator) NextWithContext ¶
func (iter *UsageListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (UsageListResultIterator) NotDone ¶
func (iter UsageListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (UsageListResultIterator) Response ¶
func (iter UsageListResultIterator) Response() UsageListResult
Response returns the raw server response from the last page request.
func (UsageListResultIterator) Value ¶
func (iter UsageListResultIterator) Value() Usage
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type UsageListResultPage ¶
type UsageListResultPage struct {
// contains filtered or unexported fields
}
UsageListResultPage contains a page of Usage values.
func NewUsageListResultPage ¶
func NewUsageListResultPage(cur UsageListResult, getNextPage func(context.Context, UsageListResult) (UsageListResult, error)) UsageListResultPage
Creates a new instance of the UsageListResultPage type.
func (*UsageListResultPage) Next ¶
func (page *UsageListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*UsageListResultPage) NextWithContext ¶
func (page *UsageListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (UsageListResultPage) NotDone ¶
func (page UsageListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (UsageListResultPage) Response ¶
func (page UsageListResultPage) Response() UsageListResult
Response returns the raw server response from the last page request.
func (UsageListResultPage) Values ¶
func (page UsageListResultPage) Values() []Usage
Values returns the slice of values for the current page or nil if there are no values.
type UsagesClient ¶
type UsagesClient struct {
BaseClient
}
UsagesClient 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 NewUsagesClient ¶
func NewUsagesClient(subscriptionID string) UsagesClient
NewUsagesClient creates an instance of the UsagesClient client.
func NewUsagesClientWithBaseURI ¶
func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesClient
NewUsagesClientWithBaseURI creates an instance of the UsagesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (UsagesClient) ListByInstancePool ¶
func (client UsagesClient) ListByInstancePool(ctx context.Context, resourceGroupName string, instancePoolName string, expandChildren *bool) (result UsageListResultPage, err error)
ListByInstancePool gets all instance pool usage metrics Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. instancePoolName - the name of the instance pool to be retrieved. expandChildren - optional request parameter to include managed instance usages within the instance pool.
func (UsagesClient) ListByInstancePoolComplete ¶
func (client UsagesClient) ListByInstancePoolComplete(ctx context.Context, resourceGroupName string, instancePoolName string, expandChildren *bool) (result UsageListResultIterator, err error)
ListByInstancePoolComplete enumerates all values, automatically crossing page boundaries as required.
func (UsagesClient) ListByInstancePoolPreparer ¶
func (client UsagesClient) ListByInstancePoolPreparer(ctx context.Context, resourceGroupName string, instancePoolName string, expandChildren *bool) (*http.Request, error)
ListByInstancePoolPreparer prepares the ListByInstancePool request.
func (UsagesClient) ListByInstancePoolResponder ¶
func (client UsagesClient) ListByInstancePoolResponder(resp *http.Response) (result UsageListResult, err error)
ListByInstancePoolResponder handles the response to the ListByInstancePool request. The method always closes the http.Response Body.
func (UsagesClient) ListByInstancePoolSender ¶
ListByInstancePoolSender sends the ListByInstancePool request. The method will close the http.Response Body if it receives an error.
type UserIdentity ¶
type UserIdentity struct { // PrincipalID - READ-ONLY; The Azure Active Directory principal id. PrincipalID *uuid.UUID `json:"principalId,omitempty"` // ClientID - READ-ONLY; The Azure Active Directory client id. ClientID *uuid.UUID `json:"clientId,omitempty"` }
UserIdentity azure Active Directory identity configuration for a resource.
func (UserIdentity) MarshalJSON ¶
func (UI UserIdentity) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UserIdentity.
type VirtualCluster ¶
type VirtualCluster struct { autorest.Response `json:"-"` // VirtualClusterProperties - Resource properties. *VirtualClusterProperties `json:"properties,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
VirtualCluster an Azure SQL virtual cluster.
func (VirtualCluster) MarshalJSON ¶
func (vc VirtualCluster) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualCluster.
func (*VirtualCluster) UnmarshalJSON ¶
func (vc *VirtualCluster) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualCluster struct.
type VirtualClusterListResult ¶
type VirtualClusterListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]VirtualCluster `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
VirtualClusterListResult a list of virtual clusters.
func (VirtualClusterListResult) IsEmpty ¶
func (vclr VirtualClusterListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (VirtualClusterListResult) MarshalJSON ¶
func (vclr VirtualClusterListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualClusterListResult.
type VirtualClusterListResultIterator ¶
type VirtualClusterListResultIterator struct {
// contains filtered or unexported fields
}
VirtualClusterListResultIterator provides access to a complete listing of VirtualCluster values.
func NewVirtualClusterListResultIterator ¶
func NewVirtualClusterListResultIterator(page VirtualClusterListResultPage) VirtualClusterListResultIterator
Creates a new instance of the VirtualClusterListResultIterator type.
func (*VirtualClusterListResultIterator) Next ¶
func (iter *VirtualClusterListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*VirtualClusterListResultIterator) NextWithContext ¶
func (iter *VirtualClusterListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (VirtualClusterListResultIterator) NotDone ¶
func (iter VirtualClusterListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (VirtualClusterListResultIterator) Response ¶
func (iter VirtualClusterListResultIterator) Response() VirtualClusterListResult
Response returns the raw server response from the last page request.
func (VirtualClusterListResultIterator) Value ¶
func (iter VirtualClusterListResultIterator) Value() VirtualCluster
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type VirtualClusterListResultPage ¶
type VirtualClusterListResultPage struct {
// contains filtered or unexported fields
}
VirtualClusterListResultPage contains a page of VirtualCluster values.
func NewVirtualClusterListResultPage ¶
func NewVirtualClusterListResultPage(cur VirtualClusterListResult, getNextPage func(context.Context, VirtualClusterListResult) (VirtualClusterListResult, error)) VirtualClusterListResultPage
Creates a new instance of the VirtualClusterListResultPage type.
func (*VirtualClusterListResultPage) Next ¶
func (page *VirtualClusterListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*VirtualClusterListResultPage) NextWithContext ¶
func (page *VirtualClusterListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (VirtualClusterListResultPage) NotDone ¶
func (page VirtualClusterListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (VirtualClusterListResultPage) Response ¶
func (page VirtualClusterListResultPage) Response() VirtualClusterListResult
Response returns the raw server response from the last page request.
func (VirtualClusterListResultPage) Values ¶
func (page VirtualClusterListResultPage) Values() []VirtualCluster
Values returns the slice of values for the current page or nil if there are no values.
type VirtualClusterProperties ¶
type VirtualClusterProperties struct { // SubnetID - READ-ONLY; Subnet resource ID for the virtual cluster. SubnetID *string `json:"subnetId,omitempty"` // Family - If the service has different generations of hardware, for the same SKU, then that can be captured here. Family *string `json:"family,omitempty"` // ChildResources - READ-ONLY; List of resources in this virtual cluster. ChildResources *[]string `json:"childResources,omitempty"` // MaintenanceConfigurationID - Specifies maintenance configuration id to apply to this virtual cluster. MaintenanceConfigurationID *string `json:"maintenanceConfigurationId,omitempty"` }
VirtualClusterProperties the properties of a virtual cluster.
func (VirtualClusterProperties) MarshalJSON ¶
func (vcp VirtualClusterProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualClusterProperties.
type VirtualClusterUpdate ¶
type VirtualClusterUpdate struct { // VirtualClusterProperties - Resource properties. *VirtualClusterProperties `json:"properties,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
VirtualClusterUpdate an update request for an Azure SQL Database virtual cluster.
func (VirtualClusterUpdate) MarshalJSON ¶
func (vcu VirtualClusterUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualClusterUpdate.
func (*VirtualClusterUpdate) UnmarshalJSON ¶
func (vcu *VirtualClusterUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualClusterUpdate struct.
type VirtualClustersClient ¶
type VirtualClustersClient struct {
BaseClient
}
VirtualClustersClient 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 NewVirtualClustersClient ¶
func NewVirtualClustersClient(subscriptionID string) VirtualClustersClient
NewVirtualClustersClient creates an instance of the VirtualClustersClient client.
func NewVirtualClustersClientWithBaseURI ¶
func NewVirtualClustersClientWithBaseURI(baseURI string, subscriptionID string) VirtualClustersClient
NewVirtualClustersClientWithBaseURI creates an instance of the VirtualClustersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (VirtualClustersClient) Delete ¶
func (client VirtualClustersClient) Delete(ctx context.Context, resourceGroupName string, virtualClusterName string) (result VirtualClustersDeleteFuture, err error)
Delete deletes a virtual cluster. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. virtualClusterName - the name of the virtual cluster.
func (VirtualClustersClient) DeletePreparer ¶
func (client VirtualClustersClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualClusterName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (VirtualClustersClient) DeleteResponder ¶
func (client VirtualClustersClient) 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 (VirtualClustersClient) DeleteSender ¶
func (client VirtualClustersClient) DeleteSender(req *http.Request) (future VirtualClustersDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (VirtualClustersClient) Get ¶
func (client VirtualClustersClient) Get(ctx context.Context, resourceGroupName string, virtualClusterName string) (result VirtualCluster, err error)
Get gets a virtual cluster. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. virtualClusterName - the name of the virtual cluster.
func (VirtualClustersClient) GetPreparer ¶
func (client VirtualClustersClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualClusterName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (VirtualClustersClient) GetResponder ¶
func (client VirtualClustersClient) GetResponder(resp *http.Response) (result VirtualCluster, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (VirtualClustersClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (VirtualClustersClient) List ¶
func (client VirtualClustersClient) List(ctx context.Context) (result VirtualClusterListResultPage, err error)
List gets a list of all virtualClusters in the subscription.
func (VirtualClustersClient) ListByResourceGroup ¶
func (client VirtualClustersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result VirtualClusterListResultPage, err error)
ListByResourceGroup gets a list of virtual clusters in a resource group. Parameters: resourceGroupName - 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 (VirtualClustersClient) ListByResourceGroupComplete ¶
func (client VirtualClustersClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result VirtualClusterListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (VirtualClustersClient) ListByResourceGroupPreparer ¶
func (client VirtualClustersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (VirtualClustersClient) ListByResourceGroupResponder ¶
func (client VirtualClustersClient) ListByResourceGroupResponder(resp *http.Response) (result VirtualClusterListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (VirtualClustersClient) ListByResourceGroupSender ¶
func (client VirtualClustersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (VirtualClustersClient) ListComplete ¶
func (client VirtualClustersClient) ListComplete(ctx context.Context) (result VirtualClusterListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (VirtualClustersClient) ListPreparer ¶
ListPreparer prepares the List request.
func (VirtualClustersClient) ListResponder ¶
func (client VirtualClustersClient) ListResponder(resp *http.Response) (result VirtualClusterListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (VirtualClustersClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (VirtualClustersClient) Update ¶
func (client VirtualClustersClient) Update(ctx context.Context, resourceGroupName string, virtualClusterName string, parameters VirtualClusterUpdate) (result VirtualClustersUpdateFuture, err error)
Update updates a virtual cluster. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. virtualClusterName - the name of the virtual cluster. parameters - the requested virtual cluster resource state.
func (VirtualClustersClient) UpdateDNSServers ¶
func (client VirtualClustersClient) UpdateDNSServers(ctx context.Context, resourceGroupName string, virtualClusterName string) (result UpdateManagedInstanceDNSServersOperation, err error)
UpdateDNSServers synchronizes the DNS server settings used by the managed instances inside the given virtual cluster. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. virtualClusterName - the name of the virtual cluster.
func (VirtualClustersClient) UpdateDNSServersPreparer ¶
func (client VirtualClustersClient) UpdateDNSServersPreparer(ctx context.Context, resourceGroupName string, virtualClusterName string) (*http.Request, error)
UpdateDNSServersPreparer prepares the UpdateDNSServers request.
func (VirtualClustersClient) UpdateDNSServersResponder ¶
func (client VirtualClustersClient) UpdateDNSServersResponder(resp *http.Response) (result UpdateManagedInstanceDNSServersOperation, err error)
UpdateDNSServersResponder handles the response to the UpdateDNSServers request. The method always closes the http.Response Body.
func (VirtualClustersClient) UpdateDNSServersSender ¶
func (client VirtualClustersClient) UpdateDNSServersSender(req *http.Request) (*http.Response, error)
UpdateDNSServersSender sends the UpdateDNSServers request. The method will close the http.Response Body if it receives an error.
func (VirtualClustersClient) UpdatePreparer ¶
func (client VirtualClustersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, virtualClusterName string, parameters VirtualClusterUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (VirtualClustersClient) UpdateResponder ¶
func (client VirtualClustersClient) UpdateResponder(resp *http.Response) (result VirtualCluster, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (VirtualClustersClient) UpdateSender ¶
func (client VirtualClustersClient) UpdateSender(req *http.Request) (future VirtualClustersUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type VirtualClustersDeleteFuture ¶
type VirtualClustersDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualClustersClient) (autorest.Response, error) }
VirtualClustersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualClustersDeleteFuture) UnmarshalJSON ¶
func (future *VirtualClustersDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualClustersUpdateFuture ¶
type VirtualClustersUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualClustersClient) (VirtualCluster, error) }
VirtualClustersUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualClustersUpdateFuture) UnmarshalJSON ¶
func (future *VirtualClustersUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualNetworkRule ¶
type VirtualNetworkRule struct { autorest.Response `json:"-"` // VirtualNetworkRuleProperties - Resource properties. *VirtualNetworkRuleProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
VirtualNetworkRule a virtual network rule.
func (VirtualNetworkRule) MarshalJSON ¶
func (vnr VirtualNetworkRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkRule.
func (*VirtualNetworkRule) UnmarshalJSON ¶
func (vnr *VirtualNetworkRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualNetworkRule struct.
type VirtualNetworkRuleListResult ¶
type VirtualNetworkRuleListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]VirtualNetworkRule `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
VirtualNetworkRuleListResult a list of virtual network rules.
func (VirtualNetworkRuleListResult) IsEmpty ¶
func (vnrlr VirtualNetworkRuleListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (VirtualNetworkRuleListResult) MarshalJSON ¶
func (vnrlr VirtualNetworkRuleListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkRuleListResult.
type VirtualNetworkRuleListResultIterator ¶
type VirtualNetworkRuleListResultIterator struct {
// contains filtered or unexported fields
}
VirtualNetworkRuleListResultIterator provides access to a complete listing of VirtualNetworkRule values.
func NewVirtualNetworkRuleListResultIterator ¶
func NewVirtualNetworkRuleListResultIterator(page VirtualNetworkRuleListResultPage) VirtualNetworkRuleListResultIterator
Creates a new instance of the VirtualNetworkRuleListResultIterator type.
func (*VirtualNetworkRuleListResultIterator) Next ¶
func (iter *VirtualNetworkRuleListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*VirtualNetworkRuleListResultIterator) NextWithContext ¶
func (iter *VirtualNetworkRuleListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (VirtualNetworkRuleListResultIterator) NotDone ¶
func (iter VirtualNetworkRuleListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (VirtualNetworkRuleListResultIterator) Response ¶
func (iter VirtualNetworkRuleListResultIterator) Response() VirtualNetworkRuleListResult
Response returns the raw server response from the last page request.
func (VirtualNetworkRuleListResultIterator) Value ¶
func (iter VirtualNetworkRuleListResultIterator) Value() VirtualNetworkRule
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type VirtualNetworkRuleListResultPage ¶
type VirtualNetworkRuleListResultPage struct {
// contains filtered or unexported fields
}
VirtualNetworkRuleListResultPage contains a page of VirtualNetworkRule values.
func NewVirtualNetworkRuleListResultPage ¶
func NewVirtualNetworkRuleListResultPage(cur VirtualNetworkRuleListResult, getNextPage func(context.Context, VirtualNetworkRuleListResult) (VirtualNetworkRuleListResult, error)) VirtualNetworkRuleListResultPage
Creates a new instance of the VirtualNetworkRuleListResultPage type.
func (*VirtualNetworkRuleListResultPage) Next ¶
func (page *VirtualNetworkRuleListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*VirtualNetworkRuleListResultPage) NextWithContext ¶
func (page *VirtualNetworkRuleListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (VirtualNetworkRuleListResultPage) NotDone ¶
func (page VirtualNetworkRuleListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (VirtualNetworkRuleListResultPage) Response ¶
func (page VirtualNetworkRuleListResultPage) Response() VirtualNetworkRuleListResult
Response returns the raw server response from the last page request.
func (VirtualNetworkRuleListResultPage) Values ¶
func (page VirtualNetworkRuleListResultPage) Values() []VirtualNetworkRule
Values returns the slice of values for the current page or nil if there are no values.
type VirtualNetworkRuleProperties ¶
type VirtualNetworkRuleProperties struct { // VirtualNetworkSubnetID - The ARM resource id of the virtual network subnet. VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty"` // IgnoreMissingVnetServiceEndpoint - Create firewall rule before the virtual network has vnet service endpoint enabled. IgnoreMissingVnetServiceEndpoint *bool `json:"ignoreMissingVnetServiceEndpoint,omitempty"` // State - READ-ONLY; Virtual Network Rule State. Possible values include: 'VirtualNetworkRuleStateInitializing', 'VirtualNetworkRuleStateInProgress', 'VirtualNetworkRuleStateReady', 'VirtualNetworkRuleStateFailed', 'VirtualNetworkRuleStateDeleting', 'VirtualNetworkRuleStateUnknown' State VirtualNetworkRuleState `json:"state,omitempty"` }
VirtualNetworkRuleProperties properties of a virtual network rule.
func (VirtualNetworkRuleProperties) MarshalJSON ¶
func (vnrp VirtualNetworkRuleProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkRuleProperties.
type VirtualNetworkRuleState ¶
type VirtualNetworkRuleState string
VirtualNetworkRuleState enumerates the values for virtual network rule state.
const ( // VirtualNetworkRuleStateDeleting ... VirtualNetworkRuleStateDeleting VirtualNetworkRuleState = "Deleting" // VirtualNetworkRuleStateFailed ... VirtualNetworkRuleStateFailed VirtualNetworkRuleState = "Failed" // VirtualNetworkRuleStateInitializing ... VirtualNetworkRuleStateInitializing VirtualNetworkRuleState = "Initializing" // VirtualNetworkRuleStateInProgress ... VirtualNetworkRuleStateInProgress VirtualNetworkRuleState = "InProgress" // VirtualNetworkRuleStateReady ... VirtualNetworkRuleStateReady VirtualNetworkRuleState = "Ready" // VirtualNetworkRuleStateUnknown ... VirtualNetworkRuleStateUnknown VirtualNetworkRuleState = "Unknown" )
func PossibleVirtualNetworkRuleStateValues ¶
func PossibleVirtualNetworkRuleStateValues() []VirtualNetworkRuleState
PossibleVirtualNetworkRuleStateValues returns an array of possible values for the VirtualNetworkRuleState const type.
type VirtualNetworkRulesClient ¶
type VirtualNetworkRulesClient struct {
BaseClient
}
VirtualNetworkRulesClient is the the 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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (VirtualNetworkRulesClient) CreateOrUpdate ¶
func (client VirtualNetworkRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string, parameters VirtualNetworkRule) (result VirtualNetworkRulesCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates an existing virtual network rule. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. virtualNetworkRuleName - the name of the virtual network rule. parameters - the requested virtual Network Rule Resource state.
func (VirtualNetworkRulesClient) CreateOrUpdatePreparer ¶
func (client VirtualNetworkRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string, parameters VirtualNetworkRule) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (VirtualNetworkRulesClient) CreateOrUpdateResponder ¶
func (client VirtualNetworkRulesClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkRule, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (VirtualNetworkRulesClient) CreateOrUpdateSender ¶
func (client VirtualNetworkRulesClient) CreateOrUpdateSender(req *http.Request) (future VirtualNetworkRulesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (VirtualNetworkRulesClient) Delete ¶
func (client VirtualNetworkRulesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string) (result VirtualNetworkRulesDeleteFuture, err error)
Delete deletes the virtual network rule with the given name. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. virtualNetworkRuleName - the name of the virtual network rule.
func (VirtualNetworkRulesClient) DeletePreparer ¶
func (client VirtualNetworkRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (VirtualNetworkRulesClient) DeleteResponder ¶
func (client VirtualNetworkRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (VirtualNetworkRulesClient) DeleteSender ¶
func (client VirtualNetworkRulesClient) DeleteSender(req *http.Request) (future VirtualNetworkRulesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (VirtualNetworkRulesClient) Get ¶
func (client VirtualNetworkRulesClient) Get(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string) (result VirtualNetworkRule, err error)
Get gets a virtual network rule. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. virtualNetworkRuleName - the name of the virtual network rule.
func (VirtualNetworkRulesClient) GetPreparer ¶
func (client VirtualNetworkRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (VirtualNetworkRulesClient) GetResponder ¶
func (client VirtualNetworkRulesClient) GetResponder(resp *http.Response) (result VirtualNetworkRule, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (VirtualNetworkRulesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (VirtualNetworkRulesClient) ListByServer ¶
func (client VirtualNetworkRulesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result VirtualNetworkRuleListResultPage, err error)
ListByServer gets a list of virtual network rules in a server. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server.
func (VirtualNetworkRulesClient) ListByServerComplete ¶
func (client VirtualNetworkRulesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result VirtualNetworkRuleListResultIterator, err error)
ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
func (VirtualNetworkRulesClient) ListByServerPreparer ¶
func (client VirtualNetworkRulesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListByServerPreparer prepares the ListByServer request.
func (VirtualNetworkRulesClient) ListByServerResponder ¶
func (client VirtualNetworkRulesClient) ListByServerResponder(resp *http.Response) (result VirtualNetworkRuleListResult, err error)
ListByServerResponder handles the response to the ListByServer request. The method always closes the http.Response Body.
func (VirtualNetworkRulesClient) ListByServerSender ¶
func (client VirtualNetworkRulesClient) ListByServerSender(req *http.Request) (*http.Response, error)
ListByServerSender sends the ListByServer request. The method will close the http.Response Body if it receives an error.
type VirtualNetworkRulesCreateOrUpdateFuture ¶
type VirtualNetworkRulesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkRulesClient) (VirtualNetworkRule, error) }
VirtualNetworkRulesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualNetworkRulesCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *VirtualNetworkRulesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualNetworkRulesDeleteFuture ¶
type VirtualNetworkRulesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkRulesClient) (autorest.Response, error) }
VirtualNetworkRulesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualNetworkRulesDeleteFuture) UnmarshalJSON ¶
func (future *VirtualNetworkRulesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VulnerabilityAssessmentPolicyBaselineName ¶
type VulnerabilityAssessmentPolicyBaselineName string
VulnerabilityAssessmentPolicyBaselineName enumerates the values for vulnerability assessment policy baseline name.
const ( // VulnerabilityAssessmentPolicyBaselineNameDefault ... VulnerabilityAssessmentPolicyBaselineNameDefault VulnerabilityAssessmentPolicyBaselineName = "default" // VulnerabilityAssessmentPolicyBaselineNameMaster ... VulnerabilityAssessmentPolicyBaselineNameMaster VulnerabilityAssessmentPolicyBaselineName = "master" )
func PossibleVulnerabilityAssessmentPolicyBaselineNameValues ¶
func PossibleVulnerabilityAssessmentPolicyBaselineNameValues() []VulnerabilityAssessmentPolicyBaselineName
PossibleVulnerabilityAssessmentPolicyBaselineNameValues returns an array of possible values for the VulnerabilityAssessmentPolicyBaselineName const type.
type VulnerabilityAssessmentRecurringScansProperties ¶
type VulnerabilityAssessmentRecurringScansProperties struct { // IsEnabled - Recurring scans state. IsEnabled *bool `json:"isEnabled,omitempty"` // EmailSubscriptionAdmins - Specifies that the schedule scan notification will be is sent to the subscription administrators. EmailSubscriptionAdmins *bool `json:"emailSubscriptionAdmins,omitempty"` // Emails - Specifies an array of e-mail addresses to which the scan notification is sent. Emails *[]string `json:"emails,omitempty"` }
VulnerabilityAssessmentRecurringScansProperties properties of a Vulnerability Assessment recurring scans.
type VulnerabilityAssessmentScanError ¶
type VulnerabilityAssessmentScanError struct { // Code - READ-ONLY; The error code. Code *string `json:"code,omitempty"` // Message - READ-ONLY; The error message. Message *string `json:"message,omitempty"` }
VulnerabilityAssessmentScanError properties of a vulnerability assessment scan error.
func (VulnerabilityAssessmentScanError) MarshalJSON ¶
func (vase VulnerabilityAssessmentScanError) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VulnerabilityAssessmentScanError.
type VulnerabilityAssessmentScanRecord ¶
type VulnerabilityAssessmentScanRecord struct { autorest.Response `json:"-"` // VulnerabilityAssessmentScanRecordProperties - Resource properties. *VulnerabilityAssessmentScanRecordProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
VulnerabilityAssessmentScanRecord a vulnerability assessment scan record.
func (VulnerabilityAssessmentScanRecord) MarshalJSON ¶
func (vasr VulnerabilityAssessmentScanRecord) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VulnerabilityAssessmentScanRecord.
func (*VulnerabilityAssessmentScanRecord) UnmarshalJSON ¶
func (vasr *VulnerabilityAssessmentScanRecord) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VulnerabilityAssessmentScanRecord struct.
type VulnerabilityAssessmentScanRecordListResult ¶
type VulnerabilityAssessmentScanRecordListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]VulnerabilityAssessmentScanRecord `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
VulnerabilityAssessmentScanRecordListResult a list of vulnerability assessment scan records.
func (VulnerabilityAssessmentScanRecordListResult) IsEmpty ¶
func (vasrlr VulnerabilityAssessmentScanRecordListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (VulnerabilityAssessmentScanRecordListResult) MarshalJSON ¶
func (vasrlr VulnerabilityAssessmentScanRecordListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VulnerabilityAssessmentScanRecordListResult.
type VulnerabilityAssessmentScanRecordListResultIterator ¶
type VulnerabilityAssessmentScanRecordListResultIterator struct {
// contains filtered or unexported fields
}
VulnerabilityAssessmentScanRecordListResultIterator provides access to a complete listing of VulnerabilityAssessmentScanRecord values.
func NewVulnerabilityAssessmentScanRecordListResultIterator ¶
func NewVulnerabilityAssessmentScanRecordListResultIterator(page VulnerabilityAssessmentScanRecordListResultPage) VulnerabilityAssessmentScanRecordListResultIterator
Creates a new instance of the VulnerabilityAssessmentScanRecordListResultIterator type.
func (*VulnerabilityAssessmentScanRecordListResultIterator) Next ¶
func (iter *VulnerabilityAssessmentScanRecordListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*VulnerabilityAssessmentScanRecordListResultIterator) NextWithContext ¶
func (iter *VulnerabilityAssessmentScanRecordListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (VulnerabilityAssessmentScanRecordListResultIterator) NotDone ¶
func (iter VulnerabilityAssessmentScanRecordListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (VulnerabilityAssessmentScanRecordListResultIterator) Response ¶
func (iter VulnerabilityAssessmentScanRecordListResultIterator) Response() VulnerabilityAssessmentScanRecordListResult
Response returns the raw server response from the last page request.
func (VulnerabilityAssessmentScanRecordListResultIterator) Value ¶
func (iter VulnerabilityAssessmentScanRecordListResultIterator) Value() VulnerabilityAssessmentScanRecord
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type VulnerabilityAssessmentScanRecordListResultPage ¶
type VulnerabilityAssessmentScanRecordListResultPage struct {
// contains filtered or unexported fields
}
VulnerabilityAssessmentScanRecordListResultPage contains a page of VulnerabilityAssessmentScanRecord values.
func NewVulnerabilityAssessmentScanRecordListResultPage ¶
func NewVulnerabilityAssessmentScanRecordListResultPage(cur VulnerabilityAssessmentScanRecordListResult, getNextPage func(context.Context, VulnerabilityAssessmentScanRecordListResult) (VulnerabilityAssessmentScanRecordListResult, error)) VulnerabilityAssessmentScanRecordListResultPage
Creates a new instance of the VulnerabilityAssessmentScanRecordListResultPage type.
func (*VulnerabilityAssessmentScanRecordListResultPage) Next ¶
func (page *VulnerabilityAssessmentScanRecordListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*VulnerabilityAssessmentScanRecordListResultPage) NextWithContext ¶
func (page *VulnerabilityAssessmentScanRecordListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (VulnerabilityAssessmentScanRecordListResultPage) NotDone ¶
func (page VulnerabilityAssessmentScanRecordListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (VulnerabilityAssessmentScanRecordListResultPage) Response ¶
func (page VulnerabilityAssessmentScanRecordListResultPage) Response() VulnerabilityAssessmentScanRecordListResult
Response returns the raw server response from the last page request.
func (VulnerabilityAssessmentScanRecordListResultPage) Values ¶
func (page VulnerabilityAssessmentScanRecordListResultPage) Values() []VulnerabilityAssessmentScanRecord
Values returns the slice of values for the current page or nil if there are no values.
type VulnerabilityAssessmentScanRecordProperties ¶
type VulnerabilityAssessmentScanRecordProperties struct { // ScanID - READ-ONLY; The scan ID. ScanID *string `json:"scanId,omitempty"` // TriggerType - READ-ONLY; The scan trigger type. Possible values include: 'VulnerabilityAssessmentScanTriggerTypeOnDemand', 'VulnerabilityAssessmentScanTriggerTypeRecurring' TriggerType VulnerabilityAssessmentScanTriggerType `json:"triggerType,omitempty"` // State - READ-ONLY; The scan status. Possible values include: 'VulnerabilityAssessmentScanStatePassed', 'VulnerabilityAssessmentScanStateFailed', 'VulnerabilityAssessmentScanStateFailedToRun', 'VulnerabilityAssessmentScanStateInProgress' State VulnerabilityAssessmentScanState `json:"state,omitempty"` // StartTime - READ-ONLY; The scan start time (UTC). StartTime *date.Time `json:"startTime,omitempty"` // EndTime - READ-ONLY; The scan end time (UTC). EndTime *date.Time `json:"endTime,omitempty"` // Errors - READ-ONLY; The scan errors. Errors *[]VulnerabilityAssessmentScanError `json:"errors,omitempty"` // StorageContainerPath - READ-ONLY; The scan results storage container path. StorageContainerPath *string `json:"storageContainerPath,omitempty"` // NumberOfFailedSecurityChecks - READ-ONLY; The number of failed security checks. NumberOfFailedSecurityChecks *int32 `json:"numberOfFailedSecurityChecks,omitempty"` }
VulnerabilityAssessmentScanRecordProperties properties of a vulnerability assessment scan record.
func (VulnerabilityAssessmentScanRecordProperties) MarshalJSON ¶
func (vasrp VulnerabilityAssessmentScanRecordProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VulnerabilityAssessmentScanRecordProperties.
type VulnerabilityAssessmentScanState ¶
type VulnerabilityAssessmentScanState string
VulnerabilityAssessmentScanState enumerates the values for vulnerability assessment scan state.
const ( // VulnerabilityAssessmentScanStateFailed ... VulnerabilityAssessmentScanStateFailed VulnerabilityAssessmentScanState = "Failed" // VulnerabilityAssessmentScanStateFailedToRun ... VulnerabilityAssessmentScanStateFailedToRun VulnerabilityAssessmentScanState = "FailedToRun" // VulnerabilityAssessmentScanStateInProgress ... VulnerabilityAssessmentScanStateInProgress VulnerabilityAssessmentScanState = "InProgress" // VulnerabilityAssessmentScanStatePassed ... VulnerabilityAssessmentScanStatePassed VulnerabilityAssessmentScanState = "Passed" )
func PossibleVulnerabilityAssessmentScanStateValues ¶
func PossibleVulnerabilityAssessmentScanStateValues() []VulnerabilityAssessmentScanState
PossibleVulnerabilityAssessmentScanStateValues returns an array of possible values for the VulnerabilityAssessmentScanState const type.
type VulnerabilityAssessmentScanTriggerType ¶
type VulnerabilityAssessmentScanTriggerType string
VulnerabilityAssessmentScanTriggerType enumerates the values for vulnerability assessment scan trigger type.
const ( // VulnerabilityAssessmentScanTriggerTypeOnDemand ... VulnerabilityAssessmentScanTriggerTypeOnDemand VulnerabilityAssessmentScanTriggerType = "OnDemand" // VulnerabilityAssessmentScanTriggerTypeRecurring ... VulnerabilityAssessmentScanTriggerTypeRecurring VulnerabilityAssessmentScanTriggerType = "Recurring" )
func PossibleVulnerabilityAssessmentScanTriggerTypeValues ¶
func PossibleVulnerabilityAssessmentScanTriggerTypeValues() []VulnerabilityAssessmentScanTriggerType
PossibleVulnerabilityAssessmentScanTriggerTypeValues returns an array of possible values for the VulnerabilityAssessmentScanTriggerType const type.
type WorkloadClassifier ¶
type WorkloadClassifier struct { autorest.Response `json:"-"` // WorkloadClassifierProperties - Resource properties. *WorkloadClassifierProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
WorkloadClassifier workload classifier operations for a data warehouse
func (WorkloadClassifier) MarshalJSON ¶
func (wc WorkloadClassifier) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WorkloadClassifier.
func (*WorkloadClassifier) UnmarshalJSON ¶
func (wc *WorkloadClassifier) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for WorkloadClassifier struct.
type WorkloadClassifierListResult ¶
type WorkloadClassifierListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]WorkloadClassifier `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
WorkloadClassifierListResult a list of workload classifiers for a workload group.
func (WorkloadClassifierListResult) IsEmpty ¶
func (wclr WorkloadClassifierListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (WorkloadClassifierListResult) MarshalJSON ¶
func (wclr WorkloadClassifierListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WorkloadClassifierListResult.
type WorkloadClassifierListResultIterator ¶
type WorkloadClassifierListResultIterator struct {
// contains filtered or unexported fields
}
WorkloadClassifierListResultIterator provides access to a complete listing of WorkloadClassifier values.
func NewWorkloadClassifierListResultIterator ¶
func NewWorkloadClassifierListResultIterator(page WorkloadClassifierListResultPage) WorkloadClassifierListResultIterator
Creates a new instance of the WorkloadClassifierListResultIterator type.
func (*WorkloadClassifierListResultIterator) Next ¶
func (iter *WorkloadClassifierListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*WorkloadClassifierListResultIterator) NextWithContext ¶
func (iter *WorkloadClassifierListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (WorkloadClassifierListResultIterator) NotDone ¶
func (iter WorkloadClassifierListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (WorkloadClassifierListResultIterator) Response ¶
func (iter WorkloadClassifierListResultIterator) Response() WorkloadClassifierListResult
Response returns the raw server response from the last page request.
func (WorkloadClassifierListResultIterator) Value ¶
func (iter WorkloadClassifierListResultIterator) Value() WorkloadClassifier
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type WorkloadClassifierListResultPage ¶
type WorkloadClassifierListResultPage struct {
// contains filtered or unexported fields
}
WorkloadClassifierListResultPage contains a page of WorkloadClassifier values.
func NewWorkloadClassifierListResultPage ¶
func NewWorkloadClassifierListResultPage(cur WorkloadClassifierListResult, getNextPage func(context.Context, WorkloadClassifierListResult) (WorkloadClassifierListResult, error)) WorkloadClassifierListResultPage
Creates a new instance of the WorkloadClassifierListResultPage type.
func (*WorkloadClassifierListResultPage) Next ¶
func (page *WorkloadClassifierListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*WorkloadClassifierListResultPage) NextWithContext ¶
func (page *WorkloadClassifierListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (WorkloadClassifierListResultPage) NotDone ¶
func (page WorkloadClassifierListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (WorkloadClassifierListResultPage) Response ¶
func (page WorkloadClassifierListResultPage) Response() WorkloadClassifierListResult
Response returns the raw server response from the last page request.
func (WorkloadClassifierListResultPage) Values ¶
func (page WorkloadClassifierListResultPage) Values() []WorkloadClassifier
Values returns the slice of values for the current page or nil if there are no values.
type WorkloadClassifierProperties ¶
type WorkloadClassifierProperties struct { // MemberName - The workload classifier member name. MemberName *string `json:"memberName,omitempty"` // Label - The workload classifier label. Label *string `json:"label,omitempty"` // Context - The workload classifier context. Context *string `json:"context,omitempty"` // StartTime - The workload classifier start time for classification. StartTime *string `json:"startTime,omitempty"` // EndTime - The workload classifier end time for classification. EndTime *string `json:"endTime,omitempty"` // Importance - The workload classifier importance. Importance *string `json:"importance,omitempty"` }
WorkloadClassifierProperties workload classifier definition. For more information look at sys.workload_management_workload_classifiers (DMV).
type WorkloadClassifiersClient ¶
type WorkloadClassifiersClient struct {
BaseClient
}
WorkloadClassifiersClient 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 NewWorkloadClassifiersClient ¶
func NewWorkloadClassifiersClient(subscriptionID string) WorkloadClassifiersClient
NewWorkloadClassifiersClient creates an instance of the WorkloadClassifiersClient client.
func NewWorkloadClassifiersClientWithBaseURI ¶
func NewWorkloadClassifiersClientWithBaseURI(baseURI string, subscriptionID string) WorkloadClassifiersClient
NewWorkloadClassifiersClientWithBaseURI creates an instance of the WorkloadClassifiersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (WorkloadClassifiersClient) CreateOrUpdate ¶
func (client WorkloadClassifiersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, databaseName string, workloadGroupName string, workloadClassifierName string, parameters WorkloadClassifier) (result WorkloadClassifiersCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a workload classifier. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. workloadGroupName - the name of the workload group from which to receive the classifier from. workloadClassifierName - the name of the workload classifier to create/update. parameters - the properties of the workload classifier.
func (WorkloadClassifiersClient) CreateOrUpdatePreparer ¶
func (client WorkloadClassifiersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, workloadGroupName string, workloadClassifierName string, parameters WorkloadClassifier) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (WorkloadClassifiersClient) CreateOrUpdateResponder ¶
func (client WorkloadClassifiersClient) CreateOrUpdateResponder(resp *http.Response) (result WorkloadClassifier, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (WorkloadClassifiersClient) CreateOrUpdateSender ¶
func (client WorkloadClassifiersClient) CreateOrUpdateSender(req *http.Request) (future WorkloadClassifiersCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (WorkloadClassifiersClient) Delete ¶
func (client WorkloadClassifiersClient) Delete(ctx context.Context, resourceGroupName string, serverName string, databaseName string, workloadGroupName string, workloadClassifierName string) (result WorkloadClassifiersDeleteFuture, err error)
Delete deletes a workload classifier. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. workloadGroupName - the name of the workload group from which to receive the classifier from. workloadClassifierName - the name of the workload classifier to delete.
func (WorkloadClassifiersClient) DeletePreparer ¶
func (client WorkloadClassifiersClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, workloadGroupName string, workloadClassifierName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (WorkloadClassifiersClient) DeleteResponder ¶
func (client WorkloadClassifiersClient) 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 (WorkloadClassifiersClient) DeleteSender ¶
func (client WorkloadClassifiersClient) DeleteSender(req *http.Request) (future WorkloadClassifiersDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (WorkloadClassifiersClient) Get ¶
func (client WorkloadClassifiersClient) Get(ctx context.Context, resourceGroupName string, serverName string, databaseName string, workloadGroupName string, workloadClassifierName string) (result WorkloadClassifier, err error)
Get gets a workload classifier Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. workloadGroupName - the name of the workload group from which to receive the classifier from. workloadClassifierName - the name of the workload classifier.
func (WorkloadClassifiersClient) GetPreparer ¶
func (client WorkloadClassifiersClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, workloadGroupName string, workloadClassifierName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (WorkloadClassifiersClient) GetResponder ¶
func (client WorkloadClassifiersClient) GetResponder(resp *http.Response) (result WorkloadClassifier, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (WorkloadClassifiersClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (WorkloadClassifiersClient) ListByWorkloadGroup ¶
func (client WorkloadClassifiersClient) ListByWorkloadGroup(ctx context.Context, resourceGroupName string, serverName string, databaseName string, workloadGroupName string) (result WorkloadClassifierListResultPage, err error)
ListByWorkloadGroup gets the list of workload classifiers for a workload group Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. workloadGroupName - the name of the workload group from which to receive the classifiers from.
func (WorkloadClassifiersClient) ListByWorkloadGroupComplete ¶
func (client WorkloadClassifiersClient) ListByWorkloadGroupComplete(ctx context.Context, resourceGroupName string, serverName string, databaseName string, workloadGroupName string) (result WorkloadClassifierListResultIterator, err error)
ListByWorkloadGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (WorkloadClassifiersClient) ListByWorkloadGroupPreparer ¶
func (client WorkloadClassifiersClient) ListByWorkloadGroupPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, workloadGroupName string) (*http.Request, error)
ListByWorkloadGroupPreparer prepares the ListByWorkloadGroup request.
func (WorkloadClassifiersClient) ListByWorkloadGroupResponder ¶
func (client WorkloadClassifiersClient) ListByWorkloadGroupResponder(resp *http.Response) (result WorkloadClassifierListResult, err error)
ListByWorkloadGroupResponder handles the response to the ListByWorkloadGroup request. The method always closes the http.Response Body.
func (WorkloadClassifiersClient) ListByWorkloadGroupSender ¶
func (client WorkloadClassifiersClient) ListByWorkloadGroupSender(req *http.Request) (*http.Response, error)
ListByWorkloadGroupSender sends the ListByWorkloadGroup request. The method will close the http.Response Body if it receives an error.
type WorkloadClassifiersCreateOrUpdateFuture ¶
type WorkloadClassifiersCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(WorkloadClassifiersClient) (WorkloadClassifier, error) }
WorkloadClassifiersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*WorkloadClassifiersCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *WorkloadClassifiersCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type WorkloadClassifiersDeleteFuture ¶
type WorkloadClassifiersDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(WorkloadClassifiersClient) (autorest.Response, error) }
WorkloadClassifiersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*WorkloadClassifiersDeleteFuture) UnmarshalJSON ¶
func (future *WorkloadClassifiersDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type WorkloadGroup ¶
type WorkloadGroup struct { autorest.Response `json:"-"` // WorkloadGroupProperties - Resource properties. *WorkloadGroupProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
WorkloadGroup workload group operations for a data warehouse
func (WorkloadGroup) MarshalJSON ¶
func (wg WorkloadGroup) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WorkloadGroup.
func (*WorkloadGroup) UnmarshalJSON ¶
func (wg *WorkloadGroup) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for WorkloadGroup struct.
type WorkloadGroupListResult ¶
type WorkloadGroupListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Array of results. Value *[]WorkloadGroup `json:"value,omitempty"` // NextLink - READ-ONLY; Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
WorkloadGroupListResult a list of workload groups.
func (WorkloadGroupListResult) IsEmpty ¶
func (wglr WorkloadGroupListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (WorkloadGroupListResult) MarshalJSON ¶
func (wglr WorkloadGroupListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WorkloadGroupListResult.
type WorkloadGroupListResultIterator ¶
type WorkloadGroupListResultIterator struct {
// contains filtered or unexported fields
}
WorkloadGroupListResultIterator provides access to a complete listing of WorkloadGroup values.
func NewWorkloadGroupListResultIterator ¶
func NewWorkloadGroupListResultIterator(page WorkloadGroupListResultPage) WorkloadGroupListResultIterator
Creates a new instance of the WorkloadGroupListResultIterator type.
func (*WorkloadGroupListResultIterator) Next ¶
func (iter *WorkloadGroupListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*WorkloadGroupListResultIterator) NextWithContext ¶
func (iter *WorkloadGroupListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (WorkloadGroupListResultIterator) NotDone ¶
func (iter WorkloadGroupListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (WorkloadGroupListResultIterator) Response ¶
func (iter WorkloadGroupListResultIterator) Response() WorkloadGroupListResult
Response returns the raw server response from the last page request.
func (WorkloadGroupListResultIterator) Value ¶
func (iter WorkloadGroupListResultIterator) Value() WorkloadGroup
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type WorkloadGroupListResultPage ¶
type WorkloadGroupListResultPage struct {
// contains filtered or unexported fields
}
WorkloadGroupListResultPage contains a page of WorkloadGroup values.
func NewWorkloadGroupListResultPage ¶
func NewWorkloadGroupListResultPage(cur WorkloadGroupListResult, getNextPage func(context.Context, WorkloadGroupListResult) (WorkloadGroupListResult, error)) WorkloadGroupListResultPage
Creates a new instance of the WorkloadGroupListResultPage type.
func (*WorkloadGroupListResultPage) Next ¶
func (page *WorkloadGroupListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*WorkloadGroupListResultPage) NextWithContext ¶
func (page *WorkloadGroupListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (WorkloadGroupListResultPage) NotDone ¶
func (page WorkloadGroupListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (WorkloadGroupListResultPage) Response ¶
func (page WorkloadGroupListResultPage) Response() WorkloadGroupListResult
Response returns the raw server response from the last page request.
func (WorkloadGroupListResultPage) Values ¶
func (page WorkloadGroupListResultPage) Values() []WorkloadGroup
Values returns the slice of values for the current page or nil if there are no values.
type WorkloadGroupProperties ¶
type WorkloadGroupProperties struct { // MinResourcePercent - The workload group minimum percentage resource. MinResourcePercent *int32 `json:"minResourcePercent,omitempty"` // MaxResourcePercent - The workload group cap percentage resource. MaxResourcePercent *int32 `json:"maxResourcePercent,omitempty"` // MinResourcePercentPerRequest - The workload group request minimum grant percentage. MinResourcePercentPerRequest *float64 `json:"minResourcePercentPerRequest,omitempty"` // MaxResourcePercentPerRequest - The workload group request maximum grant percentage. MaxResourcePercentPerRequest *float64 `json:"maxResourcePercentPerRequest,omitempty"` // Importance - The workload group importance level. Importance *string `json:"importance,omitempty"` // QueryExecutionTimeout - The workload group query execution timeout. QueryExecutionTimeout *int32 `json:"queryExecutionTimeout,omitempty"` }
WorkloadGroupProperties workload group definition. For more information look at sys.workload_management_workload_groups (DMV).
type WorkloadGroupsClient ¶
type WorkloadGroupsClient struct {
BaseClient
}
WorkloadGroupsClient 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 NewWorkloadGroupsClient ¶
func NewWorkloadGroupsClient(subscriptionID string) WorkloadGroupsClient
NewWorkloadGroupsClient creates an instance of the WorkloadGroupsClient client.
func NewWorkloadGroupsClientWithBaseURI ¶
func NewWorkloadGroupsClientWithBaseURI(baseURI string, subscriptionID string) WorkloadGroupsClient
NewWorkloadGroupsClientWithBaseURI creates an instance of the WorkloadGroupsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (WorkloadGroupsClient) CreateOrUpdate ¶
func (client WorkloadGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, databaseName string, workloadGroupName string, parameters WorkloadGroup) (result WorkloadGroupsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a workload group. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. workloadGroupName - the name of the workload group. parameters - the requested workload group state.
func (WorkloadGroupsClient) CreateOrUpdatePreparer ¶
func (client WorkloadGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, workloadGroupName string, parameters WorkloadGroup) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (WorkloadGroupsClient) CreateOrUpdateResponder ¶
func (client WorkloadGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result WorkloadGroup, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (WorkloadGroupsClient) CreateOrUpdateSender ¶
func (client WorkloadGroupsClient) CreateOrUpdateSender(req *http.Request) (future WorkloadGroupsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (WorkloadGroupsClient) Delete ¶
func (client WorkloadGroupsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, databaseName string, workloadGroupName string) (result WorkloadGroupsDeleteFuture, err error)
Delete deletes a workload group. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. workloadGroupName - the name of the workload group to delete.
func (WorkloadGroupsClient) DeletePreparer ¶
func (client WorkloadGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, workloadGroupName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (WorkloadGroupsClient) DeleteResponder ¶
func (client WorkloadGroupsClient) 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 (WorkloadGroupsClient) DeleteSender ¶
func (client WorkloadGroupsClient) DeleteSender(req *http.Request) (future WorkloadGroupsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (WorkloadGroupsClient) Get ¶
func (client WorkloadGroupsClient) Get(ctx context.Context, resourceGroupName string, serverName string, databaseName string, workloadGroupName string) (result WorkloadGroup, err error)
Get gets a workload group Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database. workloadGroupName - the name of the workload group.
func (WorkloadGroupsClient) GetPreparer ¶
func (client WorkloadGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, workloadGroupName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (WorkloadGroupsClient) GetResponder ¶
func (client WorkloadGroupsClient) GetResponder(resp *http.Response) (result WorkloadGroup, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (WorkloadGroupsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (WorkloadGroupsClient) ListByDatabase ¶
func (client WorkloadGroupsClient) ListByDatabase(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result WorkloadGroupListResultPage, err error)
ListByDatabase gets the list of workload groups Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serverName - the name of the server. databaseName - the name of the database.
func (WorkloadGroupsClient) ListByDatabaseComplete ¶
func (client WorkloadGroupsClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result WorkloadGroupListResultIterator, err error)
ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required.
func (WorkloadGroupsClient) ListByDatabasePreparer ¶
func (client WorkloadGroupsClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error)
ListByDatabasePreparer prepares the ListByDatabase request.
func (WorkloadGroupsClient) ListByDatabaseResponder ¶
func (client WorkloadGroupsClient) ListByDatabaseResponder(resp *http.Response) (result WorkloadGroupListResult, err error)
ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.
func (WorkloadGroupsClient) ListByDatabaseSender ¶
ListByDatabaseSender sends the ListByDatabase request. The method will close the http.Response Body if it receives an error.
type WorkloadGroupsCreateOrUpdateFuture ¶
type WorkloadGroupsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(WorkloadGroupsClient) (WorkloadGroup, error) }
WorkloadGroupsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*WorkloadGroupsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *WorkloadGroupsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type WorkloadGroupsDeleteFuture ¶
type WorkloadGroupsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(WorkloadGroupsClient) (autorest.Response, error) }
WorkloadGroupsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*WorkloadGroupsDeleteFuture) UnmarshalJSON ¶
func (future *WorkloadGroupsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
Source Files ¶
- agent.go
- backupshorttermretentionpolicies.go
- capabilities.go
- client.go
- databaseadvisors.go
- databaseautomatictuning.go
- databaseblobauditingpolicies.go
- databasecolumns.go
- databaseextensions.go
- databaseoperations.go
- databaserecommendedactions.go
- databases.go
- databaseschemas.go
- databasesecurityalertpolicies.go
- databasetables.go
- databaseusages.go
- databasevulnerabilityassessmentrulebaselines.go
- databasevulnerabilityassessments.go
- databasevulnerabilityassessmentscans.go
- datamaskingpolicies.go
- datamaskingrules.go
- datawarehouseuseractivities.go
- deletedservers.go
- elasticpoolactivities.go
- elasticpooldatabaseactivities.go
- elasticpooloperations.go
- elasticpools.go
- encryptionprotectors.go
- enums.go
- extendeddatabaseblobauditingpolicies.go
- extendedserverblobauditingpolicies.go
- failovergroups.go
- firewallrules.go
- geobackuppolicies.go
- instancefailovergroups.go
- instancepools.go
- jobagents.go
- jobcredentials.go
- jobexecutions.go
- jobs.go
- jobstepexecutions.go
- jobsteps.go
- jobtargetexecutions.go
- jobtargetgroups.go
- jobversions.go
- ledgerdigestuploads.go
- longtermretentionbackups.go
- longtermretentionmanagedinstancebackups.go
- longtermretentionpolicies.go
- maintenancewindowoptions.go
- maintenancewindows.go
- managedbackupshorttermretentionpolicies.go
- manageddatabasecolumns.go
- manageddatabasequeries.go
- manageddatabaserecommendedsensitivitylabels.go
- manageddatabaserestoredetails.go
- manageddatabases.go
- manageddatabaseschemas.go
- manageddatabasesecurityalertpolicies.go
- manageddatabasesecurityevents.go
- manageddatabasesensitivitylabels.go
- manageddatabasetables.go
- manageddatabasetransparentdataencryption.go
- manageddatabasevulnerabilityassessmentrulebaselines.go
- manageddatabasevulnerabilityassessments.go
- manageddatabasevulnerabilityassessmentscans.go
- managedinstanceadministrators.go
- managedinstanceazureadonlyauthentications.go
- managedinstanceencryptionprotectors.go
- managedinstancekeys.go
- managedinstancelongtermretentionpolicies.go
- managedinstanceoperations.go
- managedinstanceprivateendpointconnections.go
- managedinstanceprivatelinkresources.go
- managedinstances.go
- managedinstancetdecertificates.go
- managedinstancevulnerabilityassessments.go
- managedrestorabledroppeddatabasebackupshorttermretentionpolicies.go
- managedserversecurityalertpolicies.go
- models.go
- operations.go
- operationshealth.go
- outboundfirewallrules.go
- privateendpointconnections.go
- privatelinkresources.go
- recommendedsensitivitylabels.go
- recoverabledatabases.go
- recoverablemanageddatabases.go
- replicationlinks.go
- restorabledroppeddatabases.go
- restorabledroppedmanageddatabases.go
- restorepoints.go
- sensitivitylabels.go
- serveradvisors.go
- serverautomatictuning.go
- serverazureadadministrators.go
- serverazureadonlyauthentications.go
- serverblobauditingpolicies.go
- servercommunicationlinks.go
- serverconnectionpolicies.go
- serverdevopsauditsettings.go
- serverdnsaliases.go
- serverkeys.go
- serveroperations.go
- servers.go
- serversecurityalertpolicies.go
- servertrustgroups.go
- serverusages.go
- servervulnerabilityassessments.go
- serviceobjectives.go
- subscriptionusages.go
- syncagents.go
- syncgroups.go
- syncmembers.go
- tdecertificates.go
- timezones.go
- transparentdataencryptionactivities.go
- transparentdataencryptions.go
- usages.go
- version.go
- virtualclusters.go
- virtualnetworkrules.go
- workloadclassifiers.go
- workloadgroups.go