Documentation ¶
Index ¶
- func PossibleValuesForAlwaysEncryptedEnclaveType() []string
- func PossibleValuesForAvailabilityZoneType() []string
- func PossibleValuesForBackupStorageRedundancy() []string
- func PossibleValuesForCatalogCollationType() []string
- func PossibleValuesForCreateMode() []string
- func PossibleValuesForDatabaseKeyType() []string
- func PossibleValuesForDatabaseLicenseType() []string
- func PossibleValuesForDatabaseReadScale() []string
- func PossibleValuesForDatabaseStatus() []string
- func PossibleValuesForFreeLimitExhaustionBehavior() []string
- func PossibleValuesForReplicaType() []string
- func PossibleValuesForSampleName() []string
- func PossibleValuesForSecondaryType() []string
- func PossibleValuesForStorageKeyType() []string
- type AlwaysEncryptedEnclaveType
- type AvailabilityZoneType
- type BackupStorageRedundancy
- type CatalogCollationType
- type CreateMode
- type CreateOrUpdateOperationResponse
- type Database
- type DatabaseKey
- type DatabaseKeyType
- type DatabaseLicenseType
- type DatabaseOperationPredicate
- type DatabaseProperties
- func (o *DatabaseProperties) GetCreationDateAsTime() (*time.Time, error)
- func (o *DatabaseProperties) GetEarliestRestoreDateAsTime() (*time.Time, error)
- func (o *DatabaseProperties) GetPausedDateAsTime() (*time.Time, error)
- func (o *DatabaseProperties) GetRestorePointInTimeAsTime() (*time.Time, error)
- func (o *DatabaseProperties) GetResumedDateAsTime() (*time.Time, error)
- func (o *DatabaseProperties) GetSourceDatabaseDeletionDateAsTime() (*time.Time, error)
- func (o *DatabaseProperties) SetCreationDateAsTime(input time.Time)
- func (o *DatabaseProperties) SetEarliestRestoreDateAsTime(input time.Time)
- func (o *DatabaseProperties) SetPausedDateAsTime(input time.Time)
- func (o *DatabaseProperties) SetRestorePointInTimeAsTime(input time.Time)
- func (o *DatabaseProperties) SetResumedDateAsTime(input time.Time)
- func (o *DatabaseProperties) SetSourceDatabaseDeletionDateAsTime(input time.Time)
- type DatabaseReadScale
- type DatabaseStatus
- type DatabaseUpdate
- type DatabaseUpdateProperties
- func (o *DatabaseUpdateProperties) GetCreationDateAsTime() (*time.Time, error)
- func (o *DatabaseUpdateProperties) GetEarliestRestoreDateAsTime() (*time.Time, error)
- func (o *DatabaseUpdateProperties) GetPausedDateAsTime() (*time.Time, error)
- func (o *DatabaseUpdateProperties) GetRestorePointInTimeAsTime() (*time.Time, error)
- func (o *DatabaseUpdateProperties) GetResumedDateAsTime() (*time.Time, error)
- func (o *DatabaseUpdateProperties) GetSourceDatabaseDeletionDateAsTime() (*time.Time, error)
- func (o *DatabaseUpdateProperties) SetCreationDateAsTime(input time.Time)
- func (o *DatabaseUpdateProperties) SetEarliestRestoreDateAsTime(input time.Time)
- func (o *DatabaseUpdateProperties) SetPausedDateAsTime(input time.Time)
- func (o *DatabaseUpdateProperties) SetRestorePointInTimeAsTime(input time.Time)
- func (o *DatabaseUpdateProperties) SetResumedDateAsTime(input time.Time)
- func (o *DatabaseUpdateProperties) SetSourceDatabaseDeletionDateAsTime(input time.Time)
- type DatabasesClient
- func (c DatabasesClient) CreateOrUpdate(ctx context.Context, id commonids.SqlDatabaseId, input Database) (result CreateOrUpdateOperationResponse, err error)
- func (c DatabasesClient) CreateOrUpdateThenPoll(ctx context.Context, id commonids.SqlDatabaseId, input Database) error
- func (c DatabasesClient) Delete(ctx context.Context, id commonids.SqlDatabaseId) (result DeleteOperationResponse, err error)
- func (c DatabasesClient) DeleteThenPoll(ctx context.Context, id commonids.SqlDatabaseId) error
- func (c DatabasesClient) Export(ctx context.Context, id commonids.SqlDatabaseId, ...) (result ExportOperationResponse, err error)
- func (c DatabasesClient) ExportThenPoll(ctx context.Context, id commonids.SqlDatabaseId, ...) error
- func (c DatabasesClient) Failover(ctx context.Context, id commonids.SqlDatabaseId, ...) (result FailoverOperationResponse, err error)
- func (c DatabasesClient) FailoverThenPoll(ctx context.Context, id commonids.SqlDatabaseId, ...) error
- func (c DatabasesClient) Get(ctx context.Context, id commonids.SqlDatabaseId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c DatabasesClient) Import(ctx context.Context, id commonids.SqlDatabaseId, ...) (result ImportOperationResponse, err error)
- func (c DatabasesClient) ImportThenPoll(ctx context.Context, id commonids.SqlDatabaseId, ...) error
- func (c DatabasesClient) ListByElasticPool(ctx context.Context, id commonids.SqlElasticPoolId) (result ListByElasticPoolOperationResponse, err error)
- func (c DatabasesClient) ListByElasticPoolComplete(ctx context.Context, id commonids.SqlElasticPoolId) (ListByElasticPoolCompleteResult, error)
- func (c DatabasesClient) ListByElasticPoolCompleteMatchingPredicate(ctx context.Context, id commonids.SqlElasticPoolId, ...) (result ListByElasticPoolCompleteResult, err error)
- func (c DatabasesClient) ListByServer(ctx context.Context, id commonids.SqlServerId) (result ListByServerOperationResponse, err error)
- func (c DatabasesClient) ListByServerComplete(ctx context.Context, id commonids.SqlServerId) (ListByServerCompleteResult, error)
- func (c DatabasesClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id commonids.SqlServerId, ...) (result ListByServerCompleteResult, err error)
- func (c DatabasesClient) ListInaccessibleByServer(ctx context.Context, id commonids.SqlServerId) (result ListInaccessibleByServerOperationResponse, err error)
- func (c DatabasesClient) ListInaccessibleByServerComplete(ctx context.Context, id commonids.SqlServerId) (ListInaccessibleByServerCompleteResult, error)
- func (c DatabasesClient) ListInaccessibleByServerCompleteMatchingPredicate(ctx context.Context, id commonids.SqlServerId, ...) (result ListInaccessibleByServerCompleteResult, err error)
- func (c DatabasesClient) Pause(ctx context.Context, id commonids.SqlDatabaseId) (result PauseOperationResponse, err error)
- func (c DatabasesClient) PauseThenPoll(ctx context.Context, id commonids.SqlDatabaseId) error
- func (c DatabasesClient) Rename(ctx context.Context, id commonids.SqlDatabaseId, input ResourceMoveDefinition) (result RenameOperationResponse, err error)
- func (c DatabasesClient) Resume(ctx context.Context, id commonids.SqlDatabaseId) (result ResumeOperationResponse, err error)
- func (c DatabasesClient) ResumeThenPoll(ctx context.Context, id commonids.SqlDatabaseId) error
- func (c DatabasesClient) Update(ctx context.Context, id commonids.SqlDatabaseId, input DatabaseUpdate) (result UpdateOperationResponse, err error)
- func (c DatabasesClient) UpdateThenPoll(ctx context.Context, id commonids.SqlDatabaseId, input DatabaseUpdate) error
- func (c DatabasesClient) UpgradeDataWarehouse(ctx context.Context, id commonids.SqlDatabaseId) (result UpgradeDataWarehouseOperationResponse, err error)
- func (c DatabasesClient) UpgradeDataWarehouseThenPoll(ctx context.Context, id commonids.SqlDatabaseId) error
- type DeleteOperationResponse
- type ExportDatabaseDefinition
- type ExportOperationResponse
- type FailoverOperationOptions
- type FailoverOperationResponse
- type FreeLimitExhaustionBehavior
- type GetOperationOptions
- type GetOperationResponse
- type ImportExistingDatabaseDefinition
- type ImportExportOperationResult
- type ImportExportOperationResultProperties
- type ImportOperationResponse
- type ListByElasticPoolCompleteResult
- type ListByElasticPoolOperationResponse
- type ListByServerCompleteResult
- type ListByServerOperationResponse
- type ListInaccessibleByServerCompleteResult
- type ListInaccessibleByServerOperationResponse
- type NetworkIsolationSettings
- type PauseOperationResponse
- type PrivateEndpointConnectionRequestStatus
- type RenameOperationResponse
- type ReplicaType
- type ResourceMoveDefinition
- type ResumeOperationResponse
- type SampleName
- type SecondaryType
- type Sku
- type StorageKeyType
- type UpdateOperationResponse
- type UpgradeDataWarehouseOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAlwaysEncryptedEnclaveType ¶
func PossibleValuesForAlwaysEncryptedEnclaveType() []string
func PossibleValuesForAvailabilityZoneType ¶
func PossibleValuesForAvailabilityZoneType() []string
func PossibleValuesForBackupStorageRedundancy ¶
func PossibleValuesForBackupStorageRedundancy() []string
func PossibleValuesForCatalogCollationType ¶
func PossibleValuesForCatalogCollationType() []string
func PossibleValuesForCreateMode ¶
func PossibleValuesForCreateMode() []string
func PossibleValuesForDatabaseKeyType ¶
func PossibleValuesForDatabaseKeyType() []string
func PossibleValuesForDatabaseLicenseType ¶
func PossibleValuesForDatabaseLicenseType() []string
func PossibleValuesForDatabaseReadScale ¶
func PossibleValuesForDatabaseReadScale() []string
func PossibleValuesForDatabaseStatus ¶
func PossibleValuesForDatabaseStatus() []string
func PossibleValuesForFreeLimitExhaustionBehavior ¶
func PossibleValuesForFreeLimitExhaustionBehavior() []string
func PossibleValuesForReplicaType ¶
func PossibleValuesForReplicaType() []string
func PossibleValuesForSampleName ¶
func PossibleValuesForSampleName() []string
func PossibleValuesForSecondaryType ¶
func PossibleValuesForSecondaryType() []string
func PossibleValuesForStorageKeyType ¶
func PossibleValuesForStorageKeyType() []string
Types ¶
type AlwaysEncryptedEnclaveType ¶
type AlwaysEncryptedEnclaveType string
const ( AlwaysEncryptedEnclaveTypeDefault AlwaysEncryptedEnclaveType = "Default" AlwaysEncryptedEnclaveTypeVBS AlwaysEncryptedEnclaveType = "VBS" )
func (*AlwaysEncryptedEnclaveType) UnmarshalJSON ¶
func (s *AlwaysEncryptedEnclaveType) UnmarshalJSON(bytes []byte) error
type AvailabilityZoneType ¶
type AvailabilityZoneType string
const ( AvailabilityZoneTypeNoPreference AvailabilityZoneType = "NoPreference" AvailabilityZoneTypeOne AvailabilityZoneType = "1" AvailabilityZoneTypeThree AvailabilityZoneType = "3" AvailabilityZoneTypeTwo AvailabilityZoneType = "2" )
func (*AvailabilityZoneType) UnmarshalJSON ¶
func (s *AvailabilityZoneType) UnmarshalJSON(bytes []byte) error
type BackupStorageRedundancy ¶
type BackupStorageRedundancy string
const ( BackupStorageRedundancyGeo BackupStorageRedundancy = "Geo" BackupStorageRedundancyGeoZone BackupStorageRedundancy = "GeoZone" BackupStorageRedundancyLocal BackupStorageRedundancy = "Local" BackupStorageRedundancyZone BackupStorageRedundancy = "Zone" )
func (*BackupStorageRedundancy) UnmarshalJSON ¶
func (s *BackupStorageRedundancy) UnmarshalJSON(bytes []byte) error
type CatalogCollationType ¶
type CatalogCollationType string
const ( CatalogCollationTypeDATABASEDEFAULT CatalogCollationType = "DATABASE_DEFAULT" CatalogCollationTypeSQLLatinOneGeneralCPOneCIAS CatalogCollationType = "SQL_Latin1_General_CP1_CI_AS" )
func (*CatalogCollationType) UnmarshalJSON ¶
func (s *CatalogCollationType) UnmarshalJSON(bytes []byte) error
type CreateMode ¶
type CreateMode string
const ( CreateModeCopy CreateMode = "Copy" CreateModeDefault CreateMode = "Default" CreateModeOnlineSecondary CreateMode = "OnlineSecondary" CreateModePointInTimeRestore CreateMode = "PointInTimeRestore" CreateModeRecovery CreateMode = "Recovery" CreateModeRestore CreateMode = "Restore" CreateModeRestoreExternalBackup CreateMode = "RestoreExternalBackup" CreateModeRestoreExternalBackupSecondary CreateMode = "RestoreExternalBackupSecondary" CreateModeRestoreLongTermRetentionBackup CreateMode = "RestoreLongTermRetentionBackup" CreateModeSecondary CreateMode = "Secondary" )
func (*CreateMode) UnmarshalJSON ¶
func (s *CreateMode) UnmarshalJSON(bytes []byte) error
type Database ¶
type Database struct { Id *string `json:"id,omitempty"` Identity *identity.UserAssignedMap `json:"identity,omitempty"` Kind *string `json:"kind,omitempty"` Location string `json:"location"` ManagedBy *string `json:"managedBy,omitempty"` Name *string `json:"name,omitempty"` Properties *DatabaseProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type DatabaseKey ¶
type DatabaseKey struct { CreationDate *string `json:"creationDate,omitempty"` Subregion *string `json:"subregion,omitempty"` Thumbprint *string `json:"thumbprint,omitempty"` Type *DatabaseKeyType `json:"type,omitempty"` }
func (*DatabaseKey) GetCreationDateAsTime ¶
func (o *DatabaseKey) GetCreationDateAsTime() (*time.Time, error)
func (*DatabaseKey) SetCreationDateAsTime ¶
func (o *DatabaseKey) SetCreationDateAsTime(input time.Time)
type DatabaseKeyType ¶
type DatabaseKeyType string
const (
DatabaseKeyTypeAzureKeyVault DatabaseKeyType = "AzureKeyVault"
)
func (*DatabaseKeyType) UnmarshalJSON ¶
func (s *DatabaseKeyType) UnmarshalJSON(bytes []byte) error
type DatabaseLicenseType ¶
type DatabaseLicenseType string
const ( DatabaseLicenseTypeBasePrice DatabaseLicenseType = "BasePrice" DatabaseLicenseTypeLicenseIncluded DatabaseLicenseType = "LicenseIncluded" )
func (*DatabaseLicenseType) UnmarshalJSON ¶
func (s *DatabaseLicenseType) UnmarshalJSON(bytes []byte) error
type DatabaseOperationPredicate ¶
type DatabaseOperationPredicate struct { Id *string Kind *string Location *string ManagedBy *string Name *string Type *string }
func (DatabaseOperationPredicate) Matches ¶
func (p DatabaseOperationPredicate) Matches(input Database) bool
type DatabaseProperties ¶
type DatabaseProperties struct { AutoPauseDelay *int64 `json:"autoPauseDelay,omitempty"` AvailabilityZone *AvailabilityZoneType `json:"availabilityZone,omitempty"` CatalogCollation *CatalogCollationType `json:"catalogCollation,omitempty"` Collation *string `json:"collation,omitempty"` CreateMode *CreateMode `json:"createMode,omitempty"` CreationDate *string `json:"creationDate,omitempty"` CurrentBackupStorageRedundancy *BackupStorageRedundancy `json:"currentBackupStorageRedundancy,omitempty"` CurrentServiceObjectiveName *string `json:"currentServiceObjectiveName,omitempty"` CurrentSku *Sku `json:"currentSku,omitempty"` DatabaseId *string `json:"databaseId,omitempty"` DefaultSecondaryLocation *string `json:"defaultSecondaryLocation,omitempty"` EarliestRestoreDate *string `json:"earliestRestoreDate,omitempty"` ElasticPoolId *string `json:"elasticPoolId,omitempty"` EncryptionProtector *string `json:"encryptionProtector,omitempty"` EncryptionProtectorAutoRotation *bool `json:"encryptionProtectorAutoRotation,omitempty"` FailoverGroupId *string `json:"failoverGroupId,omitempty"` FederatedClientId *string `json:"federatedClientId,omitempty"` FreeLimitExhaustionBehavior *FreeLimitExhaustionBehavior `json:"freeLimitExhaustionBehavior,omitempty"` HighAvailabilityReplicaCount *int64 `json:"highAvailabilityReplicaCount,omitempty"` IsInfraEncryptionEnabled *bool `json:"isInfraEncryptionEnabled,omitempty"` IsLedgerOn *bool `json:"isLedgerOn,omitempty"` Keys *map[string]DatabaseKey `json:"keys,omitempty"` LicenseType *DatabaseLicenseType `json:"licenseType,omitempty"` LongTermRetentionBackupResourceId *string `json:"longTermRetentionBackupResourceId,omitempty"` MaintenanceConfigurationId *string `json:"maintenanceConfigurationId,omitempty"` ManualCutover *bool `json:"manualCutover,omitempty"` MaxLogSizeBytes *int64 `json:"maxLogSizeBytes,omitempty"` MaxSizeBytes *int64 `json:"maxSizeBytes,omitempty"` MinCapacity *float64 `json:"minCapacity,omitempty"` PausedDate *string `json:"pausedDate,omitempty"` PerformCutover *bool `json:"performCutover,omitempty"` PreferredEnclaveType *AlwaysEncryptedEnclaveType `json:"preferredEnclaveType,omitempty"` ReadScale *DatabaseReadScale `json:"readScale,omitempty"` RecoverableDatabaseId *string `json:"recoverableDatabaseId,omitempty"` RecoveryServicesRecoveryPointId *string `json:"recoveryServicesRecoveryPointId,omitempty"` RequestedBackupStorageRedundancy *BackupStorageRedundancy `json:"requestedBackupStorageRedundancy,omitempty"` RequestedServiceObjectiveName *string `json:"requestedServiceObjectiveName,omitempty"` RestorableDroppedDatabaseId *string `json:"restorableDroppedDatabaseId,omitempty"` RestorePointInTime *string `json:"restorePointInTime,omitempty"` ResumedDate *string `json:"resumedDate,omitempty"` SampleName *SampleName `json:"sampleName,omitempty"` SecondaryType *SecondaryType `json:"secondaryType,omitempty"` SourceDatabaseDeletionDate *string `json:"sourceDatabaseDeletionDate,omitempty"` SourceDatabaseId *string `json:"sourceDatabaseId,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` Status *DatabaseStatus `json:"status,omitempty"` UseFreeLimit *bool `json:"useFreeLimit,omitempty"` ZoneRedundant *bool `json:"zoneRedundant,omitempty"` }
func (*DatabaseProperties) GetCreationDateAsTime ¶
func (o *DatabaseProperties) GetCreationDateAsTime() (*time.Time, error)
func (*DatabaseProperties) GetEarliestRestoreDateAsTime ¶
func (o *DatabaseProperties) GetEarliestRestoreDateAsTime() (*time.Time, error)
func (*DatabaseProperties) GetPausedDateAsTime ¶
func (o *DatabaseProperties) GetPausedDateAsTime() (*time.Time, error)
func (*DatabaseProperties) GetRestorePointInTimeAsTime ¶
func (o *DatabaseProperties) GetRestorePointInTimeAsTime() (*time.Time, error)
func (*DatabaseProperties) GetResumedDateAsTime ¶
func (o *DatabaseProperties) GetResumedDateAsTime() (*time.Time, error)
func (*DatabaseProperties) GetSourceDatabaseDeletionDateAsTime ¶
func (o *DatabaseProperties) GetSourceDatabaseDeletionDateAsTime() (*time.Time, error)
func (*DatabaseProperties) SetCreationDateAsTime ¶
func (o *DatabaseProperties) SetCreationDateAsTime(input time.Time)
func (*DatabaseProperties) SetEarliestRestoreDateAsTime ¶
func (o *DatabaseProperties) SetEarliestRestoreDateAsTime(input time.Time)
func (*DatabaseProperties) SetPausedDateAsTime ¶
func (o *DatabaseProperties) SetPausedDateAsTime(input time.Time)
func (*DatabaseProperties) SetRestorePointInTimeAsTime ¶
func (o *DatabaseProperties) SetRestorePointInTimeAsTime(input time.Time)
func (*DatabaseProperties) SetResumedDateAsTime ¶
func (o *DatabaseProperties) SetResumedDateAsTime(input time.Time)
func (*DatabaseProperties) SetSourceDatabaseDeletionDateAsTime ¶
func (o *DatabaseProperties) SetSourceDatabaseDeletionDateAsTime(input time.Time)
type DatabaseReadScale ¶
type DatabaseReadScale string
const ( DatabaseReadScaleDisabled DatabaseReadScale = "Disabled" DatabaseReadScaleEnabled DatabaseReadScale = "Enabled" )
func (*DatabaseReadScale) UnmarshalJSON ¶
func (s *DatabaseReadScale) UnmarshalJSON(bytes []byte) error
type DatabaseStatus ¶
type DatabaseStatus string
const ( DatabaseStatusAutoClosed DatabaseStatus = "AutoClosed" DatabaseStatusCopying DatabaseStatus = "Copying" DatabaseStatusCreating DatabaseStatus = "Creating" DatabaseStatusDisabled DatabaseStatus = "Disabled" DatabaseStatusEmergencyMode DatabaseStatus = "EmergencyMode" DatabaseStatusInaccessible DatabaseStatus = "Inaccessible" DatabaseStatusOffline DatabaseStatus = "Offline" DatabaseStatusOfflineChangingDwPerformanceTiers DatabaseStatus = "OfflineChangingDwPerformanceTiers" DatabaseStatusOfflineSecondary DatabaseStatus = "OfflineSecondary" DatabaseStatusOnline DatabaseStatus = "Online" DatabaseStatusOnlineChangingDwPerformanceTiers DatabaseStatus = "OnlineChangingDwPerformanceTiers" DatabaseStatusPaused DatabaseStatus = "Paused" DatabaseStatusPausing DatabaseStatus = "Pausing" DatabaseStatusRecovering DatabaseStatus = "Recovering" DatabaseStatusRecoveryPending DatabaseStatus = "RecoveryPending" DatabaseStatusRestoring DatabaseStatus = "Restoring" DatabaseStatusResuming DatabaseStatus = "Resuming" DatabaseStatusScaling DatabaseStatus = "Scaling" DatabaseStatusShutdown DatabaseStatus = "Shutdown" DatabaseStatusStandby DatabaseStatus = "Standby" DatabaseStatusStarting DatabaseStatus = "Starting" DatabaseStatusStopped DatabaseStatus = "Stopped" DatabaseStatusStopping DatabaseStatus = "Stopping" DatabaseStatusSuspect DatabaseStatus = "Suspect" )
func (*DatabaseStatus) UnmarshalJSON ¶
func (s *DatabaseStatus) UnmarshalJSON(bytes []byte) error
type DatabaseUpdate ¶
type DatabaseUpdate struct { Identity *identity.UserAssignedMap `json:"identity,omitempty"` Properties *DatabaseUpdateProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type DatabaseUpdateProperties ¶
type DatabaseUpdateProperties struct { AutoPauseDelay *int64 `json:"autoPauseDelay,omitempty"` CatalogCollation *CatalogCollationType `json:"catalogCollation,omitempty"` Collation *string `json:"collation,omitempty"` CreateMode *CreateMode `json:"createMode,omitempty"` CreationDate *string `json:"creationDate,omitempty"` CurrentBackupStorageRedundancy *BackupStorageRedundancy `json:"currentBackupStorageRedundancy,omitempty"` CurrentServiceObjectiveName *string `json:"currentServiceObjectiveName,omitempty"` CurrentSku *Sku `json:"currentSku,omitempty"` DatabaseId *string `json:"databaseId,omitempty"` DefaultSecondaryLocation *string `json:"defaultSecondaryLocation,omitempty"` EarliestRestoreDate *string `json:"earliestRestoreDate,omitempty"` ElasticPoolId *string `json:"elasticPoolId,omitempty"` EncryptionProtector *string `json:"encryptionProtector,omitempty"` EncryptionProtectorAutoRotation *bool `json:"encryptionProtectorAutoRotation,omitempty"` FailoverGroupId *string `json:"failoverGroupId,omitempty"` FederatedClientId *string `json:"federatedClientId,omitempty"` FreeLimitExhaustionBehavior *FreeLimitExhaustionBehavior `json:"freeLimitExhaustionBehavior,omitempty"` HighAvailabilityReplicaCount *int64 `json:"highAvailabilityReplicaCount,omitempty"` IsInfraEncryptionEnabled *bool `json:"isInfraEncryptionEnabled,omitempty"` IsLedgerOn *bool `json:"isLedgerOn,omitempty"` Keys *map[string]DatabaseKey `json:"keys,omitempty"` LicenseType *DatabaseLicenseType `json:"licenseType,omitempty"` LongTermRetentionBackupResourceId *string `json:"longTermRetentionBackupResourceId,omitempty"` MaintenanceConfigurationId *string `json:"maintenanceConfigurationId,omitempty"` ManualCutover *bool `json:"manualCutover,omitempty"` MaxLogSizeBytes *int64 `json:"maxLogSizeBytes,omitempty"` MaxSizeBytes *int64 `json:"maxSizeBytes,omitempty"` MinCapacity *float64 `json:"minCapacity,omitempty"` PausedDate *string `json:"pausedDate,omitempty"` PerformCutover *bool `json:"performCutover,omitempty"` PreferredEnclaveType *AlwaysEncryptedEnclaveType `json:"preferredEnclaveType,omitempty"` ReadScale *DatabaseReadScale `json:"readScale,omitempty"` RecoverableDatabaseId *string `json:"recoverableDatabaseId,omitempty"` RecoveryServicesRecoveryPointId *string `json:"recoveryServicesRecoveryPointId,omitempty"` RequestedBackupStorageRedundancy *BackupStorageRedundancy `json:"requestedBackupStorageRedundancy,omitempty"` RequestedServiceObjectiveName *string `json:"requestedServiceObjectiveName,omitempty"` RestorableDroppedDatabaseId *string `json:"restorableDroppedDatabaseId,omitempty"` RestorePointInTime *string `json:"restorePointInTime,omitempty"` ResumedDate *string `json:"resumedDate,omitempty"` SampleName *SampleName `json:"sampleName,omitempty"` SecondaryType *SecondaryType `json:"secondaryType,omitempty"` SourceDatabaseDeletionDate *string `json:"sourceDatabaseDeletionDate,omitempty"` SourceDatabaseId *string `json:"sourceDatabaseId,omitempty"` Status *DatabaseStatus `json:"status,omitempty"` UseFreeLimit *bool `json:"useFreeLimit,omitempty"` ZoneRedundant *bool `json:"zoneRedundant,omitempty"` }
func (*DatabaseUpdateProperties) GetCreationDateAsTime ¶
func (o *DatabaseUpdateProperties) GetCreationDateAsTime() (*time.Time, error)
func (*DatabaseUpdateProperties) GetEarliestRestoreDateAsTime ¶
func (o *DatabaseUpdateProperties) GetEarliestRestoreDateAsTime() (*time.Time, error)
func (*DatabaseUpdateProperties) GetPausedDateAsTime ¶
func (o *DatabaseUpdateProperties) GetPausedDateAsTime() (*time.Time, error)
func (*DatabaseUpdateProperties) GetRestorePointInTimeAsTime ¶
func (o *DatabaseUpdateProperties) GetRestorePointInTimeAsTime() (*time.Time, error)
func (*DatabaseUpdateProperties) GetResumedDateAsTime ¶
func (o *DatabaseUpdateProperties) GetResumedDateAsTime() (*time.Time, error)
func (*DatabaseUpdateProperties) GetSourceDatabaseDeletionDateAsTime ¶
func (o *DatabaseUpdateProperties) GetSourceDatabaseDeletionDateAsTime() (*time.Time, error)
func (*DatabaseUpdateProperties) SetCreationDateAsTime ¶
func (o *DatabaseUpdateProperties) SetCreationDateAsTime(input time.Time)
func (*DatabaseUpdateProperties) SetEarliestRestoreDateAsTime ¶
func (o *DatabaseUpdateProperties) SetEarliestRestoreDateAsTime(input time.Time)
func (*DatabaseUpdateProperties) SetPausedDateAsTime ¶
func (o *DatabaseUpdateProperties) SetPausedDateAsTime(input time.Time)
func (*DatabaseUpdateProperties) SetRestorePointInTimeAsTime ¶
func (o *DatabaseUpdateProperties) SetRestorePointInTimeAsTime(input time.Time)
func (*DatabaseUpdateProperties) SetResumedDateAsTime ¶
func (o *DatabaseUpdateProperties) SetResumedDateAsTime(input time.Time)
func (*DatabaseUpdateProperties) SetSourceDatabaseDeletionDateAsTime ¶
func (o *DatabaseUpdateProperties) SetSourceDatabaseDeletionDateAsTime(input time.Time)
type DatabasesClient ¶
type DatabasesClient struct {
Client *resourcemanager.Client
}
func NewDatabasesClientWithBaseURI ¶
func NewDatabasesClientWithBaseURI(sdkApi sdkEnv.Api) (*DatabasesClient, error)
func (DatabasesClient) CreateOrUpdate ¶
func (c DatabasesClient) CreateOrUpdate(ctx context.Context, id commonids.SqlDatabaseId, input Database) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DatabasesClient) CreateOrUpdateThenPoll ¶
func (c DatabasesClient) CreateOrUpdateThenPoll(ctx context.Context, id commonids.SqlDatabaseId, input Database) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (DatabasesClient) Delete ¶
func (c DatabasesClient) Delete(ctx context.Context, id commonids.SqlDatabaseId) (result DeleteOperationResponse, err error)
Delete ...
func (DatabasesClient) DeleteThenPoll ¶
func (c DatabasesClient) DeleteThenPoll(ctx context.Context, id commonids.SqlDatabaseId) error
DeleteThenPoll performs Delete then polls until it's completed
func (DatabasesClient) Export ¶
func (c DatabasesClient) Export(ctx context.Context, id commonids.SqlDatabaseId, input ExportDatabaseDefinition) (result ExportOperationResponse, err error)
Export ...
func (DatabasesClient) ExportThenPoll ¶
func (c DatabasesClient) ExportThenPoll(ctx context.Context, id commonids.SqlDatabaseId, input ExportDatabaseDefinition) error
ExportThenPoll performs Export then polls until it's completed
func (DatabasesClient) Failover ¶
func (c DatabasesClient) Failover(ctx context.Context, id commonids.SqlDatabaseId, options FailoverOperationOptions) (result FailoverOperationResponse, err error)
Failover ...
func (DatabasesClient) FailoverThenPoll ¶
func (c DatabasesClient) FailoverThenPoll(ctx context.Context, id commonids.SqlDatabaseId, options FailoverOperationOptions) error
FailoverThenPoll performs Failover then polls until it's completed
func (DatabasesClient) Get ¶
func (c DatabasesClient) Get(ctx context.Context, id commonids.SqlDatabaseId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (DatabasesClient) Import ¶
func (c DatabasesClient) Import(ctx context.Context, id commonids.SqlDatabaseId, input ImportExistingDatabaseDefinition) (result ImportOperationResponse, err error)
Import ...
func (DatabasesClient) ImportThenPoll ¶
func (c DatabasesClient) ImportThenPoll(ctx context.Context, id commonids.SqlDatabaseId, input ImportExistingDatabaseDefinition) error
ImportThenPoll performs Import then polls until it's completed
func (DatabasesClient) ListByElasticPool ¶
func (c DatabasesClient) ListByElasticPool(ctx context.Context, id commonids.SqlElasticPoolId) (result ListByElasticPoolOperationResponse, err error)
ListByElasticPool ...
func (DatabasesClient) ListByElasticPoolComplete ¶
func (c DatabasesClient) ListByElasticPoolComplete(ctx context.Context, id commonids.SqlElasticPoolId) (ListByElasticPoolCompleteResult, error)
ListByElasticPoolComplete retrieves all the results into a single object
func (DatabasesClient) ListByElasticPoolCompleteMatchingPredicate ¶
func (c DatabasesClient) ListByElasticPoolCompleteMatchingPredicate(ctx context.Context, id commonids.SqlElasticPoolId, predicate DatabaseOperationPredicate) (result ListByElasticPoolCompleteResult, err error)
ListByElasticPoolCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DatabasesClient) ListByServer ¶
func (c DatabasesClient) ListByServer(ctx context.Context, id commonids.SqlServerId) (result ListByServerOperationResponse, err error)
ListByServer ...
func (DatabasesClient) ListByServerComplete ¶
func (c DatabasesClient) ListByServerComplete(ctx context.Context, id commonids.SqlServerId) (ListByServerCompleteResult, error)
ListByServerComplete retrieves all the results into a single object
func (DatabasesClient) ListByServerCompleteMatchingPredicate ¶
func (c DatabasesClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id commonids.SqlServerId, predicate DatabaseOperationPredicate) (result ListByServerCompleteResult, err error)
ListByServerCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DatabasesClient) ListInaccessibleByServer ¶
func (c DatabasesClient) ListInaccessibleByServer(ctx context.Context, id commonids.SqlServerId) (result ListInaccessibleByServerOperationResponse, err error)
ListInaccessibleByServer ...
func (DatabasesClient) ListInaccessibleByServerComplete ¶
func (c DatabasesClient) ListInaccessibleByServerComplete(ctx context.Context, id commonids.SqlServerId) (ListInaccessibleByServerCompleteResult, error)
ListInaccessibleByServerComplete retrieves all the results into a single object
func (DatabasesClient) ListInaccessibleByServerCompleteMatchingPredicate ¶
func (c DatabasesClient) ListInaccessibleByServerCompleteMatchingPredicate(ctx context.Context, id commonids.SqlServerId, predicate DatabaseOperationPredicate) (result ListInaccessibleByServerCompleteResult, err error)
ListInaccessibleByServerCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DatabasesClient) Pause ¶
func (c DatabasesClient) Pause(ctx context.Context, id commonids.SqlDatabaseId) (result PauseOperationResponse, err error)
Pause ...
func (DatabasesClient) PauseThenPoll ¶
func (c DatabasesClient) PauseThenPoll(ctx context.Context, id commonids.SqlDatabaseId) error
PauseThenPoll performs Pause then polls until it's completed
func (DatabasesClient) Rename ¶
func (c DatabasesClient) Rename(ctx context.Context, id commonids.SqlDatabaseId, input ResourceMoveDefinition) (result RenameOperationResponse, err error)
Rename ...
func (DatabasesClient) Resume ¶
func (c DatabasesClient) Resume(ctx context.Context, id commonids.SqlDatabaseId) (result ResumeOperationResponse, err error)
Resume ...
func (DatabasesClient) ResumeThenPoll ¶
func (c DatabasesClient) ResumeThenPoll(ctx context.Context, id commonids.SqlDatabaseId) error
ResumeThenPoll performs Resume then polls until it's completed
func (DatabasesClient) Update ¶
func (c DatabasesClient) Update(ctx context.Context, id commonids.SqlDatabaseId, input DatabaseUpdate) (result UpdateOperationResponse, err error)
Update ...
func (DatabasesClient) UpdateThenPoll ¶
func (c DatabasesClient) UpdateThenPoll(ctx context.Context, id commonids.SqlDatabaseId, input DatabaseUpdate) error
UpdateThenPoll performs Update then polls until it's completed
func (DatabasesClient) UpgradeDataWarehouse ¶
func (c DatabasesClient) UpgradeDataWarehouse(ctx context.Context, id commonids.SqlDatabaseId) (result UpgradeDataWarehouseOperationResponse, err error)
UpgradeDataWarehouse ...
func (DatabasesClient) UpgradeDataWarehouseThenPoll ¶
func (c DatabasesClient) UpgradeDataWarehouseThenPoll(ctx context.Context, id commonids.SqlDatabaseId) error
UpgradeDataWarehouseThenPoll performs UpgradeDataWarehouse then polls until it's completed
type DeleteOperationResponse ¶
type ExportDatabaseDefinition ¶
type ExportDatabaseDefinition struct { AdministratorLogin string `json:"administratorLogin"` AdministratorLoginPassword string `json:"administratorLoginPassword"` AuthenticationType *string `json:"authenticationType,omitempty"` NetworkIsolation *NetworkIsolationSettings `json:"networkIsolation,omitempty"` StorageKey string `json:"storageKey"` StorageKeyType StorageKeyType `json:"storageKeyType"` StorageUri string `json:"storageUri"` }
type ExportOperationResponse ¶
type FailoverOperationOptions ¶
type FailoverOperationOptions struct {
ReplicaType *ReplicaType
}
func DefaultFailoverOperationOptions ¶
func DefaultFailoverOperationOptions() FailoverOperationOptions
func (FailoverOperationOptions) ToHeaders ¶
func (o FailoverOperationOptions) ToHeaders() *client.Headers
func (FailoverOperationOptions) ToOData ¶
func (o FailoverOperationOptions) ToOData() *odata.Query
func (FailoverOperationOptions) ToQuery ¶
func (o FailoverOperationOptions) ToQuery() *client.QueryParams
type FreeLimitExhaustionBehavior ¶
type FreeLimitExhaustionBehavior string
const ( FreeLimitExhaustionBehaviorAutoPause FreeLimitExhaustionBehavior = "AutoPause" FreeLimitExhaustionBehaviorBillOverUsage FreeLimitExhaustionBehavior = "BillOverUsage" )
func (*FreeLimitExhaustionBehavior) UnmarshalJSON ¶
func (s *FreeLimitExhaustionBehavior) UnmarshalJSON(bytes []byte) error
type GetOperationOptions ¶
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type ImportExistingDatabaseDefinition ¶
type ImportExistingDatabaseDefinition struct { AdministratorLogin string `json:"administratorLogin"` AdministratorLoginPassword string `json:"administratorLoginPassword"` AuthenticationType *string `json:"authenticationType,omitempty"` NetworkIsolation *NetworkIsolationSettings `json:"networkIsolation,omitempty"` StorageKey string `json:"storageKey"` StorageKeyType StorageKeyType `json:"storageKeyType"` StorageUri string `json:"storageUri"` }
type ImportExportOperationResult ¶
type ImportExportOperationResult struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ImportExportOperationResultProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ImportExportOperationResultProperties ¶
type ImportExportOperationResultProperties struct { BlobUri *string `json:"blobUri,omitempty"` DatabaseName *string `json:"databaseName,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` PrivateEndpointConnections *[]PrivateEndpointConnectionRequestStatus `json:"privateEndpointConnections,omitempty"` QueuedTime *string `json:"queuedTime,omitempty"` RequestId *string `json:"requestId,omitempty"` RequestType *string `json:"requestType,omitempty"` ServerName *string `json:"serverName,omitempty"` Status *string `json:"status,omitempty"` }
type ImportOperationResponse ¶
type PauseOperationResponse ¶
type RenameOperationResponse ¶
type ReplicaType ¶
type ReplicaType string
const ( ReplicaTypePrimary ReplicaType = "Primary" ReplicaTypeReadableSecondary ReplicaType = "ReadableSecondary" )
func (*ReplicaType) UnmarshalJSON ¶
func (s *ReplicaType) UnmarshalJSON(bytes []byte) error
type ResourceMoveDefinition ¶
type ResourceMoveDefinition struct {
Id string `json:"id"`
}
type ResumeOperationResponse ¶
type SampleName ¶
type SampleName string
const ( SampleNameAdventureWorksLT SampleName = "AdventureWorksLT" SampleNameWideWorldImportersFull SampleName = "WideWorldImportersFull" SampleNameWideWorldImportersStd SampleName = "WideWorldImportersStd" )
func (*SampleName) UnmarshalJSON ¶
func (s *SampleName) UnmarshalJSON(bytes []byte) error
type SecondaryType ¶
type SecondaryType string
const ( SecondaryTypeGeo SecondaryType = "Geo" SecondaryTypeNamed SecondaryType = "Named" SecondaryTypeStandby SecondaryType = "Standby" )
func (*SecondaryType) UnmarshalJSON ¶
func (s *SecondaryType) UnmarshalJSON(bytes []byte) error
type StorageKeyType ¶
type StorageKeyType string
const ( StorageKeyTypeStorageAccessKey StorageKeyType = "StorageAccessKey" )
func (*StorageKeyType) UnmarshalJSON ¶
func (s *StorageKeyType) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- method_createorupdate.go
- method_delete.go
- method_export.go
- method_failover.go
- method_get.go
- method_import.go
- method_listbyelasticpool.go
- method_listbyserver.go
- method_listinaccessiblebyserver.go
- method_pause.go
- method_rename.go
- method_resume.go
- method_update.go
- method_upgradedatawarehouse.go
- model_database.go
- model_databasekey.go
- model_databaseproperties.go
- model_databaseupdate.go
- model_databaseupdateproperties.go
- model_exportdatabasedefinition.go
- model_importexistingdatabasedefinition.go
- model_importexportoperationresult.go
- model_importexportoperationresultproperties.go
- model_networkisolationsettings.go
- model_privateendpointconnectionrequeststatus.go
- model_resourcemovedefinition.go
- model_sku.go
- predicates.go
- version.go