Documentation ¶
Index ¶
- func PossibleValuesForCommandState() []string
- func PossibleValuesForMongoDbErrorType() []string
- func PossibleValuesForMongoDbMigrationState() []string
- func PossibleValuesForResultType() []string
- type CommandProperties
- type CommandState
- type MongoDbCancelCommand
- type MongoDbCollectionProgress
- func (o *MongoDbCollectionProgress) GetLastEventTimeAsTime() (*time.Time, error)
- func (o *MongoDbCollectionProgress) GetLastReplayTimeAsTime() (*time.Time, error)
- func (s MongoDbCollectionProgress) MarshalJSON() ([]byte, error)
- func (o *MongoDbCollectionProgress) SetLastEventTimeAsTime(input time.Time)
- func (o *MongoDbCollectionProgress) SetLastReplayTimeAsTime(input time.Time)
- type MongoDbCommandInput
- type MongoDbDatabaseProgress
- func (o *MongoDbDatabaseProgress) GetLastEventTimeAsTime() (*time.Time, error)
- func (o *MongoDbDatabaseProgress) GetLastReplayTimeAsTime() (*time.Time, error)
- func (s MongoDbDatabaseProgress) MarshalJSON() ([]byte, error)
- func (o *MongoDbDatabaseProgress) SetLastEventTimeAsTime(input time.Time)
- func (o *MongoDbDatabaseProgress) SetLastReplayTimeAsTime(input time.Time)
- func (s *MongoDbDatabaseProgress) UnmarshalJSON(bytes []byte) error
- type MongoDbError
- type MongoDbErrorType
- type MongoDbFinishCommand
- type MongoDbFinishCommandInput
- type MongoDbMigrationProgress
- func (o *MongoDbMigrationProgress) GetLastEventTimeAsTime() (*time.Time, error)
- func (o *MongoDbMigrationProgress) GetLastReplayTimeAsTime() (*time.Time, error)
- func (s MongoDbMigrationProgress) MarshalJSON() ([]byte, error)
- func (o *MongoDbMigrationProgress) SetLastEventTimeAsTime(input time.Time)
- func (o *MongoDbMigrationProgress) SetLastReplayTimeAsTime(input time.Time)
- type MongoDbMigrationState
- type MongoDbProgress
- type MongoDbRestartCommand
- type MongoDbTasksClient
- type ODataError
- type RawCommandPropertiesImpl
- type RawMongoDbProgressImpl
- type ResultType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCommandState ¶
func PossibleValuesForCommandState() []string
func PossibleValuesForMongoDbErrorType ¶
func PossibleValuesForMongoDbErrorType() []string
func PossibleValuesForMongoDbMigrationState ¶
func PossibleValuesForMongoDbMigrationState() []string
func PossibleValuesForResultType ¶
func PossibleValuesForResultType() []string
Types ¶
type CommandProperties ¶
type CommandProperties interface { }
type CommandState ¶
type CommandState string
const ( CommandStateAccepted CommandState = "Accepted" CommandStateFailed CommandState = "Failed" CommandStateRunning CommandState = "Running" CommandStateSucceeded CommandState = "Succeeded" CommandStateUnknown CommandState = "Unknown" )
func (*CommandState) UnmarshalJSON ¶
func (s *CommandState) UnmarshalJSON(bytes []byte) error
type MongoDbCancelCommand ¶
type MongoDbCancelCommand struct { Input *MongoDbCommandInput `json:"input,omitempty"` // Fields inherited from CommandProperties Errors *[]ODataError `json:"errors,omitempty"` State *CommandState `json:"state,omitempty"` }
func (MongoDbCancelCommand) MarshalJSON ¶
func (s MongoDbCancelCommand) MarshalJSON() ([]byte, error)
type MongoDbCollectionProgress ¶
type MongoDbCollectionProgress struct { // Fields inherited from MongoDbProgress BytesCopied int64 `json:"bytesCopied"` DocumentsCopied int64 `json:"documentsCopied"` ElapsedTime string `json:"elapsedTime"` Errors map[string]MongoDbError `json:"errors"` EventsPending int64 `json:"eventsPending"` EventsReplayed int64 `json:"eventsReplayed"` LastEventTime *string `json:"lastEventTime,omitempty"` LastReplayTime *string `json:"lastReplayTime,omitempty"` Name *string `json:"name,omitempty"` QualifiedName *string `json:"qualifiedName,omitempty"` State MongoDbMigrationState `json:"state"` TotalBytes int64 `json:"totalBytes"` TotalDocuments int64 `json:"totalDocuments"` }
func (*MongoDbCollectionProgress) GetLastEventTimeAsTime ¶
func (o *MongoDbCollectionProgress) GetLastEventTimeAsTime() (*time.Time, error)
func (*MongoDbCollectionProgress) GetLastReplayTimeAsTime ¶
func (o *MongoDbCollectionProgress) GetLastReplayTimeAsTime() (*time.Time, error)
func (MongoDbCollectionProgress) MarshalJSON ¶
func (s MongoDbCollectionProgress) MarshalJSON() ([]byte, error)
func (*MongoDbCollectionProgress) SetLastEventTimeAsTime ¶
func (o *MongoDbCollectionProgress) SetLastEventTimeAsTime(input time.Time)
func (*MongoDbCollectionProgress) SetLastReplayTimeAsTime ¶
func (o *MongoDbCollectionProgress) SetLastReplayTimeAsTime(input time.Time)
type MongoDbCommandInput ¶
type MongoDbCommandInput struct {
ObjectName *string `json:"objectName,omitempty"`
}
type MongoDbDatabaseProgress ¶
type MongoDbDatabaseProgress struct { Collections *map[string]MongoDbProgress `json:"collections,omitempty"` // Fields inherited from MongoDbProgress BytesCopied int64 `json:"bytesCopied"` DocumentsCopied int64 `json:"documentsCopied"` ElapsedTime string `json:"elapsedTime"` Errors map[string]MongoDbError `json:"errors"` EventsPending int64 `json:"eventsPending"` EventsReplayed int64 `json:"eventsReplayed"` LastEventTime *string `json:"lastEventTime,omitempty"` LastReplayTime *string `json:"lastReplayTime,omitempty"` Name *string `json:"name,omitempty"` QualifiedName *string `json:"qualifiedName,omitempty"` State MongoDbMigrationState `json:"state"` TotalBytes int64 `json:"totalBytes"` TotalDocuments int64 `json:"totalDocuments"` }
func (*MongoDbDatabaseProgress) GetLastEventTimeAsTime ¶
func (o *MongoDbDatabaseProgress) GetLastEventTimeAsTime() (*time.Time, error)
func (*MongoDbDatabaseProgress) GetLastReplayTimeAsTime ¶
func (o *MongoDbDatabaseProgress) GetLastReplayTimeAsTime() (*time.Time, error)
func (MongoDbDatabaseProgress) MarshalJSON ¶
func (s MongoDbDatabaseProgress) MarshalJSON() ([]byte, error)
func (*MongoDbDatabaseProgress) SetLastEventTimeAsTime ¶
func (o *MongoDbDatabaseProgress) SetLastEventTimeAsTime(input time.Time)
func (*MongoDbDatabaseProgress) SetLastReplayTimeAsTime ¶
func (o *MongoDbDatabaseProgress) SetLastReplayTimeAsTime(input time.Time)
func (*MongoDbDatabaseProgress) UnmarshalJSON ¶
func (s *MongoDbDatabaseProgress) UnmarshalJSON(bytes []byte) error
type MongoDbError ¶
type MongoDbError struct { Code *string `json:"code,omitempty"` Count *int64 `json:"count,omitempty"` Message *string `json:"message,omitempty"` Type *MongoDbErrorType `json:"type,omitempty"` }
type MongoDbErrorType ¶
type MongoDbErrorType string
const ( MongoDbErrorTypeError MongoDbErrorType = "Error" MongoDbErrorTypeValidationError MongoDbErrorType = "ValidationError" MongoDbErrorTypeWarning MongoDbErrorType = "Warning" )
func (*MongoDbErrorType) UnmarshalJSON ¶
func (s *MongoDbErrorType) UnmarshalJSON(bytes []byte) error
type MongoDbFinishCommand ¶
type MongoDbFinishCommand struct { Input *MongoDbFinishCommandInput `json:"input,omitempty"` // Fields inherited from CommandProperties Errors *[]ODataError `json:"errors,omitempty"` State *CommandState `json:"state,omitempty"` }
func (MongoDbFinishCommand) MarshalJSON ¶
func (s MongoDbFinishCommand) MarshalJSON() ([]byte, error)
type MongoDbMigrationProgress ¶
type MongoDbMigrationProgress struct { Databases *map[string]MongoDbDatabaseProgress `json:"databases,omitempty"` // Fields inherited from MongoDbProgress BytesCopied int64 `json:"bytesCopied"` DocumentsCopied int64 `json:"documentsCopied"` ElapsedTime string `json:"elapsedTime"` Errors map[string]MongoDbError `json:"errors"` EventsPending int64 `json:"eventsPending"` EventsReplayed int64 `json:"eventsReplayed"` LastEventTime *string `json:"lastEventTime,omitempty"` LastReplayTime *string `json:"lastReplayTime,omitempty"` Name *string `json:"name,omitempty"` QualifiedName *string `json:"qualifiedName,omitempty"` State MongoDbMigrationState `json:"state"` TotalBytes int64 `json:"totalBytes"` TotalDocuments int64 `json:"totalDocuments"` }
func (*MongoDbMigrationProgress) GetLastEventTimeAsTime ¶
func (o *MongoDbMigrationProgress) GetLastEventTimeAsTime() (*time.Time, error)
func (*MongoDbMigrationProgress) GetLastReplayTimeAsTime ¶
func (o *MongoDbMigrationProgress) GetLastReplayTimeAsTime() (*time.Time, error)
func (MongoDbMigrationProgress) MarshalJSON ¶
func (s MongoDbMigrationProgress) MarshalJSON() ([]byte, error)
func (*MongoDbMigrationProgress) SetLastEventTimeAsTime ¶
func (o *MongoDbMigrationProgress) SetLastEventTimeAsTime(input time.Time)
func (*MongoDbMigrationProgress) SetLastReplayTimeAsTime ¶
func (o *MongoDbMigrationProgress) SetLastReplayTimeAsTime(input time.Time)
type MongoDbMigrationState ¶
type MongoDbMigrationState string
const ( MongoDbMigrationStateCanceled MongoDbMigrationState = "Canceled" MongoDbMigrationStateComplete MongoDbMigrationState = "Complete" MongoDbMigrationStateCopying MongoDbMigrationState = "Copying" MongoDbMigrationStateFailed MongoDbMigrationState = "Failed" MongoDbMigrationStateFinalizing MongoDbMigrationState = "Finalizing" MongoDbMigrationStateInitialReplay MongoDbMigrationState = "InitialReplay" MongoDbMigrationStateInitializing MongoDbMigrationState = "Initializing" MongoDbMigrationStateNotStarted MongoDbMigrationState = "NotStarted" MongoDbMigrationStateReplaying MongoDbMigrationState = "Replaying" MongoDbMigrationStateRestarting MongoDbMigrationState = "Restarting" MongoDbMigrationStateValidatingInput MongoDbMigrationState = "ValidatingInput" )
func (*MongoDbMigrationState) UnmarshalJSON ¶
func (s *MongoDbMigrationState) UnmarshalJSON(bytes []byte) error
type MongoDbProgress ¶
type MongoDbProgress interface { }
type MongoDbRestartCommand ¶
type MongoDbRestartCommand struct { Input *MongoDbCommandInput `json:"input,omitempty"` // Fields inherited from CommandProperties Errors *[]ODataError `json:"errors,omitempty"` State *CommandState `json:"state,omitempty"` }
func (MongoDbRestartCommand) MarshalJSON ¶
func (s MongoDbRestartCommand) MarshalJSON() ([]byte, error)
type MongoDbTasksClient ¶
type MongoDbTasksClient struct {
Client *resourcemanager.Client
}
func NewMongoDbTasksClientWithBaseURI ¶
func NewMongoDbTasksClientWithBaseURI(sdkApi sdkEnv.Api) (*MongoDbTasksClient, error)
type ODataError ¶
type ODataError struct { Code *string `json:"code,omitempty"` Details *[]ODataError `json:"details,omitempty"` Message *string `json:"message,omitempty"` }
type RawCommandPropertiesImpl ¶
RawCommandPropertiesImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RawMongoDbProgressImpl ¶
RawMongoDbProgressImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type ResultType ¶
type ResultType string
const ( ResultTypeCollection ResultType = "Collection" ResultTypeDatabase ResultType = "Database" ResultTypeMigration ResultType = "Migration" )
func (*ResultType) UnmarshalJSON ¶
func (s *ResultType) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- model_commandproperties.go
- model_mongodbcancelcommand.go
- model_mongodbcollectionprogress.go
- model_mongodbcommandinput.go
- model_mongodbdatabaseprogress.go
- model_mongodberror.go
- model_mongodbfinishcommand.go
- model_mongodbfinishcommandinput.go
- model_mongodbmigrationprogress.go
- model_mongodbprogress.go
- model_mongodbrestartcommand.go
- model_odataerror.go
- version.go
Click to show internal directories.
Click to hide internal directories.