Documentation ¶
Index ¶
- func PossibleValuesForCatalogCollationType() []string
- func PossibleValuesForManagedDatabaseCreateMode() []string
- func PossibleValuesForManagedDatabaseStatus() []string
- func PossibleValuesForMoveOperationMode() []string
- type CancelMoveOperationResponse
- type CatalogCollationType
- type CompleteDatabaseRestoreDefinition
- type CompleteMoveOperationResponse
- type CompleteRestoreOperationResponse
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByInstanceCompleteResult
- type ListByInstanceOperationResponse
- type ListInaccessibleByInstanceCompleteResult
- type ListInaccessibleByInstanceOperationResponse
- type ManagedDatabase
- type ManagedDatabaseCreateMode
- type ManagedDatabaseMoveDefinition
- type ManagedDatabaseOperationPredicate
- type ManagedDatabaseProperties
- func (o *ManagedDatabaseProperties) GetCreationDateAsTime() (*time.Time, error)
- func (o *ManagedDatabaseProperties) GetEarliestRestorePointAsTime() (*time.Time, error)
- func (o *ManagedDatabaseProperties) GetRestorePointInTimeAsTime() (*time.Time, error)
- func (o *ManagedDatabaseProperties) SetCreationDateAsTime(input time.Time)
- func (o *ManagedDatabaseProperties) SetEarliestRestorePointAsTime(input time.Time)
- func (o *ManagedDatabaseProperties) SetRestorePointInTimeAsTime(input time.Time)
- type ManagedDatabaseStartMoveDefinition
- type ManagedDatabaseStatus
- type ManagedDatabaseUpdate
- type ManagedDatabasesClient
- func (c ManagedDatabasesClient) CancelMove(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, ...) (result CancelMoveOperationResponse, err error)
- func (c ManagedDatabasesClient) CancelMoveThenPoll(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, ...) error
- func (c ManagedDatabasesClient) CompleteMove(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, ...) (result CompleteMoveOperationResponse, err error)
- func (c ManagedDatabasesClient) CompleteMoveThenPoll(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, ...) error
- func (c ManagedDatabasesClient) CompleteRestore(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, ...) (result CompleteRestoreOperationResponse, err error)
- func (c ManagedDatabasesClient) CompleteRestoreThenPoll(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, ...) error
- func (c ManagedDatabasesClient) CreateOrUpdate(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c ManagedDatabasesClient) CreateOrUpdateThenPoll(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, ...) error
- func (c ManagedDatabasesClient) Delete(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId) (result DeleteOperationResponse, err error)
- func (c ManagedDatabasesClient) DeleteThenPoll(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId) error
- func (c ManagedDatabasesClient) Get(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId) (result GetOperationResponse, err error)
- func (c ManagedDatabasesClient) ListByInstance(ctx context.Context, id commonids.SqlManagedInstanceId) (result ListByInstanceOperationResponse, err error)
- func (c ManagedDatabasesClient) ListByInstanceComplete(ctx context.Context, id commonids.SqlManagedInstanceId) (ListByInstanceCompleteResult, error)
- func (c ManagedDatabasesClient) ListByInstanceCompleteMatchingPredicate(ctx context.Context, id commonids.SqlManagedInstanceId, ...) (result ListByInstanceCompleteResult, err error)
- func (c ManagedDatabasesClient) ListInaccessibleByInstance(ctx context.Context, id commonids.SqlManagedInstanceId) (result ListInaccessibleByInstanceOperationResponse, err error)
- func (c ManagedDatabasesClient) ListInaccessibleByInstanceComplete(ctx context.Context, id commonids.SqlManagedInstanceId) (ListInaccessibleByInstanceCompleteResult, error)
- func (c ManagedDatabasesClient) ListInaccessibleByInstanceCompleteMatchingPredicate(ctx context.Context, id commonids.SqlManagedInstanceId, ...) (result ListInaccessibleByInstanceCompleteResult, err error)
- func (c ManagedDatabasesClient) StartMove(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, ...) (result StartMoveOperationResponse, err error)
- func (c ManagedDatabasesClient) StartMoveThenPoll(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, ...) error
- func (c ManagedDatabasesClient) Update(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, ...) (result UpdateOperationResponse, err error)
- func (c ManagedDatabasesClient) UpdateThenPoll(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, ...) error
- type MoveOperationMode
- type StartMoveOperationResponse
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCatalogCollationType ¶
func PossibleValuesForCatalogCollationType() []string
func PossibleValuesForManagedDatabaseCreateMode ¶
func PossibleValuesForManagedDatabaseCreateMode() []string
func PossibleValuesForManagedDatabaseStatus ¶
func PossibleValuesForManagedDatabaseStatus() []string
func PossibleValuesForMoveOperationMode ¶
func PossibleValuesForMoveOperationMode() []string
Types ¶
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 CompleteDatabaseRestoreDefinition ¶
type CompleteDatabaseRestoreDefinition struct {
LastBackupName string `json:"lastBackupName"`
}
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ManagedDatabase }
type ListByInstanceCompleteResult ¶
type ListByInstanceCompleteResult struct { LatestHttpResponse *http.Response Items []ManagedDatabase }
type ListByInstanceOperationResponse ¶
type ListByInstanceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ManagedDatabase }
type ListInaccessibleByInstanceCompleteResult ¶
type ListInaccessibleByInstanceCompleteResult struct { LatestHttpResponse *http.Response Items []ManagedDatabase }
type ListInaccessibleByInstanceOperationResponse ¶
type ListInaccessibleByInstanceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ManagedDatabase }
type ManagedDatabase ¶
type ManagedDatabaseCreateMode ¶
type ManagedDatabaseCreateMode string
const ( ManagedDatabaseCreateModeDefault ManagedDatabaseCreateMode = "Default" ManagedDatabaseCreateModePointInTimeRestore ManagedDatabaseCreateMode = "PointInTimeRestore" ManagedDatabaseCreateModeRecovery ManagedDatabaseCreateMode = "Recovery" ManagedDatabaseCreateModeRestoreExternalBackup ManagedDatabaseCreateMode = "RestoreExternalBackup" ManagedDatabaseCreateModeRestoreLongTermRetentionBackup ManagedDatabaseCreateMode = "RestoreLongTermRetentionBackup" )
func (*ManagedDatabaseCreateMode) UnmarshalJSON ¶
func (s *ManagedDatabaseCreateMode) UnmarshalJSON(bytes []byte) error
type ManagedDatabaseMoveDefinition ¶
type ManagedDatabaseMoveDefinition struct {
DestinationManagedDatabaseId string `json:"destinationManagedDatabaseId"`
}
type ManagedDatabaseOperationPredicate ¶
type ManagedDatabaseOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (ManagedDatabaseOperationPredicate) Matches ¶
func (p ManagedDatabaseOperationPredicate) Matches(input ManagedDatabase) bool
type ManagedDatabaseProperties ¶
type ManagedDatabaseProperties struct { AutoCompleteRestore *bool `json:"autoCompleteRestore,omitempty"` CatalogCollation *CatalogCollationType `json:"catalogCollation,omitempty"` Collation *string `json:"collation,omitempty"` CreateMode *ManagedDatabaseCreateMode `json:"createMode,omitempty"` CreationDate *string `json:"creationDate,omitempty"` DefaultSecondaryLocation *string `json:"defaultSecondaryLocation,omitempty"` EarliestRestorePoint *string `json:"earliestRestorePoint,omitempty"` FailoverGroupId *string `json:"failoverGroupId,omitempty"` LastBackupName *string `json:"lastBackupName,omitempty"` LongTermRetentionBackupResourceId *string `json:"longTermRetentionBackupResourceId,omitempty"` RecoverableDatabaseId *string `json:"recoverableDatabaseId,omitempty"` RestorableDroppedDatabaseId *string `json:"restorableDroppedDatabaseId,omitempty"` RestorePointInTime *string `json:"restorePointInTime,omitempty"` SourceDatabaseId *string `json:"sourceDatabaseId,omitempty"` Status *ManagedDatabaseStatus `json:"status,omitempty"` StorageContainerSasToken *string `json:"storageContainerSasToken,omitempty"` StorageContainerUri *string `json:"storageContainerUri,omitempty"` }
func (*ManagedDatabaseProperties) GetCreationDateAsTime ¶
func (o *ManagedDatabaseProperties) GetCreationDateAsTime() (*time.Time, error)
func (*ManagedDatabaseProperties) GetEarliestRestorePointAsTime ¶
func (o *ManagedDatabaseProperties) GetEarliestRestorePointAsTime() (*time.Time, error)
func (*ManagedDatabaseProperties) GetRestorePointInTimeAsTime ¶
func (o *ManagedDatabaseProperties) GetRestorePointInTimeAsTime() (*time.Time, error)
func (*ManagedDatabaseProperties) SetCreationDateAsTime ¶
func (o *ManagedDatabaseProperties) SetCreationDateAsTime(input time.Time)
func (*ManagedDatabaseProperties) SetEarliestRestorePointAsTime ¶
func (o *ManagedDatabaseProperties) SetEarliestRestorePointAsTime(input time.Time)
func (*ManagedDatabaseProperties) SetRestorePointInTimeAsTime ¶
func (o *ManagedDatabaseProperties) SetRestorePointInTimeAsTime(input time.Time)
type ManagedDatabaseStartMoveDefinition ¶
type ManagedDatabaseStartMoveDefinition struct { DestinationManagedDatabaseId string `json:"destinationManagedDatabaseId"` OperationMode *MoveOperationMode `json:"operationMode,omitempty"` }
type ManagedDatabaseStatus ¶
type ManagedDatabaseStatus string
const ( ManagedDatabaseStatusCreating ManagedDatabaseStatus = "Creating" ManagedDatabaseStatusInaccessible ManagedDatabaseStatus = "Inaccessible" ManagedDatabaseStatusOffline ManagedDatabaseStatus = "Offline" ManagedDatabaseStatusOnline ManagedDatabaseStatus = "Online" ManagedDatabaseStatusRestoring ManagedDatabaseStatus = "Restoring" ManagedDatabaseStatusShutdown ManagedDatabaseStatus = "Shutdown" ManagedDatabaseStatusUpdating ManagedDatabaseStatus = "Updating" )
func (*ManagedDatabaseStatus) UnmarshalJSON ¶
func (s *ManagedDatabaseStatus) UnmarshalJSON(bytes []byte) error
type ManagedDatabaseUpdate ¶
type ManagedDatabaseUpdate struct { Properties *ManagedDatabaseProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type ManagedDatabasesClient ¶
type ManagedDatabasesClient struct {
Client *resourcemanager.Client
}
func NewManagedDatabasesClientWithBaseURI ¶
func NewManagedDatabasesClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagedDatabasesClient, error)
func (ManagedDatabasesClient) CancelMove ¶
func (c ManagedDatabasesClient) CancelMove(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, input ManagedDatabaseMoveDefinition) (result CancelMoveOperationResponse, err error)
CancelMove ...
func (ManagedDatabasesClient) CancelMoveThenPoll ¶
func (c ManagedDatabasesClient) CancelMoveThenPoll(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, input ManagedDatabaseMoveDefinition) error
CancelMoveThenPoll performs CancelMove then polls until it's completed
func (ManagedDatabasesClient) CompleteMove ¶
func (c ManagedDatabasesClient) CompleteMove(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, input ManagedDatabaseMoveDefinition) (result CompleteMoveOperationResponse, err error)
CompleteMove ...
func (ManagedDatabasesClient) CompleteMoveThenPoll ¶
func (c ManagedDatabasesClient) CompleteMoveThenPoll(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, input ManagedDatabaseMoveDefinition) error
CompleteMoveThenPoll performs CompleteMove then polls until it's completed
func (ManagedDatabasesClient) CompleteRestore ¶
func (c ManagedDatabasesClient) CompleteRestore(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, input CompleteDatabaseRestoreDefinition) (result CompleteRestoreOperationResponse, err error)
CompleteRestore ...
func (ManagedDatabasesClient) CompleteRestoreThenPoll ¶
func (c ManagedDatabasesClient) CompleteRestoreThenPoll(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, input CompleteDatabaseRestoreDefinition) error
CompleteRestoreThenPoll performs CompleteRestore then polls until it's completed
func (ManagedDatabasesClient) CreateOrUpdate ¶
func (c ManagedDatabasesClient) CreateOrUpdate(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, input ManagedDatabase) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ManagedDatabasesClient) CreateOrUpdateThenPoll ¶
func (c ManagedDatabasesClient) CreateOrUpdateThenPoll(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, input ManagedDatabase) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ManagedDatabasesClient) Delete ¶
func (c ManagedDatabasesClient) Delete(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId) (result DeleteOperationResponse, err error)
Delete ...
func (ManagedDatabasesClient) DeleteThenPoll ¶
func (c ManagedDatabasesClient) DeleteThenPoll(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ManagedDatabasesClient) Get ¶
func (c ManagedDatabasesClient) Get(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId) (result GetOperationResponse, err error)
Get ...
func (ManagedDatabasesClient) ListByInstance ¶
func (c ManagedDatabasesClient) ListByInstance(ctx context.Context, id commonids.SqlManagedInstanceId) (result ListByInstanceOperationResponse, err error)
ListByInstance ...
func (ManagedDatabasesClient) ListByInstanceComplete ¶
func (c ManagedDatabasesClient) ListByInstanceComplete(ctx context.Context, id commonids.SqlManagedInstanceId) (ListByInstanceCompleteResult, error)
ListByInstanceComplete retrieves all the results into a single object
func (ManagedDatabasesClient) ListByInstanceCompleteMatchingPredicate ¶
func (c ManagedDatabasesClient) ListByInstanceCompleteMatchingPredicate(ctx context.Context, id commonids.SqlManagedInstanceId, predicate ManagedDatabaseOperationPredicate) (result ListByInstanceCompleteResult, err error)
ListByInstanceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ManagedDatabasesClient) ListInaccessibleByInstance ¶
func (c ManagedDatabasesClient) ListInaccessibleByInstance(ctx context.Context, id commonids.SqlManagedInstanceId) (result ListInaccessibleByInstanceOperationResponse, err error)
ListInaccessibleByInstance ...
func (ManagedDatabasesClient) ListInaccessibleByInstanceComplete ¶
func (c ManagedDatabasesClient) ListInaccessibleByInstanceComplete(ctx context.Context, id commonids.SqlManagedInstanceId) (ListInaccessibleByInstanceCompleteResult, error)
ListInaccessibleByInstanceComplete retrieves all the results into a single object
func (ManagedDatabasesClient) ListInaccessibleByInstanceCompleteMatchingPredicate ¶
func (c ManagedDatabasesClient) ListInaccessibleByInstanceCompleteMatchingPredicate(ctx context.Context, id commonids.SqlManagedInstanceId, predicate ManagedDatabaseOperationPredicate) (result ListInaccessibleByInstanceCompleteResult, err error)
ListInaccessibleByInstanceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ManagedDatabasesClient) StartMove ¶
func (c ManagedDatabasesClient) StartMove(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, input ManagedDatabaseStartMoveDefinition) (result StartMoveOperationResponse, err error)
StartMove ...
func (ManagedDatabasesClient) StartMoveThenPoll ¶
func (c ManagedDatabasesClient) StartMoveThenPoll(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, input ManagedDatabaseStartMoveDefinition) error
StartMoveThenPoll performs StartMove then polls until it's completed
func (ManagedDatabasesClient) Update ¶
func (c ManagedDatabasesClient) Update(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, input ManagedDatabaseUpdate) (result UpdateOperationResponse, err error)
Update ...
func (ManagedDatabasesClient) UpdateThenPoll ¶
func (c ManagedDatabasesClient) UpdateThenPoll(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, input ManagedDatabaseUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type MoveOperationMode ¶
type MoveOperationMode string
const ( MoveOperationModeCopy MoveOperationMode = "Copy" MoveOperationModeMove MoveOperationMode = "Move" )
func (*MoveOperationMode) UnmarshalJSON ¶
func (s *MoveOperationMode) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- method_cancelmove.go
- method_completemove.go
- method_completerestore.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyinstance.go
- method_listinaccessiblebyinstance.go
- method_startmove.go
- method_update.go
- model_completedatabaserestoredefinition.go
- model_manageddatabase.go
- model_manageddatabasemovedefinition.go
- model_manageddatabaseproperties.go
- model_manageddatabasestartmovedefinition.go
- model_manageddatabaseupdate.go
- predicates.go
- version.go