databasemigration

package
v65.65.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2024 License: Apache-2.0, UPL-1.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAdbServerlesTablespaceDetailsRemapTargetEnumStringValues

func GetAdbServerlesTablespaceDetailsRemapTargetEnumStringValues() []string

GetAdbServerlesTablespaceDetailsRemapTargetEnumStringValues Enumerates the set of values in String for AdbServerlesTablespaceDetailsRemapTargetEnum

func GetAdvisorResultsEnumStringValues

func GetAdvisorResultsEnumStringValues() []string

GetAdvisorResultsEnumStringValues Enumerates the set of values in String for AdvisorResultsEnum

func GetCreateHostDumpTransferDetailsKindEnumStringValues

func GetCreateHostDumpTransferDetailsKindEnumStringValues() []string

GetCreateHostDumpTransferDetailsKindEnumStringValues Enumerates the set of values in String for CreateHostDumpTransferDetailsKindEnum

func GetDataPumpEstimateEnumStringValues

func GetDataPumpEstimateEnumStringValues() []string

GetDataPumpEstimateEnumStringValues Enumerates the set of values in String for DataPumpEstimateEnum

func GetDataPumpExcludeParametersEnumStringValues

func GetDataPumpExcludeParametersEnumStringValues() []string

GetDataPumpExcludeParametersEnumStringValues Enumerates the set of values in String for DataPumpExcludeParametersEnum

func GetDataPumpJobModeEnumStringValues

func GetDataPumpJobModeEnumStringValues() []string

GetDataPumpJobModeEnumStringValues Enumerates the set of values in String for DataPumpJobModeEnum

func GetDataPumpTableExistsActionEnumStringValues

func GetDataPumpTableExistsActionEnumStringValues() []string

GetDataPumpTableExistsActionEnumStringValues Enumerates the set of values in String for DataPumpTableExistsActionEnum

func GetDataPumpTablespaceBlockSizesInKbEnumStringValues added in v65.40.1

func GetDataPumpTablespaceBlockSizesInKbEnumStringValues() []string

GetDataPumpTablespaceBlockSizesInKbEnumStringValues Enumerates the set of values in String for DataPumpTablespaceBlockSizesInKbEnum

func GetDataTransferMediumDetailsV2TypeEnumStringValues added in v65.49.3

func GetDataTransferMediumDetailsV2TypeEnumStringValues() []string

GetDataTransferMediumDetailsV2TypeEnumStringValues Enumerates the set of values in String for DataTransferMediumDetailsV2TypeEnum

func GetDatabaseConnectionTypesEnumStringValues

func GetDatabaseConnectionTypesEnumStringValues() []string

GetDatabaseConnectionTypesEnumStringValues Enumerates the set of values in String for DatabaseConnectionTypesEnum

func GetDatabaseManualConnectionSubTypesEnumStringValues

func GetDatabaseManualConnectionSubTypesEnumStringValues() []string

GetDatabaseManualConnectionSubTypesEnumStringValues Enumerates the set of values in String for DatabaseManualConnectionSubTypesEnum

func GetExtractPerformanceProfileEnumStringValues

func GetExtractPerformanceProfileEnumStringValues() []string

GetExtractPerformanceProfileEnumStringValues Enumerates the set of values in String for ExtractPerformanceProfileEnum

func GetHostDumpTransferDetailsKindEnumStringValues

func GetHostDumpTransferDetailsKindEnumStringValues() []string

GetHostDumpTransferDetailsKindEnumStringValues Enumerates the set of values in String for HostDumpTransferDetailsKindEnum

func GetJobLifecycleStatesEnumStringValues

func GetJobLifecycleStatesEnumStringValues() []string

GetJobLifecycleStatesEnumStringValues Enumerates the set of values in String for JobLifecycleStatesEnum

func GetJobPhaseStatusEnumStringValues

func GetJobPhaseStatusEnumStringValues() []string

GetJobPhaseStatusEnumStringValues Enumerates the set of values in String for JobPhaseStatusEnum

func GetJobTypesEnumStringValues

func GetJobTypesEnumStringValues() []string

GetJobTypesEnumStringValues Enumerates the set of values in String for JobTypesEnum

func GetLifecycleStatesEnumStringValues

func GetLifecycleStatesEnumStringValues() []string

GetLifecycleStatesEnumStringValues Enumerates the set of values in String for LifecycleStatesEnum

func GetListAgentImagesSortOrderEnumStringValues

func GetListAgentImagesSortOrderEnumStringValues() []string

GetListAgentImagesSortOrderEnumStringValues Enumerates the set of values in String for ListAgentImagesSortOrderEnum

func GetListAgentsLifecycleStateEnumStringValues

func GetListAgentsLifecycleStateEnumStringValues() []string

GetListAgentsLifecycleStateEnumStringValues Enumerates the set of values in String for ListAgentsLifecycleStateEnum

func GetListAgentsSortByEnumStringValues

func GetListAgentsSortByEnumStringValues() []string

GetListAgentsSortByEnumStringValues Enumerates the set of values in String for ListAgentsSortByEnum

func GetListAgentsSortOrderEnumStringValues

func GetListAgentsSortOrderEnumStringValues() []string

GetListAgentsSortOrderEnumStringValues Enumerates the set of values in String for ListAgentsSortOrderEnum

func GetListConnectionsLifecycleStateEnumStringValues

func GetListConnectionsLifecycleStateEnumStringValues() []string

GetListConnectionsLifecycleStateEnumStringValues Enumerates the set of values in String for ListConnectionsLifecycleStateEnum

func GetListConnectionsSortByEnumStringValues

func GetListConnectionsSortByEnumStringValues() []string

GetListConnectionsSortByEnumStringValues Enumerates the set of values in String for ListConnectionsSortByEnum

func GetListConnectionsSortOrderEnumStringValues

func GetListConnectionsSortOrderEnumStringValues() []string

GetListConnectionsSortOrderEnumStringValues Enumerates the set of values in String for ListConnectionsSortOrderEnum

func GetListExcludedObjectsReasonCategoryEnumStringValues

func GetListExcludedObjectsReasonCategoryEnumStringValues() []string

GetListExcludedObjectsReasonCategoryEnumStringValues Enumerates the set of values in String for ListExcludedObjectsReasonCategoryEnum

func GetListExcludedObjectsSortByEnumStringValues

func GetListExcludedObjectsSortByEnumStringValues() []string

GetListExcludedObjectsSortByEnumStringValues Enumerates the set of values in String for ListExcludedObjectsSortByEnum

func GetListExcludedObjectsSortOrderEnumStringValues

func GetListExcludedObjectsSortOrderEnumStringValues() []string

GetListExcludedObjectsSortOrderEnumStringValues Enumerates the set of values in String for ListExcludedObjectsSortOrderEnum

func GetListJobsLifecycleStateEnumStringValues

func GetListJobsLifecycleStateEnumStringValues() []string

GetListJobsLifecycleStateEnumStringValues Enumerates the set of values in String for ListJobsLifecycleStateEnum

func GetListJobsSortByEnumStringValues

func GetListJobsSortByEnumStringValues() []string

GetListJobsSortByEnumStringValues Enumerates the set of values in String for ListJobsSortByEnum

func GetListJobsSortOrderEnumStringValues

func GetListJobsSortOrderEnumStringValues() []string

GetListJobsSortOrderEnumStringValues Enumerates the set of values in String for ListJobsSortOrderEnum

func GetListMigrationObjectTypesSortByEnumStringValues

func GetListMigrationObjectTypesSortByEnumStringValues() []string

GetListMigrationObjectTypesSortByEnumStringValues Enumerates the set of values in String for ListMigrationObjectTypesSortByEnum

func GetListMigrationObjectTypesSortOrderEnumStringValues

func GetListMigrationObjectTypesSortOrderEnumStringValues() []string

GetListMigrationObjectTypesSortOrderEnumStringValues Enumerates the set of values in String for ListMigrationObjectTypesSortOrderEnum

func GetListMigrationsLifecycleDetailsEnumStringValues

func GetListMigrationsLifecycleDetailsEnumStringValues() []string

GetListMigrationsLifecycleDetailsEnumStringValues Enumerates the set of values in String for ListMigrationsLifecycleDetailsEnum

func GetListMigrationsLifecycleStateEnumStringValues

func GetListMigrationsLifecycleStateEnumStringValues() []string

GetListMigrationsLifecycleStateEnumStringValues Enumerates the set of values in String for ListMigrationsLifecycleStateEnum

func GetListMigrationsSortByEnumStringValues

func GetListMigrationsSortByEnumStringValues() []string

GetListMigrationsSortByEnumStringValues Enumerates the set of values in String for ListMigrationsSortByEnum

func GetListMigrationsSortOrderEnumStringValues

func GetListMigrationsSortOrderEnumStringValues() []string

GetListMigrationsSortOrderEnumStringValues Enumerates the set of values in String for ListMigrationsSortOrderEnum

func GetListWorkRequestErrorsSortByEnumStringValues

func GetListWorkRequestErrorsSortByEnumStringValues() []string

GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortOrderEnumStringValues

func GetListWorkRequestErrorsSortOrderEnumStringValues() []string

GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestLogsSortByEnumStringValues

func GetListWorkRequestLogsSortByEnumStringValues() []string

GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortOrderEnumStringValues

func GetListWorkRequestLogsSortOrderEnumStringValues() []string

GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestsSortByEnumStringValues

func GetListWorkRequestsSortByEnumStringValues() []string

GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortOrderEnumStringValues

func GetListWorkRequestsSortOrderEnumStringValues() []string

GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsStatusEnumStringValues

func GetListWorkRequestsStatusEnumStringValues() []string

GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum

func GetMetadataRemapTypeEnumStringValues

func GetMetadataRemapTypeEnumStringValues() []string

GetMetadataRemapTypeEnumStringValues Enumerates the set of values in String for MetadataRemapTypeEnum

func GetMigrationDatabaseTargetTypesEnumStringValues

func GetMigrationDatabaseTargetTypesEnumStringValues() []string

GetMigrationDatabaseTargetTypesEnumStringValues Enumerates the set of values in String for MigrationDatabaseTargetTypesEnum

func GetMigrationDatabaseTargetTypesUpdateEnumStringValues

func GetMigrationDatabaseTargetTypesUpdateEnumStringValues() []string

GetMigrationDatabaseTargetTypesUpdateEnumStringValues Enumerates the set of values in String for MigrationDatabaseTargetTypesUpdateEnum

func GetMigrationLifecycleStatesEnumStringValues

func GetMigrationLifecycleStatesEnumStringValues() []string

GetMigrationLifecycleStatesEnumStringValues Enumerates the set of values in String for MigrationLifecycleStatesEnum

func GetMigrationStatusEnumStringValues

func GetMigrationStatusEnumStringValues() []string

GetMigrationStatusEnumStringValues Enumerates the set of values in String for MigrationStatusEnum

func GetMigrationTypesEnumStringValues

func GetMigrationTypesEnumStringValues() []string

GetMigrationTypesEnumStringValues Enumerates the set of values in String for MigrationTypesEnum

func GetObjectStatusEnumStringValues

func GetObjectStatusEnumStringValues() []string

GetObjectStatusEnumStringValues Enumerates the set of values in String for ObjectStatusEnum

func GetOdmsJobPhasesEnumStringValues

func GetOdmsJobPhasesEnumStringValues() []string

GetOdmsJobPhasesEnumStringValues Enumerates the set of values in String for OdmsJobPhasesEnum

func GetOdmsPhaseActionsEnumStringValues

func GetOdmsPhaseActionsEnumStringValues() []string

GetOdmsPhaseActionsEnumStringValues Enumerates the set of values in String for OdmsPhaseActionsEnum

func GetOperationStatusEnumStringValues

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypesEnumStringValues

func GetOperationTypesEnumStringValues() []string

GetOperationTypesEnumStringValues Enumerates the set of values in String for OperationTypesEnum

func GetPhaseExtractTypesEnumStringValues

func GetPhaseExtractTypesEnumStringValues() []string

GetPhaseExtractTypesEnumStringValues Enumerates the set of values in String for PhaseExtractTypesEnum

func GetReasonKeywordsEnumStringValues

func GetReasonKeywordsEnumStringValues() []string

GetReasonKeywordsEnumStringValues Enumerates the set of values in String for ReasonKeywordsEnum

func GetReplicatPerformanceProfileEnumStringValues added in v65.40.1

func GetReplicatPerformanceProfileEnumStringValues() []string

GetReplicatPerformanceProfileEnumStringValues Enumerates the set of values in String for ReplicatPerformanceProfileEnum

func GetResultTypeEnumStringValues added in v65.33.1

func GetResultTypeEnumStringValues() []string

GetResultTypeEnumStringValues Enumerates the set of values in String for ResultTypeEnum

func GetSortOrdersEnumStringValues

func GetSortOrdersEnumStringValues() []string

GetSortOrdersEnumStringValues Enumerates the set of values in String for SortOrdersEnum

func GetUnsupportedDatabaseObjectTypeEnumStringValues

func GetUnsupportedDatabaseObjectTypeEnumStringValues() []string

GetUnsupportedDatabaseObjectTypeEnumStringValues Enumerates the set of values in String for UnsupportedDatabaseObjectTypeEnum

func GetUpdateHostDumpTransferDetailsKindEnumStringValues

func GetUpdateHostDumpTransferDetailsKindEnumStringValues() []string

GetUpdateHostDumpTransferDetailsKindEnumStringValues Enumerates the set of values in String for UpdateHostDumpTransferDetailsKindEnum

func GetWorkRequestResourceActionTypeEnumStringValues

func GetWorkRequestResourceActionTypeEnumStringValues() []string

GetWorkRequestResourceActionTypeEnumStringValues Enumerates the set of values in String for WorkRequestResourceActionTypeEnum

func GetWorkRequestSummaryStatusEnumStringValues

func GetWorkRequestSummaryStatusEnumStringValues() []string

GetWorkRequestSummaryStatusEnumStringValues Enumerates the set of values in String for WorkRequestSummaryStatusEnum

Types

type AbortJobRequest

