Documentation ¶
Index ¶
- func PossibleValuesForCatalogCollationType() []string
- func PossibleValuesForManagedDatabaseCreateMode() []string
- func PossibleValuesForManagedDatabaseStatus() []string
- func PossibleValuesForMoveOperationMode() []string
- func ValidateManagedInstanceDatabaseID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateManagedInstanceID(input interface{}, key string) (warnings []string, errors []error)
- 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 ManagedInstanceDatabaseId, ...) (result CancelMoveOperationResponse, err error)
- func (c ManagedDatabasesClient) CancelMoveThenPoll(ctx context.Context, id ManagedInstanceDatabaseId, ...) error
- func (c ManagedDatabasesClient) CompleteMove(ctx context.Context, id ManagedInstanceDatabaseId, ...) (result CompleteMoveOperationResponse, err error)
- func (c ManagedDatabasesClient) CompleteMoveThenPoll(ctx context.Context, id ManagedInstanceDatabaseId, ...) error
- func (c ManagedDatabasesClient) CompleteRestore(ctx context.Context, id ManagedInstanceDatabaseId, ...) (result CompleteRestoreOperationResponse, err error)
- func (c ManagedDatabasesClient) CompleteRestoreThenPoll(ctx context.Context, id ManagedInstanceDatabaseId, ...) error
- func (c ManagedDatabasesClient) CreateOrUpdate(ctx context.Context, id ManagedInstanceDatabaseId, input ManagedDatabase) (result CreateOrUpdateOperationResponse, err error)
- func (c ManagedDatabasesClient) CreateOrUpdateThenPoll(ctx context.Context, id ManagedInstanceDatabaseId, input ManagedDatabase) error
- func (c ManagedDatabasesClient) Delete(ctx context.Context, id ManagedInstanceDatabaseId) (result DeleteOperationResponse, err error)
- func (c ManagedDatabasesClient) DeleteThenPoll(ctx context.Context, id ManagedInstanceDatabaseId) error
- func (c ManagedDatabasesClient) Get(ctx context.Context, id ManagedInstanceDatabaseId) (result GetOperationResponse, err error)
- func (c ManagedDatabasesClient) ListByInstance(ctx context.Context, id ManagedInstanceId) (result ListByInstanceOperationResponse, err error)
- func (c ManagedDatabasesClient) ListByInstanceComplete(ctx context.Context, id ManagedInstanceId) (ListByInstanceCompleteResult, error)
- func (c ManagedDatabasesClient) ListByInstanceCompleteMatchingPredicate(ctx context.Context, id ManagedInstanceId, ...) (result ListByInstanceCompleteResult, err error)
- func (c ManagedDatabasesClient) ListInaccessibleByInstance(ctx context.Context, id ManagedInstanceId) (result ListInaccessibleByInstanceOperationResponse, err error)
- func (c ManagedDatabasesClient) ListInaccessibleByInstanceComplete(ctx context.Context, id ManagedInstanceId) (ListInaccessibleByInstanceCompleteResult, error)
- func (c ManagedDatabasesClient) ListInaccessibleByInstanceCompleteMatchingPredicate(ctx context.Context, id ManagedInstanceId, ...) (result ListInaccessibleByInstanceCompleteResult, err error)
- func (c ManagedDatabasesClient) StartMove(ctx context.Context, id ManagedInstanceDatabaseId, ...) (result StartMoveOperationResponse, err error)
- func (c ManagedDatabasesClient) StartMoveThenPoll(ctx context.Context, id ManagedInstanceDatabaseId, ...) error
- func (c ManagedDatabasesClient) Update(ctx context.Context, id ManagedInstanceDatabaseId, input ManagedDatabaseUpdate) (result UpdateOperationResponse, err error)
- func (c ManagedDatabasesClient) UpdateThenPoll(ctx context.Context, id ManagedInstanceDatabaseId, input ManagedDatabaseUpdate) error
- type ManagedInstanceDatabaseId
- func NewManagedInstanceDatabaseID(subscriptionId string, resourceGroupName string, managedInstanceName string, ...) ManagedInstanceDatabaseId
- func ParseManagedInstanceDatabaseID(input string) (*ManagedInstanceDatabaseId, error)
- func ParseManagedInstanceDatabaseIDInsensitively(input string) (*ManagedInstanceDatabaseId, error)
- type ManagedInstanceId
- 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
func ValidateManagedInstanceDatabaseID ¶
func ValidateManagedInstanceDatabaseID(input interface{}, key string) (warnings []string, errors []error)
ValidateManagedInstanceDatabaseID checks that 'input' can be parsed as a Managed Instance Database ID
func ValidateManagedInstanceID ¶
ValidateManagedInstanceID checks that 'input' can be parsed as a Managed Instance ID
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 {
Items []ManagedDatabase
}
type ListByInstanceOperationResponse ¶
type ListByInstanceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ManagedDatabase }
type ListInaccessibleByInstanceCompleteResult ¶
type ListInaccessibleByInstanceCompleteResult struct {
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"` CrossSubscriptionRestorableDroppedDatabaseId *string `json:"crossSubscriptionRestorableDroppedDatabaseId,omitempty"` CrossSubscriptionSourceDatabaseId *string `json:"crossSubscriptionSourceDatabaseId,omitempty"` CrossSubscriptionTargetManagedInstanceId *string `json:"crossSubscriptionTargetManagedInstanceId,omitempty"` DefaultSecondaryLocation *string `json:"defaultSecondaryLocation,omitempty"` EarliestRestorePoint *string `json:"earliestRestorePoint,omitempty"` FailoverGroupId *string `json:"failoverGroupId,omitempty"` IsLedgerOn *bool `json:"isLedgerOn,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"` StorageContainerIdentity *string `json:"storageContainerIdentity,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" ManagedDatabaseStatusDbCopying ManagedDatabaseStatus = "DbCopying" ManagedDatabaseStatusDbMoving ManagedDatabaseStatus = "DbMoving" ManagedDatabaseStatusInaccessible ManagedDatabaseStatus = "Inaccessible" ManagedDatabaseStatusOffline ManagedDatabaseStatus = "Offline" ManagedDatabaseStatusOnline ManagedDatabaseStatus = "Online" ManagedDatabaseStatusRestoring ManagedDatabaseStatus = "Restoring" ManagedDatabaseStatusShutdown ManagedDatabaseStatus = "Shutdown" ManagedDatabaseStatusStarting ManagedDatabaseStatus = "Starting" ManagedDatabaseStatusStopped ManagedDatabaseStatus = "Stopped" ManagedDatabaseStatusStopping ManagedDatabaseStatus = "Stopping" 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 ManagedInstanceDatabaseId, input ManagedDatabaseMoveDefinition) (result CancelMoveOperationResponse, err error)
CancelMove ...
func (ManagedDatabasesClient) CancelMoveThenPoll ¶
func (c ManagedDatabasesClient) CancelMoveThenPoll(ctx context.Context, id ManagedInstanceDatabaseId, input ManagedDatabaseMoveDefinition) error
CancelMoveThenPoll performs CancelMove then polls until it's completed
func (ManagedDatabasesClient) CompleteMove ¶
func (c ManagedDatabasesClient) CompleteMove(ctx context.Context, id ManagedInstanceDatabaseId, input ManagedDatabaseMoveDefinition) (result CompleteMoveOperationResponse, err error)
CompleteMove ...
func (ManagedDatabasesClient) CompleteMoveThenPoll ¶
func (c ManagedDatabasesClient) CompleteMoveThenPoll(ctx context.Context, id ManagedInstanceDatabaseId, input ManagedDatabaseMoveDefinition) error
CompleteMoveThenPoll performs CompleteMove then polls until it's completed
func (ManagedDatabasesClient) CompleteRestore ¶
func (c ManagedDatabasesClient) CompleteRestore(ctx context.Context, id ManagedInstanceDatabaseId, input CompleteDatabaseRestoreDefinition) (result CompleteRestoreOperationResponse, err error)
CompleteRestore ...
func (ManagedDatabasesClient) CompleteRestoreThenPoll ¶
func (c ManagedDatabasesClient) CompleteRestoreThenPoll(ctx context.Context, id ManagedInstanceDatabaseId, input CompleteDatabaseRestoreDefinition) error
CompleteRestoreThenPoll performs CompleteRestore then polls until it's completed
func (ManagedDatabasesClient) CreateOrUpdate ¶
func (c ManagedDatabasesClient) CreateOrUpdate(ctx context.Context, id ManagedInstanceDatabaseId, input ManagedDatabase) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ManagedDatabasesClient) CreateOrUpdateThenPoll ¶
func (c ManagedDatabasesClient) CreateOrUpdateThenPoll(ctx context.Context, id ManagedInstanceDatabaseId, input ManagedDatabase) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ManagedDatabasesClient) Delete ¶
func (c ManagedDatabasesClient) Delete(ctx context.Context, id ManagedInstanceDatabaseId) (result DeleteOperationResponse, err error)
Delete ...
func (ManagedDatabasesClient) DeleteThenPoll ¶
func (c ManagedDatabasesClient) DeleteThenPoll(ctx context.Context, id ManagedInstanceDatabaseId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ManagedDatabasesClient) Get ¶
func (c ManagedDatabasesClient) Get(ctx context.Context, id ManagedInstanceDatabaseId) (result GetOperationResponse, err error)
Get ...
func (ManagedDatabasesClient) ListByInstance ¶
func (c ManagedDatabasesClient) ListByInstance(ctx context.Context, id ManagedInstanceId) (result ListByInstanceOperationResponse, err error)
ListByInstance ...
func (ManagedDatabasesClient) ListByInstanceComplete ¶
func (c ManagedDatabasesClient) ListByInstanceComplete(ctx context.Context, id ManagedInstanceId) (ListByInstanceCompleteResult, error)
ListByInstanceComplete retrieves all the results into a single object
func (ManagedDatabasesClient) ListByInstanceCompleteMatchingPredicate ¶
func (c ManagedDatabasesClient) ListByInstanceCompleteMatchingPredicate(ctx context.Context, id ManagedInstanceId, 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 ManagedInstanceId) (result ListInaccessibleByInstanceOperationResponse, err error)
ListInaccessibleByInstance ...
func (ManagedDatabasesClient) ListInaccessibleByInstanceComplete ¶
func (c ManagedDatabasesClient) ListInaccessibleByInstanceComplete(ctx context.Context, id ManagedInstanceId) (ListInaccessibleByInstanceCompleteResult, error)
ListInaccessibleByInstanceComplete retrieves all the results into a single object
func (ManagedDatabasesClient) ListInaccessibleByInstanceCompleteMatchingPredicate ¶
func (c ManagedDatabasesClient) ListInaccessibleByInstanceCompleteMatchingPredicate(ctx context.Context, id ManagedInstanceId, 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 ManagedInstanceDatabaseId, input ManagedDatabaseStartMoveDefinition) (result StartMoveOperationResponse, err error)
StartMove ...
func (ManagedDatabasesClient) StartMoveThenPoll ¶
func (c ManagedDatabasesClient) StartMoveThenPoll(ctx context.Context, id ManagedInstanceDatabaseId, input ManagedDatabaseStartMoveDefinition) error
StartMoveThenPoll performs StartMove then polls until it's completed
func (ManagedDatabasesClient) Update ¶
func (c ManagedDatabasesClient) Update(ctx context.Context, id ManagedInstanceDatabaseId, input ManagedDatabaseUpdate) (result UpdateOperationResponse, err error)
Update ...
func (ManagedDatabasesClient) UpdateThenPoll ¶
func (c ManagedDatabasesClient) UpdateThenPoll(ctx context.Context, id ManagedInstanceDatabaseId, input ManagedDatabaseUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type ManagedInstanceDatabaseId ¶
type ManagedInstanceDatabaseId struct { SubscriptionId string ResourceGroupName string ManagedInstanceName string DatabaseName string }
ManagedInstanceDatabaseId is a struct representing the Resource ID for a Managed Instance Database
func NewManagedInstanceDatabaseID ¶
func NewManagedInstanceDatabaseID(subscriptionId string, resourceGroupName string, managedInstanceName string, databaseName string) ManagedInstanceDatabaseId
NewManagedInstanceDatabaseID returns a new ManagedInstanceDatabaseId struct
func ParseManagedInstanceDatabaseID ¶
func ParseManagedInstanceDatabaseID(input string) (*ManagedInstanceDatabaseId, error)
ParseManagedInstanceDatabaseID parses 'input' into a ManagedInstanceDatabaseId
func ParseManagedInstanceDatabaseIDInsensitively ¶
func ParseManagedInstanceDatabaseIDInsensitively(input string) (*ManagedInstanceDatabaseId, error)
ParseManagedInstanceDatabaseIDInsensitively parses 'input' case-insensitively into a ManagedInstanceDatabaseId note: this method should only be used for API response data and not user input
func (ManagedInstanceDatabaseId) ID ¶
func (id ManagedInstanceDatabaseId) ID() string
ID returns the formatted Managed Instance Database ID
func (ManagedInstanceDatabaseId) Segments ¶
func (id ManagedInstanceDatabaseId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Managed Instance Database ID
func (ManagedInstanceDatabaseId) String ¶
func (id ManagedInstanceDatabaseId) String() string
String returns a human-readable description of this Managed Instance Database ID
type ManagedInstanceId ¶
type ManagedInstanceId struct { SubscriptionId string ResourceGroupName string ManagedInstanceName string }
ManagedInstanceId is a struct representing the Resource ID for a Managed Instance
func NewManagedInstanceID ¶
func NewManagedInstanceID(subscriptionId string, resourceGroupName string, managedInstanceName string) ManagedInstanceId
NewManagedInstanceID returns a new ManagedInstanceId struct
func ParseManagedInstanceID ¶
func ParseManagedInstanceID(input string) (*ManagedInstanceId, error)
ParseManagedInstanceID parses 'input' into a ManagedInstanceId
func ParseManagedInstanceIDInsensitively ¶
func ParseManagedInstanceIDInsensitively(input string) (*ManagedInstanceId, error)
ParseManagedInstanceIDInsensitively parses 'input' case-insensitively into a ManagedInstanceId note: this method should only be used for API response data and not user input
func (ManagedInstanceId) ID ¶
func (id ManagedInstanceId) ID() string
ID returns the formatted Managed Instance ID
func (ManagedInstanceId) Segments ¶
func (id ManagedInstanceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Managed Instance ID
func (ManagedInstanceId) String ¶
func (id ManagedInstanceId) String() string
String returns a human-readable description of this Managed Instance ID
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
- id_managedinstance.go
- id_managedinstancedatabase.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