type AbortJobRequest struct {

	// The OCID of the job
	JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

AbortJobRequest wrapper for the AbortJob operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/AbortJob.go.html to see an example of how to use AbortJobRequest.

func (AbortJobRequest) BinaryRequestBody

func (request AbortJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (AbortJobRequest) HTTPRequest

func (request AbortJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (AbortJobRequest) RetryPolicy

func (request AbortJobRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (AbortJobRequest) String

func (request AbortJobRequest) String() string

func (AbortJobRequest) ValidateEnumValue

func (request AbortJobRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AbortJobResponse

type AbortJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Job instance
	Job `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

AbortJobResponse wrapper for the AbortJob operation

func (AbortJobResponse) HTTPResponse

func (response AbortJobResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (AbortJobResponse) String

func (response AbortJobResponse) String() string

type AdbDedicatedAutoCreateTablespaceDetails

type AdbDedicatedAutoCreateTablespaceDetails struct {

	// True to auto-create tablespace in the target Database.
	IsAutoCreate *bool `mandatory:"false" json:"isAutoCreate"`

	// True set tablespace to big file.
	IsBigFile *bool `mandatory:"false" json:"isBigFile"`

	// Size of extend in MB. Can only be specified if 'isBigFile' property is set to true.
	ExtendSizeInMBs *int `mandatory:"false" json:"extendSizeInMBs"`

	// Size of Oracle database blocks in KB.
	BlockSizeInKBs DataPumpTablespaceBlockSizesInKbEnum `mandatory:"false" json:"blockSizeInKBs,omitempty"`
}

AdbDedicatedAutoCreateTablespaceDetails Migration tablespace settings valid for ADB-D target type using auto create feature

func (AdbDedicatedAutoCreateTablespaceDetails) MarshalJSON

func (m AdbDedicatedAutoCreateTablespaceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AdbDedicatedAutoCreateTablespaceDetails) String

func (AdbDedicatedAutoCreateTablespaceDetails) ValidateEnumValue

func (m AdbDedicatedAutoCreateTablespaceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AdbDedicatedRemapTargetTablespaceDetails

type AdbDedicatedRemapTargetTablespaceDetails struct {

	// Name of tablespace at target to which the source database tablespace need to be remapped.
	RemapTarget *string `mandatory:"false" json:"remapTarget"`
}

AdbDedicatedRemapTargetTablespaceDetails Migration tablespace settings valid for ADB-D target type using remap feature

func (AdbDedicatedRemapTargetTablespaceDetails) MarshalJSON

func (m AdbDedicatedRemapTargetTablespaceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AdbDedicatedRemapTargetTablespaceDetails) String

func (AdbDedicatedRemapTargetTablespaceDetails) ValidateEnumValue

func (m AdbDedicatedRemapTargetTablespaceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AdbServerlesTablespaceDetails

type AdbServerlesTablespaceDetails struct {

	// Name of tablespace at target to which the source database tablespace need to be remapped.
	RemapTarget AdbServerlesTablespaceDetailsRemapTargetEnum `mandatory:"false" json:"remapTarget,omitempty"`
}

AdbServerlesTablespaceDetails Migration tablespace settings valid for ADB-D target type using remap feature

func (AdbServerlesTablespaceDetails) MarshalJSON

func (m AdbServerlesTablespaceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AdbServerlesTablespaceDetails) String

func (AdbServerlesTablespaceDetails) ValidateEnumValue

func (m AdbServerlesTablespaceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AdbServerlesTablespaceDetailsRemapTargetEnum

type AdbServerlesTablespaceDetailsRemapTargetEnum string

AdbServerlesTablespaceDetailsRemapTargetEnum Enum with underlying type: string

const (
	AdbServerlesTablespaceDetailsRemapTargetData AdbServerlesTablespaceDetailsRemapTargetEnum = "DATA"
)

Set of constants representing the allowable values for AdbServerlesTablespaceDetailsRemapTargetEnum

func GetAdbServerlesTablespaceDetailsRemapTargetEnumValues

func GetAdbServerlesTablespaceDetailsRemapTargetEnumValues() []AdbServerlesTablespaceDetailsRemapTargetEnum

GetAdbServerlesTablespaceDetailsRemapTargetEnumValues Enumerates the set of values for AdbServerlesTablespaceDetailsRemapTargetEnum

func GetMappingAdbServerlesTablespaceDetailsRemapTargetEnum

func GetMappingAdbServerlesTablespaceDetailsRemapTargetEnum(val string) (AdbServerlesTablespaceDetailsRemapTargetEnum, bool)

GetMappingAdbServerlesTablespaceDetailsRemapTargetEnum performs case Insensitive comparison on enum value and return the desired enum

type AddMigrationObjectsRequest

type AddMigrationObjectsRequest struct {

	// The OCID of the migration
	MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"`

	// Arrays of object.
	AddMigrationObjectsDetails MigrationObjectCollection `contributesTo:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

AddMigrationObjectsRequest wrapper for the AddMigrationObjects operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/AddMigrationObjects.go.html to see an example of how to use AddMigrationObjectsRequest.

func (AddMigrationObjectsRequest) BinaryRequestBody

func (request AddMigrationObjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (AddMigrationObjectsRequest) HTTPRequest

func (request AddMigrationObjectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (AddMigrationObjectsRequest) RetryPolicy

func (request AddMigrationObjectsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (AddMigrationObjectsRequest) String

func (request AddMigrationObjectsRequest) String() string

func (AddMigrationObjectsRequest) ValidateEnumValue

func (request AddMigrationObjectsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AddMigrationObjectsResponse

type AddMigrationObjectsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

AddMigrationObjectsResponse wrapper for the AddMigrationObjects operation

func (AddMigrationObjectsResponse) HTTPResponse

func (response AddMigrationObjectsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (AddMigrationObjectsResponse) String

func (response AddMigrationObjectsResponse) String() string

type AdminCredentials

type AdminCredentials struct {

	// Administrator username
	Username *string `mandatory:"true" json:"username"`
}

AdminCredentials Database Administrator Credentials details.

func (AdminCredentials) String

func (m AdminCredentials) String() string

func (AdminCredentials) ValidateEnumValue

func (m AdminCredentials) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AdvisorReport

type AdvisorReport struct {

	// Pre-Migration advisor result.
	Result AdvisorResultsEnum `mandatory:"true" json:"result"`

	// Number of Fatal results in the advisor report.
	NumberOfFatal *int `mandatory:"true" json:"numberOfFatal"`

	// Number of Fatal Blocker results in the advisor report.
	NumberOfFatalBlockers *int `mandatory:"true" json:"numberOfFatalBlockers"`

	// Number of Warning results in the advisor report.
	NumberOfWarnings *int `mandatory:"true" json:"numberOfWarnings"`

	// Number of Informational results in the advisor report.
	NumberOfInformationalResults *int `mandatory:"true" json:"numberOfInformationalResults"`

	ReportLocationDetails *AdvisorReportLocationDetails `mandatory:"false" json:"reportLocationDetails"`
}

AdvisorReport Pre-Migration advisor report details.

func (AdvisorReport) String

func (m AdvisorReport) String() string

func (AdvisorReport) ValidateEnumValue

func (m AdvisorReport) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AdvisorReportBucketDetails

type AdvisorReportBucketDetails struct {

	// Name of the bucket containing the Pre-Migration Advisor report.
	BucketName *string `mandatory:"true" json:"bucketName"`

	// Object Storage namespace.
	Namespace *string `mandatory:"true" json:"namespace"`

	// Pre-Migration Advisor report object name.
	ObjectName *string `mandatory:"true" json:"objectName"`
}

AdvisorReportBucketDetails Details to access Pre-Migration Advisor report in the specified Object Storage bucket, if any.

func (AdvisorReportBucketDetails) String

func (AdvisorReportBucketDetails) ValidateEnumValue

func (m AdvisorReportBucketDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AdvisorReportLocationDetails

type AdvisorReportLocationDetails struct {
	ObjectStorageDetails *AdvisorReportBucketDetails `mandatory:"false" json:"objectStorageDetails"`

	// Path in the Source Registered Connection where the Pre-Migration advisor report can be accessed.
	LocationInSource *string `mandatory:"false" json:"locationInSource"`
}

AdvisorReportLocationDetails Details to access Pre-Migration Advisor report.

func (AdvisorReportLocationDetails) String

func (AdvisorReportLocationDetails) ValidateEnumValue

func (m AdvisorReportLocationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AdvisorResultsEnum

type AdvisorResultsEnum string

AdvisorResultsEnum Enum with underlying type: string

const (
	AdvisorResultsFatal         AdvisorResultsEnum = "FATAL"
	AdvisorResultsBlocker       AdvisorResultsEnum = "BLOCKER"
	AdvisorResultsWarning       AdvisorResultsEnum = "WARNING"
	AdvisorResultsInformational AdvisorResultsEnum = "INFORMATIONAL"
	AdvisorResultsPass          AdvisorResultsEnum = "PASS"
)

Set of constants representing the allowable values for AdvisorResultsEnum

func GetAdvisorResultsEnumValues

func GetAdvisorResultsEnumValues() []AdvisorResultsEnum

GetAdvisorResultsEnumValues Enumerates the set of values for AdvisorResultsEnum

func GetMappingAdvisorResultsEnum

func GetMappingAdvisorResultsEnum(val string) (AdvisorResultsEnum, bool)

GetMappingAdvisorResultsEnum performs case Insensitive comparison on enum value and return the desired enum

type AdvisorSettings

type AdvisorSettings struct {

	// True to skip the Pre-Migration Advisor execution. Default is false.
	IsSkipAdvisor *bool `mandatory:"false" json:"isSkipAdvisor"`

	// True to not interrupt migration execution due to Pre-Migration Advisor errors. Default is false.
	IsIgnoreErrors *bool `mandatory:"false" json:"isIgnoreErrors"`
}

AdvisorSettings Optional Pre-Migration advisor settings.

func (AdvisorSettings) String

func (m AdvisorSettings) String() string

func (AdvisorSettings) ValidateEnumValue

func (m AdvisorSettings) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type Agent

type Agent struct {

	// The OCID of the resource
	Id *string `mandatory:"true" json:"id"`

	// ODMS Agent name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// OCID of the compartment
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the Stream
	StreamId *string `mandatory:"true" json:"streamId"`

	// ODMS Agent version
	Version *string `mandatory:"true" json:"version"`

	// The time the Agent was created. An RFC3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The time of the last Agent details update. An RFC3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the ODMS on-premises Agent.
	LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"`

	// ODMS Agent public key.
	PublicKey *string `mandatory:"false" json:"publicKey"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

Agent ODMS Agent Details

func (Agent) String

func (m Agent) String() string

func (Agent) ValidateEnumValue

func (m Agent) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AgentCollection

type AgentCollection struct {

	// Items in collection.
	Items []AgentSummary `mandatory:"true" json:"items"`
}

AgentCollection Results of an Agent search. Contains AgentSummary items.

func (AgentCollection) String

func (m AgentCollection) String() string

func (AgentCollection) ValidateEnumValue

func (m AgentCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AgentImageCollection

type AgentImageCollection struct {

	// Items in collection.
	Items []AgentImageSummary `mandatory:"true" json:"items"`
}

AgentImageCollection Results of an ODMS Agent Image search. Contains AgentImageSummary items.

func (AgentImageCollection) String

func (m AgentImageCollection) String() string

func (AgentImageCollection) ValidateEnumValue

func (m AgentImageCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AgentImageSummary

type AgentImageSummary struct {

	// ODMS Agent Image version.
	Version *string `mandatory:"true" json:"version"`

	// URL to download Agent Image of the ODMS Agent.
	DownloadUrl *string `mandatory:"true" json:"downloadUrl"`
}

AgentImageSummary Available ODMS Agent Images.

func (AgentImageSummary) String

func (m AgentImageSummary) String() string

func (AgentImageSummary) ValidateEnumValue

func (m AgentImageSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AgentSummary

type AgentSummary struct {

	// The OCID of the resource
	Id *string `mandatory:"true" json:"id"`

	// ODMS Agent name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// OCID of the compartment
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// ODMS Agent version
	Version *string `mandatory:"true" json:"version"`

	// The time the Agent was created. An RFC3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the ODMS on-premises Agent.
	LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID of the Stream
	StreamId *string `mandatory:"false" json:"streamId"`

	// The time of the last Agent details update. An RFC3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

AgentSummary ODMS Agent Details

func (AgentSummary) String

func (m AgentSummary) String() string

func (AgentSummary) ValidateEnumValue

func (m AgentSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AwsS3DataTransferMediumDetails added in v65.49.3

type AwsS3DataTransferMediumDetails struct {

	// S3 bucket name.
	Name *string `mandatory:"false" json:"name"`

	// AWS region code where the S3 bucket is located.
	// Region code should match the documented available regions:
	// https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
	Region *string `mandatory:"false" json:"region"`

	// AWS access key credentials identifier
	// Details: https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
	AccessKeyId *string `mandatory:"false" json:"accessKeyId"`

	// AWS secret access key credentials
	// Details: https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
	SecretAccessKey *string `mandatory:"false" json:"secretAccessKey"`

	ObjectStorageBucket *ObjectStoreBucket `mandatory:"false" json:"objectStorageBucket"`
}

AwsS3DataTransferMediumDetails AWS S3 bucket details used for source Connection resources with RDS_ORACLE type. Only supported for source Connection resources with RDS_ORACLE type.

func (AwsS3DataTransferMediumDetails) MarshalJSON added in v65.49.3

func (m AwsS3DataTransferMediumDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AwsS3DataTransferMediumDetails) String added in v65.49.3

func (AwsS3DataTransferMediumDetails) ValidateEnumValue added in v65.49.3

func (m AwsS3DataTransferMediumDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AwsS3Details

type AwsS3Details struct {

	// S3 bucket name.
	Name *string `mandatory:"true" json:"name"`

	// AWS region code where the S3 bucket is located.
	// Region code should match the documented available regions:
	// https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
	Region *string `mandatory:"true" json:"region"`
}

AwsS3Details AWS S3 bucket details used for source Connection resources with RDS_ORACLE type. Only supported for source Connection resources with RDS_ORACLE type.

func (AwsS3Details) String

func (m AwsS3Details) String() string

func (AwsS3Details) ValidateEnumValue

func (m AwsS3Details) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeAgentCompartmentDetails

type ChangeAgentCompartmentDetails struct {

	// The OCID of the compartment to move the resource to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeAgentCompartmentDetails Change Agent compartment details

func (ChangeAgentCompartmentDetails) String

func (ChangeAgentCompartmentDetails) ValidateEnumValue

func (m ChangeAgentCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeAgentCompartmentRequest

type ChangeAgentCompartmentRequest struct {

	// The OCID of the agent
	AgentId *string `mandatory:"true" contributesTo:"path" name:"agentId"`

	// Details to change the compartment.
	ChangeAgentCompartmentDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ChangeAgentCompartmentRequest wrapper for the ChangeAgentCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ChangeAgentCompartment.go.html to see an example of how to use ChangeAgentCompartmentRequest.

func (ChangeAgentCompartmentRequest) BinaryRequestBody

func (request ChangeAgentCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeAgentCompartmentRequest) HTTPRequest

func (request ChangeAgentCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeAgentCompartmentRequest) RetryPolicy

func (request ChangeAgentCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeAgentCompartmentRequest) String

func (request ChangeAgentCompartmentRequest) String() string

func (ChangeAgentCompartmentRequest) ValidateEnumValue

func (request ChangeAgentCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeAgentCompartmentResponse

type ChangeAgentCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeAgentCompartmentResponse wrapper for the ChangeAgentCompartment operation

func (ChangeAgentCompartmentResponse) HTTPResponse

func (response ChangeAgentCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeAgentCompartmentResponse) String

func (response ChangeAgentCompartmentResponse) String() string

type ChangeConnectionCompartmentDetails

type ChangeConnectionCompartmentDetails struct {

	// The OCID of the compartment to move the resource to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeConnectionCompartmentDetails Change Database Connection compartment details.

func (ChangeConnectionCompartmentDetails) String

func (ChangeConnectionCompartmentDetails) ValidateEnumValue

func (m ChangeConnectionCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeConnectionCompartmentRequest

type ChangeConnectionCompartmentRequest struct {

	// The OCID of the database connection
	ConnectionId *string `mandatory:"true" contributesTo:"path" name:"connectionId"`

	// Details to change the compartment.
	ChangeConnectionCompartmentDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ChangeConnectionCompartmentRequest wrapper for the ChangeConnectionCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ChangeConnectionCompartment.go.html to see an example of how to use ChangeConnectionCompartmentRequest.

func (ChangeConnectionCompartmentRequest) BinaryRequestBody

func (request ChangeConnectionCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeConnectionCompartmentRequest) HTTPRequest

func (request ChangeConnectionCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeConnectionCompartmentRequest) RetryPolicy

func (request ChangeConnectionCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeConnectionCompartmentRequest) String

func (request ChangeConnectionCompartmentRequest) String() string

func (ChangeConnectionCompartmentRequest) ValidateEnumValue

func (request ChangeConnectionCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeConnectionCompartmentResponse

type ChangeConnectionCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeConnectionCompartmentResponse wrapper for the ChangeConnectionCompartment operation

func (ChangeConnectionCompartmentResponse) HTTPResponse

func (response ChangeConnectionCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeConnectionCompartmentResponse) String

func (response ChangeConnectionCompartmentResponse) String() string

type ChangeMigrationCompartmentDetails

type ChangeMigrationCompartmentDetails struct {

	// The OCID of the compartment to move the resource to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeMigrationCompartmentDetails Change Migration compartment details.

func (ChangeMigrationCompartmentDetails) String

func (ChangeMigrationCompartmentDetails) ValidateEnumValue

func (m ChangeMigrationCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeMigrationCompartmentRequest

type ChangeMigrationCompartmentRequest struct {

	// The OCID of the migration
	MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"`

	// Details to change the compartment.
	ChangeMigrationCompartmentDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ChangeMigrationCompartmentRequest wrapper for the ChangeMigrationCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ChangeMigrationCompartment.go.html to see an example of how to use ChangeMigrationCompartmentRequest.

func (ChangeMigrationCompartmentRequest) BinaryRequestBody

func (request ChangeMigrationCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeMigrationCompartmentRequest) HTTPRequest

func (request ChangeMigrationCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeMigrationCompartmentRequest) RetryPolicy

func (request ChangeMigrationCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeMigrationCompartmentRequest) String

func (request ChangeMigrationCompartmentRequest) String() string

func (ChangeMigrationCompartmentRequest) ValidateEnumValue

func (request ChangeMigrationCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeMigrationCompartmentResponse

type ChangeMigrationCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeMigrationCompartmentResponse wrapper for the ChangeMigrationCompartment operation

func (ChangeMigrationCompartmentResponse) HTTPResponse

func (response ChangeMigrationCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeMigrationCompartmentResponse) String

func (response ChangeMigrationCompartmentResponse) String() string

type CloneMigrationDetails

type CloneMigrationDetails struct {

	// The OCID of the Source Database Connection.
	SourceDatabaseConnectionId *string `mandatory:"true" json:"sourceDatabaseConnectionId"`

	// The OCID of the Target Database Connection.
	TargetDatabaseConnectionId *string `mandatory:"true" json:"targetDatabaseConnectionId"`

	// Migration Display Name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// OCID of the compartment
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// The OCID of the registered on-premises ODMS Agent. Only valid for Offline Logical Migrations.
	AgentId *string `mandatory:"false" json:"agentId"`

	// The OCID of the Source Container Database Connection. Only used for Online migrations.
	// Only Connections of type Non-Autonomous can be used as source container databases.
	SourceContainerDatabaseConnectionId *string `mandatory:"false" json:"sourceContainerDatabaseConnectionId"`

	// Database objects to exclude from migration, cannot be specified alongside 'includeObjects'
	ExcludeObjects []DatabaseObject `mandatory:"false" json:"excludeObjects"`

	// Database objects to include from migration, cannot be specified alongside 'excludeObjects'
	IncludeObjects []DatabaseObject `mandatory:"false" json:"includeObjects"`

	VaultDetails *CreateVaultDetails `mandatory:"false" json:"vaultDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CloneMigrationDetails Details that will override an existing Migration configuration that will be cloned.

func (CloneMigrationDetails) String

func (m CloneMigrationDetails) String() string

func (CloneMigrationDetails) ValidateEnumValue

func (m CloneMigrationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CloneMigrationRequest

type CloneMigrationRequest struct {

	// The OCID of the migration
	MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"`

	// Clone Migration properties.
	CloneMigrationDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

CloneMigrationRequest wrapper for the CloneMigration operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/CloneMigration.go.html to see an example of how to use CloneMigrationRequest.

func (CloneMigrationRequest) BinaryRequestBody

func (request CloneMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CloneMigrationRequest) HTTPRequest

func (request CloneMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CloneMigrationRequest) RetryPolicy

func (request CloneMigrationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CloneMigrationRequest) String

func (request CloneMigrationRequest) String() string

func (CloneMigrationRequest) ValidateEnumValue

func (request CloneMigrationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CloneMigrationResponse

type CloneMigrationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Migration instance
	Migration `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

CloneMigrationResponse wrapper for the CloneMigration operation

func (CloneMigrationResponse) HTTPResponse

func (response CloneMigrationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CloneMigrationResponse) String

func (response CloneMigrationResponse) String() string

type ConnectDescriptor

type ConnectDescriptor struct {

	// Host of the connect descriptor.
	Host *string `mandatory:"false" json:"host"`

	// Port of the connect descriptor.
	Port *int `mandatory:"false" json:"port"`

	// Database service name.
	DatabaseServiceName *string `mandatory:"false" json:"databaseServiceName"`

	// Connect string.
	ConnectString *string `mandatory:"false" json:"connectString"`
}

ConnectDescriptor Connect Descriptor details.

func (ConnectDescriptor) String

func (m ConnectDescriptor) String() string

func (ConnectDescriptor) ValidateEnumValue

func (m ConnectDescriptor) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type Connection

type Connection struct {

	// The OCID of the resource
	Id *string `mandatory:"true" json:"id"`

	// OCID of the compartment
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Database connection type.
	DatabaseType DatabaseConnectionTypesEnum `mandatory:"true" json:"databaseType"`

	// Database Connection display name identifier.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The current state of the Connection resource.
	LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"`

	// The time the Connection resource was created. An RFC3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Database manual connection subtype. This value can only be specified for manual connections.
	ManualDatabaseSubType DatabaseManualConnectionSubTypesEnum `mandatory:"false" json:"manualDatabaseSubType,omitempty"`

	// True if the Autonomous Connection is dedicated. Not provided for Non-Autonomous Connections.
	IsDedicated *bool `mandatory:"false" json:"isDedicated"`

	// The OCID of the cloud database.
	DatabaseId *string `mandatory:"false" json:"databaseId"`

	ConnectDescriptor *ConnectDescriptor `mandatory:"false" json:"connectDescriptor"`

	// OCID of the Secret in the OCI vault containing the Database Connection credentials.
	CredentialsSecretId *string `mandatory:"false" json:"credentialsSecretId"`

	// This name is the distinguished name used while creating the certificate on target database.
	CertificateTdn *string `mandatory:"false" json:"certificateTdn"`

	SshDetails *SshDetails `mandatory:"false" json:"sshDetails"`

	AdminCredentials *AdminCredentials `mandatory:"false" json:"adminCredentials"`

	ReplicationCredentials *AdminCredentials `mandatory:"false" json:"replicationCredentials"`

	PrivateEndpoint *PrivateEndpointDetails `mandatory:"false" json:"privateEndpoint"`

	VaultDetails *VaultDetails `mandatory:"false" json:"vaultDetails"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information
	// for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The time of the last Connection resource details update. An RFC3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// An array of Network Security Group OCIDs used to define network access for Connections.
	NsgIds []string `mandatory:"false" json:"nsgIds"`
}

Connection Database Connection resource used for migrations.

func (Connection) String

func (m Connection) String() string

func (Connection) ValidateEnumValue

func (m Connection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ConnectionCollection

type ConnectionCollection struct {

	// Items in collection.
	Items []ConnectionSummary `mandatory:"true" json:"items"`
}

ConnectionCollection Results of a Database Connection search. Contains DatabaseConnectionSummary items.

func (ConnectionCollection) String

func (m ConnectionCollection) String() string

func (ConnectionCollection) ValidateEnumValue

func (m ConnectionCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ConnectionDiagnosticsRequest added in v65.33.1

type ConnectionDiagnosticsRequest struct {

	// The OCID of the database connection
	ConnectionId *string `mandatory:"true" contributesTo:"path" name:"connectionId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ConnectionDiagnosticsRequest wrapper for the ConnectionDiagnostics operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ConnectionDiagnostics.go.html to see an example of how to use ConnectionDiagnosticsRequest.

func (ConnectionDiagnosticsRequest) BinaryRequestBody added in v65.33.1

func (request ConnectionDiagnosticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ConnectionDiagnosticsRequest) HTTPRequest added in v65.33.1

func (request ConnectionDiagnosticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ConnectionDiagnosticsRequest) RetryPolicy added in v65.33.1

func (request ConnectionDiagnosticsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ConnectionDiagnosticsRequest) String added in v65.33.1

func (request ConnectionDiagnosticsRequest) String() string

func (ConnectionDiagnosticsRequest) ValidateEnumValue added in v65.33.1

func (request ConnectionDiagnosticsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ConnectionDiagnosticsResponse added in v65.33.1

type ConnectionDiagnosticsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DiagnosticsResult instance
	DiagnosticsResult `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

ConnectionDiagnosticsResponse wrapper for the ConnectionDiagnostics operation

func (ConnectionDiagnosticsResponse) HTTPResponse added in v65.33.1

func (response ConnectionDiagnosticsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ConnectionDiagnosticsResponse) String added in v65.33.1

func (response ConnectionDiagnosticsResponse) String() string

type ConnectionSummary

type ConnectionSummary struct {

	// The OCID of the resource
	Id *string `mandatory:"true" json:"id"`

	// OCID of the compartment
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Database connection type.
	DatabaseType DatabaseConnectionTypesEnum `mandatory:"true" json:"databaseType"`

	// Database Connection display name identifier.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The time the Connection resource was created. An RFC3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the Connection resource.
	LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"`

	// Database manual connection subtype. This value can only be specified for manual connections.
	ManualDatabaseSubType DatabaseManualConnectionSubTypesEnum `mandatory:"false" json:"manualDatabaseSubType,omitempty"`

	// True if the Autonomous Connection is dedicated. Not provided for Non-Autonomous Connections.
	IsDedicated *bool `mandatory:"false" json:"isDedicated"`

	// The OCID of the cloud database.
	DatabaseId *string `mandatory:"false" json:"databaseId"`

	// The time of the last Connection resource details update. An RFC3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information
	// for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// An array of Network Security Group OCIDs used to define network access for Connections.
	NsgIds []string `mandatory:"false" json:"nsgIds"`
}

ConnectionSummary Database Connection Summary.

func (ConnectionSummary) String

func (m ConnectionSummary) String() string

func (ConnectionSummary) ValidateEnumValue

func (m ConnectionSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateAdbDedicatedAutoCreateTablespaceDetails

type CreateAdbDedicatedAutoCreateTablespaceDetails struct {

	// True to auto-create tablespace in the target Database.
	IsAutoCreate *bool `mandatory:"false" json:"isAutoCreate"`

	// True set tablespace to big file.
	IsBigFile *bool `mandatory:"false" json:"isBigFile"`

	// Size of extend in MB. Can only be specified if 'isBigFile' property is set to true.
	ExtendSizeInMBs *int `mandatory:"false" json:"extendSizeInMBs"`

	// Size of Oracle database blocks in KB.
	BlockSizeInKBs DataPumpTablespaceBlockSizesInKbEnum `mandatory:"false" json:"blockSizeInKBs,omitempty"`
}

CreateAdbDedicatedAutoCreateTablespaceDetails Migration tablespace settings valid for ADB-D target type using auto create feature.

func (CreateAdbDedicatedAutoCreateTablespaceDetails) MarshalJSON

func (m CreateAdbDedicatedAutoCreateTablespaceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateAdbDedicatedAutoCreateTablespaceDetails) String

func (CreateAdbDedicatedAutoCreateTablespaceDetails) ValidateEnumValue

func (m CreateAdbDedicatedAutoCreateTablespaceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateAdbDedicatedRemapTargetTablespaceDetails

type CreateAdbDedicatedRemapTargetTablespaceDetails struct {

	// Name of tablespace at target to which the source database tablespace need to be remapped.
	RemapTarget *string `mandatory:"false" json:"remapTarget"`
}

CreateAdbDedicatedRemapTargetTablespaceDetails Migration tablespace settings valid for ADB-D target type using remap feature.

func (CreateAdbDedicatedRemapTargetTablespaceDetails) MarshalJSON

func (m CreateAdbDedicatedRemapTargetTablespaceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateAdbDedicatedRemapTargetTablespaceDetails) String

func (CreateAdbDedicatedRemapTargetTablespaceDetails) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateAdbServerlesTablespaceDetails

type CreateAdbServerlesTablespaceDetails struct {
}

CreateAdbServerlesTablespaceDetails Migration tablespace settings valid for ADB-S target type using remap feature.

func (CreateAdbServerlesTablespaceDetails) MarshalJSON

func (m CreateAdbServerlesTablespaceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateAdbServerlesTablespaceDetails) String

func (CreateAdbServerlesTablespaceDetails) ValidateEnumValue

func (m CreateAdbServerlesTablespaceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateAdminCredentials

type CreateAdminCredentials struct {

	// Administrator username
	Username *string `mandatory:"true" json:"username"`

	// Administrator password
	Password *string `mandatory:"true" json:"password"`
}

CreateAdminCredentials Database Administrator Credentials details.

func (CreateAdminCredentials) String

func (m CreateAdminCredentials) String() string

func (CreateAdminCredentials) ValidateEnumValue

func (m CreateAdminCredentials) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateAdvisorSettings

type CreateAdvisorSettings struct {

	// True to skip the Pre-Migration Advisor execution. Default is false.
	IsSkipAdvisor *bool `mandatory:"false" json:"isSkipAdvisor"`

	// True to not interrupt migration execution due to Pre-Migration Advisor errors. Default is false.
	IsIgnoreErrors *bool `mandatory:"false" json:"isIgnoreErrors"`
}

CreateAdvisorSettings Optional Pre-Migration advisor settings.

func (CreateAdvisorSettings) String

func (m CreateAdvisorSettings) String() string

func (CreateAdvisorSettings) ValidateEnumValue

func (m CreateAdvisorSettings) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateAwsS3Details

type CreateAwsS3Details struct {

	// S3 bucket name.
	Name *string `mandatory:"true" json:"name"`

	// AWS region code where the S3 bucket is located.
	// Region code should match the documented available regions:
	// https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
	Region *string `mandatory:"true" json:"region"`

	// AWS access key credentials identifier
	// Details: https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
	AccessKeyId *string `mandatory:"true" json:"accessKeyId"`

	// AWS secret access key credentials
	// Details: https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
	SecretAccessKey *string `mandatory:"true" json:"secretAccessKey"`
}

CreateAwsS3Details AWS S3 bucket details used for source Connection resources with RDS_ORACLE type. Only supported for source Connection resources with RDS_ORACLE type.

func (CreateAwsS3Details) String

func (m CreateAwsS3Details) String() string

func (CreateAwsS3Details) ValidateEnumValue

func (m CreateAwsS3Details) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateConnectDescriptor

type CreateConnectDescriptor struct {

	// Host or IP address of the connect descriptor. Required if no connectString was specified.
	Host *string `mandatory:"false" json:"host"`

	// Port of the connect descriptor. Required if no connectString was specified.
	Port *int `mandatory:"false" json:"port"`

	// Database service name. Required if no connectString was specified.
	DatabaseServiceName *string `mandatory:"false" json:"databaseServiceName"`

	// Connect String. Required if no host, port nor databaseServiceName were specified.
	// If a Private Endpoint was specified in the Connection, the host entry should be a valid IP address.
	// Supported formats:
	// Easy connect: <host>:<port>/<db_service_name>
	// Long format: (description= (address=(port=<port>)(host=<host>))(connect_data=(service_name=<db_service_name>)))
	ConnectString *string `mandatory:"false" json:"connectString"`
}

CreateConnectDescriptor Connect Descriptor details. Required for Manual and UserManagerOci connection types. If a Private Endpoint was specified for the Connection, the host should contain a valid IP address.

func (CreateConnectDescriptor) String

func (m CreateConnectDescriptor) String() string

func (CreateConnectDescriptor) ValidateEnumValue

func (m CreateConnectDescriptor) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateConnectionDetails

type CreateConnectionDetails struct {

	// OCID of the compartment
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Database connection type.
	DatabaseType DatabaseConnectionTypesEnum `mandatory:"true" json:"databaseType"`

	AdminCredentials *CreateAdminCredentials `mandatory:"true" json:"adminCredentials"`

	VaultDetails *CreateVaultDetails `mandatory:"true" json:"vaultDetails"`

	// Database Connection display name identifier.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Database manual connection subtype. This value can only be specified for manual connections.
	ManualDatabaseSubType DatabaseManualConnectionSubTypesEnum `mandatory:"false" json:"manualDatabaseSubType,omitempty"`

	// The OCID of the cloud database. Required if the database connection type is Autonomous.
	DatabaseId *string `mandatory:"false" json:"databaseId"`

	ConnectDescriptor *CreateConnectDescriptor `mandatory:"false" json:"connectDescriptor"`

	// This name is the distinguished name used while creating the certificate on target database. Requires a TLS wallet to be specified.
	// Not required for source container database connections.
	CertificateTdn *string `mandatory:"false" json:"certificateTdn"`

	// cwallet.sso containing containing the TCPS/SSL certificate; base64 encoded String. Not required for source container database connections.
	TlsWallet *string `mandatory:"false" json:"tlsWallet"`

	// keystore.jks file contents; base64 encoded String. Requires a TLS wallet to be specified. Not required for source container database connections.
	TlsKeystore *string `mandatory:"false" json:"tlsKeystore"`

	SshDetails *CreateSshDetails `mandatory:"false" json:"sshDetails"`

	ReplicationCredentials *CreateAdminCredentials `mandatory:"false" json:"replicationCredentials"`

	PrivateEndpoint *CreatePrivateEndpoint `mandatory:"false" json:"privateEndpoint"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// An array of Network Security Group OCIDs used to define network access for Connections.
	NsgIds []string `mandatory:"false" json:"nsgIds"`
}

CreateConnectionDetails Details to create a Database Connection resource.

func (CreateConnectionDetails) String

func (m CreateConnectionDetails) String() string

func (CreateConnectionDetails) ValidateEnumValue

func (m CreateConnectionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateConnectionRequest

type CreateConnectionRequest struct {

	// Database Connection properties.
	CreateConnectionDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

CreateConnectionRequest wrapper for the CreateConnection operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/CreateConnection.go.html to see an example of how to use CreateConnectionRequest.

func (CreateConnectionRequest) BinaryRequestBody

func (request CreateConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateConnectionRequest) HTTPRequest

func (request CreateConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateConnectionRequest) RetryPolicy

func (request CreateConnectionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateConnectionRequest) String

func (request CreateConnectionRequest) String() string

func (CreateConnectionRequest) ValidateEnumValue

func (request CreateConnectionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateConnectionResponse

type CreateConnectionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Connection instance
	Connection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

CreateConnectionResponse wrapper for the CreateConnection operation

func (CreateConnectionResponse) HTTPResponse

func (response CreateConnectionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateConnectionResponse) String

func (response CreateConnectionResponse) String() string

type CreateCurlTransferDetails

type CreateCurlTransferDetails struct {

	// Directory path to OCI SSL wallet location on Db server node.
	WalletLocation *string `mandatory:"false" json:"walletLocation"`
}

CreateCurlTransferDetails Optional properties for Curl-based dump transfer in source or target host.

func (CreateCurlTransferDetails) GetWalletLocation added in v65.43.0

func (m CreateCurlTransferDetails) GetWalletLocation() *string

GetWalletLocation returns WalletLocation

func (CreateCurlTransferDetails) MarshalJSON

func (m CreateCurlTransferDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateCurlTransferDetails) String

func (m CreateCurlTransferDetails) String() string

func (CreateCurlTransferDetails) ValidateEnumValue

func (m CreateCurlTransferDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDataPumpParameters

type CreateDataPumpParameters struct {

	// Set to false to force Data Pump worker process to run on one instance.
	IsCluster *bool `mandatory:"false" json:"isCluster"`

	// Estimate size of dumps that will be generated.
	Estimate DataPumpEstimateEnum `mandatory:"false" json:"estimate,omitempty"`

	// IMPORT: Specifies the action to be performed when data is loaded into a preexisting table.
	TableExistsAction DataPumpTableExistsActionEnum `mandatory:"false" json:"tableExistsAction,omitempty"`

	// Exclude paratemers for Export and Import.
	ExcludeParameters []DataPumpExcludeParametersEnum `mandatory:"false" json:"excludeParameters"`

	// Maximum number of worker processes that can be used for a Data Pump Import job.
	// For an Autonomous Database, ODMS will automatically query its CPU core count and set this property.
	ImportParallelismDegree *int `mandatory:"false" json:"importParallelismDegree"`

	// Maximum number of worker processes that can be used for a Data Pump Export job.
	ExportParallelismDegree *int `mandatory:"false" json:"exportParallelismDegree"`
}

CreateDataPumpParameters Optional parameters for Data Pump Export and Import. Refer to Configuring Optional Initial Load Advanced Settings (https://docs.us.oracle.com/en/cloud/paas/database-migration/dmsus/working-migration-resources.html#GUID-24BD3054-FDF8-48FF-8492-636C1D4B71ED)

func (CreateDataPumpParameters) String

func (m CreateDataPumpParameters) String() string

func (CreateDataPumpParameters) ValidateEnumValue

func (m CreateDataPumpParameters) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDataPumpSettings

type CreateDataPumpSettings struct {

	// Data Pump job mode.
	// Refer to link text (https://docs.oracle.com/en/database/oracle/oracle-database/19/sutil/oracle-data-pump-export-utility.html#GUID-8E497131-6B9B-4CC8-AA50-35F480CAC2C4)
	JobMode DataPumpJobModeEnum `mandatory:"false" json:"jobMode,omitempty"`

	DataPumpParameters *CreateDataPumpParameters `mandatory:"false" json:"dataPumpParameters"`

	// Defines remapping to be applied to objects as they are processed.
	// Refer to DATA_REMAP (https://docs.oracle.com/en/database/oracle/oracle-database/19/arpls/DBMS_DATAPUMP.html#GUID-E75AAE6F-4EA6-4737-A752-6B62F5E9D460)
	MetadataRemaps []MetadataRemap `mandatory:"false" json:"metadataRemaps"`

	TablespaceDetails CreateTargetTypeTablespaceDetails `mandatory:"false" json:"tablespaceDetails"`

	ExportDirectoryObject *CreateDirectoryObject `mandatory:"false" json:"exportDirectoryObject"`

	ImportDirectoryObject *CreateDirectoryObject `mandatory:"false" json:"importDirectoryObject"`
}

CreateDataPumpSettings Optional settings for Data Pump Export and Import jobs

func (CreateDataPumpSettings) String

func (m CreateDataPumpSettings) String() string

func (*CreateDataPumpSettings) UnmarshalJSON

func (m *CreateDataPumpSettings) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (CreateDataPumpSettings) ValidateEnumValue

func (m CreateDataPumpSettings) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDataTransferMediumDetails

type CreateDataTransferMediumDetails struct {
	DatabaseLinkDetails *CreateDatabaseLinkDetails `mandatory:"false" json:"databaseLinkDetails"`

	ObjectStorageDetails *CreateObjectStoreBucket `mandatory:"false" json:"objectStorageDetails"`

	AwsS3Details *CreateAwsS3Details `mandatory:"false" json:"awsS3Details"`
}

CreateDataTransferMediumDetails Data Transfer Medium details for the Migration. If not specified, it will default to Database Link. Only one type of data transfer medium can be specified, except for the case of Amazon RDS Oracle as source, where Object Storage Details along with AwsS3Details are required.

func (CreateDataTransferMediumDetails) String

func (CreateDataTransferMediumDetails) ValidateEnumValue

func (m CreateDataTransferMediumDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDatabaseLinkDetails

type CreateDatabaseLinkDetails struct {

	// Name of database link from OCI database to on-premise database. ODMS will create link, if the link does not already exist.
	Name *string `mandatory:"false" json:"name"`

	WalletBucket *CreateObjectStoreBucket `mandatory:"false" json:"walletBucket"`
}

CreateDatabaseLinkDetails Optional details for creating a network database link from OCI database to on-premise database.

func (CreateDatabaseLinkDetails) String

func (m CreateDatabaseLinkDetails) String() string

func (CreateDatabaseLinkDetails) ValidateEnumValue

func (m CreateDatabaseLinkDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDirectoryObject

type CreateDirectoryObject struct {

	// Name of directory object in database
	Name *string `mandatory:"true" json:"name"`

	// Absolute path of directory on database server
	Path *string `mandatory:"false" json:"path"`
}

CreateDirectoryObject Directory object details, used to define either import or export directory objects in Data Pump Settings. Import directory is required for Non-Autonomous target connections. If specified for an autonomous target, it will show an error. Export directory will error if there are database link details specified.

func (CreateDirectoryObject) String

func (m CreateDirectoryObject) String() string

func (CreateDirectoryObject) ValidateEnumValue

func (m CreateDirectoryObject) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDumpTransferDetails

type CreateDumpTransferDetails struct {
	Source CreateHostDumpTransferDetails `mandatory:"false" json:"source"`

	Target CreateHostDumpTransferDetails `mandatory:"false" json:"target"`

	// OCID of the shared storage mount target
	SharedStorageMountTargetId *string `mandatory:"false" json:"sharedStorageMountTargetId"`
}

CreateDumpTransferDetails Optional additional properties for dump transfer.

func (CreateDumpTransferDetails) String

func (m CreateDumpTransferDetails) String() string

func (*CreateDumpTransferDetails) UnmarshalJSON

func (m *CreateDumpTransferDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (CreateDumpTransferDetails) ValidateEnumValue

func (m CreateDumpTransferDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateExtract

type CreateExtract struct {

	// Extract performance.
	PerformanceProfile ExtractPerformanceProfileEnum `mandatory:"false" json:"performanceProfile,omitempty"`

	// Length of time (in seconds) that a transaction can be open before Extract generates a warning message that the transaction is long-running.
	// If not specified, Extract will not generate a warning on long-running transactions.
	LongTransDuration *int `mandatory:"false" json:"longTransDuration"`
}

CreateExtract Parameters for GoldenGate Extract processes.

func (CreateExtract) String

func (m CreateExtract) String() string

func (CreateExtract) ValidateEnumValue

func (m CreateExtract) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateGoldenGateDetails

type CreateGoldenGateDetails struct {
	Hub *CreateGoldenGateHub `mandatory:"true" json:"hub"`

	Settings *CreateGoldenGateSettings `mandatory:"false" json:"settings"`
}

CreateGoldenGateDetails Details about Oracle GoldenGate Microservices. Required for online logical migration.

func (CreateGoldenGateDetails) String

func (m CreateGoldenGateDetails) String() string

func (CreateGoldenGateDetails) ValidateEnumValue

func (m CreateGoldenGateDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateGoldenGateHub

type CreateGoldenGateHub struct {
	RestAdminCredentials *CreateAdminCredentials `mandatory:"true" json:"restAdminCredentials"`

	// Oracle GoldenGate Microservices hub's REST endpoint.
	// Refer to https://docs.oracle.com/en/middleware/goldengate/core/19.1/securing/network.html#GUID-A709DA55-111D-455E-8942-C9BDD1E38CAA
	Url *string `mandatory:"true" json:"url"`

	SourceDbAdminCredentials *CreateAdminCredentials `mandatory:"false" json:"sourceDbAdminCredentials"`

	SourceContainerDbAdminCredentials *CreateAdminCredentials `mandatory:"false" json:"sourceContainerDbAdminCredentials"`

	TargetDbAdminCredentials *CreateAdminCredentials `mandatory:"false" json:"targetDbAdminCredentials"`

	// Name of GoldenGate Microservices deployment to operate on source database
	SourceMicroservicesDeploymentName *string `mandatory:"false" json:"sourceMicroservicesDeploymentName"`

	// Name of GoldenGate Microservices deployment to operate on target database
	TargetMicroservicesDeploymentName *string `mandatory:"false" json:"targetMicroservicesDeploymentName"`

	// OCID of GoldenGate Microservices compute instance.
	ComputeId *string `mandatory:"false" json:"computeId"`
}

CreateGoldenGateHub Details about Oracle GoldenGate Microservices. Required for online logical migration.

func (CreateGoldenGateHub) String

func (m CreateGoldenGateHub) String() string

func (CreateGoldenGateHub) ValidateEnumValue

func (m CreateGoldenGateHub) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateGoldenGateServiceDetails added in v65.48.0

type CreateGoldenGateServiceDetails struct {
	SourceDbCredentials *DatabaseCredentials `mandatory:"false" json:"sourceDbCredentials"`

	SourceContainerDbCredentials *DatabaseCredentials `mandatory:"false" json:"sourceContainerDbCredentials"`

	TargetDbCredentials *DatabaseCredentials `mandatory:"false" json:"targetDbCredentials"`

	Settings *CreateGoldenGateSettings `mandatory:"false" json:"settings"`
}

CreateGoldenGateServiceDetails Details about Oracle GoldenGate GGS Deployment.

func (CreateGoldenGateServiceDetails) String added in v65.48.0

func (CreateGoldenGateServiceDetails) ValidateEnumValue added in v65.48.0

func (m CreateGoldenGateServiceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateGoldenGateSettings

type CreateGoldenGateSettings struct {
	Extract *CreateExtract `mandatory:"false" json:"extract"`

	Replicat *CreateReplicat `mandatory:"false" json:"replicat"`

	// ODMS will monitor GoldenGate end-to-end latency until the lag time is lower than the specified value in seconds.
	AcceptableLag *int `mandatory:"false" json:"acceptableLag"`
}

CreateGoldenGateSettings Optional settings for GoldenGate Microservices processes

func (CreateGoldenGateSettings) String

func (m CreateGoldenGateSettings) String() string

func (CreateGoldenGateSettings) ValidateEnumValue

func (m CreateGoldenGateSettings) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateHostDumpTransferDetails

type CreateHostDumpTransferDetails interface {

	// Directory path to OCI SSL wallet location on Db server node.
	GetWalletLocation() *string
}

CreateHostDumpTransferDetails Optional additional properties for dump transfer in source or target host. Default kind is CURL

type CreateHostDumpTransferDetailsKindEnum

type CreateHostDumpTransferDetailsKindEnum string

CreateHostDumpTransferDetailsKindEnum Enum with underlying type: string

const (
	CreateHostDumpTransferDetailsKindCurl   CreateHostDumpTransferDetailsKindEnum = "CURL"
	CreateHostDumpTransferDetailsKindOciCli CreateHostDumpTransferDetailsKindEnum = "OCI_CLI"
)

Set of constants representing the allowable values for CreateHostDumpTransferDetailsKindEnum

func GetCreateHostDumpTransferDetailsKindEnumValues

func GetCreateHostDumpTransferDetailsKindEnumValues() []CreateHostDumpTransferDetailsKindEnum

GetCreateHostDumpTransferDetailsKindEnumValues Enumerates the set of values for CreateHostDumpTransferDetailsKindEnum

func GetMappingCreateHostDumpTransferDetailsKindEnum

func GetMappingCreateHostDumpTransferDetailsKindEnum(val string) (CreateHostDumpTransferDetailsKindEnum, bool)

GetMappingCreateHostDumpTransferDetailsKindEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateMigrationDetails

type CreateMigrationDetails struct {

	// Migration type.
	Type MigrationTypesEnum `mandatory:"true" json:"type"`

	// OCID of the compartment
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the Source Database Connection.
	SourceDatabaseConnectionId *string `mandatory:"true" json:"sourceDatabaseConnectionId"`

	// The OCID of the Target Database Connection.
	TargetDatabaseConnectionId *string `mandatory:"true" json:"targetDatabaseConnectionId"`

	// Migration Display Name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The OCID of the registered ODMS Agent. Only valid for Offline Logical Migrations.
	AgentId *string `mandatory:"false" json:"agentId"`

	// The OCID of the Source Container Database Connection. Only used for Online migrations.
	// Only Connections of type Non-Autonomous can be used as source container databases.
	SourceContainerDatabaseConnectionId *string `mandatory:"false" json:"sourceContainerDatabaseConnectionId"`

	DataTransferMediumDetailsV2 DataTransferMediumDetailsV2 `mandatory:"false" json:"dataTransferMediumDetailsV2"`

	DataTransferMediumDetails *CreateDataTransferMediumDetails `mandatory:"false" json:"dataTransferMediumDetails"`

	DumpTransferDetails *CreateDumpTransferDetails `mandatory:"false" json:"dumpTransferDetails"`

	DatapumpSettings *CreateDataPumpSettings `mandatory:"false" json:"datapumpSettings"`

	AdvisorSettings *CreateAdvisorSettings `mandatory:"false" json:"advisorSettings"`

	// Database objects to exclude from migration, cannot be specified alongside 'includeObjects'
	ExcludeObjects []DatabaseObject `mandatory:"false" json:"excludeObjects"`

	// Database objects to include from migration, cannot be specified alongside 'excludeObjects'
	IncludeObjects []DatabaseObject `mandatory:"false" json:"includeObjects"`

	// Database objects to exclude/include from migration in CSV format. The excludeObjects and includeObjects fields will be ignored if this field is not null.
	CsvText *string `mandatory:"false" json:"csvText"`

	GoldenGateDetails *CreateGoldenGateDetails `mandatory:"false" json:"goldenGateDetails"`

	GoldenGateServiceDetails *CreateGoldenGateServiceDetails `mandatory:"false" json:"goldenGateServiceDetails"`

	VaultDetails *CreateVaultDetails `mandatory:"false" json:"vaultDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateMigrationDetails Create Migration resource parameters.

func (CreateMigrationDetails) String

func (m CreateMigrationDetails) String() string

func (*CreateMigrationDetails) UnmarshalJSON added in v65.49.3

func (m *CreateMigrationDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (CreateMigrationDetails) ValidateEnumValue

func (m CreateMigrationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateMigrationRequest

type CreateMigrationRequest struct {

	// Migration properties.
	CreateMigrationDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

CreateMigrationRequest wrapper for the CreateMigration operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/CreateMigration.go.html to see an example of how to use CreateMigrationRequest.

func (CreateMigrationRequest) BinaryRequestBody

func (request CreateMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateMigrationRequest) HTTPRequest

func (request CreateMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateMigrationRequest) RetryPolicy

func (request CreateMigrationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateMigrationRequest) String

func (request CreateMigrationRequest) String() string

func (CreateMigrationRequest) ValidateEnumValue

func (request CreateMigrationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateMigrationResponse

type CreateMigrationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Migration instance
	Migration `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

CreateMigrationResponse wrapper for the CreateMigration operation

func (CreateMigrationResponse) HTTPResponse

func (response CreateMigrationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateMigrationResponse) String

func (response CreateMigrationResponse) String() string

type CreateNonAdbAutoCreateTablespaceDetails

type CreateNonAdbAutoCreateTablespaceDetails struct {

	// True to auto-create tablespace in the target Database.
	IsAutoCreate *bool `mandatory:"false" json:"isAutoCreate"`

	// True set tablespace to big file.
	IsBigFile *bool `mandatory:"false" json:"isBigFile"`

	// Size of extend in MB. Can only be specified if 'isBigFile' property is set to true.
	ExtendSizeInMBs *int `mandatory:"false" json:"extendSizeInMBs"`

	// Size of Oracle database blocks in KB.
	BlockSizeInKBs DataPumpTablespaceBlockSizesInKbEnum `mandatory:"false" json:"blockSizeInKBs,omitempty"`
}

CreateNonAdbAutoCreateTablespaceDetails Migration tablespace settings valid for NON-ADB target type using auto create feature.

func (CreateNonAdbAutoCreateTablespaceDetails) MarshalJSON

func (m CreateNonAdbAutoCreateTablespaceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateNonAdbAutoCreateTablespaceDetails) String

func (CreateNonAdbAutoCreateTablespaceDetails) ValidateEnumValue

func (m CreateNonAdbAutoCreateTablespaceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateNonAdbRemapTablespaceDetails

type CreateNonAdbRemapTablespaceDetails struct {

	// Name of tablespace at target to which the source database tablespace need to be remapped.
	RemapTarget *string `mandatory:"false" json:"remapTarget"`
}

CreateNonAdbRemapTablespaceDetails Migration tablespace settings valid for NON-ADB target type using remap feature.

func (CreateNonAdbRemapTablespaceDetails) MarshalJSON

func (m CreateNonAdbRemapTablespaceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateNonAdbRemapTablespaceDetails) String

func (CreateNonAdbRemapTablespaceDetails) ValidateEnumValue

func (m CreateNonAdbRemapTablespaceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateObjectStoreBucket

type CreateObjectStoreBucket struct {

	// Namespace name of the object store bucket.
	NamespaceName *string `mandatory:"true" json:"namespaceName"`

	// Bucket name.
	BucketName *string `mandatory:"true" json:"bucketName"`
}

CreateObjectStoreBucket In lieu of a network database link, OCI Object Storage bucket will be used to store Data Pump dump files for the migration. Additionally, it can be specified alongside a database link data transfer medium.

func (CreateObjectStoreBucket) String

func (m CreateObjectStoreBucket) String() string

func (CreateObjectStoreBucket) ValidateEnumValue

func (m CreateObjectStoreBucket) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateOciCliDumpTransferDetails

type CreateOciCliDumpTransferDetails struct {

	// Path to the OCI CLI installation in the node.
	OciHome *string `mandatory:"true" json:"ociHome"`

	// Directory path to OCI SSL wallet location on Db server node.
	WalletLocation *string `mandatory:"false" json:"walletLocation"`
}

CreateOciCliDumpTransferDetails Optional dump transfer details for OCI-CLI-based dump transfer in source or target host.

func (CreateOciCliDumpTransferDetails) GetWalletLocation added in v65.43.0

func (m CreateOciCliDumpTransferDetails) GetWalletLocation() *string

GetWalletLocation returns WalletLocation

func (CreateOciCliDumpTransferDetails) MarshalJSON

func (m CreateOciCliDumpTransferDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateOciCliDumpTransferDetails) String

func (CreateOciCliDumpTransferDetails) ValidateEnumValue

func (m CreateOciCliDumpTransferDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreatePrivateEndpoint

type CreatePrivateEndpoint struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to contain the
	// private endpoint.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN where the Private Endpoint will be bound to.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the customer's subnet where the private endpoint VNIC
	// will reside.
	SubnetId *string `mandatory:"true" json:"subnetId"`
}

CreatePrivateEndpoint OCI Private Endpoint configuration details. Not required for source container database connections, it will default to the specified Source Database Connection Private Endpoint.

func (CreatePrivateEndpoint) String

func (m CreatePrivateEndpoint) String() string

func (CreatePrivateEndpoint) ValidateEnumValue

func (m CreatePrivateEndpoint) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateReplicat

type CreateReplicat struct {

	// Replicat performance.
	PerformanceProfile ReplicatPerformanceProfileEnum `mandatory:"false" json:"performanceProfile,omitempty"`

	// Number of threads used to read trail files (valid for Parallel Replicat)
	MapParallelism *int `mandatory:"false" json:"mapParallelism"`

	// Defines the range in which the Replicat automatically adjusts its apply parallelism (valid for Parallel Replicat)
	MinApplyParallelism *int `mandatory:"false" json:"minApplyParallelism"`

	// Defines the range in which the Replicat automatically adjusts its apply parallelism (valid for Parallel Replicat)
	MaxApplyParallelism *int `mandatory:"false" json:"maxApplyParallelism"`
}

CreateReplicat Parameters for GoldenGate Replicat processes.

func (CreateReplicat) String

func (m CreateReplicat) String() string

func (CreateReplicat) ValidateEnumValue

func (m CreateReplicat) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateSshDetails

type CreateSshDetails struct {

	// Name of the host the SSH key is valid for.
	Host *string `mandatory:"true" json:"host"`

	// Private SSH key string.
	Sshkey *string `mandatory:"true" json:"sshkey"`

	// SSH user
	User *string `mandatory:"true" json:"user"`

	// Sudo location
	SudoLocation *string `mandatory:"false" json:"sudoLocation"`
}

CreateSshDetails Details of the SSH key that will be used. Required for source database Manual and UserManagerOci connection types. Not required for source container database connections.

func (CreateSshDetails) String

func (m CreateSshDetails) String() string

func (CreateSshDetails) ValidateEnumValue

func (m CreateSshDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateTargetTypeTablespaceDetails

type CreateTargetTypeTablespaceDetails interface {
}

CreateTargetTypeTablespaceDetails Migration tablespace settings.

type CreateVaultDetails

type CreateVaultDetails struct {

	// OCID of the compartment where the secret containing the credentials will be created.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// OCID of the vault
	VaultId *string `mandatory:"true" json:"vaultId"`

	// OCID of the vault encryption key
	KeyId *string `mandatory:"true" json:"keyId"`
}

CreateVaultDetails OCI Vault details to store migration and connection credentials secrets

func (CreateVaultDetails) String

func (m CreateVaultDetails) String() string

func (CreateVaultDetails) ValidateEnumValue

func (m CreateVaultDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CurlTransferDetails

type CurlTransferDetails struct {

	// Directory path to OCI SSL wallet location on Db server node.
	WalletLocation *string `mandatory:"false" json:"walletLocation"`
}

CurlTransferDetails Optional properties for Curl-based dump transfer in source or target host.

func (CurlTransferDetails) GetWalletLocation added in v65.43.0

func (m CurlTransferDetails) GetWalletLocation() *string

GetWalletLocation returns WalletLocation

func (CurlTransferDetails) MarshalJSON

func (m CurlTransferDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CurlTransferDetails) String

func (m CurlTransferDetails) String() string

func (CurlTransferDetails) ValidateEnumValue

func (m CurlTransferDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DataPumpEstimateEnum

type DataPumpEstimateEnum string

DataPumpEstimateEnum Enum with underlying type: string

const (
	DataPumpEstimateBlocks     DataPumpEstimateEnum = "BLOCKS"
	DataPumpEstimateStatistics DataPumpEstimateEnum = "STATISTICS"
)

Set of constants representing the allowable values for DataPumpEstimateEnum

func GetDataPumpEstimateEnumValues

func GetDataPumpEstimateEnumValues() []DataPumpEstimateEnum

GetDataPumpEstimateEnumValues Enumerates the set of values for DataPumpEstimateEnum

func GetMappingDataPumpEstimateEnum

func GetMappingDataPumpEstimateEnum(val string) (DataPumpEstimateEnum, bool)

GetMappingDataPumpEstimateEnum performs case Insensitive comparison on enum value and return the desired enum

type DataPumpExcludeParametersEnum

type DataPumpExcludeParametersEnum string

DataPumpExcludeParametersEnum Enum with underlying type: string

const (
	DataPumpExcludeParametersIndex               DataPumpExcludeParametersEnum = "INDEX"
	DataPumpExcludeParametersMaterializedView    DataPumpExcludeParametersEnum = "MATERIALIZED_VIEW"
	DataPumpExcludeParametersMaterializedViewLog DataPumpExcludeParametersEnum = "MATERIALIZED_VIEW_LOG"
)

Set of constants representing the allowable values for DataPumpExcludeParametersEnum

func GetDataPumpExcludeParametersEnumValues

func GetDataPumpExcludeParametersEnumValues() []DataPumpExcludeParametersEnum

GetDataPumpExcludeParametersEnumValues Enumerates the set of values for DataPumpExcludeParametersEnum

func GetMappingDataPumpExcludeParametersEnum

func GetMappingDataPumpExcludeParametersEnum(val string) (DataPumpExcludeParametersEnum, bool)

GetMappingDataPumpExcludeParametersEnum performs case Insensitive comparison on enum value and return the desired enum

type DataPumpJobModeEnum

type DataPumpJobModeEnum string

DataPumpJobModeEnum Enum with underlying type: string

const (
	DataPumpJobModeFull          DataPumpJobModeEnum = "FULL"
	DataPumpJobModeSchema        DataPumpJobModeEnum = "SCHEMA"
	DataPumpJobModeTable         DataPumpJobModeEnum = "TABLE"
	DataPumpJobModeTablespace    DataPumpJobModeEnum = "TABLESPACE"
	DataPumpJobModeTransportable DataPumpJobModeEnum = "TRANSPORTABLE"
)

Set of constants representing the allowable values for DataPumpJobModeEnum

func GetDataPumpJobModeEnumValues

func GetDataPumpJobModeEnumValues() []DataPumpJobModeEnum

GetDataPumpJobModeEnumValues Enumerates the set of values for DataPumpJobModeEnum

func GetMappingDataPumpJobModeEnum

func GetMappingDataPumpJobModeEnum(val string) (DataPumpJobModeEnum, bool)

GetMappingDataPumpJobModeEnum performs case Insensitive comparison on enum value and return the desired enum

type DataPumpParameters

type DataPumpParameters struct {

	// Set to false to force Data Pump worker processes to run on one instance.
	IsCluster *bool `mandatory:"false" json:"isCluster"`

	// Estimate size of dumps that will be generated.
	Estimate DataPumpEstimateEnum `mandatory:"false" json:"estimate,omitempty"`

	// IMPORT: Specifies the action to be performed when data is loaded into a preexisting table.
	TableExistsAction DataPumpTableExistsActionEnum `mandatory:"false" json:"tableExistsAction,omitempty"`

	// Exclude paratemers for Export and Import.
	ExcludeParameters []DataPumpExcludeParametersEnum `mandatory:"false" json:"excludeParameters"`

	// Maximum number of worker processes that can be used for a Data Pump Import job.
	// For an Autonomous Database, ODMS will automatically query its CPU core count and set this property.
	ImportParallelismDegree *int `mandatory:"false" json:"importParallelismDegree"`

	// Maximum number of worker processes that can be used for a Data Pump Export job.
	ExportParallelismDegree *int `mandatory:"false" json:"exportParallelismDegree"`
}

DataPumpParameters Optional parameters for Data Pump Export and Import. Refer to Configuring Optional Initial Load Advanced Settings (https://docs.us.oracle.com/en/cloud/paas/database-migration/dmsus/working-migration-resources.html#GUID-24BD3054-FDF8-48FF-8492-636C1D4B71ED)

func (DataPumpParameters) String

func (m DataPumpParameters) String() string

func (DataPumpParameters) ValidateEnumValue

func (m DataPumpParameters) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DataPumpSettings

type DataPumpSettings struct {

	// Data Pump job mode.
	// Refer to Data Pump Export Modes  (https://docs.oracle.com/en/database/oracle/oracle-database/19/sutil/oracle-data-pump-export-utility.html#GUID-8E497131-6B9B-4CC8-AA50-35F480CAC2C4)
	JobMode DataPumpJobModeEnum `mandatory:"false" json:"jobMode,omitempty"`

	DataPumpParameters *DataPumpParameters `mandatory:"false" json:"dataPumpParameters"`

	// Defines remapping to be applied to objects as they are processed.
	// Refer to METADATA_REMAP Procedure  (https://docs.oracle.com/en/database/oracle/oracle-database/19/arpls/DBMS_DATAPUMP.html#GUID-0FC32790-91E6-4781-87A3-229DE024CB3D)
	MetadataRemaps []MetadataRemap `mandatory:"false" json:"metadataRemaps"`

	TablespaceDetails TargetTypeTablespaceDetails `mandatory:"false" json:"tablespaceDetails"`

	ExportDirectoryObject *DirectoryObject `mandatory:"false" json:"exportDirectoryObject"`

	ImportDirectoryObject *DirectoryObject `mandatory:"false" json:"importDirectoryObject"`
}

DataPumpSettings Optional settings for Data Pump Export and Import jobs

func (DataPumpSettings) String

func (m DataPumpSettings) String() string

func (*DataPumpSettings) UnmarshalJSON

func (m *DataPumpSettings) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (DataPumpSettings) ValidateEnumValue

func (m DataPumpSettings) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DataPumpTableExistsActionEnum

type DataPumpTableExistsActionEnum string

DataPumpTableExistsActionEnum Enum with underlying type: string

const (
	DataPumpTableExistsActionTruncate DataPumpTableExistsActionEnum = "TRUNCATE"
	DataPumpTableExistsActionReplace  DataPumpTableExistsActionEnum = "REPLACE"
	DataPumpTableExistsActionAppend   DataPumpTableExistsActionEnum = "APPEND"
	DataPumpTableExistsActionSkip     DataPumpTableExistsActionEnum = "SKIP"
)

Set of constants representing the allowable values for DataPumpTableExistsActionEnum

func GetDataPumpTableExistsActionEnumValues

func GetDataPumpTableExistsActionEnumValues() []DataPumpTableExistsActionEnum

GetDataPumpTableExistsActionEnumValues Enumerates the set of values for DataPumpTableExistsActionEnum

func GetMappingDataPumpTableExistsActionEnum

func GetMappingDataPumpTableExistsActionEnum(val string) (DataPumpTableExistsActionEnum, bool)

GetMappingDataPumpTableExistsActionEnum performs case Insensitive comparison on enum value and return the desired enum

type DataPumpTablespaceBlockSizesInKbEnum added in v65.40.1

type DataPumpTablespaceBlockSizesInKbEnum string

DataPumpTablespaceBlockSizesInKbEnum Enum with underlying type: string

const (
	DataPumpTablespaceBlockSizesInKbSize8K  DataPumpTablespaceBlockSizesInKbEnum = "SIZE_8K"
	DataPumpTablespaceBlockSizesInKbSize16K DataPumpTablespaceBlockSizesInKbEnum = "SIZE_16K"
)

Set of constants representing the allowable values for DataPumpTablespaceBlockSizesInKbEnum

func GetDataPumpTablespaceBlockSizesInKbEnumValues added in v65.40.1

func GetDataPumpTablespaceBlockSizesInKbEnumValues() []DataPumpTablespaceBlockSizesInKbEnum

GetDataPumpTablespaceBlockSizesInKbEnumValues Enumerates the set of values for DataPumpTablespaceBlockSizesInKbEnum

func GetMappingDataPumpTablespaceBlockSizesInKbEnum added in v65.40.1

func GetMappingDataPumpTablespaceBlockSizesInKbEnum(val string) (DataPumpTablespaceBlockSizesInKbEnum, bool)

GetMappingDataPumpTablespaceBlockSizesInKbEnum performs case Insensitive comparison on enum value and return the desired enum

type DataTransferMediumDetails

type DataTransferMediumDetails struct {
	DatabaseLinkDetails *DatabaseLinkDetails `mandatory:"false" json:"databaseLinkDetails"`

	ObjectStorageDetails *ObjectStoreBucket `mandatory:"false" json:"objectStorageDetails"`

	AwsS3Details *AwsS3Details `mandatory:"false" json:"awsS3Details"`
}

DataTransferMediumDetails Data Transfer Medium details for the Migration.

func (DataTransferMediumDetails) String

func (m DataTransferMediumDetails) String() string

func (DataTransferMediumDetails) ValidateEnumValue

func (m DataTransferMediumDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DataTransferMediumDetailsV2 added in v65.49.3

type DataTransferMediumDetailsV2 interface {
}

DataTransferMediumDetailsV2 Optional additional properties for dump transfer in source or target host.

type DataTransferMediumDetailsV2TypeEnum added in v65.49.3

type DataTransferMediumDetailsV2TypeEnum string

DataTransferMediumDetailsV2TypeEnum Enum with underlying type: string

const (
	DataTransferMediumDetailsV2TypeDblink        DataTransferMediumDetailsV2TypeEnum = "DBLINK"
	DataTransferMediumDetailsV2TypeObjectStorage DataTransferMediumDetailsV2TypeEnum = "OBJECT_STORAGE"
	DataTransferMediumDetailsV2TypeAwsS3         DataTransferMediumDetailsV2TypeEnum = "AWS_S3"
	DataTransferMediumDetailsV2TypeNfs           DataTransferMediumDetailsV2TypeEnum = "NFS"
)

Set of constants representing the allowable values for DataTransferMediumDetailsV2TypeEnum

func GetDataTransferMediumDetailsV2TypeEnumValues added in v65.49.3

func GetDataTransferMediumDetailsV2TypeEnumValues() []DataTransferMediumDetailsV2TypeEnum

GetDataTransferMediumDetailsV2TypeEnumValues Enumerates the set of values for DataTransferMediumDetailsV2TypeEnum

func GetMappingDataTransferMediumDetailsV2TypeEnum added in v65.49.3

func GetMappingDataTransferMediumDetailsV2TypeEnum(val string) (DataTransferMediumDetailsV2TypeEnum, bool)

GetMappingDataTransferMediumDetailsV2TypeEnum performs case Insensitive comparison on enum value and return the desired enum

type DatabaseConnectionTypesEnum

type DatabaseConnectionTypesEnum string

DatabaseConnectionTypesEnum Enum with underlying type: string

const (
	DatabaseConnectionTypesManual         DatabaseConnectionTypesEnum = "MANUAL"
	DatabaseConnectionTypesAutonomous     DatabaseConnectionTypesEnum = "AUTONOMOUS"
	DatabaseConnectionTypesUserManagedOci DatabaseConnectionTypesEnum = "USER_MANAGED_OCI"
)

Set of constants representing the allowable values for DatabaseConnectionTypesEnum

func GetDatabaseConnectionTypesEnumValues

func GetDatabaseConnectionTypesEnumValues() []DatabaseConnectionTypesEnum

GetDatabaseConnectionTypesEnumValues Enumerates the set of values for DatabaseConnectionTypesEnum

func GetMappingDatabaseConnectionTypesEnum

func GetMappingDatabaseConnectionTypesEnum(val string) (DatabaseConnectionTypesEnum, bool)

GetMappingDatabaseConnectionTypesEnum performs case Insensitive comparison on enum value and return the desired enum

type DatabaseCredentials added in v65.48.0

type DatabaseCredentials struct {

	// Database username
	Username *string `mandatory:"true" json:"username"`

	// Database  password
	Password *string `mandatory:"true" json:"password"`
}

DatabaseCredentials Database Credentials details.

func (DatabaseCredentials) String added in v65.48.0

func (m DatabaseCredentials) String() string

func (DatabaseCredentials) ValidateEnumValue added in v65.48.0

func (m DatabaseCredentials) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DatabaseLinkDetails

type DatabaseLinkDetails struct {

	// Name of database link from OCI database to on-premise database. ODMS will create link, if the link does not already exist.
	Name *string `mandatory:"false" json:"name"`

	WalletBucket *ObjectStoreBucket `mandatory:"false" json:"walletBucket"`
}

DatabaseLinkDetails Optional details for creating a network database link from OCI database to on-premise database.

func (DatabaseLinkDetails) String

func (m DatabaseLinkDetails) String() string

func (DatabaseLinkDetails) ValidateEnumValue

func (m DatabaseLinkDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DatabaseManualConnectionSubTypesEnum

type DatabaseManualConnectionSubTypesEnum string

DatabaseManualConnectionSubTypesEnum Enum with underlying type: string

const (
	DatabaseManualConnectionSubTypesOracle    DatabaseManualConnectionSubTypesEnum = "ORACLE"
	DatabaseManualConnectionSubTypesRdsOracle DatabaseManualConnectionSubTypesEnum = "RDS_ORACLE"
)

Set of constants representing the allowable values for DatabaseManualConnectionSubTypesEnum

func GetDatabaseManualConnectionSubTypesEnumValues

func GetDatabaseManualConnectionSubTypesEnumValues() []DatabaseManualConnectionSubTypesEnum

GetDatabaseManualConnectionSubTypesEnumValues Enumerates the set of values for DatabaseManualConnectionSubTypesEnum

func GetMappingDatabaseManualConnectionSubTypesEnum

func GetMappingDatabaseManualConnectionSubTypesEnum(val string) (DatabaseManualConnectionSubTypesEnum, bool)

GetMappingDatabaseManualConnectionSubTypesEnum performs case Insensitive comparison on enum value and return the desired enum

type DatabaseMigrationClient

type DatabaseMigrationClient struct {
	common.BaseClient
	// contains filtered or unexported fields
}

DatabaseMigrationClient a client for DatabaseMigration

func NewDatabaseMigrationClientWithConfigurationProvider

func NewDatabaseMigrationClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DatabaseMigrationClient, err error)

NewDatabaseMigrationClientWithConfigurationProvider Creates a new default DatabaseMigration client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewDatabaseMigrationClientWithOboToken

func NewDatabaseMigrationClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DatabaseMigrationClient, err error)

NewDatabaseMigrationClientWithOboToken Creates a new default DatabaseMigration client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (DatabaseMigrationClient) AbortJob

func (client DatabaseMigrationClient) AbortJob(ctx context.Context, request AbortJobRequest) (response AbortJobResponse, err error)

AbortJob Aborts a Migration Job (either Evaluation or Migration).

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/AbortJob.go.html to see an example of how to use AbortJob API. A default retry strategy applies to this operation AbortJob()

func (DatabaseMigrationClient) AddMigrationObjects

func (client DatabaseMigrationClient) AddMigrationObjects(ctx context.Context, request AddMigrationObjectsRequest) (response AddMigrationObjectsResponse, err error)

AddMigrationObjects Add excluded/included object to the list.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/AddMigrationObjects.go.html to see an example of how to use AddMigrationObjects API. A default retry strategy applies to this operation AddMigrationObjects()

func (DatabaseMigrationClient) ChangeAgentCompartment

func (client DatabaseMigrationClient) ChangeAgentCompartment(ctx context.Context, request ChangeAgentCompartmentRequest) (response ChangeAgentCompartmentResponse, err error)

ChangeAgentCompartment Used to configure an ODMS Agent Compartment ID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ChangeAgentCompartment.go.html to see an example of how to use ChangeAgentCompartment API. A default retry strategy applies to this operation ChangeAgentCompartment()

func (DatabaseMigrationClient) ChangeConnectionCompartment

func (client DatabaseMigrationClient) ChangeConnectionCompartment(ctx context.Context, request ChangeConnectionCompartmentRequest) (response ChangeConnectionCompartmentResponse, err error)

ChangeConnectionCompartment Used to change the Database Connection compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ChangeConnectionCompartment.go.html to see an example of how to use ChangeConnectionCompartment API. A default retry strategy applies to this operation ChangeConnectionCompartment()

func (DatabaseMigrationClient) ChangeMigrationCompartment

func (client DatabaseMigrationClient) ChangeMigrationCompartment(ctx context.Context, request ChangeMigrationCompartmentRequest) (response ChangeMigrationCompartmentResponse, err error)

ChangeMigrationCompartment Used to change the Migration compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ChangeMigrationCompartment.go.html to see an example of how to use ChangeMigrationCompartment API. A default retry strategy applies to this operation ChangeMigrationCompartment()

func (DatabaseMigrationClient) CloneMigration

func (client DatabaseMigrationClient) CloneMigration(ctx context.Context, request CloneMigrationRequest) (response CloneMigrationResponse, err error)

CloneMigration Clone a configuration from an existing Migration.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/CloneMigration.go.html to see an example of how to use CloneMigration API. A default retry strategy applies to this operation CloneMigration()

func (*DatabaseMigrationClient) ConfigurationProvider

func (client *DatabaseMigrationClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (DatabaseMigrationClient) ConnectionDiagnostics added in v65.33.1

func (client DatabaseMigrationClient) ConnectionDiagnostics(ctx context.Context, request ConnectionDiagnosticsRequest) (response ConnectionDiagnosticsResponse, err error)

ConnectionDiagnostics Perform connection test for a database connection.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ConnectionDiagnostics.go.html to see an example of how to use ConnectionDiagnostics API. A default retry strategy applies to this operation ConnectionDiagnostics()

func (DatabaseMigrationClient) CreateConnection

func (client DatabaseMigrationClient) CreateConnection(ctx context.Context, request CreateConnectionRequest) (response CreateConnectionResponse, err error)

CreateConnection Create a Database Connection resource that contains the details to connect to either a Source or Target Database in the migration.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/CreateConnection.go.html to see an example of how to use CreateConnection API. A default retry strategy applies to this operation CreateConnection()

func (DatabaseMigrationClient) CreateMigration

func (client DatabaseMigrationClient) CreateMigration(ctx context.Context, request CreateMigrationRequest) (response CreateMigrationResponse, err error)

CreateMigration Create a Migration resource that contains all the details to perform the database migration operation, such as source and destination database details, credentials, etc.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/CreateMigration.go.html to see an example of how to use CreateMigration API. A default retry strategy applies to this operation CreateMigration()

func (DatabaseMigrationClient) DeleteAgent

func (client DatabaseMigrationClient) DeleteAgent(ctx context.Context, request DeleteAgentRequest) (response DeleteAgentResponse, err error)

DeleteAgent Delete the ODMS Agent represented by the specified ODMS Agent ID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/DeleteAgent.go.html to see an example of how to use DeleteAgent API. A default retry strategy applies to this operation DeleteAgent()

func (DatabaseMigrationClient) DeleteConnection

func (client DatabaseMigrationClient) DeleteConnection(ctx context.Context, request DeleteConnectionRequest) (response DeleteConnectionResponse, err error)

DeleteConnection Deletes the Database Connection represented by the specified connection ID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/DeleteConnection.go.html to see an example of how to use DeleteConnection API. A default retry strategy applies to this operation DeleteConnection()

func (DatabaseMigrationClient) DeleteJob

func (client DatabaseMigrationClient) DeleteJob(ctx context.Context, request DeleteJobRequest) (response DeleteJobResponse, err error)

DeleteJob Deletes the migration job represented by the given job ID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/DeleteJob.go.html to see an example of how to use DeleteJob API. A default retry strategy applies to this operation DeleteJob()

func (DatabaseMigrationClient) DeleteMigration

func (client DatabaseMigrationClient) DeleteMigration(ctx context.Context, request DeleteMigrationRequest) (response DeleteMigrationResponse, err error)

DeleteMigration Deletes the Migration represented by the specified migration ID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/DeleteMigration.go.html to see an example of how to use DeleteMigration API. A default retry strategy applies to this operation DeleteMigration()

func (DatabaseMigrationClient) EvaluateMigration

func (client DatabaseMigrationClient) EvaluateMigration(ctx context.Context, request EvaluateMigrationRequest) (response EvaluateMigrationResponse, err error)

EvaluateMigration Start Validate Migration job.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/EvaluateMigration.go.html to see an example of how to use EvaluateMigration API. A default retry strategy applies to this operation EvaluateMigration()

func (DatabaseMigrationClient) GetAdvisorReport

func (client DatabaseMigrationClient) GetAdvisorReport(ctx context.Context, request GetAdvisorReportRequest) (response GetAdvisorReportResponse, err error)

GetAdvisorReport Get the Pre-Migration Advisor report details

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/GetAdvisorReport.go.html to see an example of how to use GetAdvisorReport API. A default retry strategy applies to this operation GetAdvisorReport()

func (DatabaseMigrationClient) GetAgent

func (client DatabaseMigrationClient) GetAgent(ctx context.Context, request GetAgentRequest) (response GetAgentResponse, err error)

GetAgent Display the ODMS Agent configuration.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/GetAgent.go.html to see an example of how to use GetAgent API. A default retry strategy applies to this operation GetAgent()

func (DatabaseMigrationClient) GetConnection

func (client DatabaseMigrationClient) GetConnection(ctx context.Context, request GetConnectionRequest) (response GetConnectionResponse, err error)

GetConnection Display Database Connection details.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/GetConnection.go.html to see an example of how to use GetConnection API. A default retry strategy applies to this operation GetConnection()

func (DatabaseMigrationClient) GetJob

func (client DatabaseMigrationClient) GetJob(ctx context.Context, request GetJobRequest) (response GetJobResponse, err error)

GetJob Get a migration job.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/GetJob.go.html to see an example of how to use GetJob API. A default retry strategy applies to this operation GetJob()

func (DatabaseMigrationClient) GetJobOutputContent

func (client DatabaseMigrationClient) GetJobOutputContent(ctx context.Context, request GetJobOutputContentRequest) (response GetJobOutputContentResponse, err error)

GetJobOutputContent Get the migration Job Output content as a String.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/GetJobOutputContent.go.html to see an example of how to use GetJobOutputContent API. A default retry strategy applies to this operation GetJobOutputContent()

func (DatabaseMigrationClient) GetMigration

func (client DatabaseMigrationClient) GetMigration(ctx context.Context, request GetMigrationRequest) (response GetMigrationResponse, err error)

GetMigration Display Migration details.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/GetMigration.go.html to see an example of how to use GetMigration API. A default retry strategy applies to this operation GetMigration()

func (DatabaseMigrationClient) GetWorkRequest

func (client DatabaseMigrationClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)

GetWorkRequest Gets the details of a work request.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()

func (DatabaseMigrationClient) ListAgentImages

func (client DatabaseMigrationClient) ListAgentImages(ctx context.Context, request ListAgentImagesRequest) (response ListAgentImagesResponse, err error)

ListAgentImages Get details of the ODMS Agent Images available to install on-premises.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ListAgentImages.go.html to see an example of how to use ListAgentImages API. A default retry strategy applies to this operation ListAgentImages()

func (DatabaseMigrationClient) ListAgents

func (client DatabaseMigrationClient) ListAgents(ctx context.Context, request ListAgentsRequest) (response ListAgentsResponse, err error)

ListAgents Display the name of all the existing ODMS Agents in the server.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ListAgents.go.html to see an example of how to use ListAgents API. A default retry strategy applies to this operation ListAgents()

func (DatabaseMigrationClient) ListConnections

func (client DatabaseMigrationClient) ListConnections(ctx context.Context, request ListConnectionsRequest) (response ListConnectionsResponse, err error)

ListConnections List all Database Connections.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ListConnections.go.html to see an example of how to use ListConnections API. A default retry strategy applies to this operation ListConnections()

func (DatabaseMigrationClient) ListExcludedObjects

func (client DatabaseMigrationClient) ListExcludedObjects(ctx context.Context, request ListExcludedObjectsRequest) (response ListExcludedObjectsResponse, err error)

ListExcludedObjects List the excluded database objects.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ListExcludedObjects.go.html to see an example of how to use ListExcludedObjects API. A default retry strategy applies to this operation ListExcludedObjects()

func (DatabaseMigrationClient) ListJobOutputs

func (client DatabaseMigrationClient) ListJobOutputs(ctx context.Context, request ListJobOutputsRequest) (response ListJobOutputsResponse, err error)

ListJobOutputs List the Job Outputs

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ListJobOutputs.go.html to see an example of how to use ListJobOutputs API. A default retry strategy applies to this operation ListJobOutputs()

func (DatabaseMigrationClient) ListJobs

func (client DatabaseMigrationClient) ListJobs(ctx context.Context, request ListJobsRequest) (response ListJobsResponse, err error)

ListJobs List all the names of the Migration jobs associated to the specified migration site.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ListJobs.go.html to see an example of how to use ListJobs API. A default retry strategy applies to this operation ListJobs()

func (DatabaseMigrationClient) ListMigrationObjectTypes

func (client DatabaseMigrationClient) ListMigrationObjectTypes(ctx context.Context, request ListMigrationObjectTypesRequest) (response ListMigrationObjectTypesResponse, err error)

ListMigrationObjectTypes Display sample object types to exclude or include for a Migration.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ListMigrationObjectTypes.go.html to see an example of how to use ListMigrationObjectTypes API. A default retry strategy applies to this operation ListMigrationObjectTypes()

func (DatabaseMigrationClient) ListMigrationObjects

func (client DatabaseMigrationClient) ListMigrationObjects(ctx context.Context, request ListMigrationObjectsRequest) (response ListMigrationObjectsResponse, err error)

ListMigrationObjects Display excluded/included objects.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ListMigrationObjects.go.html to see an example of how to use ListMigrationObjects API. A default retry strategy applies to this operation ListMigrationObjects()

func (DatabaseMigrationClient) ListMigrations

func (client DatabaseMigrationClient) ListMigrations(ctx context.Context, request ListMigrationsRequest) (response ListMigrationsResponse, err error)

ListMigrations List all Migrations.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ListMigrations.go.html to see an example of how to use ListMigrations API. A default retry strategy applies to this operation ListMigrations()

func (DatabaseMigrationClient) ListWorkRequestErrors

func (client DatabaseMigrationClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)

ListWorkRequestErrors Gets the errors for a work request.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()

func (DatabaseMigrationClient) ListWorkRequestLogs

func (client DatabaseMigrationClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)

ListWorkRequestLogs Gets the logs for a work request.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()

func (DatabaseMigrationClient) ListWorkRequests

func (client DatabaseMigrationClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)

ListWorkRequests Lists the work requests in a compartment or for a specified resource.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()

func (DatabaseMigrationClient) RemoveMigrationObjects

func (client DatabaseMigrationClient) RemoveMigrationObjects(ctx context.Context, request RemoveMigrationObjectsRequest) (response RemoveMigrationObjectsResponse, err error)

RemoveMigrationObjects Remove excluded/included objects.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/RemoveMigrationObjects.go.html to see an example of how to use RemoveMigrationObjects API. A default retry strategy applies to this operation RemoveMigrationObjects()

func (DatabaseMigrationClient) ResumeJob

func (client DatabaseMigrationClient) ResumeJob(ctx context.Context, request ResumeJobRequest) (response ResumeJobResponse, err error)

ResumeJob Resume a migration Job.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ResumeJob.go.html to see an example of how to use ResumeJob API. A default retry strategy applies to this operation ResumeJob()

func (DatabaseMigrationClient) RetrieveSupportedPhases

func (client DatabaseMigrationClient) RetrieveSupportedPhases(ctx context.Context, request RetrieveSupportedPhasesRequest) (response RetrieveSupportedPhasesResponse, err error)

RetrieveSupportedPhases Display Migration Phases for a specified migration.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/RetrieveSupportedPhases.go.html to see an example of how to use RetrieveSupportedPhases API. A default retry strategy applies to this operation RetrieveSupportedPhases()

func (*DatabaseMigrationClient) SetRegion

func (client *DatabaseMigrationClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (DatabaseMigrationClient) StartMigration

func (client DatabaseMigrationClient) StartMigration(ctx context.Context, request StartMigrationRequest) (response StartMigrationResponse, err error)

StartMigration Start Migration job.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/StartMigration.go.html to see an example of how to use StartMigration API. A default retry strategy applies to this operation StartMigration()

func (DatabaseMigrationClient) UpdateAgent

func (client DatabaseMigrationClient) UpdateAgent(ctx context.Context, request UpdateAgentRequest) (response UpdateAgentResponse, err error)

UpdateAgent Modifies the ODMS Agent represented by the given ODMS Agent ID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/UpdateAgent.go.html to see an example of how to use UpdateAgent API. A default retry strategy applies to this operation UpdateAgent()

func (DatabaseMigrationClient) UpdateConnection

func (client DatabaseMigrationClient) UpdateConnection(ctx context.Context, request UpdateConnectionRequest) (response UpdateConnectionResponse, err error)

UpdateConnection Update Database Connection resource details.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/UpdateConnection.go.html to see an example of how to use UpdateConnection API. A default retry strategy applies to this operation UpdateConnection()

func (DatabaseMigrationClient) UpdateJob

func (client DatabaseMigrationClient) UpdateJob(ctx context.Context, request UpdateJobRequest) (response UpdateJobResponse, err error)

UpdateJob Update Migration Job resource details.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/UpdateJob.go.html to see an example of how to use UpdateJob API. A default retry strategy applies to this operation UpdateJob()

func (DatabaseMigrationClient) UpdateMigration

func (client DatabaseMigrationClient) UpdateMigration(ctx context.Context, request UpdateMigrationRequest) (response UpdateMigrationResponse, err error)

UpdateMigration Update Migration resource details.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/UpdateMigration.go.html to see an example of how to use UpdateMigration API. A default retry strategy applies to this operation UpdateMigration()

type DatabaseObject

type DatabaseObject struct {

	// Owner of the object (regular expression is allowed)
	Owner *string `mandatory:"true" json:"owner"`

	// Name of the object (regular expression is allowed)
	ObjectName *string `mandatory:"true" json:"objectName"`

	// Type of object to exclude.
	// If not specified, matching owners and object names of type TABLE would be excluded.
	Type *string `mandatory:"false" json:"type"`

	// Whether an excluded table should be omitted from replication. Only valid for database objects that have are of type TABLE and that are included in the exludeObjects.
	IsOmitExcludedTableFromReplication *bool `mandatory:"false" json:"isOmitExcludedTableFromReplication"`
}

DatabaseObject Database objects to include or exclude from migration

func (DatabaseObject) String

func (m DatabaseObject) String() string

func (DatabaseObject) ValidateEnumValue

func (m DatabaseObject) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DbLinkDataTransferMediumDetails added in v65.49.3

type DbLinkDataTransferMediumDetails struct {
	ObjectStorageBucket *ObjectStoreBucket `mandatory:"false" json:"objectStorageBucket"`

	// Name of database link from OCI database to on-premise database. ODMS will create link, if the link does not already exist.
	Name *string `mandatory:"false" json:"name"`
}

DbLinkDataTransferMediumDetails Optional details for creating a network database link from OCI database to on-premise database.

func (DbLinkDataTransferMediumDetails) MarshalJSON added in v65.49.3

func (m DbLinkDataTransferMediumDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (DbLinkDataTransferMediumDetails) String added in v65.49.3

func (DbLinkDataTransferMediumDetails) ValidateEnumValue added in v65.49.3

func (m DbLinkDataTransferMediumDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteAgentRequest

type DeleteAgentRequest struct {

	// The OCID of the agent
	AgentId *string `mandatory:"true" contributesTo:"path" name:"agentId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteAgentRequest wrapper for the DeleteAgent operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/DeleteAgent.go.html to see an example of how to use DeleteAgentRequest.

func (DeleteAgentRequest) BinaryRequestBody

func (request DeleteAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteAgentRequest) HTTPRequest

func (request DeleteAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteAgentRequest) RetryPolicy

func (request DeleteAgentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteAgentRequest) String

func (request DeleteAgentRequest) String() string

func (DeleteAgentRequest) ValidateEnumValue

func (request DeleteAgentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteAgentResponse

type DeleteAgentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

DeleteAgentResponse wrapper for the DeleteAgent operation

func (DeleteAgentResponse) HTTPResponse

func (response DeleteAgentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteAgentResponse) String

func (response DeleteAgentResponse) String() string

type DeleteConnectionRequest

type DeleteConnectionRequest struct {

	// The OCID of the database connection
	ConnectionId *string `mandatory:"true" contributesTo:"path" name:"connectionId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteConnectionRequest wrapper for the DeleteConnection operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/DeleteConnection.go.html to see an example of how to use DeleteConnectionRequest.

func (DeleteConnectionRequest) BinaryRequestBody

func (request DeleteConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteConnectionRequest) HTTPRequest

func (request DeleteConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteConnectionRequest) RetryPolicy

func (request DeleteConnectionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteConnectionRequest) String

func (request DeleteConnectionRequest) String() string

func (DeleteConnectionRequest) ValidateEnumValue

func (request DeleteConnectionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteConnectionResponse

type DeleteConnectionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

DeleteConnectionResponse wrapper for the DeleteConnection operation

func (DeleteConnectionResponse) HTTPResponse

func (response DeleteConnectionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteConnectionResponse) String

func (response DeleteConnectionResponse) String() string

type DeleteJobRequest

type DeleteJobRequest struct {

	// The OCID of the job
	JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteJobRequest wrapper for the DeleteJob operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/DeleteJob.go.html to see an example of how to use DeleteJobRequest.

func (DeleteJobRequest) BinaryRequestBody

func (request DeleteJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteJobRequest) HTTPRequest

func (request DeleteJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteJobRequest) RetryPolicy

func (request DeleteJobRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteJobRequest) String

func (request DeleteJobRequest) String() string

func (DeleteJobRequest) ValidateEnumValue

func (request DeleteJobRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteJobResponse

type DeleteJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteJobResponse wrapper for the DeleteJob operation

func (DeleteJobResponse) HTTPResponse

func (response DeleteJobResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteJobResponse) String

func (response DeleteJobResponse) String() string

type DeleteMigrationRequest

type DeleteMigrationRequest struct {

	// The OCID of the migration
	MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteMigrationRequest wrapper for the DeleteMigration operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/DeleteMigration.go.html to see an example of how to use DeleteMigrationRequest.

func (DeleteMigrationRequest) BinaryRequestBody

func (request DeleteMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteMigrationRequest) HTTPRequest

func (request DeleteMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteMigrationRequest) RetryPolicy

func (request DeleteMigrationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteMigrationRequest) String

func (request DeleteMigrationRequest) String() string

func (DeleteMigrationRequest) ValidateEnumValue

func (request DeleteMigrationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteMigrationResponse

type DeleteMigrationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

DeleteMigrationResponse wrapper for the DeleteMigration operation

func (DeleteMigrationResponse) HTTPResponse

func (response DeleteMigrationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteMigrationResponse) String

func (response DeleteMigrationResponse) String() string

type DiagnosticsResult added in v65.33.1

type DiagnosticsResult struct {

	// Type of the Result (i.e. Success or Failure).
	ResultType ResultTypeEnum `mandatory:"true" json:"resultType"`

	Error *ResultError `mandatory:"false" json:"error"`
}

DiagnosticsResult Result from Database Connection Diagnostic action.

func (DiagnosticsResult) String added in v65.33.1

func (m DiagnosticsResult) String() string

func (DiagnosticsResult) ValidateEnumValue added in v65.33.1

func (m DiagnosticsResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DirectoryObject

type DirectoryObject struct {

	// Name of directory object in database
	Name *string `mandatory:"true" json:"name"`

	// Absolute path of directory on database server
	Path *string `mandatory:"true" json:"path"`
}

DirectoryObject Directory object details, used to define either import or export directory objects in Data Pump Settings.

func (DirectoryObject) String

func (m DirectoryObject) String() string

func (DirectoryObject) ValidateEnumValue

func (m DirectoryObject) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DumpTransferDetails

type DumpTransferDetails struct {
	Source HostDumpTransferDetails `mandatory:"false" json:"source"`

	Target HostDumpTransferDetails `mandatory:"false" json:"target"`

	// OCID of the shared storage mount target
	SharedStorageMountTargetId *string `mandatory:"false" json:"sharedStorageMountTargetId"`
}

DumpTransferDetails Optional additional properties for dump transfer.

func (DumpTransferDetails) String

func (m DumpTransferDetails) String() string

func (*DumpTransferDetails) UnmarshalJSON

func (m *DumpTransferDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (DumpTransferDetails) ValidateEnumValue

func (m DumpTransferDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type EvaluateMigrationRequest

type EvaluateMigrationRequest struct {

	// The OCID of the migration
	MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

EvaluateMigrationRequest wrapper for the EvaluateMigration operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/EvaluateMigration.go.html to see an example of how to use EvaluateMigrationRequest.

func (EvaluateMigrationRequest) BinaryRequestBody

func (request EvaluateMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (EvaluateMigrationRequest) HTTPRequest

func (request EvaluateMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (EvaluateMigrationRequest) RetryPolicy

func (request EvaluateMigrationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (EvaluateMigrationRequest) String

func (request EvaluateMigrationRequest) String() string

func (EvaluateMigrationRequest) ValidateEnumValue

func (request EvaluateMigrationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type EvaluateMigrationResponse

type EvaluateMigrationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Job instance
	Job `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

EvaluateMigrationResponse wrapper for the EvaluateMigration operation

func (EvaluateMigrationResponse) HTTPResponse

func (response EvaluateMigrationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (EvaluateMigrationResponse) String

func (response EvaluateMigrationResponse) String() string

type ExcludedObjectSummary

type ExcludedObjectSummary struct {

	// Database object owner.
	Owner *string `mandatory:"true" json:"owner"`

	// Database object name.
	Object *string `mandatory:"true" json:"object"`

	// Database object type.
	Type *string `mandatory:"true" json:"type"`

	// Reason category for object exclusion.
	ReasonCategory ReasonKeywordsEnum `mandatory:"true" json:"reasonCategory"`

	// Reason for exclusion.
	SourceRule *string `mandatory:"false" json:"sourceRule"`
}

ExcludedObjectSummary Excluded object summary line.

func (ExcludedObjectSummary) String

func (m ExcludedObjectSummary) String() string

func (ExcludedObjectSummary) ValidateEnumValue

func (m ExcludedObjectSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ExcludedObjectSummaryCollection

type ExcludedObjectSummaryCollection struct {

	// Items in collection.
	Items []ExcludedObjectSummary `mandatory:"true" json:"items"`
}

ExcludedObjectSummaryCollection Results of a Job's Exclude objects output listing. Contains ExcludedObjectSummary items.

func (ExcludedObjectSummaryCollection) String

func (ExcludedObjectSummaryCollection) ValidateEnumValue

func (m ExcludedObjectSummaryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type Extract

type Extract struct {

	// Extract performance.
	PerformanceProfile ExtractPerformanceProfileEnum `mandatory:"false" json:"performanceProfile,omitempty"`

	// Length of time (in seconds) that a transaction can be open before Extract generates a warning message that the transaction is long-running.
	// If not specified, Extract will not generate a warning on long-running transactions.
	LongTransDuration *int `mandatory:"false" json:"longTransDuration"`
}

Extract Parameters for Extract processes.

func (Extract) String

func (m Extract) String() string

func (Extract) ValidateEnumValue

func (m Extract) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ExtractPerformanceProfileEnum

type ExtractPerformanceProfileEnum string

ExtractPerformanceProfileEnum Enum with underlying type: string

const (
	ExtractPerformanceProfileLow    ExtractPerformanceProfileEnum = "LOW"
	ExtractPerformanceProfileMedium ExtractPerformanceProfileEnum = "MEDIUM"
	ExtractPerformanceProfileHigh   ExtractPerformanceProfileEnum = "HIGH"
)

Set of constants representing the allowable values for ExtractPerformanceProfileEnum

func GetExtractPerformanceProfileEnumValues

func GetExtractPerformanceProfileEnumValues() []ExtractPerformanceProfileEnum

GetExtractPerformanceProfileEnumValues Enumerates the set of values for ExtractPerformanceProfileEnum

func GetMappingExtractPerformanceProfileEnum

func GetMappingExtractPerformanceProfileEnum(val string) (ExtractPerformanceProfileEnum, bool)

GetMappingExtractPerformanceProfileEnum performs case Insensitive comparison on enum value and return the desired enum

type GetAdvisorReportRequest

type GetAdvisorReportRequest struct {

	// The OCID of the job
	JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetAdvisorReportRequest wrapper for the GetAdvisorReport operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/GetAdvisorReport.go.html to see an example of how to use GetAdvisorReportRequest.

func (GetAdvisorReportRequest) BinaryRequestBody

func (request GetAdvisorReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetAdvisorReportRequest) HTTPRequest

func (request GetAdvisorReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetAdvisorReportRequest) RetryPolicy

func (request GetAdvisorReportRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetAdvisorReportRequest) String

func (request GetAdvisorReportRequest) String() string

func (GetAdvisorReportRequest) ValidateEnumValue

func (request GetAdvisorReportRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetAdvisorReportResponse

type GetAdvisorReportResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The AdvisorReport instance
	AdvisorReport `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

GetAdvisorReportResponse wrapper for the GetAdvisorReport operation

func (GetAdvisorReportResponse) HTTPResponse

func (response GetAdvisorReportResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetAdvisorReportResponse) String

func (response GetAdvisorReportResponse) String() string

type GetAgentRequest

type GetAgentRequest struct {

	// The OCID of the agent
	AgentId *string `mandatory:"true" contributesTo:"path" name:"agentId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetAgentRequest wrapper for the GetAgent operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/GetAgent.go.html to see an example of how to use GetAgentRequest.

func (GetAgentRequest) BinaryRequestBody

func (request GetAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetAgentRequest) HTTPRequest

func (request GetAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetAgentRequest) RetryPolicy

func (request GetAgentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetAgentRequest) String

func (request GetAgentRequest) String() string

func (GetAgentRequest) ValidateEnumValue

func (request GetAgentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetAgentResponse

type GetAgentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Agent instance
	Agent `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

GetAgentResponse wrapper for the GetAgent operation

func (GetAgentResponse) HTTPResponse

func (response GetAgentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetAgentResponse) String

func (response GetAgentResponse) String() string

type GetConnectionRequest

type GetConnectionRequest struct {

	// The OCID of the database connection
	ConnectionId *string `mandatory:"true" contributesTo:"path" name:"connectionId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetConnectionRequest wrapper for the GetConnection operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/GetConnection.go.html to see an example of how to use GetConnectionRequest.

func (GetConnectionRequest) BinaryRequestBody

func (request GetConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetConnectionRequest) HTTPRequest

func (request GetConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetConnectionRequest) RetryPolicy

func (request GetConnectionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetConnectionRequest) String

func (request GetConnectionRequest) String() string

func (GetConnectionRequest) ValidateEnumValue

func (request GetConnectionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetConnectionResponse

type GetConnectionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Connection instance
	Connection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

GetConnectionResponse wrapper for the GetConnection operation

func (GetConnectionResponse) HTTPResponse

func (response GetConnectionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetConnectionResponse) String

func (response GetConnectionResponse) String() string

type GetJobOutputContentRequest

type GetJobOutputContentRequest struct {

	// The OCID of the job
	JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetJobOutputContentRequest wrapper for the GetJobOutputContent operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/GetJobOutputContent.go.html to see an example of how to use GetJobOutputContentRequest.

func (GetJobOutputContentRequest) BinaryRequestBody

func (request GetJobOutputContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetJobOutputContentRequest) HTTPRequest

func (request GetJobOutputContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetJobOutputContentRequest) RetryPolicy

func (request GetJobOutputContentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetJobOutputContentRequest) String

func (request GetJobOutputContentRequest) String() string

func (GetJobOutputContentRequest) ValidateEnumValue

func (request GetJobOutputContentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetJobOutputContentResponse

type GetJobOutputContentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The io.ReadCloser instance
	Content io.ReadCloser `presentIn:"body" encoding:"binary"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetJobOutputContentResponse wrapper for the GetJobOutputContent operation

func (GetJobOutputContentResponse) HTTPResponse

func (response GetJobOutputContentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetJobOutputContentResponse) String

func (response GetJobOutputContentResponse) String() string

type GetJobRequest

type GetJobRequest struct {

	// The OCID of the job
	JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetJobRequest wrapper for the GetJob operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/GetJob.go.html to see an example of how to use GetJobRequest.

func (GetJobRequest) BinaryRequestBody

func (request GetJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetJobRequest) HTTPRequest

func (request GetJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetJobRequest) RetryPolicy

func (request GetJobRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetJobRequest) String

func (request GetJobRequest) String() string

func (GetJobRequest) ValidateEnumValue

func (request GetJobRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetJobResponse

type GetJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Job instance
	Job `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

GetJobResponse wrapper for the GetJob operation

func (GetJobResponse) HTTPResponse

func (response GetJobResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetJobResponse) String

func (response GetJobResponse) String() string

type GetMigrationRequest

type GetMigrationRequest struct {

	// The OCID of the migration
	MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetMigrationRequest wrapper for the GetMigration operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/GetMigration.go.html to see an example of how to use GetMigrationRequest.

func (GetMigrationRequest) BinaryRequestBody

func (request GetMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetMigrationRequest) HTTPRequest

func (request GetMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetMigrationRequest) RetryPolicy

func (request GetMigrationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetMigrationRequest) String

func (request GetMigrationRequest) String() string

func (GetMigrationRequest) ValidateEnumValue

func (request GetMigrationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetMigrationResponse

type GetMigrationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Migration instance
	Migration `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

GetMigrationResponse wrapper for the GetMigration operation

func (GetMigrationResponse) HTTPResponse

func (response GetMigrationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetMigrationResponse) String

func (response GetMigrationResponse) String() string

type GetWorkRequestRequest

type GetWorkRequestRequest struct {

	// The ID of the asynchronous request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetWorkRequestRequest wrapper for the GetWorkRequest operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.

func (GetWorkRequestRequest) BinaryRequestBody

func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue

func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetWorkRequestResponse

type GetWorkRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The WorkRequest instance
	WorkRequest `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetWorkRequestResponse wrapper for the GetWorkRequest operation

func (GetWorkRequestResponse) HTTPResponse

func (response GetWorkRequestResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type GgsDeployment added in v65.48.0

type GgsDeployment struct {

	// OCID of a GoldenGate Deployment
	DeploymentId *string `mandatory:"true" json:"deploymentId"`

	// OCID of a VaultSecret containing the Admin Credentials for the GGS Deployment
	GgsAdminCredentialsSecretId *string `mandatory:"true" json:"ggsAdminCredentialsSecretId"`
}

GgsDeployment Details about Oracle GoldenGate GGS Deployment.

func (GgsDeployment) String added in v65.48.0

func (m GgsDeployment) String() string

func (GgsDeployment) ValidateEnumValue added in v65.48.0

func (m GgsDeployment) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GoldenGateDetails

type GoldenGateDetails struct {
	Hub *GoldenGateHub `mandatory:"true" json:"hub"`

	Settings *GoldenGateSettings `mandatory:"false" json:"settings"`
}

GoldenGateDetails Details about Oracle GoldenGate Microservices.

func (GoldenGateDetails) String

func (m GoldenGateDetails) String() string

func (GoldenGateDetails) ValidateEnumValue

func (m GoldenGateDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GoldenGateHub

type GoldenGateHub struct {
	RestAdminCredentials *AdminCredentials `mandatory:"true" json:"restAdminCredentials"`

	SourceDbAdminCredentials *AdminCredentials `mandatory:"true" json:"sourceDbAdminCredentials"`

	TargetDbAdminCredentials *AdminCredentials `mandatory:"true" json:"targetDbAdminCredentials"`

	// Oracle GoldenGate hub's REST endpoint.
	// Refer to https://docs.oracle.com/en/middleware/goldengate/core/19.1/securing/network.html#GUID-A709DA55-111D-455E-8942-C9BDD1E38CAA
	Url *string `mandatory:"true" json:"url"`

	// Name of GoldenGate deployment to operate on source database
	SourceMicroservicesDeploymentName *string `mandatory:"true" json:"sourceMicroservicesDeploymentName"`

	// Name of GoldenGate deployment to operate on target database
	TargetMicroservicesDeploymentName *string `mandatory:"true" json:"targetMicroservicesDeploymentName"`

	SourceContainerDbAdminCredentials *AdminCredentials `mandatory:"false" json:"sourceContainerDbAdminCredentials"`

	// OCID of GoldenGate compute instance.
	ComputeId *string `mandatory:"false" json:"computeId"`
}

GoldenGateHub Details about Oracle GoldenGate Microservices.

func (GoldenGateHub) String

func (m GoldenGateHub) String() string

func (GoldenGateHub) ValidateEnumValue

func (m GoldenGateHub) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GoldenGateServiceDetails added in v65.48.0

type GoldenGateServiceDetails struct {
	GgsDeployment *GgsDeployment `mandatory:"false" json:"ggsDeployment"`

	Settings *GoldenGateSettings `mandatory:"false" json:"settings"`
}

GoldenGateServiceDetails Details about Oracle GoldenGate GGS Deployment.

func (GoldenGateServiceDetails) String added in v65.48.0

func (m GoldenGateServiceDetails) String() string

func (GoldenGateServiceDetails) ValidateEnumValue added in v65.48.0

func (m GoldenGateServiceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GoldenGateSettings

type GoldenGateSettings struct {
	Extract *Extract `mandatory:"false" json:"extract"`

	Replicat *Replicat `mandatory:"false" json:"replicat"`

	// ODMS will monitor GoldenGate end-to-end latency until the lag time is lower than the specified value in seconds.
	AcceptableLag *int `mandatory:"false" json:"acceptableLag"`
}

GoldenGateSettings Optional settings for Oracle GoldenGate processes

func (GoldenGateSettings) String

func (m GoldenGateSettings) String() string

func (GoldenGateSettings) ValidateEnumValue

func (m GoldenGateSettings) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type HostDumpTransferDetails

type HostDumpTransferDetails interface {

	// Directory path to OCI SSL wallet location on Db server node.
	GetWalletLocation() *string
}

HostDumpTransferDetails Optional additional properties for dump transfer in source or target host. Default kind is CURL

type HostDumpTransferDetailsKindEnum

type HostDumpTransferDetailsKindEnum string

HostDumpTransferDetailsKindEnum Enum with underlying type: string

const (
	HostDumpTransferDetailsKindCurl   HostDumpTransferDetailsKindEnum = "CURL"
	HostDumpTransferDetailsKindOciCli HostDumpTransferDetailsKindEnum = "OCI_CLI"
)

Set of constants representing the allowable values for HostDumpTransferDetailsKindEnum

func GetHostDumpTransferDetailsKindEnumValues

func GetHostDumpTransferDetailsKindEnumValues() []HostDumpTransferDetailsKindEnum

GetHostDumpTransferDetailsKindEnumValues Enumerates the set of values for HostDumpTransferDetailsKindEnum

func GetMappingHostDumpTransferDetailsKindEnum

func GetMappingHostDumpTransferDetailsKindEnum(val string) (HostDumpTransferDetailsKindEnum, bool)

GetMappingHostDumpTransferDetailsKindEnum performs case Insensitive comparison on enum value and return the desired enum

type Job

type Job struct {

	// The OCID of the Migration Job.
	Id *string `mandatory:"true" json:"id"`

	// Name of the job.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the Migration that this job belongs to.
	MigrationId *string `mandatory:"true" json:"migrationId"`

	// The job type.
	Type JobTypesEnum `mandatory:"true" json:"type"`

	// The time the Migration Job was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the migration job.
	LifecycleState JobLifecycleStatesEnum `mandatory:"true" json:"lifecycleState"`

	// The time the Migration Job was last updated. An RFC3339 formatted datetime string
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	Progress *MigrationJobProgressResource `mandatory:"false" json:"progress"`

	// Database objects not supported.
	UnsupportedObjects []UnsupportedDatabaseObject `mandatory:"false" json:"unsupportedObjects"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information
	// for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

Job Results of a Database Connection search. Contains DatabaseConnectionSummary items.

func (Job) String

func (m Job) String() string

func (Job) ValidateEnumValue

func (m Job) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type JobCollection

type JobCollection struct {

	// Items in collection.
	Items []JobSummary `mandatory:"true" json:"items"`
}

JobCollection Results of a Job search. Contains JobSummary items.

func (JobCollection) String

func (m JobCollection) String() string

func (JobCollection) ValidateEnumValue

func (m JobCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type JobLifecycleStatesEnum

type JobLifecycleStatesEnum string

JobLifecycleStatesEnum Enum with underlying type: string

const (
	JobLifecycleStatesAccepted   JobLifecycleStatesEnum = "ACCEPTED"
	JobLifecycleStatesInProgress JobLifecycleStatesEnum = "IN_PROGRESS"
	JobLifecycleStatesUnknown    JobLifecycleStatesEnum = "UNKNOWN"
	JobLifecycleStatesTerminated JobLifecycleStatesEnum = "TERMINATED"
	JobLifecycleStatesFailed     JobLifecycleStatesEnum = "FAILED"
	JobLifecycleStatesSucceeded  JobLifecycleStatesEnum = "SUCCEEDED"
	JobLifecycleStatesWaiting    JobLifecycleStatesEnum = "WAITING"
	JobLifecycleStatesCanceling  JobLifecycleStatesEnum = "CANCELING"
	JobLifecycleStatesCanceled   JobLifecycleStatesEnum = "CANCELED"
)

Set of constants representing the allowable values for JobLifecycleStatesEnum

func GetJobLifecycleStatesEnumValues

func GetJobLifecycleStatesEnumValues() []JobLifecycleStatesEnum

GetJobLifecycleStatesEnumValues Enumerates the set of values for JobLifecycleStatesEnum

func GetMappingJobLifecycleStatesEnum

func GetMappingJobLifecycleStatesEnum(val string) (JobLifecycleStatesEnum, bool)

GetMappingJobLifecycleStatesEnum performs case Insensitive comparison on enum value and return the desired enum

type JobOutputSummary

type JobOutputSummary struct {

	// Job output line.
	Message *string `mandatory:"true" json:"message"`
}

JobOutputSummary Job output summary line.

func (JobOutputSummary) String

func (m JobOutputSummary) String() string

func (JobOutputSummary) ValidateEnumValue

func (m JobOutputSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type JobOutputSummaryCollection

type JobOutputSummaryCollection struct {

	// Items in collection.
	Items []JobOutputSummary `mandatory:"true" json:"items"`
}

JobOutputSummaryCollection Results of a Job output listing. Contains JobOutputSummary items.

func (JobOutputSummaryCollection) String

func (JobOutputSummaryCollection) ValidateEnumValue

func (m JobOutputSummaryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type JobPhaseStatusEnum

type JobPhaseStatusEnum string

JobPhaseStatusEnum Enum with underlying type: string

const (
	JobPhaseStatusPending   JobPhaseStatusEnum = "PENDING"
	JobPhaseStatusStarted   JobPhaseStatusEnum = "STARTED"
	JobPhaseStatusCompleted JobPhaseStatusEnum = "COMPLETED"
	JobPhaseStatusFailed    JobPhaseStatusEnum = "FAILED"
)

Set of constants representing the allowable values for JobPhaseStatusEnum

func GetJobPhaseStatusEnumValues

func GetJobPhaseStatusEnumValues() []JobPhaseStatusEnum

GetJobPhaseStatusEnumValues Enumerates the set of values for JobPhaseStatusEnum

func GetMappingJobPhaseStatusEnum

func GetMappingJobPhaseStatusEnum(val string) (JobPhaseStatusEnum, bool)

GetMappingJobPhaseStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type JobSummary

type JobSummary struct {

	// The OCID of the Migration Job.
	Id *string `mandatory:"true" json:"id"`

	// Name of the job.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the Migration that this job belongs to.
	MigrationId *string `mandatory:"true" json:"migrationId"`

	// The job type.
	Type JobTypesEnum `mandatory:"true" json:"type"`

	// The time the Migration Job was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the migration Deployment.
	LifecycleState JobLifecycleStatesEnum `mandatory:"true" json:"lifecycleState"`

	Progress *MigrationJobProgressSummary `mandatory:"false" json:"progress"`

	// The time the Migration Job was last updated. An RFC3339 formatted datetime string
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information
	// for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

JobSummary Job description

func (JobSummary) String

func (m JobSummary) String() string

func (JobSummary) ValidateEnumValue

func (m JobSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type JobTypesEnum

type JobTypesEnum string

JobTypesEnum Enum with underlying type: string

const (
	JobTypesEvaluation JobTypesEnum = "EVALUATION"
	JobTypesMigration  JobTypesEnum = "MIGRATION"
)

Set of constants representing the allowable values for JobTypesEnum

func GetJobTypesEnumValues

func GetJobTypesEnumValues() []JobTypesEnum

GetJobTypesEnumValues Enumerates the set of values for JobTypesEnum

func GetMappingJobTypesEnum

func GetMappingJobTypesEnum(val string) (JobTypesEnum, bool)

GetMappingJobTypesEnum performs case Insensitive comparison on enum value and return the desired enum

type LifecycleStatesEnum

type LifecycleStatesEnum string

LifecycleStatesEnum Enum with underlying type: string

const (
	LifecycleStatesCreating LifecycleStatesEnum = "CREATING"
	LifecycleStatesUpdating LifecycleStatesEnum = "UPDATING"
	LifecycleStatesActive   LifecycleStatesEnum = "ACTIVE"
	LifecycleStatesInactive LifecycleStatesEnum = "INACTIVE"
	LifecycleStatesDeleting LifecycleStatesEnum = "DELETING"
	LifecycleStatesDeleted  LifecycleStatesEnum = "DELETED"
	LifecycleStatesFailed   LifecycleStatesEnum = "FAILED"
)

Set of constants representing the allowable values for LifecycleStatesEnum

func GetLifecycleStatesEnumValues

func GetLifecycleStatesEnumValues() []LifecycleStatesEnum

GetLifecycleStatesEnumValues Enumerates the set of values for LifecycleStatesEnum

func GetMappingLifecycleStatesEnum

func GetMappingLifecycleStatesEnum(val string) (LifecycleStatesEnum, bool)

GetMappingLifecycleStatesEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAgentImagesRequest

type ListAgentImagesRequest struct {

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListAgentImagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListAgentImagesRequest wrapper for the ListAgentImages operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ListAgentImages.go.html to see an example of how to use ListAgentImagesRequest.

func (ListAgentImagesRequest) BinaryRequestBody

func (request ListAgentImagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListAgentImagesRequest) HTTPRequest

func (request ListAgentImagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAgentImagesRequest) RetryPolicy

func (request ListAgentImagesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAgentImagesRequest) String

func (request ListAgentImagesRequest) String() string

func (ListAgentImagesRequest) ValidateEnumValue

func (request ListAgentImagesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListAgentImagesResponse

type ListAgentImagesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of AgentImageCollection instances
	AgentImageCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListAgentImagesResponse wrapper for the ListAgentImages operation

func (ListAgentImagesResponse) HTTPResponse

func (response ListAgentImagesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAgentImagesResponse) String

func (response ListAgentImagesResponse) String() string

type ListAgentImagesSortOrderEnum

type ListAgentImagesSortOrderEnum string

ListAgentImagesSortOrderEnum Enum with underlying type: string

const (
	ListAgentImagesSortOrderAsc  ListAgentImagesSortOrderEnum = "ASC"
	ListAgentImagesSortOrderDesc ListAgentImagesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAgentImagesSortOrderEnum

func GetListAgentImagesSortOrderEnumValues

func GetListAgentImagesSortOrderEnumValues() []ListAgentImagesSortOrderEnum

GetListAgentImagesSortOrderEnumValues Enumerates the set of values for ListAgentImagesSortOrderEnum

func GetMappingListAgentImagesSortOrderEnum

func GetMappingListAgentImagesSortOrderEnum(val string) (ListAgentImagesSortOrderEnum, bool)

GetMappingListAgentImagesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAgentsLifecycleStateEnum

type ListAgentsLifecycleStateEnum string

ListAgentsLifecycleStateEnum Enum with underlying type: string

const (
	ListAgentsLifecycleStateCreating ListAgentsLifecycleStateEnum = "CREATING"
	ListAgentsLifecycleStateUpdating ListAgentsLifecycleStateEnum = "UPDATING"
	ListAgentsLifecycleStateActive   ListAgentsLifecycleStateEnum = "ACTIVE"
	ListAgentsLifecycleStateInactive ListAgentsLifecycleStateEnum = "INACTIVE"
	ListAgentsLifecycleStateDeleting ListAgentsLifecycleStateEnum = "DELETING"
	ListAgentsLifecycleStateDeleted  ListAgentsLifecycleStateEnum = "DELETED"
	ListAgentsLifecycleStateFailed   ListAgentsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListAgentsLifecycleStateEnum

func GetListAgentsLifecycleStateEnumValues

func GetListAgentsLifecycleStateEnumValues() []ListAgentsLifecycleStateEnum

GetListAgentsLifecycleStateEnumValues Enumerates the set of values for ListAgentsLifecycleStateEnum

func GetMappingListAgentsLifecycleStateEnum

func GetMappingListAgentsLifecycleStateEnum(val string) (ListAgentsLifecycleStateEnum, bool)

GetMappingListAgentsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAgentsRequest

type ListAgentsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending.
	// Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListAgentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListAgentsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The current state of the Database Migration Deployment.
	LifecycleState ListAgentsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListAgentsRequest wrapper for the ListAgents operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ListAgents.go.html to see an example of how to use ListAgentsRequest.

func (ListAgentsRequest) BinaryRequestBody

func (request ListAgentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListAgentsRequest) HTTPRequest

func (request ListAgentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAgentsRequest) RetryPolicy

func (request ListAgentsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAgentsRequest) String

func (request ListAgentsRequest) String() string

func (ListAgentsRequest) ValidateEnumValue

func (request ListAgentsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListAgentsResponse

type ListAgentsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of AgentCollection instances
	AgentCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListAgentsResponse wrapper for the ListAgents operation

func (ListAgentsResponse) HTTPResponse

func (response ListAgentsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAgentsResponse) String

func (response ListAgentsResponse) String() string

type ListAgentsSortByEnum

type ListAgentsSortByEnum string

ListAgentsSortByEnum Enum with underlying type: string

const (
	ListAgentsSortByTimecreated ListAgentsSortByEnum = "timeCreated"
	ListAgentsSortByDisplayname ListAgentsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListAgentsSortByEnum

func GetListAgentsSortByEnumValues

func GetListAgentsSortByEnumValues() []ListAgentsSortByEnum

GetListAgentsSortByEnumValues Enumerates the set of values for ListAgentsSortByEnum

func GetMappingListAgentsSortByEnum

func GetMappingListAgentsSortByEnum(val string) (ListAgentsSortByEnum, bool)

GetMappingListAgentsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAgentsSortOrderEnum

type ListAgentsSortOrderEnum string

ListAgentsSortOrderEnum Enum with underlying type: string

const (
	ListAgentsSortOrderAsc  ListAgentsSortOrderEnum = "ASC"
	ListAgentsSortOrderDesc ListAgentsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAgentsSortOrderEnum

func GetListAgentsSortOrderEnumValues

func GetListAgentsSortOrderEnumValues() []ListAgentsSortOrderEnum

GetListAgentsSortOrderEnumValues Enumerates the set of values for ListAgentsSortOrderEnum

func GetMappingListAgentsSortOrderEnum

func GetMappingListAgentsSortOrderEnum(val string) (ListAgentsSortOrderEnum, bool)

GetMappingListAgentsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListConnectionsLifecycleStateEnum

type ListConnectionsLifecycleStateEnum string

ListConnectionsLifecycleStateEnum Enum with underlying type: string

const (
	ListConnectionsLifecycleStateCreating ListConnectionsLifecycleStateEnum = "CREATING"
	ListConnectionsLifecycleStateUpdating ListConnectionsLifecycleStateEnum = "UPDATING"
	ListConnectionsLifecycleStateActive   ListConnectionsLifecycleStateEnum = "ACTIVE"
	ListConnectionsLifecycleStateInactive ListConnectionsLifecycleStateEnum = "INACTIVE"
	ListConnectionsLifecycleStateDeleting ListConnectionsLifecycleStateEnum = "DELETING"
	ListConnectionsLifecycleStateDeleted  ListConnectionsLifecycleStateEnum = "DELETED"
	ListConnectionsLifecycleStateFailed   ListConnectionsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListConnectionsLifecycleStateEnum

func GetListConnectionsLifecycleStateEnumValues

func GetListConnectionsLifecycleStateEnumValues() []ListConnectionsLifecycleStateEnum

GetListConnectionsLifecycleStateEnumValues Enumerates the set of values for ListConnectionsLifecycleStateEnum

func GetMappingListConnectionsLifecycleStateEnum

func GetMappingListConnectionsLifecycleStateEnum(val string) (ListConnectionsLifecycleStateEnum, bool)

GetMappingListConnectionsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListConnectionsRequest

type ListConnectionsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending.
	// Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListConnectionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListConnectionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The current state of the Database Migration Deployment.
	LifecycleState ListConnectionsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListConnectionsRequest wrapper for the ListConnections operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ListConnections.go.html to see an example of how to use ListConnectionsRequest.

func (ListConnectionsRequest) BinaryRequestBody

func (request ListConnectionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListConnectionsRequest) HTTPRequest

func (request ListConnectionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListConnectionsRequest) RetryPolicy

func (request ListConnectionsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListConnectionsRequest) String

func (request ListConnectionsRequest) String() string

func (ListConnectionsRequest) ValidateEnumValue

func (request ListConnectionsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListConnectionsResponse

type ListConnectionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ConnectionCollection instances
	ConnectionCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListConnectionsResponse wrapper for the ListConnections operation

func (ListConnectionsResponse) HTTPResponse

func (response ListConnectionsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListConnectionsResponse) String

func (response ListConnectionsResponse) String() string

type ListConnectionsSortByEnum

type ListConnectionsSortByEnum string

ListConnectionsSortByEnum Enum with underlying type: string

const (
	ListConnectionsSortByTimecreated ListConnectionsSortByEnum = "timeCreated"
	ListConnectionsSortByDisplayname ListConnectionsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListConnectionsSortByEnum

func GetListConnectionsSortByEnumValues

func GetListConnectionsSortByEnumValues() []ListConnectionsSortByEnum

GetListConnectionsSortByEnumValues Enumerates the set of values for ListConnectionsSortByEnum

func GetMappingListConnectionsSortByEnum

func GetMappingListConnectionsSortByEnum(val string) (ListConnectionsSortByEnum, bool)

GetMappingListConnectionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListConnectionsSortOrderEnum

type ListConnectionsSortOrderEnum string

ListConnectionsSortOrderEnum Enum with underlying type: string

const (
	ListConnectionsSortOrderAsc  ListConnectionsSortOrderEnum = "ASC"
	ListConnectionsSortOrderDesc ListConnectionsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListConnectionsSortOrderEnum

func GetListConnectionsSortOrderEnumValues

func GetListConnectionsSortOrderEnumValues() []ListConnectionsSortOrderEnum

GetListConnectionsSortOrderEnumValues Enumerates the set of values for ListConnectionsSortOrderEnum

func GetMappingListConnectionsSortOrderEnum

func GetMappingListConnectionsSortOrderEnum(val string) (ListConnectionsSortOrderEnum, bool)

GetMappingListConnectionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListExcludedObjectsReasonCategoryEnum

type ListExcludedObjectsReasonCategoryEnum string

ListExcludedObjectsReasonCategoryEnum Enum with underlying type: string

const (
	ListExcludedObjectsReasonCategoryOracleMaintained  ListExcludedObjectsReasonCategoryEnum = "ORACLE_MAINTAINED"
	ListExcludedObjectsReasonCategoryGgUnsupported     ListExcludedObjectsReasonCategoryEnum = "GG_UNSUPPORTED"
	ListExcludedObjectsReasonCategoryUserExcluded      ListExcludedObjectsReasonCategoryEnum = "USER_EXCLUDED"
	ListExcludedObjectsReasonCategoryMandatoryExcluded ListExcludedObjectsReasonCategoryEnum = "MANDATORY_EXCLUDED"
	ListExcludedObjectsReasonCategoryUserExcludedType  ListExcludedObjectsReasonCategoryEnum = "USER_EXCLUDED_TYPE"
)

Set of constants representing the allowable values for ListExcludedObjectsReasonCategoryEnum

func GetListExcludedObjectsReasonCategoryEnumValues

func GetListExcludedObjectsReasonCategoryEnumValues() []ListExcludedObjectsReasonCategoryEnum

GetListExcludedObjectsReasonCategoryEnumValues Enumerates the set of values for ListExcludedObjectsReasonCategoryEnum

func GetMappingListExcludedObjectsReasonCategoryEnum

func GetMappingListExcludedObjectsReasonCategoryEnum(val string) (ListExcludedObjectsReasonCategoryEnum, bool)

GetMappingListExcludedObjectsReasonCategoryEnum performs case Insensitive comparison on enum value and return the desired enum

type ListExcludedObjectsRequest

type ListExcludedObjectsRequest struct {

	// The OCID of the job
	JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListExcludedObjectsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided.
	// Default order for reasonCategory is ascending.
	// If no value is specified reasonCategory is default.
	SortBy ListExcludedObjectsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Excluded object type.
	Type *string `mandatory:"false" contributesTo:"query" name:"type"`

	// Excluded object owner
	Owner *string `mandatory:"false" contributesTo:"query" name:"owner"`

	// Excluded object name
	Object *string `mandatory:"false" contributesTo:"query" name:"object"`

	// Excluded object owner which contains provided value.
	OwnerContains *string `mandatory:"false" contributesTo:"query" name:"ownerContains"`

	// Excluded object name which contains provided value.
	ObjectContains *string `mandatory:"false" contributesTo:"query" name:"objectContains"`

	// Reason category for the excluded object
	ReasonCategory ListExcludedObjectsReasonCategoryEnum `mandatory:"false" contributesTo:"query" name:"reasonCategory" omitEmpty:"true"`

	// Exclude object rule that matches the excluded object, if applicable.
	SourceRule *string `mandatory:"false" contributesTo:"query" name:"sourceRule"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListExcludedObjectsRequest wrapper for the ListExcludedObjects operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ListExcludedObjects.go.html to see an example of how to use ListExcludedObjectsRequest.

func (ListExcludedObjectsRequest) BinaryRequestBody

func (request ListExcludedObjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListExcludedObjectsRequest) HTTPRequest

func (request ListExcludedObjectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListExcludedObjectsRequest) RetryPolicy

func (request ListExcludedObjectsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListExcludedObjectsRequest) String

func (request ListExcludedObjectsRequest) String() string

func (ListExcludedObjectsRequest) ValidateEnumValue

func (request ListExcludedObjectsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListExcludedObjectsResponse

type ListExcludedObjectsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ExcludedObjectSummaryCollection instances
	ExcludedObjectSummaryCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListExcludedObjectsResponse wrapper for the ListExcludedObjects operation

func (ListExcludedObjectsResponse) HTTPResponse

func (response ListExcludedObjectsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListExcludedObjectsResponse) String

func (response ListExcludedObjectsResponse) String() string

type ListExcludedObjectsSortByEnum

type ListExcludedObjectsSortByEnum string

ListExcludedObjectsSortByEnum Enum with underlying type: string

const (
	ListExcludedObjectsSortByType           ListExcludedObjectsSortByEnum = "type"
	ListExcludedObjectsSortByReasoncategory ListExcludedObjectsSortByEnum = "reasonCategory"
)

Set of constants representing the allowable values for ListExcludedObjectsSortByEnum

func GetListExcludedObjectsSortByEnumValues

func GetListExcludedObjectsSortByEnumValues() []ListExcludedObjectsSortByEnum

GetListExcludedObjectsSortByEnumValues Enumerates the set of values for ListExcludedObjectsSortByEnum

func GetMappingListExcludedObjectsSortByEnum

func GetMappingListExcludedObjectsSortByEnum(val string) (ListExcludedObjectsSortByEnum, bool)

GetMappingListExcludedObjectsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListExcludedObjectsSortOrderEnum

type ListExcludedObjectsSortOrderEnum string

ListExcludedObjectsSortOrderEnum Enum with underlying type: string

const (
	ListExcludedObjectsSortOrderAsc  ListExcludedObjectsSortOrderEnum = "ASC"
	ListExcludedObjectsSortOrderDesc ListExcludedObjectsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListExcludedObjectsSortOrderEnum

func GetListExcludedObjectsSortOrderEnumValues

func GetListExcludedObjectsSortOrderEnumValues() []ListExcludedObjectsSortOrderEnum

GetListExcludedObjectsSortOrderEnumValues Enumerates the set of values for ListExcludedObjectsSortOrderEnum

func GetMappingListExcludedObjectsSortOrderEnum

func GetMappingListExcludedObjectsSortOrderEnum(val string) (ListExcludedObjectsSortOrderEnum, bool)

GetMappingListExcludedObjectsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListJobOutputsRequest

type ListJobOutputsRequest struct {

	// The OCID of the job
	JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListJobOutputsRequest wrapper for the ListJobOutputs operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ListJobOutputs.go.html to see an example of how to use ListJobOutputsRequest.

func (ListJobOutputsRequest) BinaryRequestBody

func (request ListJobOutputsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListJobOutputsRequest) HTTPRequest

func (request ListJobOutputsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListJobOutputsRequest) RetryPolicy

func (request ListJobOutputsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListJobOutputsRequest) String

func (request ListJobOutputsRequest) String() string

func (ListJobOutputsRequest) ValidateEnumValue

func (request ListJobOutputsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListJobOutputsResponse

type ListJobOutputsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of JobOutputSummaryCollection instances
	JobOutputSummaryCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListJobOutputsResponse wrapper for the ListJobOutputs operation

func (ListJobOutputsResponse) HTTPResponse

func (response ListJobOutputsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListJobOutputsResponse) String

func (response ListJobOutputsResponse) String() string

type ListJobsLifecycleStateEnum

type ListJobsLifecycleStateEnum string

ListJobsLifecycleStateEnum Enum with underlying type: string

const (
	ListJobsLifecycleStateAccepted   ListJobsLifecycleStateEnum = "ACCEPTED"
	ListJobsLifecycleStateInProgress ListJobsLifecycleStateEnum = "IN_PROGRESS"
	ListJobsLifecycleStateUnknown    ListJobsLifecycleStateEnum = "UNKNOWN"
	ListJobsLifecycleStateTerminated ListJobsLifecycleStateEnum = "TERMINATED"
	ListJobsLifecycleStateFailed     ListJobsLifecycleStateEnum = "FAILED"
	ListJobsLifecycleStateSucceeded  ListJobsLifecycleStateEnum = "SUCCEEDED"
	ListJobsLifecycleStateWaiting    ListJobsLifecycleStateEnum = "WAITING"
	ListJobsLifecycleStateCanceling  ListJobsLifecycleStateEnum = "CANCELING"
	ListJobsLifecycleStateCanceled   ListJobsLifecycleStateEnum = "CANCELED"
)

Set of constants representing the allowable values for ListJobsLifecycleStateEnum

func GetListJobsLifecycleStateEnumValues

func GetListJobsLifecycleStateEnumValues() []ListJobsLifecycleStateEnum

GetListJobsLifecycleStateEnumValues Enumerates the set of values for ListJobsLifecycleStateEnum

func GetMappingListJobsLifecycleStateEnum

func GetMappingListJobsLifecycleStateEnum(val string) (ListJobsLifecycleStateEnum, bool)

GetMappingListJobsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListJobsRequest

type ListJobsRequest struct {

	// The ID of the migration in which to list resources.
	MigrationId *string `mandatory:"true" contributesTo:"query" name:"migrationId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending.
	// Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListJobsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListJobsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The lifecycle state of the Migration Job.
	LifecycleState ListJobsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListJobsRequest wrapper for the ListJobs operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ListJobs.go.html to see an example of how to use ListJobsRequest.

func (ListJobsRequest) BinaryRequestBody

func (request ListJobsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListJobsRequest) HTTPRequest

func (request ListJobsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListJobsRequest) RetryPolicy

func (request ListJobsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListJobsRequest) String

func (request ListJobsRequest) String() string

func (ListJobsRequest) ValidateEnumValue

func (request ListJobsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListJobsResponse

type ListJobsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of JobCollection instances
	JobCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListJobsResponse wrapper for the ListJobs operation

func (ListJobsResponse) HTTPResponse

func (response ListJobsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListJobsResponse) String

func (response ListJobsResponse) String() string

type ListJobsSortByEnum

type ListJobsSortByEnum string

ListJobsSortByEnum Enum with underlying type: string

const (
	ListJobsSortByTimecreated ListJobsSortByEnum = "timeCreated"
	ListJobsSortByDisplayname ListJobsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListJobsSortByEnum

func GetListJobsSortByEnumValues

func GetListJobsSortByEnumValues() []ListJobsSortByEnum

GetListJobsSortByEnumValues Enumerates the set of values for ListJobsSortByEnum

func GetMappingListJobsSortByEnum

func GetMappingListJobsSortByEnum(val string) (ListJobsSortByEnum, bool)

GetMappingListJobsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListJobsSortOrderEnum

type ListJobsSortOrderEnum string

ListJobsSortOrderEnum Enum with underlying type: string

const (
	ListJobsSortOrderAsc  ListJobsSortOrderEnum = "ASC"
	ListJobsSortOrderDesc ListJobsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListJobsSortOrderEnum

func GetListJobsSortOrderEnumValues

func GetListJobsSortOrderEnumValues() []ListJobsSortOrderEnum

GetListJobsSortOrderEnumValues Enumerates the set of values for ListJobsSortOrderEnum

func GetMappingListJobsSortOrderEnum

func GetMappingListJobsSortOrderEnum(val string) (ListJobsSortOrderEnum, bool)

GetMappingListJobsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMigrationObjectTypesRequest

type ListMigrationObjectTypesRequest struct {

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The field to sort by. Only one sort order may be provided.
	// Default order for name is custom based on it's usage frequency. If no value is specified name is default.
	SortBy ListMigrationObjectTypesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListMigrationObjectTypesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListMigrationObjectTypesRequest wrapper for the ListMigrationObjectTypes operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ListMigrationObjectTypes.go.html to see an example of how to use ListMigrationObjectTypesRequest.

func (ListMigrationObjectTypesRequest) BinaryRequestBody

func (request ListMigrationObjectTypesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListMigrationObjectTypesRequest) HTTPRequest

func (request ListMigrationObjectTypesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListMigrationObjectTypesRequest) RetryPolicy

func (request ListMigrationObjectTypesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListMigrationObjectTypesRequest) String

func (request ListMigrationObjectTypesRequest) String() string

func (ListMigrationObjectTypesRequest) ValidateEnumValue

func (request ListMigrationObjectTypesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListMigrationObjectTypesResponse

type ListMigrationObjectTypesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of MigrationObjectTypeSummaryCollection instances
	MigrationObjectTypeSummaryCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListMigrationObjectTypesResponse wrapper for the ListMigrationObjectTypes operation

func (ListMigrationObjectTypesResponse) HTTPResponse

func (response ListMigrationObjectTypesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListMigrationObjectTypesResponse) String

func (response ListMigrationObjectTypesResponse) String() string

type ListMigrationObjectTypesSortByEnum

type ListMigrationObjectTypesSortByEnum string

ListMigrationObjectTypesSortByEnum Enum with underlying type: string

const (
	ListMigrationObjectTypesSortByName ListMigrationObjectTypesSortByEnum = "name"
)

Set of constants representing the allowable values for ListMigrationObjectTypesSortByEnum

func GetListMigrationObjectTypesSortByEnumValues

func GetListMigrationObjectTypesSortByEnumValues() []ListMigrationObjectTypesSortByEnum

GetListMigrationObjectTypesSortByEnumValues Enumerates the set of values for ListMigrationObjectTypesSortByEnum

func GetMappingListMigrationObjectTypesSortByEnum

func GetMappingListMigrationObjectTypesSortByEnum(val string) (ListMigrationObjectTypesSortByEnum, bool)

GetMappingListMigrationObjectTypesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMigrationObjectTypesSortOrderEnum

type ListMigrationObjectTypesSortOrderEnum string

ListMigrationObjectTypesSortOrderEnum Enum with underlying type: string

const (
	ListMigrationObjectTypesSortOrderAsc  ListMigrationObjectTypesSortOrderEnum = "ASC"
	ListMigrationObjectTypesSortOrderDesc ListMigrationObjectTypesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListMigrationObjectTypesSortOrderEnum

func GetListMigrationObjectTypesSortOrderEnumValues

func GetListMigrationObjectTypesSortOrderEnumValues() []ListMigrationObjectTypesSortOrderEnum

GetListMigrationObjectTypesSortOrderEnumValues Enumerates the set of values for ListMigrationObjectTypesSortOrderEnum

func GetMappingListMigrationObjectTypesSortOrderEnum

func GetMappingListMigrationObjectTypesSortOrderEnum(val string) (ListMigrationObjectTypesSortOrderEnum, bool)

GetMappingListMigrationObjectTypesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMigrationObjectsRequest

type ListMigrationObjectsRequest struct {

	// The OCID of the migration
	MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListMigrationObjectsRequest wrapper for the ListMigrationObjects operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ListMigrationObjects.go.html to see an example of how to use ListMigrationObjectsRequest.

func (ListMigrationObjectsRequest) BinaryRequestBody

func (request ListMigrationObjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListMigrationObjectsRequest) HTTPRequest

func (request ListMigrationObjectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListMigrationObjectsRequest) RetryPolicy

func (request ListMigrationObjectsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListMigrationObjectsRequest) String

func (request ListMigrationObjectsRequest) String() string

func (ListMigrationObjectsRequest) ValidateEnumValue

func (request ListMigrationObjectsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListMigrationObjectsResponse

type ListMigrationObjectsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of MigrationObjectCollection instances
	MigrationObjectCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListMigrationObjectsResponse wrapper for the ListMigrationObjects operation

func (ListMigrationObjectsResponse) HTTPResponse

func (response ListMigrationObjectsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListMigrationObjectsResponse) String

func (response ListMigrationObjectsResponse) String() string

type ListMigrationsLifecycleDetailsEnum

type ListMigrationsLifecycleDetailsEnum string

ListMigrationsLifecycleDetailsEnum Enum with underlying type: string

const (
	ListMigrationsLifecycleDetailsReady      ListMigrationsLifecycleDetailsEnum = "READY"
	ListMigrationsLifecycleDetailsAborting   ListMigrationsLifecycleDetailsEnum = "ABORTING"
	ListMigrationsLifecycleDetailsValidating ListMigrationsLifecycleDetailsEnum = "VALIDATING"
	ListMigrationsLifecycleDetailsValidated  ListMigrationsLifecycleDetailsEnum = "VALIDATED"
	ListMigrationsLifecycleDetailsWaiting    ListMigrationsLifecycleDetailsEnum = "WAITING"
	ListMigrationsLifecycleDetailsMigrating  ListMigrationsLifecycleDetailsEnum = "MIGRATING"
	ListMigrationsLifecycleDetailsDone       ListMigrationsLifecycleDetailsEnum = "DONE"
)

Set of constants representing the allowable values for ListMigrationsLifecycleDetailsEnum

func GetListMigrationsLifecycleDetailsEnumValues

func GetListMigrationsLifecycleDetailsEnumValues() []ListMigrationsLifecycleDetailsEnum

GetListMigrationsLifecycleDetailsEnumValues Enumerates the set of values for ListMigrationsLifecycleDetailsEnum

func GetMappingListMigrationsLifecycleDetailsEnum

func GetMappingListMigrationsLifecycleDetailsEnum(val string) (ListMigrationsLifecycleDetailsEnum, bool)

GetMappingListMigrationsLifecycleDetailsEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMigrationsLifecycleStateEnum

type ListMigrationsLifecycleStateEnum string

ListMigrationsLifecycleStateEnum Enum with underlying type: string

const (
	ListMigrationsLifecycleStateCreating       ListMigrationsLifecycleStateEnum = "CREATING"
	ListMigrationsLifecycleStateUpdating       ListMigrationsLifecycleStateEnum = "UPDATING"
	ListMigrationsLifecycleStateActive         ListMigrationsLifecycleStateEnum = "ACTIVE"
	ListMigrationsLifecycleStateInProgress     ListMigrationsLifecycleStateEnum = "IN_PROGRESS"
	ListMigrationsLifecycleStateAccepted       ListMigrationsLifecycleStateEnum = "ACCEPTED"
	ListMigrationsLifecycleStateSucceeded      ListMigrationsLifecycleStateEnum = "SUCCEEDED"
	ListMigrationsLifecycleStateCanceled       ListMigrationsLifecycleStateEnum = "CANCELED"
	ListMigrationsLifecycleStateWaiting        ListMigrationsLifecycleStateEnum = "WAITING"
	ListMigrationsLifecycleStateNeedsAttention ListMigrationsLifecycleStateEnum = "NEEDS_ATTENTION"
	ListMigrationsLifecycleStateInactive       ListMigrationsLifecycleStateEnum = "INACTIVE"
	ListMigrationsLifecycleStateDeleting       ListMigrationsLifecycleStateEnum = "DELETING"
	ListMigrationsLifecycleStateDeleted        ListMigrationsLifecycleStateEnum = "DELETED"
	ListMigrationsLifecycleStateFailed         ListMigrationsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListMigrationsLifecycleStateEnum

func GetListMigrationsLifecycleStateEnumValues

func GetListMigrationsLifecycleStateEnumValues() []ListMigrationsLifecycleStateEnum

GetListMigrationsLifecycleStateEnumValues Enumerates the set of values for ListMigrationsLifecycleStateEnum

func GetMappingListMigrationsLifecycleStateEnum

func GetMappingListMigrationsLifecycleStateEnum(val string) (ListMigrationsLifecycleStateEnum, bool)

GetMappingListMigrationsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMigrationsRequest

type ListMigrationsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending.
	// Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListMigrationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListMigrationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The lifecycle state of the Migration.
	LifecycleState ListMigrationsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The lifecycle detailed status of the Migration.
	LifecycleDetails ListMigrationsLifecycleDetailsEnum `mandatory:"false" contributesTo:"query" name:"lifecycleDetails" omitEmpty:"true"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListMigrationsRequest wrapper for the ListMigrations operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ListMigrations.go.html to see an example of how to use ListMigrationsRequest.

func (ListMigrationsRequest) BinaryRequestBody

func (request ListMigrationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListMigrationsRequest) HTTPRequest

func (request ListMigrationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListMigrationsRequest) RetryPolicy

func (request ListMigrationsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListMigrationsRequest) String

func (request ListMigrationsRequest) String() string

func (ListMigrationsRequest) ValidateEnumValue

func (request ListMigrationsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListMigrationsResponse

type ListMigrationsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of MigrationCollection instances
	MigrationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListMigrationsResponse wrapper for the ListMigrations operation

func (ListMigrationsResponse) HTTPResponse

func (response ListMigrationsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListMigrationsResponse) String

func (response ListMigrationsResponse) String() string

type ListMigrationsSortByEnum

type ListMigrationsSortByEnum string

ListMigrationsSortByEnum Enum with underlying type: string

const (
	ListMigrationsSortByTimecreated ListMigrationsSortByEnum = "timeCreated"
	ListMigrationsSortByDisplayname ListMigrationsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListMigrationsSortByEnum

func GetListMigrationsSortByEnumValues

func GetListMigrationsSortByEnumValues() []ListMigrationsSortByEnum

GetListMigrationsSortByEnumValues Enumerates the set of values for ListMigrationsSortByEnum

func GetMappingListMigrationsSortByEnum

func GetMappingListMigrationsSortByEnum(val string) (ListMigrationsSortByEnum, bool)

GetMappingListMigrationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMigrationsSortOrderEnum

type ListMigrationsSortOrderEnum string

ListMigrationsSortOrderEnum Enum with underlying type: string

const (
	ListMigrationsSortOrderAsc  ListMigrationsSortOrderEnum = "ASC"
	ListMigrationsSortOrderDesc ListMigrationsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListMigrationsSortOrderEnum

func GetListMigrationsSortOrderEnumValues

func GetListMigrationsSortOrderEnumValues() []ListMigrationsSortOrderEnum

GetListMigrationsSortOrderEnumValues Enumerates the set of values for ListMigrationsSortOrderEnum

func GetMappingListMigrationsSortOrderEnum

func GetMappingListMigrationsSortOrderEnum(val string) (ListMigrationsSortOrderEnum, bool)

GetMappingListMigrationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestErrorsRequest

type ListWorkRequestErrorsRequest struct {

	// The ID of the asynchronous request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. Only one sort order may be provided. Default order for timestamp is descending.
	SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.

func (ListWorkRequestErrorsRequest) BinaryRequestBody

func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue

func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestErrorsResponse

type ListWorkRequestErrorsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of WorkRequestErrorCollection instances
	WorkRequestErrorCollection `presentIn:"body"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

func (ListWorkRequestErrorsResponse) HTTPResponse

func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortByEnum

type ListWorkRequestErrorsSortByEnum string

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestErrorsSortByTimestamp ListWorkRequestErrorsSortByEnum = "timestamp"
)

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortByEnumValues

func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum

GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)

GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestErrorsSortOrderEnum

type ListWorkRequestErrorsSortOrderEnum string

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestErrorsSortOrderAsc  ListWorkRequestErrorsSortOrderEnum = "ASC"
	ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestErrorsSortOrderEnumValues

func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum

GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)

GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestLogsRequest

type ListWorkRequestLogsRequest struct {

	// The ID of the asynchronous request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. Only one sort order may be provided. Default order for timestamp is descending.
	SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.

func (ListWorkRequestLogsRequest) BinaryRequestBody

func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue

func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestLogsResponse

type ListWorkRequestLogsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of WorkRequestLogEntryCollection instances
	WorkRequestLogEntryCollection `presentIn:"body"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

func (ListWorkRequestLogsResponse) HTTPResponse

func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortByEnum

type ListWorkRequestLogsSortByEnum string

ListWorkRequestLogsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestLogsSortByTimestamp ListWorkRequestLogsSortByEnum = "timestamp"
)

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortByEnumValues

func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum

GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)

GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestLogsSortOrderEnum

type ListWorkRequestLogsSortOrderEnum string

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestLogsSortOrderAsc  ListWorkRequestLogsSortOrderEnum = "ASC"
	ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestLogsSortOrderEnumValues

func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum

GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)

GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsRequest

type ListWorkRequestsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource.
	ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

	// A filter to return only resources their lifecycleState matches the given OperationStatus.
	Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending.
	SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.

func (ListWorkRequestsRequest) BinaryRequestBody

func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue

func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestsResponse

type ListWorkRequestsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of WorkRequestCollection instances
	WorkRequestCollection `presentIn:"body"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

func (ListWorkRequestsResponse) HTTPResponse

func (response ListWorkRequestsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum

type ListWorkRequestsSortByEnum string

ListWorkRequestsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortByEnumValues

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)

GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsSortOrderEnum

type ListWorkRequestsSortOrderEnum string

ListWorkRequestsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestsSortOrderAsc  ListWorkRequestsSortOrderEnum = "ASC"
	ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsSortOrderEnumValues

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)

GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsStatusEnum

type ListWorkRequestsStatusEnum string

ListWorkRequestsStatusEnum Enum with underlying type: string

const (
	ListWorkRequestsStatusAccepted   ListWorkRequestsStatusEnum = "ACCEPTED"
	ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS"
	ListWorkRequestsStatusWaiting    ListWorkRequestsStatusEnum = "WAITING"
	ListWorkRequestsStatusFailed     ListWorkRequestsStatusEnum = "FAILED"
	ListWorkRequestsStatusSucceeded  ListWorkRequestsStatusEnum = "SUCCEEDED"
	ListWorkRequestsStatusCanceling  ListWorkRequestsStatusEnum = "CANCELING"
	ListWorkRequestsStatusCanceled   ListWorkRequestsStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for ListWorkRequestsStatusEnum

func GetListWorkRequestsStatusEnumValues

func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum

GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)

GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type LogLocationBucketDetails

type LogLocationBucketDetails struct {

	// Name of the bucket containing the log file.
	BucketName *string `mandatory:"true" json:"bucketName"`

	// Object Storage namespace.
	Namespace *string `mandatory:"true" json:"namespace"`

	// Log object name.
	ObjectName *string `mandatory:"true" json:"objectName"`
}

LogLocationBucketDetails Details to access log file in the specified Object Storage bucket, if any.

func (LogLocationBucketDetails) String

func (m LogLocationBucketDetails) String() string

func (LogLocationBucketDetails) ValidateEnumValue

func (m LogLocationBucketDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MetadataRemap

type MetadataRemap struct {

	// Type of remap. Refer to METADATA_REMAP Procedure  (https://docs.oracle.com/en/database/oracle/oracle-database/19/arpls/DBMS_DATAPUMP.html#GUID-0FC32790-91E6-4781-87A3-229DE024CB3D)
	Type MetadataRemapTypeEnum `mandatory:"true" json:"type"`

	// Specifies the value which needs to be reset.
	OldValue *string `mandatory:"true" json:"oldValue"`

	// Specifies the new value that oldValue should be translated into.
	NewValue *string `mandatory:"true" json:"newValue"`
}

MetadataRemap Defines remapping to be applied to objects as they are processed. Refer to METADATA_REMAP Procedure (https://docs.oracle.com/en/database/oracle/oracle-database/19/arpls/DBMS_DATAPUMP.html#GUID-0FC32790-91E6-4781-87A3-229DE024CB3D)

func (MetadataRemap) String

func (m MetadataRemap) String() string

func (MetadataRemap) ValidateEnumValue

func (m MetadataRemap) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MetadataRemapTypeEnum

type MetadataRemapTypeEnum string

MetadataRemapTypeEnum Enum with underlying type: string

const (
	MetadataRemapTypeSchema     MetadataRemapTypeEnum = "SCHEMA"
	MetadataRemapTypeTablespace MetadataRemapTypeEnum = "TABLESPACE"
	MetadataRemapTypeDatafile   MetadataRemapTypeEnum = "DATAFILE"
	MetadataRemapTypeTable      MetadataRemapTypeEnum = "TABLE"
)

Set of constants representing the allowable values for MetadataRemapTypeEnum

func GetMappingMetadataRemapTypeEnum

func GetMappingMetadataRemapTypeEnum(val string) (MetadataRemapTypeEnum, bool)

GetMappingMetadataRemapTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMetadataRemapTypeEnumValues

func GetMetadataRemapTypeEnumValues() []MetadataRemapTypeEnum

GetMetadataRemapTypeEnumValues Enumerates the set of values for MetadataRemapTypeEnum

type Migration

type Migration struct {

	// The OCID of the resource
	Id *string `mandatory:"true" json:"id"`

	// Migration Display Name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// OCID of the compartment
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Migration type.
	Type MigrationTypesEnum `mandatory:"true" json:"type"`

	// The OCID of the Source Database Connection.
	SourceDatabaseConnectionId *string `mandatory:"true" json:"sourceDatabaseConnectionId"`

	// The OCID of the Target Database Connection.
	TargetDatabaseConnectionId *string `mandatory:"true" json:"targetDatabaseConnectionId"`

	// The time the Migration was created. An RFC3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the Migration resource.
	LifecycleState MigrationLifecycleStatesEnum `mandatory:"true" json:"lifecycleState"`

	// Name of a migration phase. The Job will wait after executing this
	// phase until the Resume Job endpoint is called.
	WaitAfter OdmsJobPhasesEnum `mandatory:"false" json:"waitAfter,omitempty"`

	// The OCID of the registered on-premises ODMS Agent. Only valid for Offline Migrations.
	AgentId *string `mandatory:"false" json:"agentId"`

	// OCID of the Secret in the OCI vault containing the Migration credentials. Used to store GoldenGate administrator user credentials.
	CredentialsSecretId *string `mandatory:"false" json:"credentialsSecretId"`

	// The OCID of the Source Container Database Connection.
	SourceContainerDatabaseConnectionId *string `mandatory:"false" json:"sourceContainerDatabaseConnectionId"`

	// OCID of the current ODMS Job in execution for the Migration, if any.
	ExecutingJobId *string `mandatory:"false" json:"executingJobId"`

	DataTransferMediumDetailsV2 DataTransferMediumDetailsV2 `mandatory:"false" json:"dataTransferMediumDetailsV2"`

	DataTransferMediumDetails *DataTransferMediumDetails `mandatory:"false" json:"dataTransferMediumDetails"`

	DumpTransferDetails *DumpTransferDetails `mandatory:"false" json:"dumpTransferDetails"`

	DatapumpSettings *DataPumpSettings `mandatory:"false" json:"datapumpSettings"`

	AdvisorSettings *AdvisorSettings `mandatory:"false" json:"advisorSettings"`

	// Database objects to exclude from migration.
	// If 'includeObjects' are specified, only exclude object types can be specified with general wildcards (.*) for owner and objectName.
	ExcludeObjects []DatabaseObject `mandatory:"false" json:"excludeObjects"`

	// Database objects to include from migration.
	IncludeObjects []DatabaseObject `mandatory:"false" json:"includeObjects"`

	GoldenGateServiceDetails *GoldenGateServiceDetails `mandatory:"false" json:"goldenGateServiceDetails"`

	GoldenGateDetails *GoldenGateDetails `mandatory:"false" json:"goldenGateDetails"`

	VaultDetails *VaultDetails `mandatory:"false" json:"vaultDetails"`

	// The time of the last Migration details update. An RFC3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The time of last Migration. An RFC3339 formatted datetime string.
	TimeLastMigration *common.SDKTime `mandatory:"false" json:"timeLastMigration"`

	// Additional status related to the execution and current state of the Migration.
	LifecycleDetails MigrationStatusEnum `mandatory:"false" json:"lifecycleDetails,omitempty"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

Migration Migration resource

func (Migration) String

func (m Migration) String() string

func (*Migration) UnmarshalJSON added in v65.49.3

func (m *Migration) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (Migration) ValidateEnumValue

func (m Migration) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MigrationCollection

type MigrationCollection struct {

	// Items in collection.
	Items []MigrationSummary `mandatory:"true" json:"items"`
}

MigrationCollection Results of a Migration search. Contains MigrationSummary items.

func (MigrationCollection) String

func (m MigrationCollection) String() string

func (MigrationCollection) ValidateEnumValue

func (m MigrationCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MigrationDatabaseTargetTypesEnum

type MigrationDatabaseTargetTypesEnum string

MigrationDatabaseTargetTypesEnum Enum with underlying type: string

const (
	MigrationDatabaseTargetTypesAdbSRemap        MigrationDatabaseTargetTypesEnum = "ADB_S_REMAP"
	MigrationDatabaseTargetTypesAdbDRemap        MigrationDatabaseTargetTypesEnum = "ADB_D_REMAP"
	MigrationDatabaseTargetTypesAdbDAutocreate   MigrationDatabaseTargetTypesEnum = "ADB_D_AUTOCREATE"
	MigrationDatabaseTargetTypesNonAdbRemap      MigrationDatabaseTargetTypesEnum = "NON_ADB_REMAP"
	MigrationDatabaseTargetTypesNonAdbAutocreate MigrationDatabaseTargetTypesEnum = "NON_ADB_AUTOCREATE"
)

Set of constants representing the allowable values for MigrationDatabaseTargetTypesEnum

func GetMappingMigrationDatabaseTargetTypesEnum

func GetMappingMigrationDatabaseTargetTypesEnum(val string) (MigrationDatabaseTargetTypesEnum, bool)

GetMappingMigrationDatabaseTargetTypesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMigrationDatabaseTargetTypesEnumValues

func GetMigrationDatabaseTargetTypesEnumValues() []MigrationDatabaseTargetTypesEnum

GetMigrationDatabaseTargetTypesEnumValues Enumerates the set of values for MigrationDatabaseTargetTypesEnum

type MigrationDatabaseTargetTypesUpdateEnum

type MigrationDatabaseTargetTypesUpdateEnum string

MigrationDatabaseTargetTypesUpdateEnum Enum with underlying type: string

const (
	MigrationDatabaseTargetTypesUpdateAdbSRemap                MigrationDatabaseTargetTypesUpdateEnum = "ADB_S_REMAP"
	MigrationDatabaseTargetTypesUpdateAdbDRemap                MigrationDatabaseTargetTypesUpdateEnum = "ADB_D_REMAP"
	MigrationDatabaseTargetTypesUpdateAdbDAutocreate           MigrationDatabaseTargetTypesUpdateEnum = "ADB_D_AUTOCREATE"
	MigrationDatabaseTargetTypesUpdateNonAdbRemap              MigrationDatabaseTargetTypesUpdateEnum = "NON_ADB_REMAP"
	MigrationDatabaseTargetTypesUpdateNonAdbAutocreate         MigrationDatabaseTargetTypesUpdateEnum = "NON_ADB_AUTOCREATE"
	MigrationDatabaseTargetTypesUpdateTargetDefaultsRemap      MigrationDatabaseTargetTypesUpdateEnum = "TARGET_DEFAULTS_REMAP"
	MigrationDatabaseTargetTypesUpdateTargetDefaultsAutocreate MigrationDatabaseTargetTypesUpdateEnum = "TARGET_DEFAULTS_AUTOCREATE"
)

Set of constants representing the allowable values for MigrationDatabaseTargetTypesUpdateEnum

func GetMappingMigrationDatabaseTargetTypesUpdateEnum

func GetMappingMigrationDatabaseTargetTypesUpdateEnum(val string) (MigrationDatabaseTargetTypesUpdateEnum, bool)

GetMappingMigrationDatabaseTargetTypesUpdateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMigrationDatabaseTargetTypesUpdateEnumValues

func GetMigrationDatabaseTargetTypesUpdateEnumValues() []MigrationDatabaseTargetTypesUpdateEnum

GetMigrationDatabaseTargetTypesUpdateEnumValues Enumerates the set of values for MigrationDatabaseTargetTypesUpdateEnum

type MigrationJobProgressResource

type MigrationJobProgressResource struct {

	// Current status of the job.
	CurrentStatus JobPhaseStatusEnum `mandatory:"true" json:"currentStatus"`

	// Current phase of the job.
	CurrentPhase OdmsJobPhasesEnum `mandatory:"true" json:"currentPhase"`

	// List of phase status for the job.
	Phases []PhaseStatus `mandatory:"true" json:"phases"`
}

MigrationJobProgressResource Progress details of a Migration Job.

func (MigrationJobProgressResource) String

func (MigrationJobProgressResource) ValidateEnumValue

func (m MigrationJobProgressResource) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MigrationJobProgressSummary

type MigrationJobProgressSummary struct {

	// Current phase of the job.
	CurrentPhase OdmsJobPhasesEnum `mandatory:"true" json:"currentPhase"`

	// Current status of the job.
	CurrentStatus JobPhaseStatusEnum `mandatory:"true" json:"currentStatus"`

	// Job progress percentage (0 - 100)
	JobProgress *int `mandatory:"true" json:"jobProgress"`
}

MigrationJobProgressSummary Summary of the progress of a Migration Job.

func (MigrationJobProgressSummary) String

func (MigrationJobProgressSummary) ValidateEnumValue

func (m MigrationJobProgressSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MigrationLifecycleStatesEnum

type MigrationLifecycleStatesEnum string

MigrationLifecycleStatesEnum Enum with underlying type: string

const (
	MigrationLifecycleStatesCreating       MigrationLifecycleStatesEnum = "CREATING"
	MigrationLifecycleStatesUpdating       MigrationLifecycleStatesEnum = "UPDATING"
	MigrationLifecycleStatesActive         MigrationLifecycleStatesEnum = "ACTIVE"
	MigrationLifecycleStatesInProgress     MigrationLifecycleStatesEnum = "IN_PROGRESS"
	MigrationLifecycleStatesAccepted       MigrationLifecycleStatesEnum = "ACCEPTED"
	MigrationLifecycleStatesSucceeded      MigrationLifecycleStatesEnum = "SUCCEEDED"
	MigrationLifecycleStatesCanceled       MigrationLifecycleStatesEnum = "CANCELED"
	MigrationLifecycleStatesWaiting        MigrationLifecycleStatesEnum = "WAITING"
	MigrationLifecycleStatesNeedsAttention MigrationLifecycleStatesEnum = "NEEDS_ATTENTION"
	MigrationLifecycleStatesInactive       MigrationLifecycleStatesEnum = "INACTIVE"
	MigrationLifecycleStatesDeleting       MigrationLifecycleStatesEnum = "DELETING"
	MigrationLifecycleStatesDeleted        MigrationLifecycleStatesEnum = "DELETED"
	MigrationLifecycleStatesFailed         MigrationLifecycleStatesEnum = "FAILED"
)

Set of constants representing the allowable values for MigrationLifecycleStatesEnum

func GetMappingMigrationLifecycleStatesEnum

func GetMappingMigrationLifecycleStatesEnum(val string) (MigrationLifecycleStatesEnum, bool)

GetMappingMigrationLifecycleStatesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMigrationLifecycleStatesEnumValues

func GetMigrationLifecycleStatesEnumValues() []MigrationLifecycleStatesEnum

GetMigrationLifecycleStatesEnumValues Enumerates the set of values for MigrationLifecycleStatesEnum

type MigrationObjectCollection

type MigrationObjectCollection struct {

	// Database objects to exclude/include from migration
	Items []MigrationObjectSummary `mandatory:"true" json:"items"`

	// Database objects to exclude/include from migration in CSV format. The items field will be ignored if this field is not null.
	CsvText *string `mandatory:"false" json:"csvText"`
}

MigrationObjectCollection Database objects to migrate.

func (MigrationObjectCollection) String

func (m MigrationObjectCollection) String() string

func (MigrationObjectCollection) ValidateEnumValue

func (m MigrationObjectCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MigrationObjectSummary

type MigrationObjectSummary struct {

	// Owner of the object (regular expression is allowed)
	Owner *string `mandatory:"true" json:"owner"`

	// Name of the object (regular expression is allowed)
	ObjectName *string `mandatory:"true" json:"objectName"`

	// Type of object to exclude.
	// If not specified, matching owners and object names of type TABLE would be excluded.
	Type *string `mandatory:"false" json:"type"`

	// Object status.
	ObjectStatus ObjectStatusEnum `mandatory:"false" json:"objectStatus,omitempty"`

	// Whether an excluded table should be omitted from replication. Only valid for database objects that have are of type TABLE and object status EXCLUDE.
	IsOmitExcludedTableFromReplication *bool `mandatory:"false" json:"isOmitExcludedTableFromReplication"`
}

MigrationObjectSummary Database objects to include or exclude from migration

func (MigrationObjectSummary) String

func (m MigrationObjectSummary) String() string

func (MigrationObjectSummary) ValidateEnumValue

func (m MigrationObjectSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MigrationObjectTypeSummary

type MigrationObjectTypeSummary struct {

	// Object type name
	Name *string `mandatory:"true" json:"name"`
}

MigrationObjectTypeSummary Migration Object Type

func (MigrationObjectTypeSummary) String

func (MigrationObjectTypeSummary) ValidateEnumValue

func (m MigrationObjectTypeSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MigrationObjectTypeSummaryCollection

type MigrationObjectTypeSummaryCollection struct {

	// Items in collection.
	Items []MigrationObjectTypeSummary `mandatory:"true" json:"items"`
}

MigrationObjectTypeSummaryCollection Results of a Migration Object Type listing. Contains MigrationObjectTypeSummary items.

func (MigrationObjectTypeSummaryCollection) String

func (MigrationObjectTypeSummaryCollection) ValidateEnumValue

func (m MigrationObjectTypeSummaryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MigrationPhaseCollection

type MigrationPhaseCollection struct {

	// Items in collection.
	Items []MigrationPhaseSummary `mandatory:"true" json:"items"`
}

MigrationPhaseCollection Results of a Migration Phase search. Contains a collection of valid ODMS Job Phases.

func (MigrationPhaseCollection) String

func (m MigrationPhaseCollection) String() string

func (MigrationPhaseCollection) ValidateEnumValue

func (m MigrationPhaseCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MigrationPhaseSummary

type MigrationPhaseSummary struct {

	// ODMS Job phase name
	Name OdmsJobPhasesEnum `mandatory:"true" json:"name"`

	// Array of actions for the corresponding phase. Empty array would indicate there is no supported action for the phase.
	SupportedActions []OdmsPhaseActionsEnum `mandatory:"true" json:"supportedActions"`

	// Action recommended for this phase. If not included in the response, there is no recommended action for the phase.
	RecommendedAction OdmsPhaseActionsEnum `mandatory:"false" json:"recommendedAction,omitempty"`
}

MigrationPhaseSummary Migration Phase Summary of details.

func (MigrationPhaseSummary) String

func (m MigrationPhaseSummary) String() string

func (MigrationPhaseSummary) ValidateEnumValue

func (m MigrationPhaseSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MigrationStatusEnum

type MigrationStatusEnum string

MigrationStatusEnum Enum with underlying type: string

const (
	MigrationStatusReady      MigrationStatusEnum = "READY"
	MigrationStatusAborting   MigrationStatusEnum = "ABORTING"
	MigrationStatusValidating MigrationStatusEnum = "VALIDATING"
	MigrationStatusValidated  MigrationStatusEnum = "VALIDATED"
	MigrationStatusWaiting    MigrationStatusEnum = "WAITING"
	MigrationStatusMigrating  MigrationStatusEnum = "MIGRATING"
	MigrationStatusDone       MigrationStatusEnum = "DONE"
)

Set of constants representing the allowable values for MigrationStatusEnum

func GetMappingMigrationStatusEnum

func GetMappingMigrationStatusEnum(val string) (MigrationStatusEnum, bool)

GetMappingMigrationStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMigrationStatusEnumValues

func GetMigrationStatusEnumValues() []MigrationStatusEnum

GetMigrationStatusEnumValues Enumerates the set of values for MigrationStatusEnum

type MigrationSummary

type MigrationSummary struct {

	// The OCID of the resource
	Id *string `mandatory:"true" json:"id"`

	// Migration Display Name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// OCID of the compartment
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Migration type.
	Type MigrationTypesEnum `mandatory:"true" json:"type"`

	// The OCID of the Source Database Connection.
	SourceDatabaseConnectionId *string `mandatory:"true" json:"sourceDatabaseConnectionId"`

	// The OCID of the Target Database Connection.
	TargetDatabaseConnectionId *string `mandatory:"true" json:"targetDatabaseConnectionId"`

	// The time the Migration was created. An RFC3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the Migration.
	LifecycleState MigrationLifecycleStatesEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID of the Source Container Database Connection.
	SourceContainerDatabaseConnectionId *string `mandatory:"false" json:"sourceContainerDatabaseConnectionId"`

	// OCID of the current ODMS Job in execution for the Migration, if any.
	ExecutingJobId *string `mandatory:"false" json:"executingJobId"`

	// The OCID of the registered on-premises ODMS Agent. Only valid for Offline Migrations.
	AgentId *string `mandatory:"false" json:"agentId"`

	VaultDetails *VaultDetails `mandatory:"false" json:"vaultDetails"`

	// The time of the last Migration details update. An RFC3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The time of last Migration. An RFC3339 formatted datetime string.
	TimeLastMigration *common.SDKTime `mandatory:"false" json:"timeLastMigration"`

	// Additional status related to the execution and current state of the Migration.
	LifecycleDetails MigrationStatusEnum `mandatory:"false" json:"lifecycleDetails,omitempty"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

MigrationSummary Migration resource

func (MigrationSummary) String

func (m MigrationSummary) String() string

func (MigrationSummary) ValidateEnumValue

func (m MigrationSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MigrationTypesEnum

type MigrationTypesEnum string

MigrationTypesEnum Enum with underlying type: string

const (
	MigrationTypesOnline  MigrationTypesEnum = "ONLINE"
	MigrationTypesOffline MigrationTypesEnum = "OFFLINE"
)

Set of constants representing the allowable values for MigrationTypesEnum

func GetMappingMigrationTypesEnum

func GetMappingMigrationTypesEnum(val string) (MigrationTypesEnum, bool)

GetMappingMigrationTypesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMigrationTypesEnumValues

func GetMigrationTypesEnumValues() []MigrationTypesEnum

GetMigrationTypesEnumValues Enumerates the set of values for MigrationTypesEnum

type NfsDataTransferMediumDetails added in v65.49.3

type NfsDataTransferMediumDetails struct {
	ObjectStorageBucket *ObjectStoreBucket `mandatory:"false" json:"objectStorageBucket"`
}

NfsDataTransferMediumDetails OCI Object Storage bucket will be used to store Data Pump dump files for the migration.

func (NfsDataTransferMediumDetails) MarshalJSON added in v65.49.3

func (m NfsDataTransferMediumDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (NfsDataTransferMediumDetails) String added in v65.49.3

func (NfsDataTransferMediumDetails) ValidateEnumValue added in v65.49.3

func (m NfsDataTransferMediumDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NonAdbAutoCreateTablespaceDetails

type NonAdbAutoCreateTablespaceDetails struct {

	// True to auto-create tablespace in the target Database.
	IsAutoCreate *bool `mandatory:"false" json:"isAutoCreate"`

	// True set tablespace to big file.
	IsBigFile *bool `mandatory:"false" json:"isBigFile"`

	// Size of extend in MB. Can only be specified if 'isBigFile' property is set to true.
	ExtendSizeInMBs *int `mandatory:"false" json:"extendSizeInMBs"`

	// Size of Oracle database blocks in KB.
	BlockSizeInKBs DataPumpTablespaceBlockSizesInKbEnum `mandatory:"false" json:"blockSizeInKBs,omitempty"`
}

NonAdbAutoCreateTablespaceDetails Migration tablespace settings valid for NON-ADB target type using auto create feature.

func (NonAdbAutoCreateTablespaceDetails) MarshalJSON

func (m NonAdbAutoCreateTablespaceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (NonAdbAutoCreateTablespaceDetails) String

func (NonAdbAutoCreateTablespaceDetails) ValidateEnumValue

func (m NonAdbAutoCreateTablespaceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NonAdbRemapTablespaceDetails

type NonAdbRemapTablespaceDetails struct {

	// Name of tablespace at target to which the source database tablespace need to be remapped
	RemapTarget *string `mandatory:"false" json:"remapTarget"`
}

NonAdbRemapTablespaceDetails Migration tablespace settings valid for NON-ADB target type using remap feature

func (NonAdbRemapTablespaceDetails) MarshalJSON

func (m NonAdbRemapTablespaceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (NonAdbRemapTablespaceDetails) String

func (NonAdbRemapTablespaceDetails) ValidateEnumValue

func (m NonAdbRemapTablespaceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ObjectStatusEnum

type ObjectStatusEnum string

ObjectStatusEnum Enum with underlying type: string

const (
	ObjectStatusExclude ObjectStatusEnum = "EXCLUDE"
	ObjectStatusInclude ObjectStatusEnum = "INCLUDE"
)

Set of constants representing the allowable values for ObjectStatusEnum

func GetMappingObjectStatusEnum

func GetMappingObjectStatusEnum(val string) (ObjectStatusEnum, bool)

GetMappingObjectStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetObjectStatusEnumValues

func GetObjectStatusEnumValues() []ObjectStatusEnum

GetObjectStatusEnumValues Enumerates the set of values for ObjectStatusEnum

type ObjectStorageDataTransferMediumDetails added in v65.49.3

type ObjectStorageDataTransferMediumDetails struct {
	ObjectStorageBucket *ObjectStoreBucket `mandatory:"false" json:"objectStorageBucket"`
}

ObjectStorageDataTransferMediumDetails OCI Object Storage bucket will be used to store Data Pump dump files for the migration.

func (ObjectStorageDataTransferMediumDetails) MarshalJSON added in v65.49.3

func (m ObjectStorageDataTransferMediumDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ObjectStorageDataTransferMediumDetails) String added in v65.49.3

func (ObjectStorageDataTransferMediumDetails) ValidateEnumValue added in v65.49.3

func (m ObjectStorageDataTransferMediumDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ObjectStoreBucket

type ObjectStoreBucket struct {

	// Namespace name of the object store bucket.
	NamespaceName *string `mandatory:"true" json:"namespaceName"`

	// Bucket name.
	BucketName *string `mandatory:"true" json:"bucketName"`
}

ObjectStoreBucket In lieu of a network database link, OCI Object Storage bucket will be used to store Data Pump dump files for the migration. Additionally, it can be specified alongside a database link data transfer medium.

func (ObjectStoreBucket) String

func (m ObjectStoreBucket) String() string

func (ObjectStoreBucket) ValidateEnumValue

func (m ObjectStoreBucket) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OciCliDumpTransferDetails

type OciCliDumpTransferDetails struct {

	// Directory path to OCI SSL wallet location on Db server node.
	WalletLocation *string `mandatory:"false" json:"walletLocation"`

	// Path to the OCI CLI installation in the node.
	OciHome *string `mandatory:"false" json:"ociHome"`
}

OciCliDumpTransferDetails Optional dump transfer details for OCI-CLI-based dump transfer in source or target host.

func (OciCliDumpTransferDetails) GetWalletLocation added in v65.43.0

func (m OciCliDumpTransferDetails) GetWalletLocation() *string

GetWalletLocation returns WalletLocation

func (OciCliDumpTransferDetails) MarshalJSON

func (m OciCliDumpTransferDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (OciCliDumpTransferDetails) String

func (m OciCliDumpTransferDetails) String() string

func (OciCliDumpTransferDetails) ValidateEnumValue

func (m OciCliDumpTransferDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OdmsJobPhasesEnum

type OdmsJobPhasesEnum string

OdmsJobPhasesEnum Enum with underlying type: string

const (
	OdmsJobPhasesOdmsValidateTgt                 OdmsJobPhasesEnum = "ODMS_VALIDATE_TGT"
	OdmsJobPhasesOdmsValidateSrc                 OdmsJobPhasesEnum = "ODMS_VALIDATE_SRC"
	OdmsJobPhasesOdmsValidatePremigrationAdvisor OdmsJobPhasesEnum = "ODMS_VALIDATE_PREMIGRATION_ADVISOR"
	OdmsJobPhasesOdmsValidateGgHub               OdmsJobPhasesEnum = "ODMS_VALIDATE_GG_HUB"
	OdmsJobPhasesOdmsValidateGgService           OdmsJobPhasesEnum = "ODMS_VALIDATE_GG_SERVICE"
	OdmsJobPhasesOdmsValidateDatapumpSettings    OdmsJobPhasesEnum = "ODMS_VALIDATE_DATAPUMP_SETTINGS"
	OdmsJobPhasesOdmsValidateDatapumpSettingsSrc OdmsJobPhasesEnum = "ODMS_VALIDATE_DATAPUMP_SETTINGS_SRC"
	OdmsJobPhasesOdmsValidateDatapumpSettingsTgt OdmsJobPhasesEnum = "ODMS_VALIDATE_DATAPUMP_SETTINGS_TGT"
	OdmsJobPhasesOdmsValidateDatapumpSrc         OdmsJobPhasesEnum = "ODMS_VALIDATE_DATAPUMP_SRC"
	OdmsJobPhasesOdmsValidateDatapumpEstimateSrc OdmsJobPhasesEnum = "ODMS_VALIDATE_DATAPUMP_ESTIMATE_SRC"
	OdmsJobPhasesOdmsInitializeGgs               OdmsJobPhasesEnum = "ODMS_INITIALIZE_GGS"
	OdmsJobPhasesOdmsValidate                    OdmsJobPhasesEnum = "ODMS_VALIDATE"
	OdmsJobPhasesOdmsPrepare                     OdmsJobPhasesEnum = "ODMS_PREPARE"
	OdmsJobPhasesOdmsInitialLoadExport           OdmsJobPhasesEnum = "ODMS_INITIAL_LOAD_EXPORT"
	OdmsJobPhasesOdmsDataUpload                  OdmsJobPhasesEnum = "ODMS_DATA_UPLOAD"
	OdmsJobPhasesOdmsInitialLoadImport           OdmsJobPhasesEnum = "ODMS_INITIAL_LOAD_IMPORT"
	OdmsJobPhasesOdmsPostInitialLoad             OdmsJobPhasesEnum = "ODMS_POST_INITIAL_LOAD"
	OdmsJobPhasesOdmsPrepareReplicationTarget    OdmsJobPhasesEnum = "ODMS_PREPARE_REPLICATION_TARGET"
	OdmsJobPhasesOdmsMonitorReplicationLag       OdmsJobPhasesEnum = "ODMS_MONITOR_REPLICATION_LAG"
	OdmsJobPhasesOdmsSwitchover                  OdmsJobPhasesEnum = "ODMS_SWITCHOVER"
	OdmsJobPhasesOdmsCleanup                     OdmsJobPhasesEnum = "ODMS_CLEANUP"
)

Set of constants representing the allowable values for OdmsJobPhasesEnum

func GetMappingOdmsJobPhasesEnum

func GetMappingOdmsJobPhasesEnum(val string) (OdmsJobPhasesEnum, bool)

GetMappingOdmsJobPhasesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOdmsJobPhasesEnumValues

func GetOdmsJobPhasesEnumValues() []OdmsJobPhasesEnum

GetOdmsJobPhasesEnumValues Enumerates the set of values for OdmsJobPhasesEnum

type OdmsPhaseActionsEnum

type OdmsPhaseActionsEnum string

OdmsPhaseActionsEnum Enum with underlying type: string

const (
	OdmsPhaseActionsWait OdmsPhaseActionsEnum = "WAIT"
)

Set of constants representing the allowable values for OdmsPhaseActionsEnum

func GetMappingOdmsPhaseActionsEnum

func GetMappingOdmsPhaseActionsEnum(val string) (OdmsPhaseActionsEnum, bool)

GetMappingOdmsPhaseActionsEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOdmsPhaseActionsEnumValues

func GetOdmsPhaseActionsEnumValues() []OdmsPhaseActionsEnum

GetOdmsPhaseActionsEnumValues Enumerates the set of values for OdmsPhaseActionsEnum

type OperationStatusEnum

type OperationStatusEnum string

OperationStatusEnum Enum with underlying type: string

const (
	OperationStatusAccepted   OperationStatusEnum = "ACCEPTED"
	OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS"
	OperationStatusWaiting    OperationStatusEnum = "WAITING"
	OperationStatusFailed     OperationStatusEnum = "FAILED"
	OperationStatusSucceeded  OperationStatusEnum = "SUCCEEDED"
	OperationStatusCanceling  OperationStatusEnum = "CANCELING"
	OperationStatusCanceled   OperationStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for OperationStatusEnum

func GetMappingOperationStatusEnum

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOperationStatusEnumValues

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypesEnum

type OperationTypesEnum string

OperationTypesEnum Enum with underlying type: string

const (
	OperationTypesCreateAgent       OperationTypesEnum = "CREATE_AGENT"
	OperationTypesDeleteAgent       OperationTypesEnum = "DELETE_AGENT"
	OperationTypesCreateMigration   OperationTypesEnum = "CREATE_MIGRATION"
	OperationTypesCloneMigration    OperationTypesEnum = "CLONE_MIGRATION"
	OperationTypesDeleteMigration   OperationTypesEnum = "DELETE_MIGRATION"
	OperationTypesUpdateMigration   OperationTypesEnum = "UPDATE_MIGRATION"
	OperationTypesStartMigration    OperationTypesEnum = "START_MIGRATION"
	OperationTypesValidateMigration OperationTypesEnum = "VALIDATE_MIGRATION"
	OperationTypesCreateConnection  OperationTypesEnum = "CREATE_CONNECTION"
	OperationTypesDeleteConnection  OperationTypesEnum = "DELETE_CONNECTION"
	OperationTypesUpdateConnection  OperationTypesEnum = "UPDATE_CONNECTION"
)

Set of constants representing the allowable values for OperationTypesEnum

func GetMappingOperationTypesEnum

func GetMappingOperationTypesEnum(val string) (OperationTypesEnum, bool)

GetMappingOperationTypesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOperationTypesEnumValues

func GetOperationTypesEnumValues() []OperationTypesEnum

GetOperationTypesEnumValues Enumerates the set of values for OperationTypesEnum

type PhaseExtractEntry

type PhaseExtractEntry struct {

	// Type of extract.
	Type PhaseExtractTypesEnum `mandatory:"true" json:"type"`

	// Message in entry.
	Message *string `mandatory:"true" json:"message"`
}

PhaseExtractEntry Job phase extract message.

func (PhaseExtractEntry) String

func (m PhaseExtractEntry) String() string

func (PhaseExtractEntry) ValidateEnumValue

func (m PhaseExtractEntry) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PhaseExtractTypesEnum

type PhaseExtractTypesEnum string

PhaseExtractTypesEnum Enum with underlying type: string

const (
	PhaseExtractTypesError PhaseExtractTypesEnum = "ERROR"
)

Set of constants representing the allowable values for PhaseExtractTypesEnum

func GetMappingPhaseExtractTypesEnum

func GetMappingPhaseExtractTypesEnum(val string) (PhaseExtractTypesEnum, bool)

GetMappingPhaseExtractTypesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPhaseExtractTypesEnumValues

func GetPhaseExtractTypesEnumValues() []PhaseExtractTypesEnum

GetPhaseExtractTypesEnumValues Enumerates the set of values for PhaseExtractTypesEnum

type PhaseStatus

type PhaseStatus struct {

	// Phase name
	Name OdmsJobPhasesEnum `mandatory:"true" json:"name"`

	// Phase status
	Status JobPhaseStatusEnum `mandatory:"true" json:"status"`

	// Duration of the phase in milliseconds
	DurationInMs *int `mandatory:"true" json:"durationInMs"`

	// True if a Pre-Migration Advisor report is available for this phase. False or null if no report is available.
	IsAdvisorReportAvailable *bool `mandatory:"false" json:"isAdvisorReportAvailable"`

	// The text describing the root cause of the reported issue
	Issue *string `mandatory:"false" json:"issue"`

	// The text describing the action required to fix the issue
	Action *string `mandatory:"false" json:"action"`

	// Summary of phase status results.
	Extract []PhaseExtractEntry `mandatory:"false" json:"extract"`

	LogLocation *LogLocationBucketDetails `mandatory:"false" json:"logLocation"`

	// Percent progress of job phase.
	Progress *int `mandatory:"false" json:"progress"`
}

PhaseStatus Job phase status details.

func (PhaseStatus) String

func (m PhaseStatus) String() string

func (PhaseStatus) ValidateEnumValue

func (m PhaseStatus) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PrivateEndpointDetails

type PrivateEndpointDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to contain the
	// private endpoint.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN where the Private Endpoint will be bound to.
	VcnId *string `mandatory:"false" json:"vcnId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the customer's
	// subnet where the private endpoint VNIC will reside.
	SubnetId *string `mandatory:"false" json:"subnetId"`

	// OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a previously created Private Endpoint.
	Id *string `mandatory:"false" json:"id"`
}

PrivateEndpointDetails OCI Private Endpoint configuration details.

func (PrivateEndpointDetails) String

func (m PrivateEndpointDetails) String() string

func (PrivateEndpointDetails) ValidateEnumValue

func (m PrivateEndpointDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ReasonKeywordsEnum

type ReasonKeywordsEnum string

ReasonKeywordsEnum Enum with underlying type: string

const (
	ReasonKeywordsOracleMaintained  ReasonKeywordsEnum = "ORACLE_MAINTAINED"
	ReasonKeywordsGgUnsupported     ReasonKeywordsEnum = "GG_UNSUPPORTED"
	ReasonKeywordsUserExcluded      ReasonKeywordsEnum = "USER_EXCLUDED"
	ReasonKeywordsMandatoryExcluded ReasonKeywordsEnum = "MANDATORY_EXCLUDED"
	ReasonKeywordsUserExcludedType  ReasonKeywordsEnum = "USER_EXCLUDED_TYPE"
)

Set of constants representing the allowable values for ReasonKeywordsEnum

func GetMappingReasonKeywordsEnum

func GetMappingReasonKeywordsEnum(val string) (ReasonKeywordsEnum, bool)

GetMappingReasonKeywordsEnum performs case Insensitive comparison on enum value and return the desired enum

func GetReasonKeywordsEnumValues

func GetReasonKeywordsEnumValues() []ReasonKeywordsEnum

GetReasonKeywordsEnumValues Enumerates the set of values for ReasonKeywordsEnum

type RemoveMigrationObjectsRequest

type RemoveMigrationObjectsRequest struct {

	// The OCID of the migration
	MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"`

	// Arrays of object.
	RemoveMigrationObjectsDetails MigrationObjectCollection `contributesTo:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RemoveMigrationObjectsRequest wrapper for the RemoveMigrationObjects operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/RemoveMigrationObjects.go.html to see an example of how to use RemoveMigrationObjectsRequest.

func (RemoveMigrationObjectsRequest) BinaryRequestBody

func (request RemoveMigrationObjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RemoveMigrationObjectsRequest) HTTPRequest

func (request RemoveMigrationObjectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RemoveMigrationObjectsRequest) RetryPolicy

func (request RemoveMigrationObjectsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RemoveMigrationObjectsRequest) String

func (request RemoveMigrationObjectsRequest) String() string

func (RemoveMigrationObjectsRequest) ValidateEnumValue

func (request RemoveMigrationObjectsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemoveMigrationObjectsResponse

type RemoveMigrationObjectsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

RemoveMigrationObjectsResponse wrapper for the RemoveMigrationObjects operation

func (RemoveMigrationObjectsResponse) HTTPResponse

func (response RemoveMigrationObjectsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RemoveMigrationObjectsResponse) String

func (response RemoveMigrationObjectsResponse) String() string

type Replicat

type Replicat struct {

	// Replicat performance.
	PerformanceProfile ReplicatPerformanceProfileEnum `mandatory:"false" json:"performanceProfile,omitempty"`

	// Number of threads used to read trail files (valid for Parallel Replicat)
	MapParallelism *int `mandatory:"false" json:"mapParallelism"`

	// Defines the range in which Replicat automatically adjusts its apply parallelism (valid for Parallel Replicat)
	MinApplyParallelism *int `mandatory:"false" json:"minApplyParallelism"`

	// Defines the range in which Replicat automatically adjusts its apply parallelism (valid for Parallel Replicat)
	MaxApplyParallelism *int `mandatory:"false" json:"maxApplyParallelism"`
}

Replicat Parameters for Replicat processes.

func (Replicat) String

func (m Replicat) String() string

func (Replicat) ValidateEnumValue

func (m Replicat) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ReplicatPerformanceProfileEnum added in v65.40.1

type ReplicatPerformanceProfileEnum string

ReplicatPerformanceProfileEnum Enum with underlying type: string

const (
	ReplicatPerformanceProfileLow  ReplicatPerformanceProfileEnum = "LOW"
	ReplicatPerformanceProfileHigh ReplicatPerformanceProfileEnum = "HIGH"
)

Set of constants representing the allowable values for ReplicatPerformanceProfileEnum

func GetMappingReplicatPerformanceProfileEnum added in v65.40.1

func GetMappingReplicatPerformanceProfileEnum(val string) (ReplicatPerformanceProfileEnum, bool)

GetMappingReplicatPerformanceProfileEnum performs case Insensitive comparison on enum value and return the desired enum

func GetReplicatPerformanceProfileEnumValues added in v65.40.1

func GetReplicatPerformanceProfileEnumValues() []ReplicatPerformanceProfileEnum

GetReplicatPerformanceProfileEnumValues Enumerates the set of values for ReplicatPerformanceProfileEnum

type ResultError added in v65.33.1

type ResultError struct {

	// A short error code that defines the error, meant for programmatic parsing.
	Code *string `mandatory:"true" json:"code"`

	// A human-readable error string.
	Message *string `mandatory:"true" json:"message"`

	// The text describing the root cause of the reported issue
	Issue *string `mandatory:"false" json:"issue"`

	// The text describing the action required to fix the issue
	Action *string `mandatory:"false" json:"action"`
}

ResultError Error Information.

func (ResultError) String added in v65.33.1

func (m ResultError) String() string

func (ResultError) ValidateEnumValue added in v65.33.1

func (m ResultError) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResultTypeEnum added in v65.33.1

type ResultTypeEnum string

ResultTypeEnum Enum with underlying type: string

const (
	ResultTypeSucceeded ResultTypeEnum = "SUCCEEDED"
	ResultTypeFailed    ResultTypeEnum = "FAILED"
	ResultTypeTimedOut  ResultTypeEnum = "TIMED_OUT"
)

Set of constants representing the allowable values for ResultTypeEnum

func GetMappingResultTypeEnum added in v65.33.1

func GetMappingResultTypeEnum(val string) (ResultTypeEnum, bool)

GetMappingResultTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResultTypeEnumValues added in v65.33.1

func GetResultTypeEnumValues() []ResultTypeEnum

GetResultTypeEnumValues Enumerates the set of values for ResultTypeEnum

type ResumeJobDetails

type ResumeJobDetails struct {

	// Name of a migration phase. The Job will wait after executing this
	// phase until Resume Job endpoint is called again.
	WaitAfter OdmsJobPhasesEnum `mandatory:"false" json:"waitAfter,omitempty"`
}

ResumeJobDetails Parameters to specify to resume a Migration Job.

func (ResumeJobDetails) String

func (m ResumeJobDetails) String() string

func (ResumeJobDetails) ValidateEnumValue

func (m ResumeJobDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResumeJobRequest

type ResumeJobRequest struct {

	// The OCID of the job
	JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Resume Job options.
	ResumeJobDetails `contributesTo:"body"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ResumeJobRequest wrapper for the ResumeJob operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ResumeJob.go.html to see an example of how to use ResumeJobRequest.

func (ResumeJobRequest) BinaryRequestBody

func (request ResumeJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ResumeJobRequest) HTTPRequest

func (request ResumeJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ResumeJobRequest) RetryPolicy

func (request ResumeJobRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ResumeJobRequest) String

func (request ResumeJobRequest) String() string

func (ResumeJobRequest) ValidateEnumValue

func (request ResumeJobRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResumeJobResponse

type ResumeJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Job instance
	Job `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

ResumeJobResponse wrapper for the ResumeJob operation

func (ResumeJobResponse) HTTPResponse

func (response ResumeJobResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ResumeJobResponse) String

func (response ResumeJobResponse) String() string

type RetrieveSupportedPhasesRequest

type RetrieveSupportedPhasesRequest struct {

	// The OCID of the migration
	MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RetrieveSupportedPhasesRequest wrapper for the RetrieveSupportedPhases operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/RetrieveSupportedPhases.go.html to see an example of how to use RetrieveSupportedPhasesRequest.

func (RetrieveSupportedPhasesRequest) BinaryRequestBody

func (request RetrieveSupportedPhasesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RetrieveSupportedPhasesRequest) HTTPRequest

func (request RetrieveSupportedPhasesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RetrieveSupportedPhasesRequest) RetryPolicy

func (request RetrieveSupportedPhasesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RetrieveSupportedPhasesRequest) String

func (request RetrieveSupportedPhasesRequest) String() string

func (RetrieveSupportedPhasesRequest) ValidateEnumValue

func (request RetrieveSupportedPhasesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RetrieveSupportedPhasesResponse

type RetrieveSupportedPhasesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The MigrationPhaseCollection instance
	MigrationPhaseCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

RetrieveSupportedPhasesResponse wrapper for the RetrieveSupportedPhases operation

func (RetrieveSupportedPhasesResponse) HTTPResponse

func (response RetrieveSupportedPhasesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RetrieveSupportedPhasesResponse) String

func (response RetrieveSupportedPhasesResponse) String() string

type SortOrdersEnum

type SortOrdersEnum string

SortOrdersEnum Enum with underlying type: string

const (
	SortOrdersAsc  SortOrdersEnum = "ASC"
	SortOrdersDesc SortOrdersEnum = "DESC"
)

Set of constants representing the allowable values for SortOrdersEnum

func GetMappingSortOrdersEnum

func GetMappingSortOrdersEnum(val string) (SortOrdersEnum, bool)

GetMappingSortOrdersEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSortOrdersEnumValues

func GetSortOrdersEnumValues() []SortOrdersEnum

GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum

type SshDetails

type SshDetails struct {

	// Name of the host the SSH key is valid for.
	Host *string `mandatory:"true" json:"host"`

	// SSH user
	User *string `mandatory:"true" json:"user"`

	// Sudo location
	SudoLocation *string `mandatory:"true" json:"sudoLocation"`
}

SshDetails Details of the SSH key that will be used.

func (SshDetails) String

func (m SshDetails) String() string

func (SshDetails) ValidateEnumValue

func (m SshDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type StartMigrationDetails

type StartMigrationDetails struct {

	// Name of a migration phase. The Job will wait after executing this
	// phase until the Resume Job endpoint is called.
	WaitAfter OdmsJobPhasesEnum `mandatory:"false" json:"waitAfter,omitempty"`
}

StartMigrationDetails Parameters to specify to a Migration job operation.

func (StartMigrationDetails) String

func (m StartMigrationDetails) String() string

func (StartMigrationDetails) ValidateEnumValue

func (m StartMigrationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type StartMigrationRequest

type StartMigrationRequest struct {

	// The OCID of the migration
	MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Start Migration Job properties.
	StartMigrationDetails `contributesTo:"body"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

StartMigrationRequest wrapper for the StartMigration operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/StartMigration.go.html to see an example of how to use StartMigrationRequest.

func (StartMigrationRequest) BinaryRequestBody

func (request StartMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (StartMigrationRequest) HTTPRequest

func (request StartMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (StartMigrationRequest) RetryPolicy

func (request StartMigrationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (StartMigrationRequest) String

func (request StartMigrationRequest) String() string

func (StartMigrationRequest) ValidateEnumValue

func (request StartMigrationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type StartMigrationResponse

type StartMigrationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Job instance
	Job `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

StartMigrationResponse wrapper for the StartMigration operation

func (StartMigrationResponse) HTTPResponse

func (response StartMigrationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (StartMigrationResponse) String

func (response StartMigrationResponse) String() string

type TargetTypeTablespaceDetails

type TargetTypeTablespaceDetails interface {
}

TargetTypeTablespaceDetails Migration tablespace settings.

type UnsupportedDatabaseObject

type UnsupportedDatabaseObject struct {

	// Owner of the object (regular expression is allowed)
	Owner *string `mandatory:"true" json:"owner"`

	// Name of the object (regular expression is allowed)
	ObjectName *string `mandatory:"true" json:"objectName"`

	// Type of unsupported object
	Type UnsupportedDatabaseObjectTypeEnum `mandatory:"false" json:"type,omitempty"`
}

UnsupportedDatabaseObject Database objects to exclude from migration

func (UnsupportedDatabaseObject) String

func (m UnsupportedDatabaseObject) String() string

func (UnsupportedDatabaseObject) ValidateEnumValue

func (m UnsupportedDatabaseObject) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UnsupportedDatabaseObjectTypeEnum

type UnsupportedDatabaseObjectTypeEnum string

UnsupportedDatabaseObjectTypeEnum Enum with underlying type: string

const (
	UnsupportedDatabaseObjectTypeGoldenGate UnsupportedDatabaseObjectTypeEnum = "GOLDEN_GATE"
)

Set of constants representing the allowable values for UnsupportedDatabaseObjectTypeEnum

func GetMappingUnsupportedDatabaseObjectTypeEnum

func GetMappingUnsupportedDatabaseObjectTypeEnum(val string) (UnsupportedDatabaseObjectTypeEnum, bool)

GetMappingUnsupportedDatabaseObjectTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUnsupportedDatabaseObjectTypeEnumValues

func GetUnsupportedDatabaseObjectTypeEnumValues() []UnsupportedDatabaseObjectTypeEnum

GetUnsupportedDatabaseObjectTypeEnumValues Enumerates the set of values for UnsupportedDatabaseObjectTypeEnum

type UpdateAdbDedicatedAutoCreateTablespaceDetails

type UpdateAdbDedicatedAutoCreateTablespaceDetails struct {

	// True to auto-create tablespace in the target Database.
	IsAutoCreate *bool `mandatory:"false" json:"isAutoCreate"`

	// True set tablespace to big file.
	IsBigFile *bool `mandatory:"false" json:"isBigFile"`

	// Size of extend in MB. Can only be specified if 'isBigFile' property is set to true.
	ExtendSizeInMBs *int `mandatory:"false" json:"extendSizeInMBs"`

	// Size of Oracle database blocks in KB.
	BlockSizeInKBs DataPumpTablespaceBlockSizesInKbEnum `mandatory:"false" json:"blockSizeInKBs,omitempty"`
}

UpdateAdbDedicatedAutoCreateTablespaceDetails Migration tablespace settings valid for ADB-D target type using auto create feature.

func (UpdateAdbDedicatedAutoCreateTablespaceDetails) MarshalJSON

func (m UpdateAdbDedicatedAutoCreateTablespaceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateAdbDedicatedAutoCreateTablespaceDetails) String

func (UpdateAdbDedicatedAutoCreateTablespaceDetails) ValidateEnumValue

func (m UpdateAdbDedicatedAutoCreateTablespaceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateAdbDedicatedRemapTargetTablespaceDetails

type UpdateAdbDedicatedRemapTargetTablespaceDetails struct {

	// Name of tablespace at target to which the source database tablespace need to be remapped.
	RemapTarget *string `mandatory:"false" json:"remapTarget"`
}

UpdateAdbDedicatedRemapTargetTablespaceDetails Migration tablespace settings valid for ADB-D target type using remap target.

func (UpdateAdbDedicatedRemapTargetTablespaceDetails) MarshalJSON

func (m UpdateAdbDedicatedRemapTargetTablespaceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateAdbDedicatedRemapTargetTablespaceDetails) String

func (UpdateAdbDedicatedRemapTargetTablespaceDetails) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateAdbServerlesTablespaceDetails

type UpdateAdbServerlesTablespaceDetails struct {
}

UpdateAdbServerlesTablespaceDetails Migration tablespace settings valid for ADB-S target type using remap feature.

func (UpdateAdbServerlesTablespaceDetails) MarshalJSON

func (m UpdateAdbServerlesTablespaceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateAdbServerlesTablespaceDetails) String

func (UpdateAdbServerlesTablespaceDetails) ValidateEnumValue

func (m UpdateAdbServerlesTablespaceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateAdminCredentials

type UpdateAdminCredentials struct {

	// Administrator username
	Username *string `mandatory:"false" json:"username"`

	// Administrator password
	Password *string `mandatory:"false" json:"password"`
}

UpdateAdminCredentials Database Administrator Credentials details. An empty object would result in the removal of the stored details.

func (UpdateAdminCredentials) String

func (m UpdateAdminCredentials) String() string

func (UpdateAdminCredentials) ValidateEnumValue

func (m UpdateAdminCredentials) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateAdvisorSettings

type UpdateAdvisorSettings struct {

	// True to skip the Pre-Migration Advisor execution. Default is false.
	IsSkipAdvisor *bool `mandatory:"false" json:"isSkipAdvisor"`

	// True to not interrupt migration execution due to Pre-Migration Advisor errors. Default is false.
	IsIgnoreErrors *bool `mandatory:"false" json:"isIgnoreErrors"`
}

UpdateAdvisorSettings Optional Pre-Migration advisor settings.

func (UpdateAdvisorSettings) String

func (m UpdateAdvisorSettings) String() string

func (UpdateAdvisorSettings) ValidateEnumValue

func (m UpdateAdvisorSettings) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateAgentDetails

type UpdateAgentDetails struct {

	// ODMS Agent name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The OCID of the Stream
	StreamId *string `mandatory:"false" json:"streamId"`

	// ODMS Agent public key.
	PublicKey *string `mandatory:"false" json:"publicKey"`

	// ODMS Agent version
	Version *string `mandatory:"false" json:"version"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateAgentDetails ODMS Agent Details

func (UpdateAgentDetails) String

func (m UpdateAgentDetails) String() string

func (UpdateAgentDetails) ValidateEnumValue

func (m UpdateAgentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateAgentRequest

type UpdateAgentRequest struct {

	// The OCID of the agent
	AgentId *string `mandatory:"true" contributesTo:"path" name:"agentId"`

	// Update ODMS Agent properties.
	UpdateAgentDetails `contributesTo:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateAgentRequest wrapper for the UpdateAgent operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/UpdateAgent.go.html to see an example of how to use UpdateAgentRequest.

func (UpdateAgentRequest) BinaryRequestBody

func (request UpdateAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateAgentRequest) HTTPRequest

func (request UpdateAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateAgentRequest) RetryPolicy

func (request UpdateAgentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateAgentRequest) String

func (request UpdateAgentRequest) String() string

func (UpdateAgentRequest) ValidateEnumValue

func (request UpdateAgentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateAgentResponse

type UpdateAgentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Agent instance
	Agent `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

UpdateAgentResponse wrapper for the UpdateAgent operation

func (UpdateAgentResponse) HTTPResponse

func (response UpdateAgentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateAgentResponse) String

func (response UpdateAgentResponse) String() string

type UpdateAwsS3Details

type UpdateAwsS3Details struct {

	// S3 bucket name.
	Name *string `mandatory:"false" json:"name"`

	// AWS region code where the S3 bucket is located.
	// Region code should match the documented available regions:
	// https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
	Region *string `mandatory:"false" json:"region"`

	// AWS access key credentials identifier
	// Details: https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
	AccessKeyId *string `mandatory:"false" json:"accessKeyId"`

	// AWS secret access key credentials
	// Details: https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
	SecretAccessKey *string `mandatory:"false" json:"secretAccessKey"`
}

UpdateAwsS3Details AWS S3 bucket details used for source Connection resources with RDS_ORACLE type. Only supported for source Connection resources with RDS_ORACLE type.

func (UpdateAwsS3Details) String

func (m UpdateAwsS3Details) String() string

func (UpdateAwsS3Details) ValidateEnumValue

func (m UpdateAwsS3Details) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateConnectDescriptor

type UpdateConnectDescriptor struct {

	// Host or IP address of the connect descriptor.
	Host *string `mandatory:"false" json:"host"`

	// Port of the connect descriptor.
	Port *int `mandatory:"false" json:"port"`

	// Database service name.
	DatabaseServiceName *string `mandatory:"false" json:"databaseServiceName"`

	// Connect String. If specified, this will override the stored connect descriptor details.
	// If a Private Endpoint was specified in the Connection, the host entry should be a valid IP address.
	// Supported formats:
	// Easy connect: <host>:<port>/<db_service_name>
	// Long format: (description= (address=(port=<port>)(host=<host>))(connect_data=(service_name=<db_service_name>)))
	ConnectString *string `mandatory:"false" json:"connectString"`
}

UpdateConnectDescriptor Connect Descriptor details. If a Private Endpoint was specified in the Connection, the host entry should be a valid IP address.

func (UpdateConnectDescriptor) String

func (m UpdateConnectDescriptor) String() string

func (UpdateConnectDescriptor) ValidateEnumValue

func (m UpdateConnectDescriptor) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateConnectionDetails

type UpdateConnectionDetails struct {

	// Database Connection display name identifier.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The OCID of the cloud database.
	DatabaseId *string `mandatory:"false" json:"databaseId"`

	ConnectDescriptor *UpdateConnectDescriptor `mandatory:"false" json:"connectDescriptor"`

	// This name is the distinguished name used while creating the certificate on target database. Not required for source container database connections.
	CertificateTdn *string `mandatory:"false" json:"certificateTdn"`

	// cwallet.sso containing containing the TCPS/SSL certificate; base64 encoded String. Not required for source container database connections.
	TlsWallet *string `mandatory:"false" json:"tlsWallet"`

	// keystore.jks file contents; base64 encoded String. Not required for source container database connections.
	TlsKeystore *string `mandatory:"false" json:"tlsKeystore"`

	SshDetails *UpdateSshDetails `mandatory:"false" json:"sshDetails"`

	AdminCredentials *UpdateAdminCredentials `mandatory:"false" json:"adminCredentials"`

	ReplicationCredentials *UpdateAdminCredentials `mandatory:"false" json:"replicationCredentials"`

	PrivateEndpoint *UpdatePrivateEndpoint `mandatory:"false" json:"privateEndpoint"`

	VaultDetails *UpdateVaultDetails `mandatory:"false" json:"vaultDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// An array of Network Security Group OCIDs used to define network access for Connections.
	NsgIds []string `mandatory:"false" json:"nsgIds"`
}

UpdateConnectionDetails Details to update in a Database Connection resource.

func (UpdateConnectionDetails) String

func (m UpdateConnectionDetails) String() string

func (UpdateConnectionDetails) ValidateEnumValue

func (m UpdateConnectionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateConnectionRequest

type UpdateConnectionRequest struct {

	// The OCID of the database connection
	ConnectionId *string `mandatory:"true" contributesTo:"path" name:"connectionId"`

	// Database Connection properties.
	UpdateConnectionDetails `contributesTo:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateConnectionRequest wrapper for the UpdateConnection operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/UpdateConnection.go.html to see an example of how to use UpdateConnectionRequest.

func (UpdateConnectionRequest) BinaryRequestBody

func (request UpdateConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateConnectionRequest) HTTPRequest

func (request UpdateConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateConnectionRequest) RetryPolicy

func (request UpdateConnectionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateConnectionRequest) String

func (request UpdateConnectionRequest) String() string

func (UpdateConnectionRequest) ValidateEnumValue

func (request UpdateConnectionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateConnectionResponse

type UpdateConnectionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

UpdateConnectionResponse wrapper for the UpdateConnection operation

func (UpdateConnectionResponse) HTTPResponse

func (response UpdateConnectionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateConnectionResponse) String

func (response UpdateConnectionResponse) String() string

type UpdateCurlTransferDetails

type UpdateCurlTransferDetails struct {

	// Directory path to OCI SSL wallet location on Db server node.
	WalletLocation *string `mandatory:"false" json:"walletLocation"`
}

UpdateCurlTransferDetails Optional properties for Curl-based dump transfer in source or target host.

func (UpdateCurlTransferDetails) GetWalletLocation added in v65.43.0

func (m UpdateCurlTransferDetails) GetWalletLocation() *string

GetWalletLocation returns WalletLocation

func (UpdateCurlTransferDetails) MarshalJSON

func (m UpdateCurlTransferDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateCurlTransferDetails) String

func (m UpdateCurlTransferDetails) String() string

func (UpdateCurlTransferDetails) ValidateEnumValue

func (m UpdateCurlTransferDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDataPumpParameters

type UpdateDataPumpParameters struct {

	// Set to false to force Data Pump worker processes to run on one instance.
	IsCluster *bool `mandatory:"false" json:"isCluster"`

	// Estimate size of dumps that will be generated.
	Estimate DataPumpEstimateEnum `mandatory:"false" json:"estimate,omitempty"`

	// IMPORT: Specifies the action to be performed when data is loaded into a preexisting table.
	TableExistsAction DataPumpTableExistsActionEnum `mandatory:"false" json:"tableExistsAction,omitempty"`

	// Exclude paratemers for Export and Import. If specified, the stored list will be replaced.
	ExcludeParameters []DataPumpExcludeParametersEnum `mandatory:"false" json:"excludeParameters"`

	// Maximum number of worker processes that can be used for a Data Pump Import job.
	// For an Autonomous Database, ODMS will automatically query its CPU core count and set this property.
	ImportParallelismDegree *int `mandatory:"false" json:"importParallelismDegree"`

	// Maximum number of worker processes that can be used for a Data Pump Export job.
	ExportParallelismDegree *int `mandatory:"false" json:"exportParallelismDegree"`
}

UpdateDataPumpParameters Optional parameters for Data Pump Export and Import. Refer to Configuring Optional Initial Load Advanced Settings (https://docs-uat.us.oracle.com/en/cloud/paas/database-migration/dmsus/working-migration-resources.html#GUID-24BD3054-FDF8-48FF-8492-636C1D4B71ED) If an empty object is specified, the stored Data Pump Parameter details will be removed.

func (UpdateDataPumpParameters) String

func (m UpdateDataPumpParameters) String() string

func (UpdateDataPumpParameters) ValidateEnumValue

func (m UpdateDataPumpParameters) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDataPumpSettings

type UpdateDataPumpSettings struct {

	// Data Pump job mode.
	// Refer to Data Pump Export Modes  (https://docs.oracle.com/en/database/oracle/oracle-database/19/sutil/oracle-data-pump-export-utility.html#GUID-8E497131-6B9B-4CC8-AA50-35F480CAC2C4)
	JobMode DataPumpJobModeEnum `mandatory:"false" json:"jobMode,omitempty"`

	DataPumpParameters *UpdateDataPumpParameters `mandatory:"false" json:"dataPumpParameters"`

	// Defines remappings to be applied to objects as they are processed.
	// Refer to METADATA_REMAP Procedure  (https://docs.oracle.com/en/database/oracle/oracle-database/19/arpls/DBMS_DATAPUMP.html#GUID-0FC32790-91E6-4781-87A3-229DE024CB3D)
	// If specified, the list will be replaced entirely. Empty list will remove stored Metadata Remap details.
	MetadataRemaps []MetadataRemap `mandatory:"false" json:"metadataRemaps"`

	TablespaceDetails UpdateTargetTypeTablespaceDetails `mandatory:"false" json:"tablespaceDetails"`

	ExportDirectoryObject *UpdateDirectoryObject `mandatory:"false" json:"exportDirectoryObject"`

	ImportDirectoryObject *UpdateDirectoryObject `mandatory:"false" json:"importDirectoryObject"`
}

UpdateDataPumpSettings Optional settings for Data Pump Export and Import jobs

func (UpdateDataPumpSettings) String

func (m UpdateDataPumpSettings) String() string

func (*UpdateDataPumpSettings) UnmarshalJSON

func (m *UpdateDataPumpSettings) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateDataPumpSettings) ValidateEnumValue

func (m UpdateDataPumpSettings) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDataTransferMediumDetails

type UpdateDataTransferMediumDetails struct {
	DatabaseLinkDetails *UpdateDatabaseLinkDetails `mandatory:"false" json:"databaseLinkDetails"`

	ObjectStorageDetails *UpdateObjectStoreBucket `mandatory:"false" json:"objectStorageDetails"`

	AwsS3Details *UpdateAwsS3Details `mandatory:"false" json:"awsS3Details"`
}

UpdateDataTransferMediumDetails Data Transfer Medium details for the Migration. Only one type of data transfer medium can be specified, except for the case of Amazon RDS Oracle as source, where Object Storage Details along with AwsS3Details are required. If an empty object is specified, the stored Data Transfer Medium details will be removed.

func (UpdateDataTransferMediumDetails) String

func (UpdateDataTransferMediumDetails) ValidateEnumValue

func (m UpdateDataTransferMediumDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDatabaseLinkDetails

type UpdateDatabaseLinkDetails struct {

	// Name of database link from OCI database to on-premise database. ODMS will create link, if the link does not already exist.
	Name *string `mandatory:"false" json:"name"`

	WalletBucket *UpdateObjectStoreBucket `mandatory:"false" json:"walletBucket"`
}

UpdateDatabaseLinkDetails Optional details for updating a network database link from OCI database to on-premise database.

func (UpdateDatabaseLinkDetails) String

func (m UpdateDatabaseLinkDetails) String() string

func (UpdateDatabaseLinkDetails) ValidateEnumValue

func (m UpdateDatabaseLinkDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDirectoryObject

type UpdateDirectoryObject struct {

	// Name of directory object in database
	Name *string `mandatory:"false" json:"name"`

	// Absolute path of directory on database server
	Path *string `mandatory:"false" json:"path"`
}

UpdateDirectoryObject Directory object details, used to define either import or export directory objects in Data Pump Settings. Import directory is required for Non-Autonomous target connections. If specified for an autonomous target, it will show an error. Export directory will error if there are database link details specified. If an empty object is specified, the stored Directory Object details will be removed.

func (UpdateDirectoryObject) String

func (m UpdateDirectoryObject) String() string

func (UpdateDirectoryObject) ValidateEnumValue

func (m UpdateDirectoryObject) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDumpTransferDetails

type UpdateDumpTransferDetails struct {
	Source UpdateHostDumpTransferDetails `mandatory:"false" json:"source"`

	Target UpdateHostDumpTransferDetails `mandatory:"false" json:"target"`

	// OCID of the shared storage mount target
	SharedStorageMountTargetId *string `mandatory:"false" json:"sharedStorageMountTargetId"`
}

UpdateDumpTransferDetails Optional additional properties for dump transfer.

func (UpdateDumpTransferDetails) String

func (m UpdateDumpTransferDetails) String() string

func (*UpdateDumpTransferDetails) UnmarshalJSON

func (m *UpdateDumpTransferDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateDumpTransferDetails) ValidateEnumValue

func (m UpdateDumpTransferDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateExtract

type UpdateExtract struct {

	// Extract performance.
	PerformanceProfile ExtractPerformanceProfileEnum `mandatory:"false" json:"performanceProfile,omitempty"`

	// Length of time (in seconds) that a transaction can be open before Extract generates a warning message that the transaction is long-running.
	// If not specified, Extract will not generate a warning on long-running transactions.
	LongTransDuration *int `mandatory:"false" json:"longTransDuration"`
}

UpdateExtract Parameters for Extract processes. If an empty object is specified, the stored Extract details will be removed.

func (UpdateExtract) String

func (m UpdateExtract) String() string

func (UpdateExtract) ValidateEnumValue

func (m UpdateExtract) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateGoldenGateDetails

type UpdateGoldenGateDetails struct {
	Hub *UpdateGoldenGateHub `mandatory:"false" json:"hub"`

	Settings *UpdateGoldenGateSettings `mandatory:"false" json:"settings"`
}

UpdateGoldenGateDetails Details about Oracle GoldenGate Microservices. If an empty object is specified, the stored Golden Gate details will be removed.

func (UpdateGoldenGateDetails) String

func (m UpdateGoldenGateDetails) String() string

func (UpdateGoldenGateDetails) ValidateEnumValue

func (m UpdateGoldenGateDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateGoldenGateHub

type UpdateGoldenGateHub struct {
	RestAdminCredentials *UpdateAdminCredentials `mandatory:"false" json:"restAdminCredentials"`

	SourceDbAdminCredentials *UpdateAdminCredentials `mandatory:"false" json:"sourceDbAdminCredentials"`

	SourceContainerDbAdminCredentials *UpdateAdminCredentials `mandatory:"false" json:"sourceContainerDbAdminCredentials"`

	TargetDbAdminCredentials *UpdateAdminCredentials `mandatory:"false" json:"targetDbAdminCredentials"`

	// Oracle GoldenGate hub's REST endpoint.
	// Refer to https://docs.oracle.com/en/middleware/goldengate/core/19.1/securing/network.html#GUID-A709DA55-111D-455E-8942-C9BDD1E38CAA
	Url *string `mandatory:"false" json:"url"`

	// Name of GoldenGate deployment to operate on source database
	SourceMicroservicesDeploymentName *string `mandatory:"false" json:"sourceMicroservicesDeploymentName"`

	// Name of GoldenGate deployment to operate on target database
	TargetMicroservicesDeploymentName *string `mandatory:"false" json:"targetMicroservicesDeploymentName"`

	// OCID of GoldenGate compute instance. An empty value will remove the stored computeId.
	ComputeId *string `mandatory:"false" json:"computeId"`
}

UpdateGoldenGateHub Details about Oracle GoldenGate Microservices.

func (UpdateGoldenGateHub) String

func (m UpdateGoldenGateHub) String() string

func (UpdateGoldenGateHub) ValidateEnumValue

func (m UpdateGoldenGateHub) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateGoldenGateServiceDetails added in v65.48.0

type UpdateGoldenGateServiceDetails struct {
	SourceDbCredentials *DatabaseCredentials `mandatory:"false" json:"sourceDbCredentials"`

	SourceContainerDbCredentials *DatabaseCredentials `mandatory:"false" json:"sourceContainerDbCredentials"`

	TargetDbCredentials *DatabaseCredentials `mandatory:"false" json:"targetDbCredentials"`

	Settings *UpdateGoldenGateSettings `mandatory:"false" json:"settings"`
}

UpdateGoldenGateServiceDetails Details about the Oracle GoldenGate Microservices. If an empty object is specified, the stored Golden Gate details will be removed.

func (UpdateGoldenGateServiceDetails) String added in v65.48.0

func (UpdateGoldenGateServiceDetails) ValidateEnumValue added in v65.48.0

func (m UpdateGoldenGateServiceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateGoldenGateSettings

type UpdateGoldenGateSettings struct {
	Extract *UpdateExtract `mandatory:"false" json:"extract"`

	Replicat *UpdateReplicat `mandatory:"false" json:"replicat"`

	// ODMS will monitor GoldenGate end-to-end latency until the lag time is lower than the specified value in seconds.
	AcceptableLag *int `mandatory:"false" json:"acceptableLag"`
}

UpdateGoldenGateSettings Optional settings for Oracle GoldenGate processes If an empty object is specified, the stored GoldenGate Settings details will be removed.

func (UpdateGoldenGateSettings) String

func (m UpdateGoldenGateSettings) String() string

func (UpdateGoldenGateSettings) ValidateEnumValue

func (m UpdateGoldenGateSettings) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateHostDumpTransferDetails

type UpdateHostDumpTransferDetails interface {

	// Directory path to OCI SSL wallet location on Db server node.
	GetWalletLocation() *string
}

UpdateHostDumpTransferDetails Optional additional properties for dump transfer in source or target host. Default kind is CURL

type UpdateHostDumpTransferDetailsKindEnum

type UpdateHostDumpTransferDetailsKindEnum string

UpdateHostDumpTransferDetailsKindEnum Enum with underlying type: string

const (
	UpdateHostDumpTransferDetailsKindCurl   UpdateHostDumpTransferDetailsKindEnum = "CURL"
	UpdateHostDumpTransferDetailsKindOciCli UpdateHostDumpTransferDetailsKindEnum = "OCI_CLI"
)

Set of constants representing the allowable values for UpdateHostDumpTransferDetailsKindEnum

func GetMappingUpdateHostDumpTransferDetailsKindEnum

func GetMappingUpdateHostDumpTransferDetailsKindEnum(val string) (UpdateHostDumpTransferDetailsKindEnum, bool)

GetMappingUpdateHostDumpTransferDetailsKindEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateHostDumpTransferDetailsKindEnumValues

func GetUpdateHostDumpTransferDetailsKindEnumValues() []UpdateHostDumpTransferDetailsKindEnum

GetUpdateHostDumpTransferDetailsKindEnumValues Enumerates the set of values for UpdateHostDumpTransferDetailsKindEnum

type UpdateJobDetails

type UpdateJobDetails struct {

	// Name of the job.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateJobDetails Update Job Details

func (UpdateJobDetails) String

func (m UpdateJobDetails) String() string

func (UpdateJobDetails) ValidateEnumValue

func (m UpdateJobDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateJobRequest

type UpdateJobRequest struct {

	// The OCID of the job
	JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"`

	// Migration Job properties.
	UpdateJobDetails `contributesTo:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateJobRequest wrapper for the UpdateJob operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/UpdateJob.go.html to see an example of how to use UpdateJobRequest.

func (UpdateJobRequest) BinaryRequestBody

func (request UpdateJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateJobRequest) HTTPRequest

func (request UpdateJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateJobRequest) RetryPolicy

func (request UpdateJobRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateJobRequest) String

func (request UpdateJobRequest) String() string

func (UpdateJobRequest) ValidateEnumValue

func (request UpdateJobRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateJobResponse

type UpdateJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Job instance
	Job `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

UpdateJobResponse wrapper for the UpdateJob operation

func (UpdateJobResponse) HTTPResponse

func (response UpdateJobResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateJobResponse) String

func (response UpdateJobResponse) String() string

type UpdateMigrationDetails

type UpdateMigrationDetails struct {

	// Migration type.
	Type MigrationTypesEnum `mandatory:"false" json:"type,omitempty"`

	// Migration Display Name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The OCID of the registered ODMS Agent.
	AgentId *string `mandatory:"false" json:"agentId"`

	// The OCID of the Source Database Connection.
	SourceDatabaseConnectionId *string `mandatory:"false" json:"sourceDatabaseConnectionId"`

	// The OCID of the Source Container Database Connection. Only used for Online migrations.
	// Only Connections of type Non-Autonomous can be used as source container databases.
	// An empty value would remove the stored Connection ID.
	SourceContainerDatabaseConnectionId *string `mandatory:"false" json:"sourceContainerDatabaseConnectionId"`

	// The OCID of the Target Database Connection.
	TargetDatabaseConnectionId *string `mandatory:"false" json:"targetDatabaseConnectionId"`

	DataTransferMediumDetailsV2 DataTransferMediumDetailsV2 `mandatory:"false" json:"dataTransferMediumDetailsV2"`

	DataTransferMediumDetails *UpdateDataTransferMediumDetails `mandatory:"false" json:"dataTransferMediumDetails"`

	DumpTransferDetails *UpdateDumpTransferDetails `mandatory:"false" json:"dumpTransferDetails"`

	DatapumpSettings *UpdateDataPumpSettings `mandatory:"false" json:"datapumpSettings"`

	AdvisorSettings *UpdateAdvisorSettings `mandatory:"false" json:"advisorSettings"`

	// Database objects to exclude from migration, cannot be specified alongside 'includeObjects'.
	// If specified, the list will be replaced entirely. Empty list will remove stored excludeObjects details.
	ExcludeObjects []DatabaseObject `mandatory:"false" json:"excludeObjects"`

	// Database objects to include from migration, cannot be specified alongside 'excludeObjects'.
	// If specified, the list will be replaced entirely. Empty list will remove stored includeObjects details.
	IncludeObjects []DatabaseObject `mandatory:"false" json:"includeObjects"`

	GoldenGateServiceDetails *UpdateGoldenGateServiceDetails `mandatory:"false" json:"goldenGateServiceDetails"`

	GoldenGateDetails *UpdateGoldenGateDetails `mandatory:"false" json:"goldenGateDetails"`

	VaultDetails *UpdateVaultDetails `mandatory:"false" json:"vaultDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateMigrationDetails Update Migration resource parameters.

func (UpdateMigrationDetails) String

func (m UpdateMigrationDetails) String() string

func (*UpdateMigrationDetails) UnmarshalJSON added in v65.49.3

func (m *UpdateMigrationDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateMigrationDetails) ValidateEnumValue

func (m UpdateMigrationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateMigrationRequest

type UpdateMigrationRequest struct {

	// The OCID of the migration
	MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"`

	// Migration properties.
	UpdateMigrationDetails `contributesTo:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateMigrationRequest wrapper for the UpdateMigration operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/UpdateMigration.go.html to see an example of how to use UpdateMigrationRequest.

func (UpdateMigrationRequest) BinaryRequestBody

func (request UpdateMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateMigrationRequest) HTTPRequest

func (request UpdateMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateMigrationRequest) RetryPolicy

func (request UpdateMigrationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateMigrationRequest) String

func (request UpdateMigrationRequest) String() string

func (UpdateMigrationRequest) ValidateEnumValue

func (request UpdateMigrationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateMigrationResponse

type UpdateMigrationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

UpdateMigrationResponse wrapper for the UpdateMigration operation

func (UpdateMigrationResponse) HTTPResponse

func (response UpdateMigrationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateMigrationResponse) String

func (response UpdateMigrationResponse) String() string

type UpdateNonAdbAutoCreateTablespaceDetails

type UpdateNonAdbAutoCreateTablespaceDetails struct {

	// True to auto-create tablespace in the target Database.
	IsAutoCreate *bool `mandatory:"false" json:"isAutoCreate"`

	// True set tablespace to big file.
	IsBigFile *bool `mandatory:"false" json:"isBigFile"`

	// Size of extend in MB. Can only be specified if 'isBigFile' property is set to true.
	ExtendSizeInMBs *int `mandatory:"false" json:"extendSizeInMBs"`

	// Size of Oracle database blocks in KB.
	BlockSizeInKBs DataPumpTablespaceBlockSizesInKbEnum `mandatory:"false" json:"blockSizeInKBs,omitempty"`
}

UpdateNonAdbAutoCreateTablespaceDetails Migration tablespace settings valid for NON-ADB target type using auto create feature.

func (UpdateNonAdbAutoCreateTablespaceDetails) MarshalJSON

func (m UpdateNonAdbAutoCreateTablespaceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateNonAdbAutoCreateTablespaceDetails) String

func (UpdateNonAdbAutoCreateTablespaceDetails) ValidateEnumValue

func (m UpdateNonAdbAutoCreateTablespaceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateNonAdbRemapTablespaceDetails

type UpdateNonAdbRemapTablespaceDetails struct {

	// Name of tablespace at target to which the source database tablespace need to be remapped.
	RemapTarget *string `mandatory:"false" json:"remapTarget"`
}

UpdateNonAdbRemapTablespaceDetails Migration tablespace settings valid for NON-ADB target type using remap feature.

func (UpdateNonAdbRemapTablespaceDetails) MarshalJSON

func (m UpdateNonAdbRemapTablespaceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateNonAdbRemapTablespaceDetails) String

func (UpdateNonAdbRemapTablespaceDetails) ValidateEnumValue

func (m UpdateNonAdbRemapTablespaceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateObjectStoreBucket

type UpdateObjectStoreBucket struct {

	// Namespace name of the object store bucket.
	NamespaceName *string `mandatory:"false" json:"namespaceName"`

	// Bucket name.
	BucketName *string `mandatory:"false" json:"bucketName"`
}

UpdateObjectStoreBucket OCI Object Storage bucket details.

func (UpdateObjectStoreBucket) String

func (m UpdateObjectStoreBucket) String() string

func (UpdateObjectStoreBucket) ValidateEnumValue

func (m UpdateObjectStoreBucket) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateOciCliDumpTransferDetails

type UpdateOciCliDumpTransferDetails struct {

	// Path to the OCI CLI installation in the node.
	OciHome *string `mandatory:"true" json:"ociHome"`

	// Directory path to OCI SSL wallet location on Db server node.
	WalletLocation *string `mandatory:"false" json:"walletLocation"`
}

UpdateOciCliDumpTransferDetails Optional dump transfer details for OCI-CLI-based dump transfer in source or target host.

func (UpdateOciCliDumpTransferDetails) GetWalletLocation added in v65.43.0

func (m UpdateOciCliDumpTransferDetails) GetWalletLocation() *string

GetWalletLocation returns WalletLocation

func (UpdateOciCliDumpTransferDetails) MarshalJSON

func (m UpdateOciCliDumpTransferDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateOciCliDumpTransferDetails) String

func (UpdateOciCliDumpTransferDetails) ValidateEnumValue

func (m UpdateOciCliDumpTransferDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdatePrivateEndpoint

type UpdatePrivateEndpoint struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to contain the
	// private endpoint.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN where the Private Endpoint will be bound to.
	VcnId *string `mandatory:"false" json:"vcnId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the customer's subnet where the private endpoint VNIC
	// will reside.
	SubnetId *string `mandatory:"false" json:"subnetId"`
}

UpdatePrivateEndpoint OCI Private Endpoint configuration details. An empty object would result in the removal of the stored details.

func (UpdatePrivateEndpoint) String

func (m UpdatePrivateEndpoint) String() string

func (UpdatePrivateEndpoint) ValidateEnumValue

func (m UpdatePrivateEndpoint) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateReplicat

type UpdateReplicat struct {

	// Replicat performance.
	PerformanceProfile ReplicatPerformanceProfileEnum `mandatory:"false" json:"performanceProfile,omitempty"`

	// Number of threads used to read trail files (valid for Parallel Replicat)
	MapParallelism *int `mandatory:"false" json:"mapParallelism"`

	// Defines the range in which Replicat automatically adjusts its apply parallelism (valid for Parallel Replicat)
	MinApplyParallelism *int `mandatory:"false" json:"minApplyParallelism"`

	// Defines the range in which Replicat automatically adjusts its apply parallelism (valid for Parallel Replicat)
	MaxApplyParallelism *int `mandatory:"false" json:"maxApplyParallelism"`
}

UpdateReplicat Parameters for Replicat processes. If an empty object is specified, the stored Replicat details will be removed.

func (UpdateReplicat) String

func (m UpdateReplicat) String() string

func (UpdateReplicat) ValidateEnumValue

func (m UpdateReplicat) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateSshDetails

type UpdateSshDetails struct {

	// Name of the host the SSH key is valid for.
	Host *string `mandatory:"false" json:"host"`

	// Private SSH key string.
	Sshkey *string `mandatory:"false" json:"sshkey"`

	// SSH user
	User *string `mandatory:"false" json:"user"`

	// Sudo location
	SudoLocation *string `mandatory:"false" json:"sudoLocation"`
}

UpdateSshDetails Details of the SSH key that will be used.

func (UpdateSshDetails) String

func (m UpdateSshDetails) String() string

func (UpdateSshDetails) ValidateEnumValue

func (m UpdateSshDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetDefaultsAutoCreateTablespaceDetails

type UpdateTargetDefaultsAutoCreateTablespaceDetails struct {
}

UpdateTargetDefaultsAutoCreateTablespaceDetails Migration tablespace settings valid for TARGET_DEFAULTS_AUTOCREATE target type. The service will compute the targetType that corresponds to the targetDatabaseConnectionId type, and set the corresponding default values. When target type is ADB_D or NON_ADB the default will be set to auto-create feature ADB_D_AUTOCREATE or NON_ADB_AUTOCREATE.

func (UpdateTargetDefaultsAutoCreateTablespaceDetails) MarshalJSON

func (m UpdateTargetDefaultsAutoCreateTablespaceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateTargetDefaultsAutoCreateTablespaceDetails) String

func (UpdateTargetDefaultsAutoCreateTablespaceDetails) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetDefaultsRemapTablespaceDetails

type UpdateTargetDefaultsRemapTablespaceDetails struct {
}

UpdateTargetDefaultsRemapTablespaceDetails Migration tablespace settings valid for TARGET_DEFAULTS_REMAP target type. The service will compute the targetType that corresponds to the targetDatabaseConnectionId type, and set the corresponding default values. When target type is ADB_S, ADB_D or NON_ADB the default will be set to remap feature ADB_S_REMAP, ADB_D_REMAP or NON_ADB_REMAP.

func (UpdateTargetDefaultsRemapTablespaceDetails) MarshalJSON

func (m UpdateTargetDefaultsRemapTablespaceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateTargetDefaultsRemapTablespaceDetails) String

func (UpdateTargetDefaultsRemapTablespaceDetails) ValidateEnumValue

func (m UpdateTargetDefaultsRemapTablespaceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetTypeTablespaceDetails

type UpdateTargetTypeTablespaceDetails interface {
}

UpdateTargetTypeTablespaceDetails Migration tablespace settings.

type UpdateVaultDetails

type UpdateVaultDetails struct {

	// OCID of the compartment where the secret containing the credentials will be created.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// OCID of the vault
	VaultId *string `mandatory:"false" json:"vaultId"`

	// OCID of the vault encryption key
	KeyId *string `mandatory:"false" json:"keyId"`
}

UpdateVaultDetails OCI Vault details to store migration and connection credentials secrets. An empty object would result in the removal of the stored details.

func (UpdateVaultDetails) String

func (m UpdateVaultDetails) String() string

func (UpdateVaultDetails) ValidateEnumValue

func (m UpdateVaultDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VaultDetails

type VaultDetails struct {

	// OCID of the compartment where the secret containing the credentials will be created.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// OCID of the vault
	VaultId *string `mandatory:"true" json:"vaultId"`

	// OCID of the vault encryption key
	KeyId *string `mandatory:"true" json:"keyId"`
}

VaultDetails OCI Vault details to store migration and connection credentials secrets

func (VaultDetails) String

func (m VaultDetails) String() string

func (VaultDetails) ValidateEnumValue

func (m VaultDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequest

type WorkRequest struct {

	// Type of the work request
	OperationType OperationTypesEnum `mandatory:"true" json:"operationType"`

	// Status of current work request.
	Status OperationStatusEnum `mandatory:"true" json:"status"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment
	// that contains the work request.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The resources that are affected by this work request.
	Resources []WorkRequestResource `mandatory:"true" json:"resources"`

	// The percentage complete of the operation tracked by this work request.
	PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

	// The date and time the work request was created, in the format defined by RFC3339.
	TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

	// The date and time the work request transitioned from `ACCEPTED` to `IN_PROGRESS`,
	// in the format defined by RFC3339.
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The date and time the work request reached a terminal state, either `FAILED` or `SUCCEEDED`.
	// Format is defined by RFC3339.
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

WorkRequest An asynchronous work request.

func (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

func (m WorkRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestCollection

type WorkRequestCollection struct {

	// Items in collection.
	Items []WorkRequestSummary `mandatory:"true" json:"items"`
}

WorkRequestCollection Results of a Work Request search. Contains WorkRequestSummary items.

func (WorkRequestCollection) String

func (m WorkRequestCollection) String() string

func (WorkRequestCollection) ValidateEnumValue

func (m WorkRequestCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestError

type WorkRequestError struct {

	// A machine-usable code for the error that occured. Error codes are listed on
	// API Errors (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)
	Code *string `mandatory:"true" json:"code"`

	// A human-readable error string.
	Message *string `mandatory:"true" json:"message"`

	// The time the error occured. An RFC3339 formatted datetime string.
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestError An error encountered while executing an operation that is tracked by a work request.

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

func (m WorkRequestError) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestErrorCollection

type WorkRequestErrorCollection struct {

	// Items in collection.
	Items []WorkRequestError `mandatory:"true" json:"items"`
}

WorkRequestErrorCollection Results of a Work Request search. Contains WorkRequestError items.

func (WorkRequestErrorCollection) String

func (WorkRequestErrorCollection) ValidateEnumValue

func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntry

type WorkRequestLogEntry struct {

	// A human-readable log message.
	Message *string `mandatory:"true" json:"message"`

	// The time the log message was written. An RFC3339 formatted datetime string
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestLogEntry A log message from executing an operation that is tracked by a work request.

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntryCollection

type WorkRequestLogEntryCollection struct {

	// Items in collection.
	Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}

WorkRequestLogEntryCollection Results of a Work Request search. Contains WorkRequestLogEntry items.

func (WorkRequestLogEntryCollection) String

func (WorkRequestLogEntryCollection) ValidateEnumValue

func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResource

type WorkRequestResource struct {

	// The way in which this resource was affected by the operation that spawned the work
	// request.
	ActionType WorkRequestResourceActionTypeEnum `mandatory:"true" json:"actionType"`

	// The resource type the work request affects.
	EntityType *string `mandatory:"true" json:"entityType"`

	// An OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) or other unique identifier for the
	// resource.
	Identifier *string `mandatory:"true" json:"identifier"`

	// The URI path that you can use for a GET request to access the resource metadata.
	EntityUri *string `mandatory:"false" json:"entityUri"`
}

WorkRequestResource A resource that is created or operated on by an asynchronous operation that is tracked by a work request.

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

func (m WorkRequestResource) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResourceActionTypeEnum

type WorkRequestResourceActionTypeEnum string

WorkRequestResourceActionTypeEnum Enum with underlying type: string

const (
	WorkRequestResourceActionTypeCreated    WorkRequestResourceActionTypeEnum = "CREATED"
	WorkRequestResourceActionTypeUpdated    WorkRequestResourceActionTypeEnum = "UPDATED"
	WorkRequestResourceActionTypeDeleted    WorkRequestResourceActionTypeEnum = "DELETED"
	WorkRequestResourceActionTypeRelated    WorkRequestResourceActionTypeEnum = "RELATED"
	WorkRequestResourceActionTypeInProgress WorkRequestResourceActionTypeEnum = "IN_PROGRESS"
)

Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum

func GetMappingWorkRequestResourceActionTypeEnum

func GetMappingWorkRequestResourceActionTypeEnum(val string) (WorkRequestResourceActionTypeEnum, bool)

GetMappingWorkRequestResourceActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestResourceActionTypeEnumValues

func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum

GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum

type WorkRequestSummary

type WorkRequestSummary struct {

	// The asynchronous operation tracked by this work request.
	OperationType *string `mandatory:"true" json:"operationType"`

	// The status of the work request.
	Status WorkRequestSummaryStatusEnum `mandatory:"true" json:"status"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing
	// this work request.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The percentage complete of the operation tracked by this work request.
	PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

	// The date and time the work request was created, in the format defined by RFC3339.
	TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

	// The date and time the work request transitioned from `ACCEPTED` to `IN_PROGRESS`, in
	// the format defined by RFC3339.
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The date and time the work request reached a terminal state, either `FAILED` or `SUCCEEDED`.
	// Format is defined by RFC3339.
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

WorkRequestSummary A summary of the status of a work request.

func (WorkRequestSummary) String

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue

func (m WorkRequestSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestSummaryStatusEnum

type WorkRequestSummaryStatusEnum string

WorkRequestSummaryStatusEnum Enum with underlying type: string

const (
	WorkRequestSummaryStatusAccepted   WorkRequestSummaryStatusEnum = "ACCEPTED"
	WorkRequestSummaryStatusInProgress WorkRequestSummaryStatusEnum = "IN_PROGRESS"
	WorkRequestSummaryStatusFailed     WorkRequestSummaryStatusEnum = "FAILED"
	WorkRequestSummaryStatusSucceeded  WorkRequestSummaryStatusEnum = "SUCCEEDED"
	WorkRequestSummaryStatusCanceling  WorkRequestSummaryStatusEnum = "CANCELING"
	WorkRequestSummaryStatusCanceled   WorkRequestSummaryStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for WorkRequestSummaryStatusEnum

func GetMappingWorkRequestSummaryStatusEnum

func GetMappingWorkRequestSummaryStatusEnum(val string) (WorkRequestSummaryStatusEnum, bool)

GetMappingWorkRequestSummaryStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestSummaryStatusEnumValues

func GetWorkRequestSummaryStatusEnumValues() []WorkRequestSummaryStatusEnum

GetWorkRequestSummaryStatusEnumValues Enumerates the set of values for WorkRequestSummaryStatusEnum

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL