databasemigration

package
v65.73.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 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 GetAdvancedParameterDataTypesEnumStringValues ¶ added in v65.69.0

func GetAdvancedParameterDataTypesEnumStringValues() []string

GetAdvancedParameterDataTypesEnumStringValues Enumerates the set of values in String for AdvancedParameterDataTypesEnum

func GetAdvisorResultsEnumStringValues ¶

func GetAdvisorResultsEnumStringValues() []string

GetAdvisorResultsEnumStringValues Enumerates the set of values in String for AdvisorResultsEnum

func GetCompatibilityOptionEnumStringValues ¶ added in v65.68.0

func GetCompatibilityOptionEnumStringValues() []string

GetCompatibilityOptionEnumStringValues Enumerates the set of values in String for CompatibilityOptionEnum

func GetConnectionLifecycleStateEnumStringValues ¶ added in v65.68.0

func GetConnectionLifecycleStateEnumStringValues() []string

GetConnectionLifecycleStateEnumStringValues Enumerates the set of values in String for ConnectionLifecycleStateEnum

func GetConnectionTypeEnumStringValues ¶ added in v65.68.0

func GetConnectionTypeEnumStringValues() []string

GetConnectionTypeEnumStringValues Enumerates the set of values in String for ConnectionTypeEnum

func GetCreateHostDumpTransferDetailsKindEnumStringValues ¶

func GetCreateHostDumpTransferDetailsKindEnumStringValues() []string

GetCreateHostDumpTransferDetailsKindEnumStringValues Enumerates the set of values in String for CreateHostDumpTransferDetailsKindEnum

func GetCreateMySqlDataTransferMediumDetailsTypeEnumStringValues ¶ added in v65.68.0

func GetCreateMySqlDataTransferMediumDetailsTypeEnumStringValues() []string

GetCreateMySqlDataTransferMediumDetailsTypeEnumStringValues Enumerates the set of values in String for CreateMySqlDataTransferMediumDetailsTypeEnum

func GetCreateOracleDataTransferMediumDetailsTypeEnumStringValues ¶ added in v65.68.0

func GetCreateOracleDataTransferMediumDetailsTypeEnumStringValues() []string

GetCreateOracleDataTransferMediumDetailsTypeEnumStringValues Enumerates the set of values in String for CreateOracleDataTransferMediumDetailsTypeEnum

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 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 GetDatabaseCombinationEnumStringValues ¶ added in v65.68.0

func GetDatabaseCombinationEnumStringValues() []string

GetDatabaseCombinationEnumStringValues Enumerates the set of values in String for DatabaseCombinationEnum

func GetExtractPerformanceProfileEnumStringValues ¶

func GetExtractPerformanceProfileEnumStringValues() []string

GetExtractPerformanceProfileEnumStringValues Enumerates the set of values in String for ExtractPerformanceProfileEnum

func GetHandleGrantErrorsEnumStringValues ¶ added in v65.68.0

func GetHandleGrantErrorsEnumStringValues() []string

GetHandleGrantErrorsEnumStringValues Enumerates the set of values in String for HandleGrantErrorsEnum

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 GetJobModeMySqlEnumStringValues ¶ added in v65.68.0

func GetJobModeMySqlEnumStringValues() []string

GetJobModeMySqlEnumStringValues Enumerates the set of values in String for JobModeMySqlEnum

func GetJobModeOracleEnumStringValues ¶ added in v65.68.0

func GetJobModeOracleEnumStringValues() []string

GetJobModeOracleEnumStringValues Enumerates the set of values in String for JobModeOracleEnum

func GetJobParameterFileVersionKindEnumStringValues ¶ added in v65.70.0

func GetJobParameterFileVersionKindEnumStringValues() []string

GetJobParameterFileVersionKindEnumStringValues Enumerates the set of values in String for JobParameterFileVersionKindEnum

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 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 GetListMigrationObjectTypesConnectionTypeEnumStringValues ¶ added in v65.68.0

func GetListMigrationObjectTypesConnectionTypeEnumStringValues() []string

GetListMigrationObjectTypesConnectionTypeEnumStringValues Enumerates the set of values in String for ListMigrationObjectTypesConnectionTypeEnum

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 GetListMigrationParametersDatabaseCombinationEnumStringValues ¶ added in v65.69.0

func GetListMigrationParametersDatabaseCombinationEnumStringValues() []string

GetListMigrationParametersDatabaseCombinationEnumStringValues Enumerates the set of values in String for ListMigrationParametersDatabaseCombinationEnum

func GetListMigrationParametersMigrationTypeEnumStringValues ¶ added in v65.69.0

func GetListMigrationParametersMigrationTypeEnumStringValues() []string

GetListMigrationParametersMigrationTypeEnumStringValues Enumerates the set of values in String for ListMigrationParametersMigrationTypeEnum

func GetListMigrationParametersSortByEnumStringValues ¶ added in v65.69.0

func GetListMigrationParametersSortByEnumStringValues() []string

GetListMigrationParametersSortByEnumStringValues Enumerates the set of values in String for ListMigrationParametersSortByEnum

func GetListMigrationParametersSortOrderEnumStringValues ¶ added in v65.69.0

func GetListMigrationParametersSortOrderEnumStringValues() []string

GetListMigrationParametersSortOrderEnumStringValues Enumerates the set of values in String for ListMigrationParametersSortOrderEnum

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 GetListParameterFileVersionsSortByEnumStringValues ¶ added in v65.70.0

func GetListParameterFileVersionsSortByEnumStringValues() []string

GetListParameterFileVersionsSortByEnumStringValues Enumerates the set of values in String for ListParameterFileVersionsSortByEnum

func GetListParameterFileVersionsSortOrderEnumStringValues ¶ added in v65.70.0

func GetListParameterFileVersionsSortOrderEnumStringValues() []string

GetListParameterFileVersionsSortOrderEnumStringValues Enumerates the set of values in String for ListParameterFileVersionsSortOrderEnum

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 GetMySqlDataTransferMediumDetailsTypeEnumStringValues ¶ added in v65.68.0

func GetMySqlDataTransferMediumDetailsTypeEnumStringValues() []string

GetMySqlDataTransferMediumDetailsTypeEnumStringValues Enumerates the set of values in String for MySqlDataTransferMediumDetailsTypeEnum

func GetMysqlConnectionSecurityProtocolEnumStringValues ¶ added in v65.68.0

func GetMysqlConnectionSecurityProtocolEnumStringValues() []string

GetMysqlConnectionSecurityProtocolEnumStringValues Enumerates the set of values in String for MysqlConnectionSecurityProtocolEnum

func GetMysqlConnectionSslModeEnumStringValues ¶ added in v65.68.0

func GetMysqlConnectionSslModeEnumStringValues() []string

GetMysqlConnectionSslModeEnumStringValues Enumerates the set of values in String for MysqlConnectionSslModeEnum

func GetMysqlConnectionTechnologyTypeEnumStringValues ¶ added in v65.68.0

func GetMysqlConnectionTechnologyTypeEnumStringValues() []string

GetMysqlConnectionTechnologyTypeEnumStringValues Enumerates the set of values in String for MysqlConnectionTechnologyTypeEnum

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 GetOracleConnectionTechnologyTypeEnumStringValues ¶ added in v65.68.0

func GetOracleConnectionTechnologyTypeEnumStringValues() []string

GetOracleConnectionTechnologyTypeEnumStringValues Enumerates the set of values in String for OracleConnectionTechnologyTypeEnum

func GetOracleDataTransferMediumDetailsTypeEnumStringValues ¶ added in v65.68.0

func GetOracleDataTransferMediumDetailsTypeEnumStringValues() []string

GetOracleDataTransferMediumDetailsTypeEnumStringValues Enumerates the set of values in String for OracleDataTransferMediumDetailsTypeEnum

func GetPhaseExtractTypesEnumStringValues ¶

func GetPhaseExtractTypesEnumStringValues() []string

GetPhaseExtractTypesEnumStringValues Enumerates the set of values in String for PhaseExtractTypesEnum

func GetPrimaryKeyCompatibilityEnumStringValues ¶ added in v65.68.0

func GetPrimaryKeyCompatibilityEnumStringValues() []string

GetPrimaryKeyCompatibilityEnumStringValues Enumerates the set of values in String for PrimaryKeyCompatibilityEnum

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 GetTechnologyTypeEnumStringValues ¶ added in v65.68.0

func GetTechnologyTypeEnumStringValues() []string

GetTechnologyTypeEnumStringValues Enumerates the set of values in String for TechnologyTypeEnum

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 GetUpdateMySqlDataTransferMediumDetailsTypeEnumStringValues ¶ added in v65.68.0

func GetUpdateMySqlDataTransferMediumDetailsTypeEnumStringValues() []string

GetUpdateMySqlDataTransferMediumDetailsTypeEnumStringValues Enumerates the set of values in String for UpdateMySqlDataTransferMediumDetailsTypeEnum

func GetUpdateOracleDataTransferMediumDetailsTypeEnumStringValues ¶ added in v65.68.0

func GetUpdateOracleDataTransferMediumDetailsTypeEnumStringValues() []string

GetUpdateOracleDataTransferMediumDetailsTypeEnumStringValues Enumerates the set of values in String for UpdateOracleDataTransferMediumDetailsTypeEnum

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 {

	// Set this property to true to auto-create tablespaces in the target Database.
	// Note: This is not applicable for Autonomous Database Serverless databases.
	IsAutoCreate *bool `mandatory:"false" json:"isAutoCreate"`

	// Set this property to true to enable tablespace of the type big file.
	IsBigFile *bool `mandatory:"false" json:"isBigFile"`

	// Size to extend the tablespace in MB.
	// Note: Only applicable 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 Auto create tablespace settings that are valid for Dedicated Autonomous Databases.

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 the tablespace on the target database to which the source database tablespace is to be remapped.
	RemapTarget *string `mandatory:"false" json:"remapTarget"`
}

AdbDedicatedRemapTargetTablespaceDetails Remap tablespace settings that are valid for Dedicated Autonomous Databases.

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 the tablespace on the target database to which the source database tablespace is to be remapped.
	RemapTarget AdbServerlesTablespaceDetailsRemapTargetEnum `mandatory:"false" json:"remapTarget,omitempty"`
}

AdbServerlesTablespaceDetails Migration tablespace settings valid for Autonomous Database Serverless 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 AdvancedParameterDataTypesEnum ¶ added in v65.69.0

type AdvancedParameterDataTypesEnum string

AdvancedParameterDataTypesEnum Enum with underlying type: string

const (
	AdvancedParameterDataTypesString  AdvancedParameterDataTypesEnum = "STRING"
	AdvancedParameterDataTypesInteger AdvancedParameterDataTypesEnum = "INTEGER"
	AdvancedParameterDataTypesFloat   AdvancedParameterDataTypesEnum = "FLOAT"
	AdvancedParameterDataTypesBoolean AdvancedParameterDataTypesEnum = "BOOLEAN"
)

Set of constants representing the allowable values for AdvancedParameterDataTypesEnum

func GetAdvancedParameterDataTypesEnumValues ¶ added in v65.69.0

func GetAdvancedParameterDataTypesEnumValues() []AdvancedParameterDataTypesEnum

GetAdvancedParameterDataTypesEnumValues Enumerates the set of values for AdvancedParameterDataTypesEnum

func GetMappingAdvancedParameterDataTypesEnum ¶ added in v65.69.0

func GetMappingAdvancedParameterDataTypesEnum(val string) (AdvancedParameterDataTypesEnum, bool)

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

type AdvisorReport ¶

type AdvisorReport struct {

	// Premigration 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 Premigration 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 Premigration Advisor report.
	BucketName *string `mandatory:"true" json:"bucketName"`

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

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

AdvisorReportBucketDetails Details to access Premigration Advisor report in the specified Object Storage bucket.

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"`

	// File system path on the Source Database host where the Premigration Advisor report can be accessed.
	LocationInSource *string `mandatory:"false" json:"locationInSource"`
}

AdvisorReportLocationDetails Details to access Premigration 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 ChangeConnectionCompartmentDetails ¶

type ChangeConnectionCompartmentDetails struct {

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

ChangeConnectionCompartmentDetails Details for changing the compartment for a Connection.

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 resource being referenced.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeMigrationCompartmentDetails Details pertaining to change of a migration's compartment.

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 interface {

	// The OCID of the resource being referenced.
	GetSourceDatabaseConnectionId() *string

	// The OCID of the resource being referenced.
	GetTargetDatabaseConnectionId() *string

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	GetDisplayName() *string

	// The OCID of the resource being referenced.
	GetCompartmentId() *string

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	GetFreeformTags() map[string]string

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	GetDefinedTags() map[string]map[string]interface{}
}

CloneMigrationDetails Customizable details when performing cloning of a migration.

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 CompatibilityOptionEnum ¶ added in v65.68.0

type CompatibilityOptionEnum string

CompatibilityOptionEnum Enum with underlying type: string

const (
	CompatibilityOptionForceInnodb           CompatibilityOptionEnum = "FORCE_INNODB"
	CompatibilityOptionSkipInvalidAccounts   CompatibilityOptionEnum = "SKIP_INVALID_ACCOUNTS"
	CompatibilityOptionStripDefiners         CompatibilityOptionEnum = "STRIP_DEFINERS"
	CompatibilityOptionStripRestrictedGrants CompatibilityOptionEnum = "STRIP_RESTRICTED_GRANTS"
	CompatibilityOptionStripTablespaces      CompatibilityOptionEnum = "STRIP_TABLESPACES"
	CompatibilityOptionIgnoreWildcardGrants  CompatibilityOptionEnum = "IGNORE_WILDCARD_GRANTS"
	CompatibilityOptionStripInvalidGrants    CompatibilityOptionEnum = "STRIP_INVALID_GRANTS"
)

Set of constants representing the allowable values for CompatibilityOptionEnum

func GetCompatibilityOptionEnumValues ¶ added in v65.68.0

func GetCompatibilityOptionEnumValues() []CompatibilityOptionEnum

GetCompatibilityOptionEnumValues Enumerates the set of values for CompatibilityOptionEnum

func GetMappingCompatibilityOptionEnum ¶ added in v65.68.0

func GetMappingCompatibilityOptionEnum(val string) (CompatibilityOptionEnum, bool)

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

type Connection ¶

type Connection interface {

	// The OCID of the connection being referenced.
	GetId() *string

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	GetDisplayName() *string

	// The OCID of the compartment.
	GetCompartmentId() *string

	// The Connection's current lifecycle state.
	GetLifecycleState() ConnectionLifecycleStateEnum

	// The time when this resource was created.
	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	GetTimeCreated() *common.SDKTime

	// The time when this resource was updated.
	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	GetTimeUpdated() *common.SDKTime

	// The username (credential) used when creating or updating this resource.
	GetUsername() *string

	// A user-friendly description. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	GetDescription() *string

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	GetFreeformTags() map[string]string

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	GetDefinedTags() map[string]map[string]interface{}

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	GetSystemTags() map[string]map[string]interface{}

	// The message describing the current state of the connection's lifecycle in detail.
	// For example, can be used to provide actionable information for a connection in a Failed state.
	GetLifecycleDetails() *string

	// OCI resource ID.
	GetVaultId() *string

	// The OCID of the key used in cryptographic operations.
	GetKeyId() *string

	// OCI resource ID.
	GetSubnetId() *string

	// List of ingress IP addresses from where to connect to this connection's privateIp.
	GetIngressIps() []IngressIpDetails

	// An array of Network Security Group OCIDs used to define network access for Connections.
	GetNsgIds() []string

	// The password (credential) used when creating or updating this resource.
	GetPassword() *string

	// The username (credential) used when creating or updating this resource.
	GetReplicationUsername() *string

	// The password (credential) used when creating or updating this resource.
	GetReplicationPassword() *string

	// The OCID of the resource being referenced.
	GetSecretId() *string

	// The OCID of the resource being referenced.
	GetPrivateEndpointId() *string
}

Connection Represents the common details required for creating a new connection.

type ConnectionCollection ¶

type ConnectionCollection struct {

	// An array of Connection summaries.
	Items []ConnectionSummary `mandatory:"true" json:"items"`
}

ConnectionCollection Array of connection summary objects.

func (ConnectionCollection) String ¶

func (m ConnectionCollection) String() string

func (*ConnectionCollection) UnmarshalJSON ¶ added in v65.68.0

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

UnmarshalJSON unmarshals from json

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 ConnectionLifecycleStateEnum ¶ added in v65.68.0

type ConnectionLifecycleStateEnum string

ConnectionLifecycleStateEnum Enum with underlying type: string

const (
	ConnectionLifecycleStateCreating ConnectionLifecycleStateEnum = "CREATING"
	ConnectionLifecycleStateUpdating ConnectionLifecycleStateEnum = "UPDATING"
	ConnectionLifecycleStateActive   ConnectionLifecycleStateEnum = "ACTIVE"
	ConnectionLifecycleStateInactive ConnectionLifecycleStateEnum = "INACTIVE"
	ConnectionLifecycleStateDeleting ConnectionLifecycleStateEnum = "DELETING"
	ConnectionLifecycleStateDeleted  ConnectionLifecycleStateEnum = "DELETED"
	ConnectionLifecycleStateFailed   ConnectionLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ConnectionLifecycleStateEnum

func GetConnectionLifecycleStateEnumValues ¶ added in v65.68.0

func GetConnectionLifecycleStateEnumValues() []ConnectionLifecycleStateEnum

GetConnectionLifecycleStateEnumValues Enumerates the set of values for ConnectionLifecycleStateEnum

func GetMappingConnectionLifecycleStateEnum ¶ added in v65.68.0

func GetMappingConnectionLifecycleStateEnum(val string) (ConnectionLifecycleStateEnum, bool)

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

type ConnectionSummary ¶

type ConnectionSummary interface {

	// The OCID of the connection being referenced.
	GetId() *string

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	GetDisplayName() *string

	// The OCID of the compartment.
	GetCompartmentId() *string

	// Lifecycle state for connection.
	GetLifecycleState() ConnectionLifecycleStateEnum

	// The time when this resource was created.
	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	GetTimeCreated() *common.SDKTime

	// The time when this resource was updated.
	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	GetTimeUpdated() *common.SDKTime

	// A user-friendly description. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	GetDescription() *string

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	GetFreeformTags() map[string]string

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	GetDefinedTags() map[string]map[string]interface{}

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	GetSystemTags() map[string]map[string]interface{}

	// A message describing the current state in more detail. For example, can be used to provide actionable information
	// for a resource in Failed state.
	GetLifecycleDetails() *string

	// OCI resource ID.
	GetVaultId() *string

	// The OCID of the key used in cryptographic operations.
	GetKeyId() *string

	// OCI resource ID.
	GetSubnetId() *string

	// List of ingress IP addresses from where to connect to this connection's privateIp.
	GetIngressIps() []IngressIpDetails

	// An array of Network Security Group OCIDs used to define network access for Connections.
	GetNsgIds() []string
}

ConnectionSummary Represents the parameters common for all connections in list operation.

type ConnectionTypeEnum ¶ added in v65.68.0

type ConnectionTypeEnum string

ConnectionTypeEnum Enum with underlying type: string

const (
	ConnectionTypeMysql  ConnectionTypeEnum = "MYSQL"
	ConnectionTypeOracle ConnectionTypeEnum = "ORACLE"
)

Set of constants representing the allowable values for ConnectionTypeEnum

func GetConnectionTypeEnumValues ¶ added in v65.68.0

func GetConnectionTypeEnumValues() []ConnectionTypeEnum

GetConnectionTypeEnumValues Enumerates the set of values for ConnectionTypeEnum

func GetMappingConnectionTypeEnum ¶ added in v65.68.0

func GetMappingConnectionTypeEnum(val string) (ConnectionTypeEnum, bool)

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

type CreateAdbDedicatedAutoCreateTablespaceDetails ¶

type CreateAdbDedicatedAutoCreateTablespaceDetails struct {

	// Set this property to true to auto-create tablespaces in the target Database.
	// Note: This is not applicable for Autonomous Database Serverless databases.
	IsAutoCreate *bool `mandatory:"false" json:"isAutoCreate"`

	// Set this property to true to enable tablespace of the type big file.
	IsBigFile *bool `mandatory:"false" json:"isBigFile"`

	// Size to extend the tablespace in MB.
	// Note: Only applicable 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 Auto create tablespace settings that are valid for Dedicated Autonomous Databases.

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 the tablespace on the target database to which the source database tablespace is to be remapped.
	RemapTarget *string `mandatory:"false" json:"remapTarget"`
}

CreateAdbDedicatedRemapTargetTablespaceDetails Remap tablespace settings that are valid for Dedicated Autonomous Databases.

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 Autonomous Database Serverless 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 CreateConnectionDetails ¶

type CreateConnectionDetails interface {

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	GetDisplayName() *string

	// The OCID of the compartment.
	GetCompartmentId() *string

	// OCI resource ID.
	GetVaultId() *string

	// The OCID of the key used in cryptographic operations.
	GetKeyId() *string

	// The username (credential) used when creating or updating this resource.
	GetUsername() *string

	// The password (credential) used when creating or updating this resource.
	GetPassword() *string

	// A user-friendly description. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	GetDescription() *string

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	GetFreeformTags() map[string]string

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	GetDefinedTags() map[string]map[string]interface{}

	// OCI resource ID.
	GetSubnetId() *string

	// An array of Network Security Group OCIDs used to define network access for Connections.
	GetNsgIds() []string

	// The username (credential) used when creating or updating this resource.
	GetReplicationUsername() *string

	// The password (credential) used when creating or updating this resource.
	GetReplicationPassword() *string
}

CreateConnectionDetails The information about a new Connection.

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.

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 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 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 CreateGoldenGateHubDetails ¶ added in v65.68.0

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

	// Endpoint URL.
	Url *string `mandatory:"true" json:"url"`

	// The OCID of the resource being referenced.
	VaultId *string `mandatory:"true" json:"vaultId"`

	// The OCID of the resource being referenced.
	KeyId *string `mandatory:"true" json:"keyId"`

	// The OCID of the resource being referenced.
	ComputeId *string `mandatory:"false" json:"computeId"`

	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"`
}

CreateGoldenGateHubDetails Details about Oracle GoldenGate Microservices.

func (CreateGoldenGateHubDetails) String ¶ added in v65.68.0

func (CreateGoldenGateHubDetails) ValidateEnumValue ¶ added in v65.68.0

func (m CreateGoldenGateHubDetails) 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 interface {

	// The OCID of the resource being referenced.
	GetCompartmentId() *string

	// The type of the migration to be performed.
	// Example: ONLINE if no downtime is preferred for a migration. This method uses Oracle GoldenGate for replication.
	GetType() MigrationTypesEnum

	// The OCID of the resource being referenced.
	GetSourceDatabaseConnectionId() *string

	// The OCID of the resource being referenced.
	GetTargetDatabaseConnectionId() *string

	// A user-friendly description. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	GetDescription() *string

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	GetDisplayName() *string

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	GetFreeformTags() map[string]string

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	GetDefinedTags() map[string]map[string]interface{}
}

CreateMigrationDetails Common Migration details.

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 CreateMySqlAdvisorSettings ¶ added in v65.68.0

type CreateMySqlAdvisorSettings 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"`
}

CreateMySqlAdvisorSettings Optional Pre-Migration advisor settings.

func (CreateMySqlAdvisorSettings) String ¶ added in v65.68.0

func (CreateMySqlAdvisorSettings) ValidateEnumValue ¶ added in v65.68.0

func (m CreateMySqlAdvisorSettings) 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 CreateMySqlDataTransferMediumDetails ¶ added in v65.68.0

type CreateMySqlDataTransferMediumDetails interface {
}

CreateMySqlDataTransferMediumDetails Optional additional properties for data transfer.

type CreateMySqlDataTransferMediumDetailsTypeEnum ¶ added in v65.68.0

type CreateMySqlDataTransferMediumDetailsTypeEnum string

CreateMySqlDataTransferMediumDetailsTypeEnum Enum with underlying type: string

const (
	CreateMySqlDataTransferMediumDetailsTypeObjectStorage CreateMySqlDataTransferMediumDetailsTypeEnum = "OBJECT_STORAGE"
)

Set of constants representing the allowable values for CreateMySqlDataTransferMediumDetailsTypeEnum

func GetCreateMySqlDataTransferMediumDetailsTypeEnumValues ¶ added in v65.68.0

func GetCreateMySqlDataTransferMediumDetailsTypeEnumValues() []CreateMySqlDataTransferMediumDetailsTypeEnum

GetCreateMySqlDataTransferMediumDetailsTypeEnumValues Enumerates the set of values for CreateMySqlDataTransferMediumDetailsTypeEnum

func GetMappingCreateMySqlDataTransferMediumDetailsTypeEnum ¶ added in v65.68.0

func GetMappingCreateMySqlDataTransferMediumDetailsTypeEnum(val string) (CreateMySqlDataTransferMediumDetailsTypeEnum, bool)

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

type CreateMySqlGgsDeploymentDetails ¶ added in v65.68.0

type CreateMySqlGgsDeploymentDetails struct {
	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"`
}

CreateMySqlGgsDeploymentDetails Optional settings for Oracle GoldenGate processes

func (CreateMySqlGgsDeploymentDetails) String ¶ added in v65.68.0

func (CreateMySqlGgsDeploymentDetails) ValidateEnumValue ¶ added in v65.68.0

func (m CreateMySqlGgsDeploymentDetails) 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 CreateMySqlInitialLoadSettings ¶ added in v65.68.0

type CreateMySqlInitialLoadSettings struct {

	// MySql Job Mode
	JobMode JobModeMySqlEnum `mandatory:"true" json:"jobMode"`

	// Enable (true) or disable (false) consistent data dumps by locking the instance for backup during the dump.
	IsConsistent *bool `mandatory:"false" json:"isConsistent"`

	// Include a statement at the start of the dump to set the time zone to UTC.
	IsTzUtc *bool `mandatory:"false" json:"isTzUtc"`

	// Apply the specified requirements for compatibility with MySQL Database Service for all tables in the dump
	// output, altering the dump files as necessary.
	Compatibility []CompatibilityOptionEnum `mandatory:"false" json:"compatibility"`

	// Primary key compatibility option
	PrimaryKeyCompatibility PrimaryKeyCompatibilityEnum `mandatory:"false" json:"primaryKeyCompatibility,omitempty"`

	// Import the dump even if it contains objects that already exist in the target schema in the MySQL instance.
	IsIgnoreExistingObjects *bool `mandatory:"false" json:"isIgnoreExistingObjects"`

	// The action taken in the event of errors related to GRANT or REVOKE errors.
	HandleGrantErrors HandleGrantErrorsEnum `mandatory:"false" json:"handleGrantErrors,omitempty"`
}

CreateMySqlInitialLoadSettings Optional dump settings

func (CreateMySqlInitialLoadSettings) String ¶ added in v65.68.0

func (CreateMySqlInitialLoadSettings) ValidateEnumValue ¶ added in v65.68.0

func (m CreateMySqlInitialLoadSettings) 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 CreateMySqlMigrationDetails ¶ added in v65.68.0

type CreateMySqlMigrationDetails struct {

	// The OCID of the resource being referenced.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the resource being referenced.
	SourceDatabaseConnectionId *string `mandatory:"true" json:"sourceDatabaseConnectionId"`

	// The OCID of the resource being referenced.
	TargetDatabaseConnectionId *string `mandatory:"true" json:"targetDatabaseConnectionId"`

	// A user-friendly description. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	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"`

	DataTransferMediumDetails CreateMySqlDataTransferMediumDetails `mandatory:"false" json:"dataTransferMediumDetails"`

	InitialLoadSettings *CreateMySqlInitialLoadSettings `mandatory:"false" json:"initialLoadSettings"`

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

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

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

	// Specifies the database objects to be excluded from the migration in bulk.
	// The definition accepts input in a CSV format, newline separated for each entry.
	// More details can be found in the documentation.
	BulkIncludeExcludeData *string `mandatory:"false" json:"bulkIncludeExcludeData"`

	HubDetails *CreateGoldenGateHubDetails `mandatory:"false" json:"hubDetails"`

	GgsDetails *CreateMySqlGgsDeploymentDetails `mandatory:"false" json:"ggsDetails"`

	// The type of the migration to be performed.
	// Example: ONLINE if no downtime is preferred for a migration. This method uses Oracle GoldenGate for replication.
	Type MigrationTypesEnum `mandatory:"true" json:"type"`
}

CreateMySqlMigrationDetails Create Migration resource parameters.

func (CreateMySqlMigrationDetails) GetCompartmentId ¶ added in v65.68.0

func (m CreateMySqlMigrationDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateMySqlMigrationDetails) GetDefinedTags ¶ added in v65.68.0

func (m CreateMySqlMigrationDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateMySqlMigrationDetails) GetDescription ¶ added in v65.68.0

func (m CreateMySqlMigrationDetails) GetDescription() *string

GetDescription returns Description

func (CreateMySqlMigrationDetails) GetDisplayName ¶ added in v65.68.0

func (m CreateMySqlMigrationDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateMySqlMigrationDetails) GetFreeformTags ¶ added in v65.68.0

func (m CreateMySqlMigrationDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateMySqlMigrationDetails) GetSourceDatabaseConnectionId ¶ added in v65.68.0

func (m CreateMySqlMigrationDetails) GetSourceDatabaseConnectionId() *string

GetSourceDatabaseConnectionId returns SourceDatabaseConnectionId

func (CreateMySqlMigrationDetails) GetTargetDatabaseConnectionId ¶ added in v65.68.0

func (m CreateMySqlMigrationDetails) GetTargetDatabaseConnectionId() *string

GetTargetDatabaseConnectionId returns TargetDatabaseConnectionId

func (CreateMySqlMigrationDetails) GetType ¶ added in v65.68.0

GetType returns Type

func (CreateMySqlMigrationDetails) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (CreateMySqlMigrationDetails) String ¶ added in v65.68.0

func (*CreateMySqlMigrationDetails) UnmarshalJSON ¶ added in v65.68.0

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

UnmarshalJSON unmarshals from json

func (CreateMySqlMigrationDetails) ValidateEnumValue ¶ added in v65.68.0

func (m CreateMySqlMigrationDetails) 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 CreateMySqlObjectStorageDataTransferMediumDetails ¶ added in v65.68.0

type CreateMySqlObjectStorageDataTransferMediumDetails struct {
	ObjectStorageBucket *CreateObjectStoreBucket `mandatory:"false" json:"objectStorageBucket"`
}

CreateMySqlObjectStorageDataTransferMediumDetails OCI Object Storage bucket will be used to store dump files for the migration.

func (CreateMySqlObjectStorageDataTransferMediumDetails) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (CreateMySqlObjectStorageDataTransferMediumDetails) String ¶ added in v65.68.0

func (CreateMySqlObjectStorageDataTransferMediumDetails) ValidateEnumValue ¶ added in v65.68.0

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 CreateMysqlConnectionDetails ¶ added in v65.68.0

type CreateMysqlConnectionDetails struct {

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

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

	// OCI resource ID.
	VaultId *string `mandatory:"true" json:"vaultId"`

	// The OCID of the key used in cryptographic operations.
	KeyId *string `mandatory:"true" json:"keyId"`

	// The username (credential) used when creating or updating this resource.
	Username *string `mandatory:"true" json:"username"`

	// The password (credential) used when creating or updating this resource.
	Password *string `mandatory:"true" json:"password"`

	// The name of the database being referenced.
	DatabaseName *string `mandatory:"true" json:"databaseName"`

	// A user-friendly description. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	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"`

	// OCI resource ID.
	SubnetId *string `mandatory:"false" json:"subnetId"`

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

	// The username (credential) used when creating or updating this resource.
	ReplicationUsername *string `mandatory:"false" json:"replicationUsername"`

	// The password (credential) used when creating or updating this resource.
	ReplicationPassword *string `mandatory:"false" json:"replicationPassword"`

	// The IP Address of the host.
	Host *string `mandatory:"false" json:"host"`

	// The port to be used for the connection.
	Port *int `mandatory:"false" json:"port"`

	// Database Certificate - The base64 encoded content of mysql.pem file
	// containing the server public key (for 1 and 2-way SSL).
	SslCa *string `mandatory:"false" json:"sslCa"`

	// Certificates revoked by certificate authorities (CA).
	// Server certificate must not be on this list (for 1 and 2-way SSL).
	// Note: This is an optional and that too only applicable if TLS/MTLS option is selected.
	SslCrl *string `mandatory:"false" json:"sslCrl"`

	// Client Certificate - The base64 encoded content of client-cert.pem file
	// containing the client public key (for 2-way SSL).
	SslCert *string `mandatory:"false" json:"sslCert"`

	// Client Key - The client-key.pem containing the client private key (for 2-way SSL).
	SslKey *string `mandatory:"false" json:"sslKey"`

	// An array of name-value pair attribute entries.
	AdditionalAttributes []NameValuePair `mandatory:"false" json:"additionalAttributes"`

	// The OCID of the database system being referenced.
	DbSystemId *string `mandatory:"false" json:"dbSystemId"`

	// The type of MySQL source or target connection.
	// Example: OCI_MYSQL represents OCI MySQL HeatWave Database Service
	TechnologyType MysqlConnectionTechnologyTypeEnum `mandatory:"true" json:"technologyType"`

	// Security Type for MySQL.
	SecurityProtocol MysqlConnectionSecurityProtocolEnum `mandatory:"true" json:"securityProtocol"`

	// SSL modes for MySQL.
	SslMode MysqlConnectionSslModeEnum `mandatory:"false" json:"sslMode,omitempty"`
}

CreateMysqlConnectionDetails The information about a new MySQL Connection.

func (CreateMysqlConnectionDetails) GetCompartmentId ¶ added in v65.68.0

func (m CreateMysqlConnectionDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateMysqlConnectionDetails) GetDefinedTags ¶ added in v65.68.0

func (m CreateMysqlConnectionDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateMysqlConnectionDetails) GetDescription ¶ added in v65.68.0

func (m CreateMysqlConnectionDetails) GetDescription() *string

GetDescription returns Description

func (CreateMysqlConnectionDetails) GetDisplayName ¶ added in v65.68.0

func (m CreateMysqlConnectionDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateMysqlConnectionDetails) GetFreeformTags ¶ added in v65.68.0

func (m CreateMysqlConnectionDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateMysqlConnectionDetails) GetKeyId ¶ added in v65.68.0

func (m CreateMysqlConnectionDetails) GetKeyId() *string

GetKeyId returns KeyId

func (CreateMysqlConnectionDetails) GetNsgIds ¶ added in v65.68.0

func (m CreateMysqlConnectionDetails) GetNsgIds() []string

GetNsgIds returns NsgIds

func (CreateMysqlConnectionDetails) GetPassword ¶ added in v65.68.0

func (m CreateMysqlConnectionDetails) GetPassword() *string

GetPassword returns Password

func (CreateMysqlConnectionDetails) GetReplicationPassword ¶ added in v65.68.0

func (m CreateMysqlConnectionDetails) GetReplicationPassword() *string

GetReplicationPassword returns ReplicationPassword

func (CreateMysqlConnectionDetails) GetReplicationUsername ¶ added in v65.68.0

func (m CreateMysqlConnectionDetails) GetReplicationUsername() *string

GetReplicationUsername returns ReplicationUsername

func (CreateMysqlConnectionDetails) GetSubnetId ¶ added in v65.68.0

func (m CreateMysqlConnectionDetails) GetSubnetId() *string

GetSubnetId returns SubnetId

func (CreateMysqlConnectionDetails) GetUsername ¶ added in v65.68.0

func (m CreateMysqlConnectionDetails) GetUsername() *string

GetUsername returns Username

func (CreateMysqlConnectionDetails) GetVaultId ¶ added in v65.68.0

func (m CreateMysqlConnectionDetails) GetVaultId() *string

GetVaultId returns VaultId

func (CreateMysqlConnectionDetails) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (CreateMysqlConnectionDetails) String ¶ added in v65.68.0

func (CreateMysqlConnectionDetails) ValidateEnumValue ¶ added in v65.68.0

func (m CreateMysqlConnectionDetails) 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 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 CreateOracleAdvisorSettings ¶ added in v65.68.0

type CreateOracleAdvisorSettings 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"`
}

CreateOracleAdvisorSettings Optional Pre-Migration advisor settings.

func (CreateOracleAdvisorSettings) String ¶ added in v65.68.0

func (CreateOracleAdvisorSettings) ValidateEnumValue ¶ added in v65.68.0

func (m CreateOracleAdvisorSettings) 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 CreateOracleAwsS3DataTransferMediumDetails ¶ added in v65.68.0

type CreateOracleAwsS3DataTransferMediumDetails 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"`
}

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

func (CreateOracleAwsS3DataTransferMediumDetails) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (CreateOracleAwsS3DataTransferMediumDetails) String ¶ added in v65.68.0

func (CreateOracleAwsS3DataTransferMediumDetails) ValidateEnumValue ¶ added in v65.68.0

func (m CreateOracleAwsS3DataTransferMediumDetails) 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 CreateOracleConnectionDetails ¶ added in v65.68.0

type CreateOracleConnectionDetails struct {

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

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

	// OCI resource ID.
	VaultId *string `mandatory:"true" json:"vaultId"`

	// The OCID of the key used in cryptographic operations.
	KeyId *string `mandatory:"true" json:"keyId"`

	// The username (credential) used when creating or updating this resource.
	Username *string `mandatory:"true" json:"username"`

	// The password (credential) used when creating or updating this resource.
	Password *string `mandatory:"true" json:"password"`

	// A user-friendly description. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	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"`

	// OCI resource ID.
	SubnetId *string `mandatory:"false" json:"subnetId"`

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

	// The username (credential) used when creating or updating this resource.
	ReplicationUsername *string `mandatory:"false" json:"replicationUsername"`

	// The password (credential) used when creating or updating this resource.
	ReplicationPassword *string `mandatory:"false" json:"replicationPassword"`

	// Connect descriptor or Easy Connect Naming method used to connect to a database.
	ConnectionString *string `mandatory:"false" json:"connectionString"`

	// The wallet contents used to make connections to a database.  This
	// attribute is expected to be base64 encoded.
	Wallet *string `mandatory:"false" json:"wallet"`

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

	// Name of the host the SSH key is valid for.
	SshHost *string `mandatory:"false" json:"sshHost"`

	// Private SSH key string.
	SshKey *string `mandatory:"false" json:"sshKey"`

	// The username (credential) used when creating or updating this resource.
	SshUser *string `mandatory:"false" json:"sshUser"`

	// Sudo location
	SshSudoLocation *string `mandatory:"false" json:"sshSudoLocation"`

	// The Oracle technology type.
	TechnologyType OracleConnectionTechnologyTypeEnum `mandatory:"true" json:"technologyType"`
}

CreateOracleConnectionDetails The information about a new Oracle Database Connection.

func (CreateOracleConnectionDetails) GetCompartmentId ¶ added in v65.68.0

func (m CreateOracleConnectionDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateOracleConnectionDetails) GetDefinedTags ¶ added in v65.68.0

func (m CreateOracleConnectionDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateOracleConnectionDetails) GetDescription ¶ added in v65.68.0

func (m CreateOracleConnectionDetails) GetDescription() *string

GetDescription returns Description

func (CreateOracleConnectionDetails) GetDisplayName ¶ added in v65.68.0

func (m CreateOracleConnectionDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateOracleConnectionDetails) GetFreeformTags ¶ added in v65.68.0

func (m CreateOracleConnectionDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateOracleConnectionDetails) GetKeyId ¶ added in v65.68.0

func (m CreateOracleConnectionDetails) GetKeyId() *string

GetKeyId returns KeyId

func (CreateOracleConnectionDetails) GetNsgIds ¶ added in v65.68.0

func (m CreateOracleConnectionDetails) GetNsgIds() []string

GetNsgIds returns NsgIds

func (CreateOracleConnectionDetails) GetPassword ¶ added in v65.68.0

func (m CreateOracleConnectionDetails) GetPassword() *string

GetPassword returns Password

func (CreateOracleConnectionDetails) GetReplicationPassword ¶ added in v65.68.0

func (m CreateOracleConnectionDetails) GetReplicationPassword() *string

GetReplicationPassword returns ReplicationPassword

func (CreateOracleConnectionDetails) GetReplicationUsername ¶ added in v65.68.0

func (m CreateOracleConnectionDetails) GetReplicationUsername() *string

GetReplicationUsername returns ReplicationUsername

func (CreateOracleConnectionDetails) GetSubnetId ¶ added in v65.68.0

func (m CreateOracleConnectionDetails) GetSubnetId() *string

GetSubnetId returns SubnetId

func (CreateOracleConnectionDetails) GetUsername ¶ added in v65.68.0

func (m CreateOracleConnectionDetails) GetUsername() *string

GetUsername returns Username

func (CreateOracleConnectionDetails) GetVaultId ¶ added in v65.68.0

func (m CreateOracleConnectionDetails) GetVaultId() *string

GetVaultId returns VaultId

func (CreateOracleConnectionDetails) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (CreateOracleConnectionDetails) String ¶ added in v65.68.0

func (CreateOracleConnectionDetails) ValidateEnumValue ¶ added in v65.68.0

func (m CreateOracleConnectionDetails) 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 CreateOracleDataTransferMediumDetails ¶ added in v65.68.0

type CreateOracleDataTransferMediumDetails interface {
}

CreateOracleDataTransferMediumDetails Optional additional properties for data transfer.

type CreateOracleDataTransferMediumDetailsTypeEnum ¶ added in v65.68.0

type CreateOracleDataTransferMediumDetailsTypeEnum string

CreateOracleDataTransferMediumDetailsTypeEnum Enum with underlying type: string

const (
	CreateOracleDataTransferMediumDetailsTypeDblink        CreateOracleDataTransferMediumDetailsTypeEnum = "DBLINK"
	CreateOracleDataTransferMediumDetailsTypeObjectStorage CreateOracleDataTransferMediumDetailsTypeEnum = "OBJECT_STORAGE"
	CreateOracleDataTransferMediumDetailsTypeAwsS3         CreateOracleDataTransferMediumDetailsTypeEnum = "AWS_S3"
	CreateOracleDataTransferMediumDetailsTypeNfs           CreateOracleDataTransferMediumDetailsTypeEnum = "NFS"
)

Set of constants representing the allowable values for CreateOracleDataTransferMediumDetailsTypeEnum

func GetCreateOracleDataTransferMediumDetailsTypeEnumValues ¶ added in v65.68.0

func GetCreateOracleDataTransferMediumDetailsTypeEnumValues() []CreateOracleDataTransferMediumDetailsTypeEnum

GetCreateOracleDataTransferMediumDetailsTypeEnumValues Enumerates the set of values for CreateOracleDataTransferMediumDetailsTypeEnum

func GetMappingCreateOracleDataTransferMediumDetailsTypeEnum ¶ added in v65.68.0

func GetMappingCreateOracleDataTransferMediumDetailsTypeEnum(val string) (CreateOracleDataTransferMediumDetailsTypeEnum, bool)

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

type CreateOracleDbLinkDataTransferMediumDetails ¶ added in v65.68.0

type CreateOracleDbLinkDataTransferMediumDetails struct {
	ObjectStorageBucket *CreateObjectStoreBucket `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"`
}

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

func (CreateOracleDbLinkDataTransferMediumDetails) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (CreateOracleDbLinkDataTransferMediumDetails) String ¶ added in v65.68.0

func (CreateOracleDbLinkDataTransferMediumDetails) ValidateEnumValue ¶ added in v65.68.0

func (m CreateOracleDbLinkDataTransferMediumDetails) 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 CreateOracleGgsDeploymentDetails ¶ added in v65.68.0

type CreateOracleGgsDeploymentDetails 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"`
}

CreateOracleGgsDeploymentDetails Optional settings for Oracle GoldenGate processes

func (CreateOracleGgsDeploymentDetails) String ¶ added in v65.68.0

func (CreateOracleGgsDeploymentDetails) ValidateEnumValue ¶ added in v65.68.0

func (m CreateOracleGgsDeploymentDetails) 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 CreateOracleInitialLoadSettings ¶ added in v65.68.0

type CreateOracleInitialLoadSettings struct {

	// Oracle Job Mode
	JobMode JobModeOracleEnum `mandatory:"true" json:"jobMode"`

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

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

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

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

	// Defines remapping to be applied to objects as they are processed.
	MetadataRemaps []MetadataRemap `mandatory:"false" json:"metadataRemaps"`
}

CreateOracleInitialLoadSettings Optional settings for Data Pump Export and Import jobs

func (CreateOracleInitialLoadSettings) String ¶ added in v65.68.0

func (*CreateOracleInitialLoadSettings) UnmarshalJSON ¶ added in v65.68.0

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

UnmarshalJSON unmarshals from json

func (CreateOracleInitialLoadSettings) ValidateEnumValue ¶ added in v65.68.0

func (m CreateOracleInitialLoadSettings) 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 CreateOracleMigrationDetails ¶ added in v65.68.0

type CreateOracleMigrationDetails struct {

	// The OCID of the resource being referenced.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the resource being referenced.
	SourceDatabaseConnectionId *string `mandatory:"true" json:"sourceDatabaseConnectionId"`

	// The OCID of the resource being referenced.
	TargetDatabaseConnectionId *string `mandatory:"true" json:"targetDatabaseConnectionId"`

	// A user-friendly description. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	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"`

	DataTransferMediumDetails CreateOracleDataTransferMediumDetails `mandatory:"false" json:"dataTransferMediumDetails"`

	InitialLoadSettings *CreateOracleInitialLoadSettings `mandatory:"false" json:"initialLoadSettings"`

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

	HubDetails *CreateGoldenGateHubDetails `mandatory:"false" json:"hubDetails"`

	GgsDetails *CreateOracleGgsDeploymentDetails `mandatory:"false" json:"ggsDetails"`

	// List of Migration Parameter objects.
	AdvancedParameters []MigrationParameterDetails `mandatory:"false" json:"advancedParameters"`

	// The OCID of the resource being referenced.
	SourceContainerDatabaseConnectionId *string `mandatory:"false" json:"sourceContainerDatabaseConnectionId"`

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

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

	// Specifies the database objects to be excluded from the migration in bulk.
	// The definition accepts input in a CSV format, newline separated for each entry.
	// More details can be found in the documentation.
	BulkIncludeExcludeData *string `mandatory:"false" json:"bulkIncludeExcludeData"`

	// The type of the migration to be performed.
	// Example: ONLINE if no downtime is preferred for a migration. This method uses Oracle GoldenGate for replication.
	Type MigrationTypesEnum `mandatory:"true" json:"type"`
}

CreateOracleMigrationDetails Create Migration resource parameters.

func (CreateOracleMigrationDetails) GetCompartmentId ¶ added in v65.68.0

func (m CreateOracleMigrationDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateOracleMigrationDetails) GetDefinedTags ¶ added in v65.68.0

func (m CreateOracleMigrationDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateOracleMigrationDetails) GetDescription ¶ added in v65.68.0

func (m CreateOracleMigrationDetails) GetDescription() *string

GetDescription returns Description

func (CreateOracleMigrationDetails) GetDisplayName ¶ added in v65.68.0

func (m CreateOracleMigrationDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateOracleMigrationDetails) GetFreeformTags ¶ added in v65.68.0

func (m CreateOracleMigrationDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateOracleMigrationDetails) GetSourceDatabaseConnectionId ¶ added in v65.68.0

func (m CreateOracleMigrationDetails) GetSourceDatabaseConnectionId() *string

GetSourceDatabaseConnectionId returns SourceDatabaseConnectionId

func (CreateOracleMigrationDetails) GetTargetDatabaseConnectionId ¶ added in v65.68.0

func (m CreateOracleMigrationDetails) GetTargetDatabaseConnectionId() *string

GetTargetDatabaseConnectionId returns TargetDatabaseConnectionId

func (CreateOracleMigrationDetails) GetType ¶ added in v65.68.0

GetType returns Type

func (CreateOracleMigrationDetails) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (CreateOracleMigrationDetails) String ¶ added in v65.68.0

func (*CreateOracleMigrationDetails) UnmarshalJSON ¶ added in v65.68.0

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

UnmarshalJSON unmarshals from json

func (CreateOracleMigrationDetails) ValidateEnumValue ¶ added in v65.68.0

func (m CreateOracleMigrationDetails) 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 CreateOracleNfsDataTransferMediumDetails ¶ added in v65.68.0

type CreateOracleNfsDataTransferMediumDetails struct {
	ObjectStorageBucket *CreateObjectStoreBucket `mandatory:"false" json:"objectStorageBucket"`

	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"`
}

CreateOracleNfsDataTransferMediumDetails OCI Object Storage bucket will be used to store Data Pump dump files for the migration.

func (CreateOracleNfsDataTransferMediumDetails) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (CreateOracleNfsDataTransferMediumDetails) String ¶ added in v65.68.0

func (*CreateOracleNfsDataTransferMediumDetails) UnmarshalJSON ¶ added in v65.68.0

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

UnmarshalJSON unmarshals from json

func (CreateOracleNfsDataTransferMediumDetails) ValidateEnumValue ¶ added in v65.68.0

func (m CreateOracleNfsDataTransferMediumDetails) 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 CreateOracleObjectStorageDataTransferMediumDetails ¶ added in v65.68.0

type CreateOracleObjectStorageDataTransferMediumDetails struct {
	ObjectStorageBucket *CreateObjectStoreBucket `mandatory:"false" json:"objectStorageBucket"`

	Source HostDumpTransferDetails `mandatory:"false" json:"source"`

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

CreateOracleObjectStorageDataTransferMediumDetails OCI Object Storage bucket will be used to store Data Pump dump files for the migration.

func (CreateOracleObjectStorageDataTransferMediumDetails) MarshalJSON ¶ added in v65.68.0

MarshalJSON marshals to json representation

func (CreateOracleObjectStorageDataTransferMediumDetails) String ¶ added in v65.68.0

func (*CreateOracleObjectStorageDataTransferMediumDetails) UnmarshalJSON ¶ added in v65.68.0

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

UnmarshalJSON unmarshals from json

func (CreateOracleObjectStorageDataTransferMediumDetails) ValidateEnumValue ¶ added in v65.68.0

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 CreateParameterFileVersionDetails ¶ added in v65.70.0

type CreateParameterFileVersionDetails struct {

	// Indicator of Parameter File 'kind' (for an EXTRACT or a REPLICAT)
	Kind JobParameterFileVersionKindEnum `mandatory:"true" json:"kind"`

	// The content in base64 encoded character string containing the value of the parameter file
	Content *string `mandatory:"true" json:"content"`

	// Describes the current parameter file version
	Description *string `mandatory:"false" json:"description"`

	// Customizable name for the paramenter file version.
	Name *string `mandatory:"false" json:"name"`
}

CreateParameterFileVersionDetails Details about a specific ParameterFileVersion

func (CreateParameterFileVersionDetails) String ¶ added in v65.70.0

func (CreateParameterFileVersionDetails) ValidateEnumValue ¶ added in v65.70.0

func (m CreateParameterFileVersionDetails) 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 CreateParameterFileVersionRequest ¶ added in v65.70.0

type CreateParameterFileVersionRequest struct {

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

	// The parameter file version details to be created
	CreateParameterFileVersionDetails `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
}

CreateParameterFileVersionRequest wrapper for the CreateParameterFileVersion operation

See also ¶

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

func (CreateParameterFileVersionRequest) BinaryRequestBody ¶ added in v65.70.0

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

BinaryRequestBody implements the OCIRequest interface

func (CreateParameterFileVersionRequest) HTTPRequest ¶ added in v65.70.0

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

HTTPRequest implements the OCIRequest interface

func (CreateParameterFileVersionRequest) RetryPolicy ¶ added in v65.70.0

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

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

func (CreateParameterFileVersionRequest) String ¶ added in v65.70.0

func (request CreateParameterFileVersionRequest) String() string

func (CreateParameterFileVersionRequest) ValidateEnumValue ¶ added in v65.70.0

func (request CreateParameterFileVersionRequest) 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 CreateParameterFileVersionResponse ¶ added in v65.70.0

type CreateParameterFileVersionResponse 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"`
}

CreateParameterFileVersionResponse wrapper for the CreateParameterFileVersion operation

func (CreateParameterFileVersionResponse) HTTPResponse ¶ added in v65.70.0

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

HTTPResponse implements the OCIResponse interface

func (CreateParameterFileVersionResponse) String ¶ added in v65.70.0

func (response CreateParameterFileVersionResponse) String() string

type CreateReplicat ¶

type CreateReplicat struct {

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

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 CreateTargetTypeTablespaceDetails ¶

type CreateTargetTypeTablespaceDetails interface {
}

CreateTargetTypeTablespaceDetails Migration tablespace settings.

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 DataPumpParameters ¶

type DataPumpParameters 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"`
}

DataPumpParameters Optional parameters for Data Pump Export and Import.

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 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 (
	DataPumpTablespaceBlockSizesInKbSize2K  DataPumpTablespaceBlockSizesInKbEnum = "SIZE_2K"
	DataPumpTablespaceBlockSizesInKbSize8K  DataPumpTablespaceBlockSizesInKbEnum = "SIZE_8K"
	DataPumpTablespaceBlockSizesInKbSize16K DataPumpTablespaceBlockSizesInKbEnum = "SIZE_16K"
	DataPumpTablespaceBlockSizesInKbSize32K DataPumpTablespaceBlockSizesInKbEnum = "SIZE_32K"
)

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 DatabaseCombinationEnum ¶ added in v65.68.0

type DatabaseCombinationEnum string

DatabaseCombinationEnum Enum with underlying type: string

const (
	DatabaseCombinationMysql  DatabaseCombinationEnum = "MYSQL"
	DatabaseCombinationOracle DatabaseCombinationEnum = "ORACLE"
)

Set of constants representing the allowable values for DatabaseCombinationEnum

func GetDatabaseCombinationEnumValues ¶ added in v65.68.0

func GetDatabaseCombinationEnumValues() []DatabaseCombinationEnum

GetDatabaseCombinationEnumValues Enumerates the set of values for DatabaseCombinationEnum

func GetMappingDatabaseCombinationEnum ¶ added in v65.68.0

func GetMappingDatabaseCombinationEnum(val string) (DatabaseCombinationEnum, bool)

GetMappingDatabaseCombinationEnum 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) 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) CreateParameterFileVersion ¶ added in v65.70.0

func (client DatabaseMigrationClient) CreateParameterFileVersion(ctx context.Context, request CreateParameterFileVersionRequest) (response CreateParameterFileVersionResponse, err error)

CreateParameterFileVersion Creates a new version of the current parameter file contents to the specified value.

See also ¶

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

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) DeleteParameterFileVersion ¶ added in v65.70.0

func (client DatabaseMigrationClient) DeleteParameterFileVersion(ctx context.Context, request DeleteParameterFileVersionRequest) (response DeleteParameterFileVersionResponse, err error)

DeleteParameterFileVersion Deletes the given parameter file version

See also ¶

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

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) 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) GetParameterFileVersion ¶ added in v65.70.0

func (client DatabaseMigrationClient) GetParameterFileVersion(ctx context.Context, request GetParameterFileVersionRequest) (response GetParameterFileVersionResponse, err error)

GetParameterFileVersion Obtain the parameter file version contents for the specified parameter file name and the associated job. This operation will be allowed only if the job is certain acceptable lifecycle states.

See also ¶

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

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) 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) ListMigrationParameters ¶ added in v65.69.0

func (client DatabaseMigrationClient) ListMigrationParameters(ctx context.Context, request ListMigrationParametersRequest) (response ListMigrationParametersResponse, err error)

ListMigrationParameters List of parameters that can be used to customize migrations.

See also ¶

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

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) ListParameterFileVersions ¶ added in v65.70.0

func (client DatabaseMigrationClient) ListParameterFileVersions(ctx context.Context, request ListParameterFileVersionsRequest) (response ListParameterFileVersionsResponse, err error)

ListParameterFileVersions Return a list of the parameter file metadata of the migration execution of the specified job. This will only be acceptable if the job is in particular state. It will be accessible if the job is in the FAILED, PAUSED or SUSPENDED state.

See also ¶

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

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) MakeCurrentParameterFileVersion ¶ added in v65.70.0

func (client DatabaseMigrationClient) MakeCurrentParameterFileVersion(ctx context.Context, request MakeCurrentParameterFileVersionRequest) (response MakeCurrentParameterFileVersionResponse, err error)

MakeCurrentParameterFileVersion Make current the given parameter file version

See also ¶

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

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) SuspendJob ¶ added in v65.70.0

func (client DatabaseMigrationClient) SuspendJob(ctx context.Context, request SuspendJobRequest) (response SuspendJobResponse, err error)

SuspendJob Place the currently executing migration Job in a Suspended State.

See also ¶

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

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 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 DeleteParameterFileVersionRequest ¶ added in v65.70.0

type DeleteParameterFileVersionRequest struct {

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

	// A unique name associated with the current migration/job and extract/replicat name
	ParameterFileName *string `mandatory:"true" contributesTo:"path" name:"parameterFileName"`

	// 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
}

DeleteParameterFileVersionRequest wrapper for the DeleteParameterFileVersion operation

See also ¶

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

func (DeleteParameterFileVersionRequest) BinaryRequestBody ¶ added in v65.70.0

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteParameterFileVersionRequest) HTTPRequest ¶ added in v65.70.0

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

HTTPRequest implements the OCIRequest interface

func (DeleteParameterFileVersionRequest) RetryPolicy ¶ added in v65.70.0

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

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

func (DeleteParameterFileVersionRequest) String ¶ added in v65.70.0

func (request DeleteParameterFileVersionRequest) String() string

func (DeleteParameterFileVersionRequest) ValidateEnumValue ¶ added in v65.70.0

func (request DeleteParameterFileVersionRequest) 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 DeleteParameterFileVersionResponse ¶ added in v65.70.0

type DeleteParameterFileVersionResponse 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"`
}

DeleteParameterFileVersionResponse wrapper for the DeleteParameterFileVersion operation

func (DeleteParameterFileVersionResponse) HTTPResponse ¶ added in v65.70.0

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

HTTPResponse implements the OCIResponse interface

func (DeleteParameterFileVersionResponse) String ¶ added in v65.70.0

func (response DeleteParameterFileVersionResponse) 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 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 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 GetParameterFileVersionRequest ¶ added in v65.70.0

type GetParameterFileVersionRequest struct {

	// A unique name associated with the current migration/job and extract/replicat name
	ParameterFileName *string `mandatory:"true" contributesTo:"path" name:"parameterFileName"`

	// 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
}

GetParameterFileVersionRequest wrapper for the GetParameterFileVersion operation

See also ¶

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

func (GetParameterFileVersionRequest) BinaryRequestBody ¶ added in v65.70.0

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

BinaryRequestBody implements the OCIRequest interface

func (GetParameterFileVersionRequest) HTTPRequest ¶ added in v65.70.0

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

HTTPRequest implements the OCIRequest interface

func (GetParameterFileVersionRequest) RetryPolicy ¶ added in v65.70.0

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

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

func (GetParameterFileVersionRequest) String ¶ added in v65.70.0

func (request GetParameterFileVersionRequest) String() string

func (GetParameterFileVersionRequest) ValidateEnumValue ¶ added in v65.70.0

func (request GetParameterFileVersionRequest) 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 GetParameterFileVersionResponse ¶ added in v65.70.0

type GetParameterFileVersionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ParameterFileVersion instance
	ParameterFileVersion `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"`
}

GetParameterFileVersionResponse wrapper for the GetParameterFileVersion operation

func (GetParameterFileVersionResponse) HTTPResponse ¶ added in v65.70.0

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

HTTPResponse implements the OCIResponse interface

func (GetParameterFileVersionResponse) String ¶ added in v65.70.0

func (response GetParameterFileVersionResponse) 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 {

	// The OCID of the resource being referenced.
	DeploymentId *string `mandatory:"true" json:"deploymentId"`

	// The OCID of the resource being referenced.
	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 GoldenGateHubDetails ¶ added in v65.68.0

type GoldenGateHubDetails struct {
	RestAdminCredentials *AdminCredentials `mandatory:"true" json:"restAdminCredentials"`

	// Endpoint URL.
	Url *string `mandatory:"true" json:"url"`

	// The OCID of the resource being referenced.
	VaultId *string `mandatory:"true" json:"vaultId"`

	// The OCID of the resource being referenced.
	KeyId *string `mandatory:"true" json:"keyId"`

	// The OCID of the resource being referenced.
	ComputeId *string `mandatory:"false" json:"computeId"`

	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"`
}

GoldenGateHubDetails Details about Oracle GoldenGate Microservices.

func (GoldenGateHubDetails) String ¶ added in v65.68.0

func (m GoldenGateHubDetails) String() string

func (GoldenGateHubDetails) ValidateEnumValue ¶ added in v65.68.0

func (m GoldenGateHubDetails) 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 HandleGrantErrorsEnum ¶ added in v65.68.0

type HandleGrantErrorsEnum string

HandleGrantErrorsEnum Enum with underlying type: string

const (
	HandleGrantErrorsAbort       HandleGrantErrorsEnum = "ABORT"
	HandleGrantErrorsDropAccount HandleGrantErrorsEnum = "DROP_ACCOUNT"
	HandleGrantErrorsIgnore      HandleGrantErrorsEnum = "IGNORE"
)

Set of constants representing the allowable values for HandleGrantErrorsEnum

func GetHandleGrantErrorsEnumValues ¶ added in v65.68.0

func GetHandleGrantErrorsEnumValues() []HandleGrantErrorsEnum

GetHandleGrantErrorsEnumValues Enumerates the set of values for HandleGrantErrorsEnum

func GetMappingHandleGrantErrorsEnum ¶ added in v65.68.0

func GetMappingHandleGrantErrorsEnum(val string) (HandleGrantErrorsEnum, bool)

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

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 IngressIpDetails ¶ added in v65.68.0

type IngressIpDetails struct {

	// A Private Endpoint IPv4 or IPv6 Address created in the customer's subnet.
	IngressIp *string `mandatory:"true" json:"ingressIp"`
}

IngressIpDetails Private Endpoint IP Addresses created in the customer's subnet.

func (IngressIpDetails) String ¶ added in v65.68.0

func (m IngressIpDetails) String() string

func (IngressIpDetails) ValidateEnumValue ¶ added in v65.68.0

func (m IngressIpDetails) 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 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"`

	// A list of parameter file versions that can be viewed or edited for the current job.
	ParameterFileVersions []ParameterFileVersionSummary `mandatory:"false" json:"parameterFileVersions"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	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 JobModeMySqlEnum ¶ added in v65.68.0

type JobModeMySqlEnum string

JobModeMySqlEnum Enum with underlying type: string

const (
	JobModeMySqlFull   JobModeMySqlEnum = "FULL"
	JobModeMySqlSchema JobModeMySqlEnum = "SCHEMA"
)

Set of constants representing the allowable values for JobModeMySqlEnum

func GetJobModeMySqlEnumValues ¶ added in v65.68.0

func GetJobModeMySqlEnumValues() []JobModeMySqlEnum

GetJobModeMySqlEnumValues Enumerates the set of values for JobModeMySqlEnum

func GetMappingJobModeMySqlEnum ¶ added in v65.68.0

func GetMappingJobModeMySqlEnum(val string) (JobModeMySqlEnum, bool)

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

type JobModeOracleEnum ¶ added in v65.68.0

type JobModeOracleEnum string

JobModeOracleEnum Enum with underlying type: string

const (
	JobModeOracleFull          JobModeOracleEnum = "FULL"
	JobModeOracleSchema        JobModeOracleEnum = "SCHEMA"
	JobModeOracleTable         JobModeOracleEnum = "TABLE"
	JobModeOracleTablespace    JobModeOracleEnum = "TABLESPACE"
	JobModeOracleTransportable JobModeOracleEnum = "TRANSPORTABLE"
)

Set of constants representing the allowable values for JobModeOracleEnum

func GetJobModeOracleEnumValues ¶ added in v65.68.0

func GetJobModeOracleEnumValues() []JobModeOracleEnum

GetJobModeOracleEnumValues Enumerates the set of values for JobModeOracleEnum

func GetMappingJobModeOracleEnum ¶ added in v65.68.0

func GetMappingJobModeOracleEnum(val string) (JobModeOracleEnum, bool)

GetMappingJobModeOracleEnum 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 JobParameterFileVersionKindEnum ¶ added in v65.70.0

type JobParameterFileVersionKindEnum string

JobParameterFileVersionKindEnum Enum with underlying type: string

const (
	JobParameterFileVersionKindExtract  JobParameterFileVersionKindEnum = "EXTRACT"
	JobParameterFileVersionKindReplicat JobParameterFileVersionKindEnum = "REPLICAT"
)

Set of constants representing the allowable values for JobParameterFileVersionKindEnum

func GetJobParameterFileVersionKindEnumValues ¶ added in v65.70.0

func GetJobParameterFileVersionKindEnumValues() []JobParameterFileVersionKindEnum

GetJobParameterFileVersionKindEnumValues Enumerates the set of values for JobParameterFileVersionKindEnum

func GetMappingJobParameterFileVersionKindEnum ¶ added in v65.70.0

func GetMappingJobParameterFileVersionKindEnum(val string) (JobParameterFileVersionKindEnum, bool)

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

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"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	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 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"`

	// The array of technology types.
	TechnologyType []TechnologyTypeEnum `contributesTo:"query" name:"technologyType" omitEmpty:"true" collectionFormat:"multi"`

	// The array of connection types.
	ConnectionType []ConnectionTypeEnum `contributesTo:"query" name:"connectionType" omitEmpty:"true" collectionFormat:"multi"`

	// The OCID of the source database connection.
	SourceConnectionId *string `mandatory:"false" contributesTo:"query" name:"sourceConnectionId"`

	// 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 ListMigrationObjectTypesConnectionTypeEnum ¶ added in v65.68.0

type ListMigrationObjectTypesConnectionTypeEnum string

ListMigrationObjectTypesConnectionTypeEnum Enum with underlying type: string

const (
	ListMigrationObjectTypesConnectionTypeMysql  ListMigrationObjectTypesConnectionTypeEnum = "MYSQL"
	ListMigrationObjectTypesConnectionTypeOracle ListMigrationObjectTypesConnectionTypeEnum = "ORACLE"
)

Set of constants representing the allowable values for ListMigrationObjectTypesConnectionTypeEnum

func GetListMigrationObjectTypesConnectionTypeEnumValues ¶ added in v65.68.0

func GetListMigrationObjectTypesConnectionTypeEnumValues() []ListMigrationObjectTypesConnectionTypeEnum

GetListMigrationObjectTypesConnectionTypeEnumValues Enumerates the set of values for ListMigrationObjectTypesConnectionTypeEnum

func GetMappingListMigrationObjectTypesConnectionTypeEnum ¶ added in v65.68.0

func GetMappingListMigrationObjectTypesConnectionTypeEnum(val string) (ListMigrationObjectTypesConnectionTypeEnum, bool)

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

type ListMigrationObjectTypesRequest ¶

type ListMigrationObjectTypesRequest struct {

	// The connection type for migration objects.
	ConnectionType ListMigrationObjectTypesConnectionTypeEnum `mandatory:"true" contributesTo:"query" name:"connectionType" 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"`

	// 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 ListMigrationParametersDatabaseCombinationEnum ¶ added in v65.69.0

type ListMigrationParametersDatabaseCombinationEnum string

ListMigrationParametersDatabaseCombinationEnum Enum with underlying type: string

const (
	ListMigrationParametersDatabaseCombinationMysql  ListMigrationParametersDatabaseCombinationEnum = "MYSQL"
	ListMigrationParametersDatabaseCombinationOracle ListMigrationParametersDatabaseCombinationEnum = "ORACLE"
)

Set of constants representing the allowable values for ListMigrationParametersDatabaseCombinationEnum

func GetListMigrationParametersDatabaseCombinationEnumValues ¶ added in v65.69.0

func GetListMigrationParametersDatabaseCombinationEnumValues() []ListMigrationParametersDatabaseCombinationEnum

GetListMigrationParametersDatabaseCombinationEnumValues Enumerates the set of values for ListMigrationParametersDatabaseCombinationEnum

func GetMappingListMigrationParametersDatabaseCombinationEnum ¶ added in v65.69.0

func GetMappingListMigrationParametersDatabaseCombinationEnum(val string) (ListMigrationParametersDatabaseCombinationEnum, bool)

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

type ListMigrationParametersMigrationTypeEnum ¶ added in v65.69.0

type ListMigrationParametersMigrationTypeEnum string

ListMigrationParametersMigrationTypeEnum Enum with underlying type: string

const (
	ListMigrationParametersMigrationTypeOnline  ListMigrationParametersMigrationTypeEnum = "ONLINE"
	ListMigrationParametersMigrationTypeOffline ListMigrationParametersMigrationTypeEnum = "OFFLINE"
)

Set of constants representing the allowable values for ListMigrationParametersMigrationTypeEnum

func GetListMigrationParametersMigrationTypeEnumValues ¶ added in v65.69.0

func GetListMigrationParametersMigrationTypeEnumValues() []ListMigrationParametersMigrationTypeEnum

GetListMigrationParametersMigrationTypeEnumValues Enumerates the set of values for ListMigrationParametersMigrationTypeEnum

func GetMappingListMigrationParametersMigrationTypeEnum ¶ added in v65.69.0

func GetMappingListMigrationParametersMigrationTypeEnum(val string) (ListMigrationParametersMigrationTypeEnum, bool)

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

type ListMigrationParametersRequest ¶ added in v65.69.0

type ListMigrationParametersRequest 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"`

	// A filter to return only resources that match a certain Migration Type.
	MigrationType ListMigrationParametersMigrationTypeEnum `mandatory:"false" contributesTo:"query" name:"migrationType" omitEmpty:"true"`

	// A filter to return only resources that match a certain Database Combination.
	DatabaseCombination ListMigrationParametersDatabaseCombinationEnum `mandatory:"false" contributesTo:"query" name:"databaseCombination" 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 timeCreated is descending.
	// Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListMigrationParametersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListMigrationParametersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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
}

ListMigrationParametersRequest wrapper for the ListMigrationParameters operation

See also ¶

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

func (ListMigrationParametersRequest) BinaryRequestBody ¶ added in v65.69.0

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

BinaryRequestBody implements the OCIRequest interface

func (ListMigrationParametersRequest) HTTPRequest ¶ added in v65.69.0

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

HTTPRequest implements the OCIRequest interface

func (ListMigrationParametersRequest) RetryPolicy ¶ added in v65.69.0

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

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

func (ListMigrationParametersRequest) String ¶ added in v65.69.0

func (request ListMigrationParametersRequest) String() string

func (ListMigrationParametersRequest) ValidateEnumValue ¶ added in v65.69.0

func (request ListMigrationParametersRequest) 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 ListMigrationParametersResponse ¶ added in v65.69.0

type ListMigrationParametersResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of MigrationParameterSummaryCollection instances
	MigrationParameterSummaryCollection `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"`
}

ListMigrationParametersResponse wrapper for the ListMigrationParameters operation

func (ListMigrationParametersResponse) HTTPResponse ¶ added in v65.69.0

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

HTTPResponse implements the OCIResponse interface

func (ListMigrationParametersResponse) String ¶ added in v65.69.0

func (response ListMigrationParametersResponse) String() string

type ListMigrationParametersSortByEnum ¶ added in v65.69.0

type ListMigrationParametersSortByEnum string

ListMigrationParametersSortByEnum Enum with underlying type: string

const (
	ListMigrationParametersSortByTimecreated ListMigrationParametersSortByEnum = "timeCreated"
	ListMigrationParametersSortByDisplayname ListMigrationParametersSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListMigrationParametersSortByEnum

func GetListMigrationParametersSortByEnumValues ¶ added in v65.69.0

func GetListMigrationParametersSortByEnumValues() []ListMigrationParametersSortByEnum

GetListMigrationParametersSortByEnumValues Enumerates the set of values for ListMigrationParametersSortByEnum

func GetMappingListMigrationParametersSortByEnum ¶ added in v65.69.0

func GetMappingListMigrationParametersSortByEnum(val string) (ListMigrationParametersSortByEnum, bool)

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

type ListMigrationParametersSortOrderEnum ¶ added in v65.69.0

type ListMigrationParametersSortOrderEnum string

ListMigrationParametersSortOrderEnum Enum with underlying type: string

const (
	ListMigrationParametersSortOrderAsc  ListMigrationParametersSortOrderEnum = "ASC"
	ListMigrationParametersSortOrderDesc ListMigrationParametersSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListMigrationParametersSortOrderEnum

func GetListMigrationParametersSortOrderEnumValues ¶ added in v65.69.0

func GetListMigrationParametersSortOrderEnumValues() []ListMigrationParametersSortOrderEnum

GetListMigrationParametersSortOrderEnumValues Enumerates the set of values for ListMigrationParametersSortOrderEnum

func GetMappingListMigrationParametersSortOrderEnum ¶ added in v65.69.0

func GetMappingListMigrationParametersSortOrderEnum(val string) (ListMigrationParametersSortOrderEnum, bool)

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

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 ListParameterFileVersionsRequest ¶ added in v65.70.0

type ListParameterFileVersionsRequest 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"`

	// A filter to return only resources that match the entire name given.
	Name *string `mandatory:"false" contributesTo:"query" name:"name"`

	// 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 ListParameterFileVersionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListParameterFileVersionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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
}

ListParameterFileVersionsRequest wrapper for the ListParameterFileVersions operation

See also ¶

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

func (ListParameterFileVersionsRequest) BinaryRequestBody ¶ added in v65.70.0

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

BinaryRequestBody implements the OCIRequest interface

func (ListParameterFileVersionsRequest) HTTPRequest ¶ added in v65.70.0

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

HTTPRequest implements the OCIRequest interface

func (ListParameterFileVersionsRequest) RetryPolicy ¶ added in v65.70.0

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

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

func (ListParameterFileVersionsRequest) String ¶ added in v65.70.0

func (request ListParameterFileVersionsRequest) String() string

func (ListParameterFileVersionsRequest) ValidateEnumValue ¶ added in v65.70.0

func (request ListParameterFileVersionsRequest) 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 ListParameterFileVersionsResponse ¶ added in v65.70.0

type ListParameterFileVersionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ParameterFileVersionCollection instances
	ParameterFileVersionCollection `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"`
}

ListParameterFileVersionsResponse wrapper for the ListParameterFileVersions operation

func (ListParameterFileVersionsResponse) HTTPResponse ¶ added in v65.70.0

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

HTTPResponse implements the OCIResponse interface

func (ListParameterFileVersionsResponse) String ¶ added in v65.70.0

func (response ListParameterFileVersionsResponse) String() string

type ListParameterFileVersionsSortByEnum ¶ added in v65.70.0

type ListParameterFileVersionsSortByEnum string

ListParameterFileVersionsSortByEnum Enum with underlying type: string

const (
	ListParameterFileVersionsSortByTimecreated ListParameterFileVersionsSortByEnum = "timeCreated"
	ListParameterFileVersionsSortByDisplayname ListParameterFileVersionsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListParameterFileVersionsSortByEnum

func GetListParameterFileVersionsSortByEnumValues ¶ added in v65.70.0

func GetListParameterFileVersionsSortByEnumValues() []ListParameterFileVersionsSortByEnum

GetListParameterFileVersionsSortByEnumValues Enumerates the set of values for ListParameterFileVersionsSortByEnum

func GetMappingListParameterFileVersionsSortByEnum ¶ added in v65.70.0

func GetMappingListParameterFileVersionsSortByEnum(val string) (ListParameterFileVersionsSortByEnum, bool)

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

type ListParameterFileVersionsSortOrderEnum ¶ added in v65.70.0

type ListParameterFileVersionsSortOrderEnum string

ListParameterFileVersionsSortOrderEnum Enum with underlying type: string

const (
	ListParameterFileVersionsSortOrderAsc  ListParameterFileVersionsSortOrderEnum = "ASC"
	ListParameterFileVersionsSortOrderDesc ListParameterFileVersionsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListParameterFileVersionsSortOrderEnum

func GetListParameterFileVersionsSortOrderEnumValues ¶ added in v65.70.0

func GetListParameterFileVersionsSortOrderEnumValues() []ListParameterFileVersionsSortOrderEnum

GetListParameterFileVersionsSortOrderEnumValues Enumerates the set of values for ListParameterFileVersionsSortOrderEnum

func GetMappingListParameterFileVersionsSortOrderEnum ¶ added in v65.70.0

func GetMappingListParameterFileVersionsSortOrderEnum(val string) (ListParameterFileVersionsSortOrderEnum, bool)

GetMappingListParameterFileVersionsSortOrderEnum 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 MakeCurrentParameterFileVersionRequest ¶ added in v65.70.0

type MakeCurrentParameterFileVersionRequest struct {

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

	// A unique name associated with the current migration/job and extract/replicat name
	ParameterFileName *string `mandatory:"true" contributesTo:"path" name:"parameterFileName"`

	// 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
}

MakeCurrentParameterFileVersionRequest wrapper for the MakeCurrentParameterFileVersion operation

See also ¶

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

func (MakeCurrentParameterFileVersionRequest) BinaryRequestBody ¶ added in v65.70.0

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

BinaryRequestBody implements the OCIRequest interface

func (MakeCurrentParameterFileVersionRequest) HTTPRequest ¶ added in v65.70.0

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

HTTPRequest implements the OCIRequest interface

func (MakeCurrentParameterFileVersionRequest) RetryPolicy ¶ added in v65.70.0

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

func (MakeCurrentParameterFileVersionRequest) String ¶ added in v65.70.0

func (MakeCurrentParameterFileVersionRequest) ValidateEnumValue ¶ added in v65.70.0

func (request MakeCurrentParameterFileVersionRequest) 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 MakeCurrentParameterFileVersionResponse ¶ added in v65.70.0

type MakeCurrentParameterFileVersionResponse 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"`
}

MakeCurrentParameterFileVersionResponse wrapper for the MakeCurrentParameterFileVersion operation

func (MakeCurrentParameterFileVersionResponse) HTTPResponse ¶ added in v65.70.0

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

HTTPResponse implements the OCIResponse interface

func (MakeCurrentParameterFileVersionResponse) String ¶ added in v65.70.0

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 interface {

	// The OCID of the resource being referenced.
	GetId() *string

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	GetDisplayName() *string

	// The OCID of the resource being referenced.
	GetCompartmentId() *string

	// The type of the migration to be performed.
	// Example: ONLINE if no downtime is preferred for a migration. This method uses Oracle GoldenGate for replication.
	GetType() MigrationTypesEnum

	// The OCID of the resource being referenced.
	GetSourceDatabaseConnectionId() *string

	// The OCID of the resource being referenced.
	GetTargetDatabaseConnectionId() *string

	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	GetTimeCreated() *common.SDKTime

	// The current state of the Migration resource.
	GetLifecycleState() MigrationLifecycleStatesEnum

	// A user-friendly description. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	GetDescription() *string

	// You can optionally pause a migration after a job phase.
	// This property allows you to optionally specify the phase after which you can pause the migration.
	GetWaitAfter() OdmsJobPhasesEnum

	// The OCID of the resource being referenced.
	GetExecutingJobId() *string

	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	GetTimeUpdated() *common.SDKTime

	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	GetTimeLastMigration() *common.SDKTime

	// Additional status related to the execution and current state of the Migration.
	GetLifecycleDetails() MigrationStatusEnum

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	GetFreeformTags() map[string]string

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	GetDefinedTags() map[string]map[string]interface{}

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	GetSystemTags() map[string]map[string]interface{}
}

Migration Migration resource

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) UnmarshalJSON ¶ added in v65.68.0

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

UnmarshalJSON unmarshals from json

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 interface {
}

MigrationObjectCollection Common Migration Objects collection.

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 MigrationParameterBase ¶ added in v65.69.0

type MigrationParameterBase struct {

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

	// Parameter data type.
	DataType AdvancedParameterDataTypesEnum `mandatory:"true" json:"dataType"`
}

MigrationParameterBase Migration parameter base object.

func (MigrationParameterBase) String ¶ added in v65.69.0

func (m MigrationParameterBase) String() string

func (MigrationParameterBase) ValidateEnumValue ¶ added in v65.69.0

func (m MigrationParameterBase) 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 MigrationParameterDetails ¶ added in v65.69.0

type MigrationParameterDetails struct {

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

	// Parameter data type.
	DataType AdvancedParameterDataTypesEnum `mandatory:"true" json:"dataType"`

	// If a STRING data type then the value should be an array of characters,
	// if a INTEGER data type then the value should be an integer value,
	// if a FLOAT data type then the value should be an float value,
	// if a BOOLEAN data type then the value should be TRUE or FALSE.
	Value *string `mandatory:"true" json:"value"`
}

MigrationParameterDetails Migration parameter details object.

func (MigrationParameterDetails) String ¶ added in v65.69.0

func (m MigrationParameterDetails) String() string

func (MigrationParameterDetails) ValidateEnumValue ¶ added in v65.69.0

func (m MigrationParameterDetails) 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 MigrationParameterSummary ¶ added in v65.69.0

type MigrationParameterSummary struct {

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

	// Parameter data type.
	DataType AdvancedParameterDataTypesEnum `mandatory:"true" json:"dataType"`

	// The combination of source and target databases participating in a migration.
	// Example: ORACLE means the migration is meant for migrating Oracle source and target databases.
	DatabaseCombination DatabaseCombinationEnum `mandatory:"true" json:"databaseCombination"`

	// Parameter display name.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Parameter name description.
	Description *string `mandatory:"true" json:"description"`

	// Parameter category name.
	CategoryName *string `mandatory:"true" json:"categoryName"`

	// Parameter category display name.
	CategoryDisplayName *string `mandatory:"true" json:"categoryDisplayName"`

	// Migration Stage.
	MigrationType MigrationTypesEnum `mandatory:"true" json:"migrationType"`

	// Parameter documentation URL link.
	DocUrlLink *string `mandatory:"false" json:"docUrlLink"`

	// Default value for a parameter.
	DefaultValue *string `mandatory:"false" json:"defaultValue"`

	// Parameter minimum value.
	MinValue *float32 `mandatory:"false" json:"minValue"`

	// Parameter maximum value.
	MaxValue *float32 `mandatory:"false" json:"maxValue"`

	// Hint text for parameter value.
	HintText *string `mandatory:"false" json:"hintText"`
}

MigrationParameterSummary Migration parameter response object.

func (MigrationParameterSummary) String ¶ added in v65.69.0

func (m MigrationParameterSummary) String() string

func (MigrationParameterSummary) ValidateEnumValue ¶ added in v65.69.0

func (m MigrationParameterSummary) 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 MigrationParameterSummaryCollection ¶ added in v65.69.0

type MigrationParameterSummaryCollection struct {

	// List of Migration Parameters.
	Items []MigrationParameterSummary `mandatory:"true" json:"items"`
}

MigrationParameterSummaryCollection List of Migration Parameter Summary objects.

func (MigrationParameterSummaryCollection) String ¶ added in v65.69.0

func (MigrationParameterSummaryCollection) ValidateEnumValue ¶ added in v65.69.0

func (m MigrationParameterSummaryCollection) 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 interface {

	// The OCID of the resource being referenced.
	GetId() *string

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	GetDisplayName() *string

	// The OCID of the resource being referenced.
	GetCompartmentId() *string

	// The type of the migration to be performed.
	// Example: ONLINE if no downtime is preferred for a migration. This method uses Oracle GoldenGate for replication.
	GetType() MigrationTypesEnum

	// The OCID of the resource being referenced.
	GetSourceDatabaseConnectionId() *string

	// The OCID of the resource being referenced.
	GetTargetDatabaseConnectionId() *string

	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	GetTimeCreated() *common.SDKTime

	// The current state of the Migration resource.
	GetLifecycleState() MigrationLifecycleStatesEnum

	// The OCID of the resource being referenced.
	GetExecutingJobId() *string

	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	GetTimeUpdated() *common.SDKTime

	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	GetTimeLastMigration() *common.SDKTime

	// Additional status related to the execution and current state of the Migration.
	GetLifecycleDetails() MigrationStatusEnum

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	GetFreeformTags() map[string]string

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	GetDefinedTags() map[string]map[string]interface{}

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	GetSystemTags() map[string]map[string]interface{}
}

MigrationSummary Migration resource

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 MySqlAdvisorSettings ¶ added in v65.68.0

type MySqlAdvisorSettings 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"`
}

MySqlAdvisorSettings Details about Advisor Settings.

func (MySqlAdvisorSettings) String ¶ added in v65.68.0

func (m MySqlAdvisorSettings) String() string

func (MySqlAdvisorSettings) ValidateEnumValue ¶ added in v65.68.0

func (m MySqlAdvisorSettings) 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 MySqlCloneMigrationDetails ¶ added in v65.68.0

type MySqlCloneMigrationDetails struct {

	// The OCID of the resource being referenced.
	SourceDatabaseConnectionId *string `mandatory:"true" json:"sourceDatabaseConnectionId"`

	// The OCID of the resource being referenced.
	TargetDatabaseConnectionId *string `mandatory:"true" json:"targetDatabaseConnectionId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The OCID of the resource being referenced.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	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"`
}

MySqlCloneMigrationDetails MySQL Clone Migration Summary

func (MySqlCloneMigrationDetails) GetCompartmentId ¶ added in v65.68.0

func (m MySqlCloneMigrationDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (MySqlCloneMigrationDetails) GetDefinedTags ¶ added in v65.68.0

func (m MySqlCloneMigrationDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (MySqlCloneMigrationDetails) GetDisplayName ¶ added in v65.68.0

func (m MySqlCloneMigrationDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (MySqlCloneMigrationDetails) GetFreeformTags ¶ added in v65.68.0

func (m MySqlCloneMigrationDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (MySqlCloneMigrationDetails) GetSourceDatabaseConnectionId ¶ added in v65.68.0

func (m MySqlCloneMigrationDetails) GetSourceDatabaseConnectionId() *string

GetSourceDatabaseConnectionId returns SourceDatabaseConnectionId

func (MySqlCloneMigrationDetails) GetTargetDatabaseConnectionId ¶ added in v65.68.0

func (m MySqlCloneMigrationDetails) GetTargetDatabaseConnectionId() *string

GetTargetDatabaseConnectionId returns TargetDatabaseConnectionId

func (MySqlCloneMigrationDetails) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (MySqlCloneMigrationDetails) String ¶ added in v65.68.0

func (MySqlCloneMigrationDetails) ValidateEnumValue ¶ added in v65.68.0

func (m MySqlCloneMigrationDetails) 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 MySqlDataTransferMediumDetails ¶ added in v65.68.0

type MySqlDataTransferMediumDetails interface {
}

MySqlDataTransferMediumDetails Optional additional properties for data transfer.

type MySqlDataTransferMediumDetailsTypeEnum ¶ added in v65.68.0

type MySqlDataTransferMediumDetailsTypeEnum string

MySqlDataTransferMediumDetailsTypeEnum Enum with underlying type: string

const (
	MySqlDataTransferMediumDetailsTypeObjectStorage MySqlDataTransferMediumDetailsTypeEnum = "OBJECT_STORAGE"
)

Set of constants representing the allowable values for MySqlDataTransferMediumDetailsTypeEnum

func GetMappingMySqlDataTransferMediumDetailsTypeEnum ¶ added in v65.68.0

func GetMappingMySqlDataTransferMediumDetailsTypeEnum(val string) (MySqlDataTransferMediumDetailsTypeEnum, bool)

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

func GetMySqlDataTransferMediumDetailsTypeEnumValues ¶ added in v65.68.0

func GetMySqlDataTransferMediumDetailsTypeEnumValues() []MySqlDataTransferMediumDetailsTypeEnum

GetMySqlDataTransferMediumDetailsTypeEnumValues Enumerates the set of values for MySqlDataTransferMediumDetailsTypeEnum

type MySqlDatabaseObject ¶ added in v65.68.0

type MySqlDatabaseObject struct {

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

	// 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"`
}

MySqlDatabaseObject Database objects to include or exclude from migration

func (MySqlDatabaseObject) String ¶ added in v65.68.0

func (m MySqlDatabaseObject) String() string

func (MySqlDatabaseObject) ValidateEnumValue ¶ added in v65.68.0

func (m MySqlDatabaseObject) 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 MySqlDatabaseObjectSummary ¶ added in v65.68.0

type MySqlDatabaseObjectSummary struct {

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

	// 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"`
}

MySqlDatabaseObjectSummary Database objects to include or exclude from migration

func (MySqlDatabaseObjectSummary) String ¶ added in v65.68.0

func (MySqlDatabaseObjectSummary) ValidateEnumValue ¶ added in v65.68.0

func (m MySqlDatabaseObjectSummary) 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 MySqlGgsDeploymentDetails ¶ added in v65.68.0

type MySqlGgsDeploymentDetails struct {
	GgsDeployment *GgsDeployment `mandatory:"false" json:"ggsDeployment"`

	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"`
}

MySqlGgsDeploymentDetails Optional settings for Oracle GoldenGate processes

func (MySqlGgsDeploymentDetails) String ¶ added in v65.68.0

func (m MySqlGgsDeploymentDetails) String() string

func (MySqlGgsDeploymentDetails) ValidateEnumValue ¶ added in v65.68.0

func (m MySqlGgsDeploymentDetails) 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 MySqlInitialLoadSettings ¶ added in v65.68.0

type MySqlInitialLoadSettings struct {

	// MySql Job Mode
	JobMode JobModeMySqlEnum `mandatory:"true" json:"jobMode"`

	// Enable (true) or disable (false) consistent data dumps by locking the instance for backup during the dump.
	IsConsistent *bool `mandatory:"false" json:"isConsistent"`

	// Include a statement at the start of the dump to set the time zone to UTC.
	IsTzUtc *bool `mandatory:"false" json:"isTzUtc"`

	// Apply the specified requirements for compatibility with MySQL Database Service for all tables in the dump
	// output, altering the dump files as necessary.
	Compatibility []CompatibilityOptionEnum `mandatory:"false" json:"compatibility"`

	// Primary key compatibility option
	PrimaryKeyCompatibility PrimaryKeyCompatibilityEnum `mandatory:"false" json:"primaryKeyCompatibility,omitempty"`

	// Import the dump even if it contains objects that already exist in the target schema in the MySQL instance.
	IsIgnoreExistingObjects *bool `mandatory:"false" json:"isIgnoreExistingObjects"`

	// The action taken in the event of errors related to GRANT or REVOKE errors.
	HandleGrantErrors HandleGrantErrorsEnum `mandatory:"false" json:"handleGrantErrors,omitempty"`
}

MySqlInitialLoadSettings Optional dump settings

func (MySqlInitialLoadSettings) String ¶ added in v65.68.0

func (m MySqlInitialLoadSettings) String() string

func (MySqlInitialLoadSettings) ValidateEnumValue ¶ added in v65.68.0

func (m MySqlInitialLoadSettings) 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 MySqlMigration ¶ added in v65.68.0

type MySqlMigration struct {

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

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the resource being referenced.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the resource being referenced.
	SourceDatabaseConnectionId *string `mandatory:"true" json:"sourceDatabaseConnectionId"`

	// The OCID of the resource being referenced.
	TargetDatabaseConnectionId *string `mandatory:"true" json:"targetDatabaseConnectionId"`

	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// A user-friendly description. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// The OCID of the resource being referenced.
	ExecutingJobId *string `mandatory:"false" json:"executingJobId"`

	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	TimeLastMigration *common.SDKTime `mandatory:"false" json:"timeLastMigration"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	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"`

	DataTransferMediumDetails MySqlDataTransferMediumDetails `mandatory:"false" json:"dataTransferMediumDetails"`

	InitialLoadSettings *MySqlInitialLoadSettings `mandatory:"false" json:"initialLoadSettings"`

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

	HubDetails *GoldenGateHubDetails `mandatory:"false" json:"hubDetails"`

	GgsDetails *MySqlGgsDeploymentDetails `mandatory:"false" json:"ggsDetails"`

	// The type of the migration to be performed.
	// Example: ONLINE if no downtime is preferred for a migration. This method uses Oracle GoldenGate for replication.
	Type MigrationTypesEnum `mandatory:"true" json:"type"`

	// You can optionally pause a migration after a job phase.
	// This property allows you to optionally specify the phase after which you can pause the migration.
	WaitAfter OdmsJobPhasesEnum `mandatory:"false" json:"waitAfter,omitempty"`

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

	// Additional status related to the execution and current state of the Migration.
	LifecycleDetails MigrationStatusEnum `mandatory:"false" json:"lifecycleDetails,omitempty"`
}

MySqlMigration MySQL Migration resource

func (MySqlMigration) GetCompartmentId ¶ added in v65.68.0

func (m MySqlMigration) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (MySqlMigration) GetDefinedTags ¶ added in v65.68.0

func (m MySqlMigration) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (MySqlMigration) GetDescription ¶ added in v65.68.0

func (m MySqlMigration) GetDescription() *string

GetDescription returns Description

func (MySqlMigration) GetDisplayName ¶ added in v65.68.0

func (m MySqlMigration) GetDisplayName() *string

GetDisplayName returns DisplayName

func (MySqlMigration) GetExecutingJobId ¶ added in v65.68.0

func (m MySqlMigration) GetExecutingJobId() *string

GetExecutingJobId returns ExecutingJobId

func (MySqlMigration) GetFreeformTags ¶ added in v65.68.0

func (m MySqlMigration) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (MySqlMigration) GetId ¶ added in v65.68.0

func (m MySqlMigration) GetId() *string

GetId returns Id

func (MySqlMigration) GetLifecycleDetails ¶ added in v65.68.0

func (m MySqlMigration) GetLifecycleDetails() MigrationStatusEnum

GetLifecycleDetails returns LifecycleDetails

func (MySqlMigration) GetLifecycleState ¶ added in v65.68.0

func (m MySqlMigration) GetLifecycleState() MigrationLifecycleStatesEnum

GetLifecycleState returns LifecycleState

func (MySqlMigration) GetSourceDatabaseConnectionId ¶ added in v65.68.0

func (m MySqlMigration) GetSourceDatabaseConnectionId() *string

GetSourceDatabaseConnectionId returns SourceDatabaseConnectionId

func (MySqlMigration) GetSystemTags ¶ added in v65.68.0

func (m MySqlMigration) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (MySqlMigration) GetTargetDatabaseConnectionId ¶ added in v65.68.0

func (m MySqlMigration) GetTargetDatabaseConnectionId() *string

GetTargetDatabaseConnectionId returns TargetDatabaseConnectionId

func (MySqlMigration) GetTimeCreated ¶ added in v65.68.0

func (m MySqlMigration) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (MySqlMigration) GetTimeLastMigration ¶ added in v65.68.0

func (m MySqlMigration) GetTimeLastMigration() *common.SDKTime

GetTimeLastMigration returns TimeLastMigration

func (MySqlMigration) GetTimeUpdated ¶ added in v65.68.0

func (m MySqlMigration) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (MySqlMigration) GetType ¶ added in v65.68.0

func (m MySqlMigration) GetType() MigrationTypesEnum

GetType returns Type

func (MySqlMigration) GetWaitAfter ¶ added in v65.68.0

func (m MySqlMigration) GetWaitAfter() OdmsJobPhasesEnum

GetWaitAfter returns WaitAfter

func (MySqlMigration) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (MySqlMigration) String ¶ added in v65.68.0

func (m MySqlMigration) String() string

func (*MySqlMigration) UnmarshalJSON ¶ added in v65.68.0

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

UnmarshalJSON unmarshals from json

func (MySqlMigration) ValidateEnumValue ¶ added in v65.68.0

func (m MySqlMigration) 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 MySqlMigrationObjectCollection ¶ added in v65.68.0

type MySqlMigrationObjectCollection struct {

	// An array of database objects that are either included or excluded from the migration.
	Items []MySqlDatabaseObjectSummary `mandatory:"true" json:"items"`

	// Specifies the database objects to be excluded from the migration in bulk.
	// The definition accepts input in a CSV format, newline separated for each entry.
	// More details can be found in the documentation.
	BulkIncludeExcludeData *string `mandatory:"false" json:"bulkIncludeExcludeData"`
}

MySqlMigrationObjectCollection Lists the database objects that participate in this migration.

func (MySqlMigrationObjectCollection) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (MySqlMigrationObjectCollection) String ¶ added in v65.68.0

func (MySqlMigrationObjectCollection) ValidateEnumValue ¶ added in v65.68.0

func (m MySqlMigrationObjectCollection) 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 MySqlMigrationSummary ¶ added in v65.68.0

type MySqlMigrationSummary struct {

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

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the resource being referenced.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the resource being referenced.
	SourceDatabaseConnectionId *string `mandatory:"true" json:"sourceDatabaseConnectionId"`

	// The OCID of the resource being referenced.
	TargetDatabaseConnectionId *string `mandatory:"true" json:"targetDatabaseConnectionId"`

	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID of the resource being referenced.
	ExecutingJobId *string `mandatory:"false" json:"executingJobId"`

	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	TimeLastMigration *common.SDKTime `mandatory:"false" json:"timeLastMigration"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	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"`

	// The type of the migration to be performed.
	// Example: ONLINE if no downtime is preferred for a migration. This method uses Oracle GoldenGate for replication.
	Type MigrationTypesEnum `mandatory:"true" json:"type"`

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

	// Additional status related to the execution and current state of the Migration.
	LifecycleDetails MigrationStatusEnum `mandatory:"false" json:"lifecycleDetails,omitempty"`
}

MySqlMigrationSummary MySQL Migration Summary

func (MySqlMigrationSummary) GetCompartmentId ¶ added in v65.68.0

func (m MySqlMigrationSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (MySqlMigrationSummary) GetDefinedTags ¶ added in v65.68.0

func (m MySqlMigrationSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (MySqlMigrationSummary) GetDisplayName ¶ added in v65.68.0

func (m MySqlMigrationSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (MySqlMigrationSummary) GetExecutingJobId ¶ added in v65.68.0

func (m MySqlMigrationSummary) GetExecutingJobId() *string

GetExecutingJobId returns ExecutingJobId

func (MySqlMigrationSummary) GetFreeformTags ¶ added in v65.68.0

func (m MySqlMigrationSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (MySqlMigrationSummary) GetId ¶ added in v65.68.0

func (m MySqlMigrationSummary) GetId() *string

GetId returns Id

func (MySqlMigrationSummary) GetLifecycleDetails ¶ added in v65.68.0

func (m MySqlMigrationSummary) GetLifecycleDetails() MigrationStatusEnum

GetLifecycleDetails returns LifecycleDetails

func (MySqlMigrationSummary) GetLifecycleState ¶ added in v65.68.0

GetLifecycleState returns LifecycleState

func (MySqlMigrationSummary) GetSourceDatabaseConnectionId ¶ added in v65.68.0

func (m MySqlMigrationSummary) GetSourceDatabaseConnectionId() *string

GetSourceDatabaseConnectionId returns SourceDatabaseConnectionId

func (MySqlMigrationSummary) GetSystemTags ¶ added in v65.68.0

func (m MySqlMigrationSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (MySqlMigrationSummary) GetTargetDatabaseConnectionId ¶ added in v65.68.0

func (m MySqlMigrationSummary) GetTargetDatabaseConnectionId() *string

GetTargetDatabaseConnectionId returns TargetDatabaseConnectionId

func (MySqlMigrationSummary) GetTimeCreated ¶ added in v65.68.0

func (m MySqlMigrationSummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (MySqlMigrationSummary) GetTimeLastMigration ¶ added in v65.68.0

func (m MySqlMigrationSummary) GetTimeLastMigration() *common.SDKTime

GetTimeLastMigration returns TimeLastMigration

func (MySqlMigrationSummary) GetTimeUpdated ¶ added in v65.68.0

func (m MySqlMigrationSummary) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (MySqlMigrationSummary) GetType ¶ added in v65.68.0

GetType returns Type

func (MySqlMigrationSummary) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (MySqlMigrationSummary) String ¶ added in v65.68.0

func (m MySqlMigrationSummary) String() string

func (MySqlMigrationSummary) ValidateEnumValue ¶ added in v65.68.0

func (m MySqlMigrationSummary) 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 MySqlObjectStorageDataTransferMediumDetails ¶ added in v65.68.0

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

MySqlObjectStorageDataTransferMediumDetails OCI Object Storage bucket will be used to store dump files for the migration.

func (MySqlObjectStorageDataTransferMediumDetails) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (MySqlObjectStorageDataTransferMediumDetails) String ¶ added in v65.68.0

func (MySqlObjectStorageDataTransferMediumDetails) ValidateEnumValue ¶ added in v65.68.0

func (m MySqlObjectStorageDataTransferMediumDetails) 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 MysqlConnection ¶ added in v65.68.0

type MysqlConnection struct {

	// The OCID of the connection being referenced.
	Id *string `mandatory:"true" json:"id"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

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

	// The time when this resource was created.
	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The time when this resource was updated.
	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The username (credential) used when creating or updating this resource.
	Username *string `mandatory:"true" json:"username"`

	// A user-friendly description. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	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"`

	// The message describing the current state of the connection's lifecycle in detail.
	// For example, can be used to provide actionable information for a connection in a Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// OCI resource ID.
	VaultId *string `mandatory:"false" json:"vaultId"`

	// The OCID of the key used in cryptographic operations.
	KeyId *string `mandatory:"false" json:"keyId"`

	// OCI resource ID.
	SubnetId *string `mandatory:"false" json:"subnetId"`

	// List of ingress IP addresses from where to connect to this connection's privateIp.
	IngressIps []IngressIpDetails `mandatory:"false" json:"ingressIps"`

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

	// The password (credential) used when creating or updating this resource.
	Password *string `mandatory:"false" json:"password"`

	// The username (credential) used when creating or updating this resource.
	ReplicationUsername *string `mandatory:"false" json:"replicationUsername"`

	// The password (credential) used when creating or updating this resource.
	ReplicationPassword *string `mandatory:"false" json:"replicationPassword"`

	// The OCID of the resource being referenced.
	SecretId *string `mandatory:"false" json:"secretId"`

	// The OCID of the resource being referenced.
	PrivateEndpointId *string `mandatory:"false" json:"privateEndpointId"`

	// The IP Address of the host.
	Host *string `mandatory:"false" json:"host"`

	// The port to be used for the connection.
	Port *int `mandatory:"false" json:"port"`

	// The name of the database being referenced.
	DatabaseName *string `mandatory:"false" json:"databaseName"`

	// An array of name-value pair attribute entries.
	AdditionalAttributes []NameValuePair `mandatory:"false" json:"additionalAttributes"`

	// The OCID of the database system being referenced.
	DbSystemId *string `mandatory:"false" json:"dbSystemId"`

	// The type of MySQL source or target connection.
	// Example: OCI_MYSQL represents OCI MySQL HeatWave Database Service
	TechnologyType MysqlConnectionTechnologyTypeEnum `mandatory:"true" json:"technologyType"`

	// Security Protocol to be used for the connection.
	SecurityProtocol MysqlConnectionSecurityProtocolEnum `mandatory:"true" json:"securityProtocol"`

	// SSL mode to be used for the connection.
	SslMode MysqlConnectionSslModeEnum `mandatory:"false" json:"sslMode,omitempty"`

	// The Connection's current lifecycle state.
	LifecycleState ConnectionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

MysqlConnection Represents the metadata of a MySQL Connection.

func (MysqlConnection) GetCompartmentId ¶ added in v65.68.0

func (m MysqlConnection) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (MysqlConnection) GetDefinedTags ¶ added in v65.68.0

func (m MysqlConnection) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (MysqlConnection) GetDescription ¶ added in v65.68.0

func (m MysqlConnection) GetDescription() *string

GetDescription returns Description

func (MysqlConnection) GetDisplayName ¶ added in v65.68.0

func (m MysqlConnection) GetDisplayName() *string

GetDisplayName returns DisplayName

func (MysqlConnection) GetFreeformTags ¶ added in v65.68.0

func (m MysqlConnection) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (MysqlConnection) GetId ¶ added in v65.68.0

func (m MysqlConnection) GetId() *string

GetId returns Id

func (MysqlConnection) GetIngressIps ¶ added in v65.68.0

func (m MysqlConnection) GetIngressIps() []IngressIpDetails

GetIngressIps returns IngressIps

func (MysqlConnection) GetKeyId ¶ added in v65.68.0

func (m MysqlConnection) GetKeyId() *string

GetKeyId returns KeyId

func (MysqlConnection) GetLifecycleDetails ¶ added in v65.68.0

func (m MysqlConnection) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (MysqlConnection) GetLifecycleState ¶ added in v65.68.0

func (m MysqlConnection) GetLifecycleState() ConnectionLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (MysqlConnection) GetNsgIds ¶ added in v65.68.0

func (m MysqlConnection) GetNsgIds() []string

GetNsgIds returns NsgIds

func (MysqlConnection) GetPassword ¶ added in v65.68.0

func (m MysqlConnection) GetPassword() *string

GetPassword returns Password

func (MysqlConnection) GetPrivateEndpointId ¶ added in v65.68.0

func (m MysqlConnection) GetPrivateEndpointId() *string

GetPrivateEndpointId returns PrivateEndpointId

func (MysqlConnection) GetReplicationPassword ¶ added in v65.68.0

func (m MysqlConnection) GetReplicationPassword() *string

GetReplicationPassword returns ReplicationPassword

func (MysqlConnection) GetReplicationUsername ¶ added in v65.68.0

func (m MysqlConnection) GetReplicationUsername() *string

GetReplicationUsername returns ReplicationUsername

func (MysqlConnection) GetSecretId ¶ added in v65.68.0

func (m MysqlConnection) GetSecretId() *string

GetSecretId returns SecretId

func (MysqlConnection) GetSubnetId ¶ added in v65.68.0

func (m MysqlConnection) GetSubnetId() *string

GetSubnetId returns SubnetId

func (MysqlConnection) GetSystemTags ¶ added in v65.68.0

func (m MysqlConnection) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (MysqlConnection) GetTimeCreated ¶ added in v65.68.0

func (m MysqlConnection) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (MysqlConnection) GetTimeUpdated ¶ added in v65.68.0

func (m MysqlConnection) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (MysqlConnection) GetUsername ¶ added in v65.68.0

func (m MysqlConnection) GetUsername() *string

GetUsername returns Username

func (MysqlConnection) GetVaultId ¶ added in v65.68.0

func (m MysqlConnection) GetVaultId() *string

GetVaultId returns VaultId

func (MysqlConnection) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (MysqlConnection) String ¶ added in v65.68.0

func (m MysqlConnection) String() string

func (MysqlConnection) ValidateEnumValue ¶ added in v65.68.0

func (m MysqlConnection) 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 MysqlConnectionSecurityProtocolEnum ¶ added in v65.68.0

type MysqlConnectionSecurityProtocolEnum string

MysqlConnectionSecurityProtocolEnum Enum with underlying type: string

const (
	MysqlConnectionSecurityProtocolPlain MysqlConnectionSecurityProtocolEnum = "PLAIN"
	MysqlConnectionSecurityProtocolTls   MysqlConnectionSecurityProtocolEnum = "TLS"
	MysqlConnectionSecurityProtocolMtls  MysqlConnectionSecurityProtocolEnum = "MTLS"
)

Set of constants representing the allowable values for MysqlConnectionSecurityProtocolEnum

func GetMappingMysqlConnectionSecurityProtocolEnum ¶ added in v65.68.0

func GetMappingMysqlConnectionSecurityProtocolEnum(val string) (MysqlConnectionSecurityProtocolEnum, bool)

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

func GetMysqlConnectionSecurityProtocolEnumValues ¶ added in v65.68.0

func GetMysqlConnectionSecurityProtocolEnumValues() []MysqlConnectionSecurityProtocolEnum

GetMysqlConnectionSecurityProtocolEnumValues Enumerates the set of values for MysqlConnectionSecurityProtocolEnum

type MysqlConnectionSslModeEnum ¶ added in v65.68.0

type MysqlConnectionSslModeEnum string

MysqlConnectionSslModeEnum Enum with underlying type: string

const (
	MysqlConnectionSslModeDisabled       MysqlConnectionSslModeEnum = "DISABLED"
	MysqlConnectionSslModePreferred      MysqlConnectionSslModeEnum = "PREFERRED"
	MysqlConnectionSslModeRequired       MysqlConnectionSslModeEnum = "REQUIRED"
	MysqlConnectionSslModeVerifyCa       MysqlConnectionSslModeEnum = "VERIFY_CA"
	MysqlConnectionSslModeVerifyIdentity MysqlConnectionSslModeEnum = "VERIFY_IDENTITY"
)

Set of constants representing the allowable values for MysqlConnectionSslModeEnum

func GetMappingMysqlConnectionSslModeEnum ¶ added in v65.68.0

func GetMappingMysqlConnectionSslModeEnum(val string) (MysqlConnectionSslModeEnum, bool)

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

func GetMysqlConnectionSslModeEnumValues ¶ added in v65.68.0

func GetMysqlConnectionSslModeEnumValues() []MysqlConnectionSslModeEnum

GetMysqlConnectionSslModeEnumValues Enumerates the set of values for MysqlConnectionSslModeEnum

type MysqlConnectionSummary ¶ added in v65.68.0

type MysqlConnectionSummary struct {

	// The OCID of the connection being referenced.
	Id *string `mandatory:"true" json:"id"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

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

	// The time when this resource was created.
	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The time when this resource was updated.
	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// A user-friendly description. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	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"`

	// 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"`

	// OCI resource ID.
	VaultId *string `mandatory:"false" json:"vaultId"`

	// The OCID of the key used in cryptographic operations.
	KeyId *string `mandatory:"false" json:"keyId"`

	// OCI resource ID.
	SubnetId *string `mandatory:"false" json:"subnetId"`

	// List of ingress IP addresses from where to connect to this connection's privateIp.
	IngressIps []IngressIpDetails `mandatory:"false" json:"ingressIps"`

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

	// The IP Address of the host.
	Host *string `mandatory:"false" json:"host"`

	// The port to be used for the connection.
	Port *int `mandatory:"false" json:"port"`

	// The name of the database being referenced.
	DatabaseName *string `mandatory:"false" json:"databaseName"`

	// An array of name-value pair attribute entries.
	AdditionalAttributes []NameValuePair `mandatory:"false" json:"additionalAttributes"`

	// The OCID of the database system being referenced.
	DbSystemId *string `mandatory:"false" json:"dbSystemId"`

	// Lifecycle state for connection.
	LifecycleState ConnectionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The type of MySQL source or target connection.
	// Example: OCI_MYSQL represents OCI MySQL HeatWave Database Service
	TechnologyType MysqlConnectionTechnologyTypeEnum `mandatory:"true" json:"technologyType"`

	// Security Type for MySQL.
	SecurityProtocol MysqlConnectionSecurityProtocolEnum `mandatory:"true" json:"securityProtocol"`

	// SSL modes for MySQL.
	SslMode MysqlConnectionSslModeEnum `mandatory:"false" json:"sslMode,omitempty"`
}

MysqlConnectionSummary Summary of the MySQL Connection.

func (MysqlConnectionSummary) GetCompartmentId ¶ added in v65.68.0

func (m MysqlConnectionSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (MysqlConnectionSummary) GetDefinedTags ¶ added in v65.68.0

func (m MysqlConnectionSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (MysqlConnectionSummary) GetDescription ¶ added in v65.68.0

func (m MysqlConnectionSummary) GetDescription() *string

GetDescription returns Description

func (MysqlConnectionSummary) GetDisplayName ¶ added in v65.68.0

func (m MysqlConnectionSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (MysqlConnectionSummary) GetFreeformTags ¶ added in v65.68.0

func (m MysqlConnectionSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (MysqlConnectionSummary) GetId ¶ added in v65.68.0

func (m MysqlConnectionSummary) GetId() *string

GetId returns Id

func (MysqlConnectionSummary) GetIngressIps ¶ added in v65.68.0

func (m MysqlConnectionSummary) GetIngressIps() []IngressIpDetails

GetIngressIps returns IngressIps

func (MysqlConnectionSummary) GetKeyId ¶ added in v65.68.0

func (m MysqlConnectionSummary) GetKeyId() *string

GetKeyId returns KeyId

func (MysqlConnectionSummary) GetLifecycleDetails ¶ added in v65.68.0

func (m MysqlConnectionSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (MysqlConnectionSummary) GetLifecycleState ¶ added in v65.68.0

GetLifecycleState returns LifecycleState

func (MysqlConnectionSummary) GetNsgIds ¶ added in v65.68.0

func (m MysqlConnectionSummary) GetNsgIds() []string

GetNsgIds returns NsgIds

func (MysqlConnectionSummary) GetSubnetId ¶ added in v65.68.0

func (m MysqlConnectionSummary) GetSubnetId() *string

GetSubnetId returns SubnetId

func (MysqlConnectionSummary) GetSystemTags ¶ added in v65.68.0

func (m MysqlConnectionSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (MysqlConnectionSummary) GetTimeCreated ¶ added in v65.68.0

func (m MysqlConnectionSummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (MysqlConnectionSummary) GetTimeUpdated ¶ added in v65.68.0

func (m MysqlConnectionSummary) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (MysqlConnectionSummary) GetVaultId ¶ added in v65.68.0

func (m MysqlConnectionSummary) GetVaultId() *string

GetVaultId returns VaultId

func (MysqlConnectionSummary) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (MysqlConnectionSummary) String ¶ added in v65.68.0

func (m MysqlConnectionSummary) String() string

func (MysqlConnectionSummary) ValidateEnumValue ¶ added in v65.68.0

func (m MysqlConnectionSummary) 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 MysqlConnectionTechnologyTypeEnum ¶ added in v65.68.0

type MysqlConnectionTechnologyTypeEnum string

MysqlConnectionTechnologyTypeEnum Enum with underlying type: string

const (
	MysqlConnectionTechnologyTypeAmazonAuroraMysql   MysqlConnectionTechnologyTypeEnum = "AMAZON_AURORA_MYSQL"
	MysqlConnectionTechnologyTypeAmazonRdsMysql      MysqlConnectionTechnologyTypeEnum = "AMAZON_RDS_MYSQL"
	MysqlConnectionTechnologyTypeAzureMysql          MysqlConnectionTechnologyTypeEnum = "AZURE_MYSQL"
	MysqlConnectionTechnologyTypeGoogleCloudSqlMysql MysqlConnectionTechnologyTypeEnum = "GOOGLE_CLOUD_SQL_MYSQL"
	MysqlConnectionTechnologyTypeMysqlServer         MysqlConnectionTechnologyTypeEnum = "MYSQL_SERVER"
	MysqlConnectionTechnologyTypeOciMysql            MysqlConnectionTechnologyTypeEnum = "OCI_MYSQL"
)

Set of constants representing the allowable values for MysqlConnectionTechnologyTypeEnum

func GetMappingMysqlConnectionTechnologyTypeEnum ¶ added in v65.68.0

func GetMappingMysqlConnectionTechnologyTypeEnum(val string) (MysqlConnectionTechnologyTypeEnum, bool)

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

func GetMysqlConnectionTechnologyTypeEnumValues ¶ added in v65.68.0

func GetMysqlConnectionTechnologyTypeEnumValues() []MysqlConnectionTechnologyTypeEnum

GetMysqlConnectionTechnologyTypeEnumValues Enumerates the set of values for MysqlConnectionTechnologyTypeEnum

type NameValuePair ¶ added in v65.68.0

type NameValuePair struct {

	// The name of the property entry.
	Name *string `mandatory:"true" json:"name"`

	// The value of the property entry.
	Value *string `mandatory:"true" json:"value"`
}

NameValuePair A name-value pair representing an attribute entry usable in a list of attributes.

func (NameValuePair) String ¶ added in v65.68.0

func (m NameValuePair) String() string

func (NameValuePair) ValidateEnumValue ¶ added in v65.68.0

func (m NameValuePair) 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 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"
	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"
	OdmsJobPhasesOdmsFetchMetadataSrc                    OdmsJobPhasesEnum = "ODMS_FETCH_METADATA_SRC"
	OdmsJobPhasesOdmsFetchMetadataTgt                    OdmsJobPhasesEnum = "ODMS_FETCH_METADATA_TGT"
	OdmsJobPhasesOdmsValidate                            OdmsJobPhasesEnum = "ODMS_VALIDATE"
	OdmsJobPhasesOdmsPrepare                             OdmsJobPhasesEnum = "ODMS_PREPARE"
	OdmsJobPhasesOdmsInitializeReplicationInfrastructure OdmsJobPhasesEnum = "ODMS_INITIALIZE_REPLICATION_INFRASTRUCTURE"
	OdmsJobPhasesOdmsInitialLoadExport                   OdmsJobPhasesEnum = "ODMS_INITIAL_LOAD_EXPORT"
	OdmsJobPhasesOdmsDataUpload                          OdmsJobPhasesEnum = "ODMS_DATA_UPLOAD"
	OdmsJobPhasesOdmsInitialLoadExportDataUpload         OdmsJobPhasesEnum = "ODMS_INITIAL_LOAD_EXPORT_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 (
	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 OracleAdvisorSettings ¶ added in v65.68.0

type OracleAdvisorSettings 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"`
}

OracleAdvisorSettings Details about Oracle Advisor Settings.

func (OracleAdvisorSettings) String ¶ added in v65.68.0

func (m OracleAdvisorSettings) String() string

func (OracleAdvisorSettings) ValidateEnumValue ¶ added in v65.68.0

func (m OracleAdvisorSettings) 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 OracleAwsS3DataTransferMediumDetails ¶ added in v65.68.0

type OracleAwsS3DataTransferMediumDetails 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"`
}

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

func (OracleAwsS3DataTransferMediumDetails) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (OracleAwsS3DataTransferMediumDetails) String ¶ added in v65.68.0

func (OracleAwsS3DataTransferMediumDetails) ValidateEnumValue ¶ added in v65.68.0

func (m OracleAwsS3DataTransferMediumDetails) 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 OracleCloneMigrationDetails ¶ added in v65.68.0

type OracleCloneMigrationDetails struct {

	// The OCID of the resource being referenced.
	SourceDatabaseConnectionId *string `mandatory:"true" json:"sourceDatabaseConnectionId"`

	// The OCID of the resource being referenced.
	TargetDatabaseConnectionId *string `mandatory:"true" json:"targetDatabaseConnectionId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The OCID of the resource being referenced.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	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"`

	// The OCID of the resource being referenced.
	SourceContainerDatabaseConnectionId *string `mandatory:"false" json:"sourceContainerDatabaseConnectionId"`
}

OracleCloneMigrationDetails Oracle Clone Migration Summary

func (OracleCloneMigrationDetails) GetCompartmentId ¶ added in v65.68.0

func (m OracleCloneMigrationDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (OracleCloneMigrationDetails) GetDefinedTags ¶ added in v65.68.0

func (m OracleCloneMigrationDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (OracleCloneMigrationDetails) GetDisplayName ¶ added in v65.68.0

func (m OracleCloneMigrationDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (OracleCloneMigrationDetails) GetFreeformTags ¶ added in v65.68.0

func (m OracleCloneMigrationDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (OracleCloneMigrationDetails) GetSourceDatabaseConnectionId ¶ added in v65.68.0

func (m OracleCloneMigrationDetails) GetSourceDatabaseConnectionId() *string

GetSourceDatabaseConnectionId returns SourceDatabaseConnectionId

func (OracleCloneMigrationDetails) GetTargetDatabaseConnectionId ¶ added in v65.68.0

func (m OracleCloneMigrationDetails) GetTargetDatabaseConnectionId() *string

GetTargetDatabaseConnectionId returns TargetDatabaseConnectionId

func (OracleCloneMigrationDetails) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (OracleCloneMigrationDetails) String ¶ added in v65.68.0

func (OracleCloneMigrationDetails) ValidateEnumValue ¶ added in v65.68.0

func (m OracleCloneMigrationDetails) 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 OracleConnection ¶ added in v65.68.0

type OracleConnection struct {

	// The OCID of the connection being referenced.
	Id *string `mandatory:"true" json:"id"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

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

	// The time when this resource was created.
	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The time when this resource was updated.
	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The username (credential) used when creating or updating this resource.
	Username *string `mandatory:"true" json:"username"`

	// A user-friendly description. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	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"`

	// The message describing the current state of the connection's lifecycle in detail.
	// For example, can be used to provide actionable information for a connection in a Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// OCI resource ID.
	VaultId *string `mandatory:"false" json:"vaultId"`

	// The OCID of the key used in cryptographic operations.
	KeyId *string `mandatory:"false" json:"keyId"`

	// OCI resource ID.
	SubnetId *string `mandatory:"false" json:"subnetId"`

	// List of ingress IP addresses from where to connect to this connection's privateIp.
	IngressIps []IngressIpDetails `mandatory:"false" json:"ingressIps"`

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

	// The password (credential) used when creating or updating this resource.
	Password *string `mandatory:"false" json:"password"`

	// The username (credential) used when creating or updating this resource.
	ReplicationUsername *string `mandatory:"false" json:"replicationUsername"`

	// The password (credential) used when creating or updating this resource.
	ReplicationPassword *string `mandatory:"false" json:"replicationPassword"`

	// The OCID of the resource being referenced.
	SecretId *string `mandatory:"false" json:"secretId"`

	// The OCID of the resource being referenced.
	PrivateEndpointId *string `mandatory:"false" json:"privateEndpointId"`

	// Connect descriptor or Easy Connect Naming method used to connect to a database.
	ConnectionString *string `mandatory:"false" json:"connectionString"`

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

	// Name of the host the SSH key is valid for.
	SshHost *string `mandatory:"false" json:"sshHost"`

	// Private SSH key string.
	SshKey *string `mandatory:"false" json:"sshKey"`

	// The username (credential) used when creating or updating this resource.
	SshUser *string `mandatory:"false" json:"sshUser"`

	// Sudo location
	SshSudoLocation *string `mandatory:"false" json:"sshSudoLocation"`

	// The Oracle technology type.
	TechnologyType OracleConnectionTechnologyTypeEnum `mandatory:"true" json:"technologyType"`

	// The Connection's current lifecycle state.
	LifecycleState ConnectionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

OracleConnection Represents the metadata of an Oracle Database Connection.

func (OracleConnection) GetCompartmentId ¶ added in v65.68.0

func (m OracleConnection) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (OracleConnection) GetDefinedTags ¶ added in v65.68.0

func (m OracleConnection) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (OracleConnection) GetDescription ¶ added in v65.68.0

func (m OracleConnection) GetDescription() *string

GetDescription returns Description

func (OracleConnection) GetDisplayName ¶ added in v65.68.0

func (m OracleConnection) GetDisplayName() *string

GetDisplayName returns DisplayName

func (OracleConnection) GetFreeformTags ¶ added in v65.68.0

func (m OracleConnection) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (OracleConnection) GetId ¶ added in v65.68.0

func (m OracleConnection) GetId() *string

GetId returns Id

func (OracleConnection) GetIngressIps ¶ added in v65.68.0

func (m OracleConnection) GetIngressIps() []IngressIpDetails

GetIngressIps returns IngressIps

func (OracleConnection) GetKeyId ¶ added in v65.68.0

func (m OracleConnection) GetKeyId() *string

GetKeyId returns KeyId

func (OracleConnection) GetLifecycleDetails ¶ added in v65.68.0

func (m OracleConnection) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (OracleConnection) GetLifecycleState ¶ added in v65.68.0

func (m OracleConnection) GetLifecycleState() ConnectionLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (OracleConnection) GetNsgIds ¶ added in v65.68.0

func (m OracleConnection) GetNsgIds() []string

GetNsgIds returns NsgIds

func (OracleConnection) GetPassword ¶ added in v65.68.0

func (m OracleConnection) GetPassword() *string

GetPassword returns Password

func (OracleConnection) GetPrivateEndpointId ¶ added in v65.68.0

func (m OracleConnection) GetPrivateEndpointId() *string

GetPrivateEndpointId returns PrivateEndpointId

func (OracleConnection) GetReplicationPassword ¶ added in v65.68.0

func (m OracleConnection) GetReplicationPassword() *string

GetReplicationPassword returns ReplicationPassword

func (OracleConnection) GetReplicationUsername ¶ added in v65.68.0

func (m OracleConnection) GetReplicationUsername() *string

GetReplicationUsername returns ReplicationUsername

func (OracleConnection) GetSecretId ¶ added in v65.68.0

func (m OracleConnection) GetSecretId() *string

GetSecretId returns SecretId

func (OracleConnection) GetSubnetId ¶ added in v65.68.0

func (m OracleConnection) GetSubnetId() *string

GetSubnetId returns SubnetId

func (OracleConnection) GetSystemTags ¶ added in v65.68.0

func (m OracleConnection) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (OracleConnection) GetTimeCreated ¶ added in v65.68.0

func (m OracleConnection) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (OracleConnection) GetTimeUpdated ¶ added in v65.68.0

func (m OracleConnection) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (OracleConnection) GetUsername ¶ added in v65.68.0

func (m OracleConnection) GetUsername() *string

GetUsername returns Username

func (OracleConnection) GetVaultId ¶ added in v65.68.0

func (m OracleConnection) GetVaultId() *string

GetVaultId returns VaultId

func (OracleConnection) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (OracleConnection) String ¶ added in v65.68.0

func (m OracleConnection) String() string

func (OracleConnection) ValidateEnumValue ¶ added in v65.68.0

func (m OracleConnection) 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 OracleConnectionSummary ¶ added in v65.68.0

type OracleConnectionSummary struct {

	// The OCID of the connection being referenced.
	Id *string `mandatory:"true" json:"id"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

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

	// The time when this resource was created.
	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The time when this resource was updated.
	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// A user-friendly description. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	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"`

	// 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"`

	// OCI resource ID.
	VaultId *string `mandatory:"false" json:"vaultId"`

	// The OCID of the key used in cryptographic operations.
	KeyId *string `mandatory:"false" json:"keyId"`

	// OCI resource ID.
	SubnetId *string `mandatory:"false" json:"subnetId"`

	// List of ingress IP addresses from where to connect to this connection's privateIp.
	IngressIps []IngressIpDetails `mandatory:"false" json:"ingressIps"`

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

	// Connect descriptor or Easy Connect Naming method used to connect to a database.
	ConnectionString *string `mandatory:"false" json:"connectionString"`

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

	// Lifecycle state for connection.
	LifecycleState ConnectionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The Oracle technology type.
	TechnologyType OracleConnectionTechnologyTypeEnum `mandatory:"true" json:"technologyType"`
}

OracleConnectionSummary Summary of the Oracle Connection.

func (OracleConnectionSummary) GetCompartmentId ¶ added in v65.68.0

func (m OracleConnectionSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (OracleConnectionSummary) GetDefinedTags ¶ added in v65.68.0

func (m OracleConnectionSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (OracleConnectionSummary) GetDescription ¶ added in v65.68.0

func (m OracleConnectionSummary) GetDescription() *string

GetDescription returns Description

func (OracleConnectionSummary) GetDisplayName ¶ added in v65.68.0

func (m OracleConnectionSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (OracleConnectionSummary) GetFreeformTags ¶ added in v65.68.0

func (m OracleConnectionSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (OracleConnectionSummary) GetId ¶ added in v65.68.0

func (m OracleConnectionSummary) GetId() *string

GetId returns Id

func (OracleConnectionSummary) GetIngressIps ¶ added in v65.68.0

func (m OracleConnectionSummary) GetIngressIps() []IngressIpDetails

GetIngressIps returns IngressIps

func (OracleConnectionSummary) GetKeyId ¶ added in v65.68.0

func (m OracleConnectionSummary) GetKeyId() *string

GetKeyId returns KeyId

func (OracleConnectionSummary) GetLifecycleDetails ¶ added in v65.68.0

func (m OracleConnectionSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (OracleConnectionSummary) GetLifecycleState ¶ added in v65.68.0

GetLifecycleState returns LifecycleState

func (OracleConnectionSummary) GetNsgIds ¶ added in v65.68.0

func (m OracleConnectionSummary) GetNsgIds() []string

GetNsgIds returns NsgIds

func (OracleConnectionSummary) GetSubnetId ¶ added in v65.68.0

func (m OracleConnectionSummary) GetSubnetId() *string

GetSubnetId returns SubnetId

func (OracleConnectionSummary) GetSystemTags ¶ added in v65.68.0

func (m OracleConnectionSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (OracleConnectionSummary) GetTimeCreated ¶ added in v65.68.0

func (m OracleConnectionSummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (OracleConnectionSummary) GetTimeUpdated ¶ added in v65.68.0

func (m OracleConnectionSummary) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (OracleConnectionSummary) GetVaultId ¶ added in v65.68.0

func (m OracleConnectionSummary) GetVaultId() *string

GetVaultId returns VaultId

func (OracleConnectionSummary) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (OracleConnectionSummary) String ¶ added in v65.68.0

func (m OracleConnectionSummary) String() string

func (OracleConnectionSummary) ValidateEnumValue ¶ added in v65.68.0

func (m OracleConnectionSummary) 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 OracleConnectionTechnologyTypeEnum ¶ added in v65.68.0

type OracleConnectionTechnologyTypeEnum string

OracleConnectionTechnologyTypeEnum Enum with underlying type: string

const (
	OracleConnectionTechnologyTypeAmazonRdsOracle       OracleConnectionTechnologyTypeEnum = "AMAZON_RDS_ORACLE"
	OracleConnectionTechnologyTypeOciAutonomousDatabase OracleConnectionTechnologyTypeEnum = "OCI_AUTONOMOUS_DATABASE"
	OracleConnectionTechnologyTypeOracleDatabase        OracleConnectionTechnologyTypeEnum = "ORACLE_DATABASE"
	OracleConnectionTechnologyTypeOracleExadata         OracleConnectionTechnologyTypeEnum = "ORACLE_EXADATA"
)

Set of constants representing the allowable values for OracleConnectionTechnologyTypeEnum

func GetMappingOracleConnectionTechnologyTypeEnum ¶ added in v65.68.0

func GetMappingOracleConnectionTechnologyTypeEnum(val string) (OracleConnectionTechnologyTypeEnum, bool)

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

func GetOracleConnectionTechnologyTypeEnumValues ¶ added in v65.68.0

func GetOracleConnectionTechnologyTypeEnumValues() []OracleConnectionTechnologyTypeEnum

GetOracleConnectionTechnologyTypeEnumValues Enumerates the set of values for OracleConnectionTechnologyTypeEnum

type OracleDataTransferMediumDetails ¶ added in v65.68.0

type OracleDataTransferMediumDetails interface {
}

OracleDataTransferMediumDetails Optional additional properties for data transfer.

type OracleDataTransferMediumDetailsTypeEnum ¶ added in v65.68.0

type OracleDataTransferMediumDetailsTypeEnum string

OracleDataTransferMediumDetailsTypeEnum Enum with underlying type: string

const (
	OracleDataTransferMediumDetailsTypeDblink        OracleDataTransferMediumDetailsTypeEnum = "DBLINK"
	OracleDataTransferMediumDetailsTypeObjectStorage OracleDataTransferMediumDetailsTypeEnum = "OBJECT_STORAGE"
	OracleDataTransferMediumDetailsTypeAwsS3         OracleDataTransferMediumDetailsTypeEnum = "AWS_S3"
	OracleDataTransferMediumDetailsTypeNfs           OracleDataTransferMediumDetailsTypeEnum = "NFS"
)

Set of constants representing the allowable values for OracleDataTransferMediumDetailsTypeEnum

func GetMappingOracleDataTransferMediumDetailsTypeEnum ¶ added in v65.68.0

func GetMappingOracleDataTransferMediumDetailsTypeEnum(val string) (OracleDataTransferMediumDetailsTypeEnum, bool)

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

func GetOracleDataTransferMediumDetailsTypeEnumValues ¶ added in v65.68.0

func GetOracleDataTransferMediumDetailsTypeEnumValues() []OracleDataTransferMediumDetailsTypeEnum

GetOracleDataTransferMediumDetailsTypeEnumValues Enumerates the set of values for OracleDataTransferMediumDetailsTypeEnum

type OracleDatabaseObject ¶ added in v65.68.0

type OracleDatabaseObject 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 object status EXCLUDE.
	IsOmitExcludedTableFromReplication *bool `mandatory:"false" json:"isOmitExcludedTableFromReplication"`
}

OracleDatabaseObject Database objects to include or exclude from migration

func (OracleDatabaseObject) String ¶ added in v65.68.0

func (m OracleDatabaseObject) String() string

func (OracleDatabaseObject) ValidateEnumValue ¶ added in v65.68.0

func (m OracleDatabaseObject) 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 OracleDatabaseObjectSummary ¶ added in v65.68.0

type OracleDatabaseObjectSummary 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 object status EXCLUDE.
	IsOmitExcludedTableFromReplication *bool `mandatory:"false" json:"isOmitExcludedTableFromReplication"`

	// Object status.
	ObjectStatus ObjectStatusEnum `mandatory:"false" json:"objectStatus,omitempty"`
}

OracleDatabaseObjectSummary Database objects to include or exclude from migration

func (OracleDatabaseObjectSummary) String ¶ added in v65.68.0

func (OracleDatabaseObjectSummary) ValidateEnumValue ¶ added in v65.68.0

func (m OracleDatabaseObjectSummary) 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 OracleDbLinkDataTransferMediumDetails ¶ added in v65.68.0

type OracleDbLinkDataTransferMediumDetails 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"`
}

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

func (OracleDbLinkDataTransferMediumDetails) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (OracleDbLinkDataTransferMediumDetails) String ¶ added in v65.68.0

func (OracleDbLinkDataTransferMediumDetails) ValidateEnumValue ¶ added in v65.68.0

func (m OracleDbLinkDataTransferMediumDetails) 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 OracleGgsDeploymentDetails ¶ added in v65.68.0

type OracleGgsDeploymentDetails struct {
	GgsDeployment *GgsDeployment `mandatory:"false" json:"ggsDeployment"`

	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"`
}

OracleGgsDeploymentDetails Optional settings for Oracle GoldenGate processes

func (OracleGgsDeploymentDetails) String ¶ added in v65.68.0

func (OracleGgsDeploymentDetails) ValidateEnumValue ¶ added in v65.68.0

func (m OracleGgsDeploymentDetails) 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 OracleInitialLoadSettings ¶ added in v65.68.0

type OracleInitialLoadSettings struct {

	// Oracle Job Mode
	JobMode JobModeOracleEnum `mandatory:"true" json:"jobMode"`

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

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

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

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

	// Defines remapping to be applied to objects as they are processed.
	MetadataRemaps []MetadataRemap `mandatory:"false" json:"metadataRemaps"`
}

OracleInitialLoadSettings Optional settings for Data Pump Export and Import jobs

func (OracleInitialLoadSettings) String ¶ added in v65.68.0

func (m OracleInitialLoadSettings) String() string

func (*OracleInitialLoadSettings) UnmarshalJSON ¶ added in v65.68.0

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

UnmarshalJSON unmarshals from json

func (OracleInitialLoadSettings) ValidateEnumValue ¶ added in v65.68.0

func (m OracleInitialLoadSettings) 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 OracleMigration ¶ added in v65.68.0

type OracleMigration struct {

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

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the resource being referenced.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the resource being referenced.
	SourceDatabaseConnectionId *string `mandatory:"true" json:"sourceDatabaseConnectionId"`

	// The OCID of the resource being referenced.
	TargetDatabaseConnectionId *string `mandatory:"true" json:"targetDatabaseConnectionId"`

	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// A user-friendly description. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// The OCID of the resource being referenced.
	ExecutingJobId *string `mandatory:"false" json:"executingJobId"`

	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	TimeLastMigration *common.SDKTime `mandatory:"false" json:"timeLastMigration"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	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"`

	DataTransferMediumDetails OracleDataTransferMediumDetails `mandatory:"false" json:"dataTransferMediumDetails"`

	InitialLoadSettings *OracleInitialLoadSettings `mandatory:"false" json:"initialLoadSettings"`

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

	HubDetails *GoldenGateHubDetails `mandatory:"false" json:"hubDetails"`

	GgsDetails *OracleGgsDeploymentDetails `mandatory:"false" json:"ggsDetails"`

	// The OCID of the resource being referenced.
	SourceContainerDatabaseConnectionId *string `mandatory:"false" json:"sourceContainerDatabaseConnectionId"`

	// List of Migration Parameter objects.
	AdvancedParameters []MigrationParameterDetails `mandatory:"false" json:"advancedParameters"`

	// The type of the migration to be performed.
	// Example: ONLINE if no downtime is preferred for a migration. This method uses Oracle GoldenGate for replication.
	Type MigrationTypesEnum `mandatory:"true" json:"type"`

	// You can optionally pause a migration after a job phase.
	// This property allows you to optionally specify the phase after which you can pause the migration.
	WaitAfter OdmsJobPhasesEnum `mandatory:"false" json:"waitAfter,omitempty"`

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

	// Additional status related to the execution and current state of the Migration.
	LifecycleDetails MigrationStatusEnum `mandatory:"false" json:"lifecycleDetails,omitempty"`
}

OracleMigration Oracle Migration resource

func (OracleMigration) GetCompartmentId ¶ added in v65.68.0

func (m OracleMigration) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (OracleMigration) GetDefinedTags ¶ added in v65.68.0

func (m OracleMigration) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (OracleMigration) GetDescription ¶ added in v65.68.0

func (m OracleMigration) GetDescription() *string

GetDescription returns Description

func (OracleMigration) GetDisplayName ¶ added in v65.68.0

func (m OracleMigration) GetDisplayName() *string

GetDisplayName returns DisplayName

func (OracleMigration) GetExecutingJobId ¶ added in v65.68.0

func (m OracleMigration) GetExecutingJobId() *string

GetExecutingJobId returns ExecutingJobId

func (OracleMigration) GetFreeformTags ¶ added in v65.68.0

func (m OracleMigration) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (OracleMigration) GetId ¶ added in v65.68.0

func (m OracleMigration) GetId() *string

GetId returns Id

func (OracleMigration) GetLifecycleDetails ¶ added in v65.68.0

func (m OracleMigration) GetLifecycleDetails() MigrationStatusEnum

GetLifecycleDetails returns LifecycleDetails

func (OracleMigration) GetLifecycleState ¶ added in v65.68.0

func (m OracleMigration) GetLifecycleState() MigrationLifecycleStatesEnum

GetLifecycleState returns LifecycleState

func (OracleMigration) GetSourceDatabaseConnectionId ¶ added in v65.68.0

func (m OracleMigration) GetSourceDatabaseConnectionId() *string

GetSourceDatabaseConnectionId returns SourceDatabaseConnectionId

func (OracleMigration) GetSystemTags ¶ added in v65.68.0

func (m OracleMigration) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (OracleMigration) GetTargetDatabaseConnectionId ¶ added in v65.68.0

func (m OracleMigration) GetTargetDatabaseConnectionId() *string

GetTargetDatabaseConnectionId returns TargetDatabaseConnectionId

func (OracleMigration) GetTimeCreated ¶ added in v65.68.0

func (m OracleMigration) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (OracleMigration) GetTimeLastMigration ¶ added in v65.68.0

func (m OracleMigration) GetTimeLastMigration() *common.SDKTime

GetTimeLastMigration returns TimeLastMigration

func (OracleMigration) GetTimeUpdated ¶ added in v65.68.0

func (m OracleMigration) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (OracleMigration) GetType ¶ added in v65.68.0

func (m OracleMigration) GetType() MigrationTypesEnum

GetType returns Type

func (OracleMigration) GetWaitAfter ¶ added in v65.68.0

func (m OracleMigration) GetWaitAfter() OdmsJobPhasesEnum

GetWaitAfter returns WaitAfter

func (OracleMigration) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (OracleMigration) String ¶ added in v65.68.0

func (m OracleMigration) String() string

func (*OracleMigration) UnmarshalJSON ¶ added in v65.68.0

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

UnmarshalJSON unmarshals from json

func (OracleMigration) ValidateEnumValue ¶ added in v65.68.0

func (m OracleMigration) 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 OracleMigrationObjectCollection ¶ added in v65.68.0

type OracleMigrationObjectCollection struct {

	// Database objects to exclude/include from migration
	Items []OracleDatabaseObjectSummary `mandatory:"true" json:"items"`

	// Specifies the database objects to be excluded from the migration in bulk.
	// The definition accepts input in a CSV format, newline separated for each entry.
	// More details can be found in the documentation.
	BulkIncludeExcludeData *string `mandatory:"false" json:"bulkIncludeExcludeData"`
}

OracleMigrationObjectCollection Database objects to migrate.

func (OracleMigrationObjectCollection) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (OracleMigrationObjectCollection) String ¶ added in v65.68.0

func (OracleMigrationObjectCollection) ValidateEnumValue ¶ added in v65.68.0

func (m OracleMigrationObjectCollection) 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 OracleMigrationSummary ¶ added in v65.68.0

type OracleMigrationSummary struct {

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

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the resource being referenced.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the resource being referenced.
	SourceDatabaseConnectionId *string `mandatory:"true" json:"sourceDatabaseConnectionId"`

	// The OCID of the resource being referenced.
	TargetDatabaseConnectionId *string `mandatory:"true" json:"targetDatabaseConnectionId"`

	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID of the resource being referenced.
	ExecutingJobId *string `mandatory:"false" json:"executingJobId"`

	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
	TimeLastMigration *common.SDKTime `mandatory:"false" json:"timeLastMigration"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	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"`

	// The OCID of the resource being referenced.
	SourceContainerDatabaseConnectionId *string `mandatory:"false" json:"sourceContainerDatabaseConnectionId"`

	// The type of the migration to be performed.
	// Example: ONLINE if no downtime is preferred for a migration. This method uses Oracle GoldenGate for replication.
	Type MigrationTypesEnum `mandatory:"true" json:"type"`

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

	// Additional status related to the execution and current state of the Migration.
	LifecycleDetails MigrationStatusEnum `mandatory:"false" json:"lifecycleDetails,omitempty"`
}

OracleMigrationSummary Oracle Migration Summary

func (OracleMigrationSummary) GetCompartmentId ¶ added in v65.68.0

func (m OracleMigrationSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (OracleMigrationSummary) GetDefinedTags ¶ added in v65.68.0

func (m OracleMigrationSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (OracleMigrationSummary) GetDisplayName ¶ added in v65.68.0

func (m OracleMigrationSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (OracleMigrationSummary) GetExecutingJobId ¶ added in v65.68.0

func (m OracleMigrationSummary) GetExecutingJobId() *string

GetExecutingJobId returns ExecutingJobId

func (OracleMigrationSummary) GetFreeformTags ¶ added in v65.68.0

func (m OracleMigrationSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (OracleMigrationSummary) GetId ¶ added in v65.68.0

func (m OracleMigrationSummary) GetId() *string

GetId returns Id

func (OracleMigrationSummary) GetLifecycleDetails ¶ added in v65.68.0

func (m OracleMigrationSummary) GetLifecycleDetails() MigrationStatusEnum

GetLifecycleDetails returns LifecycleDetails

func (OracleMigrationSummary) GetLifecycleState ¶ added in v65.68.0

GetLifecycleState returns LifecycleState

func (OracleMigrationSummary) GetSourceDatabaseConnectionId ¶ added in v65.68.0

func (m OracleMigrationSummary) GetSourceDatabaseConnectionId() *string

GetSourceDatabaseConnectionId returns SourceDatabaseConnectionId

func (OracleMigrationSummary) GetSystemTags ¶ added in v65.68.0

func (m OracleMigrationSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (OracleMigrationSummary) GetTargetDatabaseConnectionId ¶ added in v65.68.0

func (m OracleMigrationSummary) GetTargetDatabaseConnectionId() *string

GetTargetDatabaseConnectionId returns TargetDatabaseConnectionId

func (OracleMigrationSummary) GetTimeCreated ¶ added in v65.68.0

func (m OracleMigrationSummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (OracleMigrationSummary) GetTimeLastMigration ¶ added in v65.68.0

func (m OracleMigrationSummary) GetTimeLastMigration() *common.SDKTime

GetTimeLastMigration returns TimeLastMigration

func (OracleMigrationSummary) GetTimeUpdated ¶ added in v65.68.0

func (m OracleMigrationSummary) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (OracleMigrationSummary) GetType ¶ added in v65.68.0

GetType returns Type

func (OracleMigrationSummary) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (OracleMigrationSummary) String ¶ added in v65.68.0

func (m OracleMigrationSummary) String() string

func (OracleMigrationSummary) ValidateEnumValue ¶ added in v65.68.0

func (m OracleMigrationSummary) 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 OracleNfsDataTransferMediumDetails ¶ added in v65.68.0

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

	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"`
}

OracleNfsDataTransferMediumDetails OCI Object Storage bucket will be used to store Data Pump dump files for the migration.

func (OracleNfsDataTransferMediumDetails) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (OracleNfsDataTransferMediumDetails) String ¶ added in v65.68.0

func (*OracleNfsDataTransferMediumDetails) UnmarshalJSON ¶ added in v65.68.0

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

UnmarshalJSON unmarshals from json

func (OracleNfsDataTransferMediumDetails) ValidateEnumValue ¶ added in v65.68.0

func (m OracleNfsDataTransferMediumDetails) 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 OracleObjectStorageDataTransferMediumDetails ¶ added in v65.68.0

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

	Source HostDumpTransferDetails `mandatory:"false" json:"source"`

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

OracleObjectStorageDataTransferMediumDetails OCI Object Storage bucket will be used to store Data Pump dump files for the migration.

func (OracleObjectStorageDataTransferMediumDetails) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (OracleObjectStorageDataTransferMediumDetails) String ¶ added in v65.68.0

func (*OracleObjectStorageDataTransferMediumDetails) UnmarshalJSON ¶ added in v65.68.0

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

UnmarshalJSON unmarshals from json

func (OracleObjectStorageDataTransferMediumDetails) ValidateEnumValue ¶ added in v65.68.0

func (m OracleObjectStorageDataTransferMediumDetails) 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 ParameterFileVersion ¶ added in v65.70.0

type ParameterFileVersion struct {

	// A unique name associated with the current migration/job and extract/replicat name
	Name *string `mandatory:"true" json:"name"`

	// Return boolean true/false for the currently in-use parameter file (factory or a versioned file)
	IsCurrent *bool `mandatory:"true" json:"isCurrent"`

	// Return true/false for whether the parameter file is oracle provided (Factory)
	IsFactory *bool `mandatory:"true" json:"isFactory"`

	// Indicator of Parameter File 'kind' (for an EXTRACT or a REPLICAT)
	Kind JobParameterFileVersionKindEnum `mandatory:"true" json:"kind"`

	// The time when this parameter file was applied on the process
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The content in base64 encoded character string containing the value of the parameter file
	Content *string `mandatory:"true" json:"content"`

	// Describes the current parameter file version
	Description *string `mandatory:"false" json:"description"`
}

ParameterFileVersion A parameter file detatails

func (ParameterFileVersion) String ¶ added in v65.70.0

func (m ParameterFileVersion) String() string

func (ParameterFileVersion) ValidateEnumValue ¶ added in v65.70.0

func (m ParameterFileVersion) 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 ParameterFileVersionCollection ¶ added in v65.70.0

type ParameterFileVersionCollection struct {

	// A list of A parameter file metadata
	Items []ParameterFileVersionSummary `mandatory:"true" json:"items"`
}

ParameterFileVersionCollection Results of request for Parameter Files. Contents is a collection of ParameterFileVersionSummary.

func (ParameterFileVersionCollection) String ¶ added in v65.70.0

func (ParameterFileVersionCollection) ValidateEnumValue ¶ added in v65.70.0

func (m ParameterFileVersionCollection) 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 ParameterFileVersionSummary ¶ added in v65.70.0

type ParameterFileVersionSummary struct {

	// A unique name associated with the current migration/job and extract/replicat name
	Name *string `mandatory:"true" json:"name"`

	// Indicator of Parameter File 'kind' (for an EXTRACT or a REPLICAT)
	Kind JobParameterFileVersionKindEnum `mandatory:"true" json:"kind"`

	// Return boolean true/false for the currently in-use parameter file (factory or a versioned file)
	IsCurrent *bool `mandatory:"true" json:"isCurrent"`

	// Return true/false for whether the parameter file is oracle provided (Factory)
	IsFactory *bool `mandatory:"true" json:"isFactory"`

	// The time when this parameter file was applied on the process
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// A description to discribe the current parameter file version
	Description *string `mandatory:"false" json:"description"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	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"`
}

ParameterFileVersionSummary A parameter file detatails

func (ParameterFileVersionSummary) String ¶ added in v65.70.0

func (ParameterFileVersionSummary) ValidateEnumValue ¶ added in v65.70.0

func (m ParameterFileVersionSummary) 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 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"`

	// This is returned as true if the current phase can be suspended.
	IsSuspendAvailable *bool `mandatory:"false" json:"isSuspendAvailable"`

	// Attribute that returns an array of names and types of GoldenGate configuration files that are available for read or update.
	EditableParameterFiles []JobParameterFileVersionKindEnum `mandatory:"false" json:"editableParameterFiles,omitempty"`
}

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 PrimaryKeyCompatibilityEnum ¶ added in v65.68.0

type PrimaryKeyCompatibilityEnum string

PrimaryKeyCompatibilityEnum Enum with underlying type: string

const (
	PrimaryKeyCompatibilityNone               PrimaryKeyCompatibilityEnum = "NONE"
	PrimaryKeyCompatibilityIgnoreMissingPks   PrimaryKeyCompatibilityEnum = "IGNORE_MISSING_PKS"
	PrimaryKeyCompatibilityCreateInvisiblePks PrimaryKeyCompatibilityEnum = "CREATE_INVISIBLE_PKS"
)

Set of constants representing the allowable values for PrimaryKeyCompatibilityEnum

func GetMappingPrimaryKeyCompatibilityEnum ¶ added in v65.68.0

func GetMappingPrimaryKeyCompatibilityEnum(val string) (PrimaryKeyCompatibilityEnum, bool)

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

func GetPrimaryKeyCompatibilityEnumValues ¶ added in v65.68.0

func GetPrimaryKeyCompatibilityEnumValues() []PrimaryKeyCompatibilityEnum

GetPrimaryKeyCompatibilityEnumValues Enumerates the set of values for PrimaryKeyCompatibilityEnum

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"`
}

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 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 SuspendJobRequest ¶ added in v65.70.0

type SuspendJobRequest 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
}

SuspendJobRequest wrapper for the SuspendJob operation

See also ¶

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

func (SuspendJobRequest) BinaryRequestBody ¶ added in v65.70.0

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

BinaryRequestBody implements the OCIRequest interface

func (SuspendJobRequest) HTTPRequest ¶ added in v65.70.0

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

HTTPRequest implements the OCIRequest interface

func (SuspendJobRequest) RetryPolicy ¶ added in v65.70.0

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

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

func (SuspendJobRequest) String ¶ added in v65.70.0

func (request SuspendJobRequest) String() string

func (SuspendJobRequest) ValidateEnumValue ¶ added in v65.70.0

func (request SuspendJobRequest) 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 SuspendJobResponse ¶ added in v65.70.0

type SuspendJobResponse 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"`
}

SuspendJobResponse wrapper for the SuspendJob operation

func (SuspendJobResponse) HTTPResponse ¶ added in v65.70.0

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

HTTPResponse implements the OCIResponse interface

func (SuspendJobResponse) String ¶ added in v65.70.0

func (response SuspendJobResponse) String() string

type TargetTypeTablespaceDetails ¶

type TargetTypeTablespaceDetails interface {
}

TargetTypeTablespaceDetails Migration tablespace settings.

type TechnologyTypeEnum ¶ added in v65.68.0

type TechnologyTypeEnum string

TechnologyTypeEnum Enum with underlying type: string

const (
	TechnologyTypeOciAutonomousDatabase TechnologyTypeEnum = "OCI_AUTONOMOUS_DATABASE"
	TechnologyTypeOciMysql              TechnologyTypeEnum = "OCI_MYSQL"
	TechnologyTypeOracleDatabase        TechnologyTypeEnum = "ORACLE_DATABASE"
	TechnologyTypeOracleExadata         TechnologyTypeEnum = "ORACLE_EXADATA"
	TechnologyTypeAmazonRdsOracle       TechnologyTypeEnum = "AMAZON_RDS_ORACLE"
	TechnologyTypeAmazonAuroraMysql     TechnologyTypeEnum = "AMAZON_AURORA_MYSQL"
	TechnologyTypeAmazonRdsMysql        TechnologyTypeEnum = "AMAZON_RDS_MYSQL"
	TechnologyTypeAzureMysql            TechnologyTypeEnum = "AZURE_MYSQL"
	TechnologyTypeGoogleCloudSqlMysql   TechnologyTypeEnum = "GOOGLE_CLOUD_SQL_MYSQL"
	TechnologyTypeMysqlServer           TechnologyTypeEnum = "MYSQL_SERVER"
)

Set of constants representing the allowable values for TechnologyTypeEnum

func GetMappingTechnologyTypeEnum ¶ added in v65.68.0

func GetMappingTechnologyTypeEnum(val string) (TechnologyTypeEnum, bool)

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

func GetTechnologyTypeEnumValues ¶ added in v65.68.0

func GetTechnologyTypeEnumValues() []TechnologyTypeEnum

GetTechnologyTypeEnumValues Enumerates the set of values for TechnologyTypeEnum

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 {

	// Set this property to true to auto-create tablespaces in the target Database.
	// Note: This is not applicable for Autonomous Database Serverless databases.
	IsAutoCreate *bool `mandatory:"false" json:"isAutoCreate"`

	// Set this property to true to enable tablespace of the type big file.
	IsBigFile *bool `mandatory:"false" json:"isBigFile"`

	// Size to extend the tablespace in MB.
	// Note: Only applicable 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 Auto create tablespace settings that are valid for Dedicated Autonomous Databases.

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 the tablespace on the target database to which the source database tablespace is to be remapped.
	RemapTarget *string `mandatory:"false" json:"remapTarget"`
}

UpdateAdbDedicatedRemapTargetTablespaceDetails Remap tablespace settings that are valid for Dedicated Autonomous Databases.

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 Autonomous Database Serverless 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 UpdateConnectionDetails ¶

type UpdateConnectionDetails interface {

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	GetDisplayName() *string

	// A user-friendly description. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	GetDescription() *string

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	GetFreeformTags() map[string]string

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	GetDefinedTags() map[string]map[string]interface{}

	// OCI resource ID.
	GetVaultId() *string

	// The OCID of the key used in cryptographic operations.
	GetKeyId() *string

	// OCI resource ID.
	GetSubnetId() *string

	// An array of Network Security Group OCIDs used to define network access for Connections.
	GetNsgIds() []string

	// The username (credential) used when creating or updating this resource.
	GetUsername() *string

	// The password (credential) used when creating or updating this resource.
	GetPassword() *string

	// The username (credential) used when creating or updating this resource.
	GetReplicationUsername() *string

	// The password (credential) used when creating or updating this resource.
	GetReplicationPassword() *string
}

UpdateConnectionDetails The information to update a Connection.

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 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"`
}

UpdateDataPumpParameters Optional parameters for Data Pump Export and Import. 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 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 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 UpdateGoldenGateHubDetails ¶ added in v65.68.0

type UpdateGoldenGateHubDetails struct {
	RestAdminCredentials *UpdateAdminCredentials `mandatory:"false" json:"restAdminCredentials"`

	// Endpoint URL.
	Url *string `mandatory:"false" json:"url"`

	// The OCID of the resource being referenced.
	ComputeId *string `mandatory:"false" json:"computeId"`

	// The OCID of the resource being referenced.
	VaultId *string `mandatory:"false" json:"vaultId"`

	// The OCID of the resource being referenced.
	KeyId *string `mandatory:"false" json:"keyId"`

	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"`
}

UpdateGoldenGateHubDetails Details about Oracle GoldenGate Microservices.

func (UpdateGoldenGateHubDetails) String ¶ added in v65.68.0

func (UpdateGoldenGateHubDetails) ValidateEnumValue ¶ added in v65.68.0

func (m UpdateGoldenGateHubDetails) 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"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	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 interface {

	// A user-friendly description. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	GetDescription() *string

	// The type of the migration to be performed.
	// Example: ONLINE if no downtime is preferred for a migration. This method uses Oracle GoldenGate for replication.
	GetType() MigrationTypesEnum

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	GetDisplayName() *string

	// The OCID of the resource being referenced.
	GetSourceDatabaseConnectionId() *string

	// The OCID of the resource being referenced.
	GetTargetDatabaseConnectionId() *string

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	GetFreeformTags() map[string]string

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	GetDefinedTags() map[string]map[string]interface{}
}

UpdateMigrationDetails Common Update Migration details.

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 UpdateMySqlAdvisorSettings ¶ added in v65.68.0

type UpdateMySqlAdvisorSettings 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"`
}

UpdateMySqlAdvisorSettings Optional Pre-Migration advisor settings.

func (UpdateMySqlAdvisorSettings) String ¶ added in v65.68.0

func (UpdateMySqlAdvisorSettings) ValidateEnumValue ¶ added in v65.68.0

func (m UpdateMySqlAdvisorSettings) 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 UpdateMySqlDataTransferMediumDetails ¶ added in v65.68.0

type UpdateMySqlDataTransferMediumDetails interface {
}

UpdateMySqlDataTransferMediumDetails Optional additional properties for data transfer.

type UpdateMySqlDataTransferMediumDetailsTypeEnum ¶ added in v65.68.0

type UpdateMySqlDataTransferMediumDetailsTypeEnum string

UpdateMySqlDataTransferMediumDetailsTypeEnum Enum with underlying type: string

const (
	UpdateMySqlDataTransferMediumDetailsTypeObjectStorage UpdateMySqlDataTransferMediumDetailsTypeEnum = "OBJECT_STORAGE"
)

Set of constants representing the allowable values for UpdateMySqlDataTransferMediumDetailsTypeEnum

func GetMappingUpdateMySqlDataTransferMediumDetailsTypeEnum ¶ added in v65.68.0

func GetMappingUpdateMySqlDataTransferMediumDetailsTypeEnum(val string) (UpdateMySqlDataTransferMediumDetailsTypeEnum, bool)

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

func GetUpdateMySqlDataTransferMediumDetailsTypeEnumValues ¶ added in v65.68.0

func GetUpdateMySqlDataTransferMediumDetailsTypeEnumValues() []UpdateMySqlDataTransferMediumDetailsTypeEnum

GetUpdateMySqlDataTransferMediumDetailsTypeEnumValues Enumerates the set of values for UpdateMySqlDataTransferMediumDetailsTypeEnum

type UpdateMySqlGgsDeploymentDetails ¶ added in v65.68.0

type UpdateMySqlGgsDeploymentDetails struct {
	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"`
}

UpdateMySqlGgsDeploymentDetails Optional settings for Oracle GoldenGate processes

func (UpdateMySqlGgsDeploymentDetails) String ¶ added in v65.68.0

func (UpdateMySqlGgsDeploymentDetails) ValidateEnumValue ¶ added in v65.68.0

func (m UpdateMySqlGgsDeploymentDetails) 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 UpdateMySqlInitialLoadSettings ¶ added in v65.68.0

type UpdateMySqlInitialLoadSettings struct {

	// MySql Job Mode
	JobMode JobModeMySqlEnum `mandatory:"true" json:"jobMode"`

	// Enable (true) or disable (false) consistent data dumps by locking the instance for backup during the dump.
	IsConsistent *bool `mandatory:"false" json:"isConsistent"`

	// Include a statement at the start of the dump to set the time zone to UTC.
	IsTzUtc *bool `mandatory:"false" json:"isTzUtc"`

	// Apply the specified requirements for compatibility with MySQL Database Service for all tables in the dump
	// output, altering the dump files as necessary.
	Compatibility []CompatibilityOptionEnum `mandatory:"false" json:"compatibility"`

	// Primary key compatibility option
	PrimaryKeyCompatibility PrimaryKeyCompatibilityEnum `mandatory:"false" json:"primaryKeyCompatibility,omitempty"`

	// Import the dump even if it contains objects that already exist in the target schema in the MySQL instance.
	IsIgnoreExistingObjects *bool `mandatory:"false" json:"isIgnoreExistingObjects"`

	// The action taken in the event of errors related to GRANT or REVOKE errors.
	HandleGrantErrors HandleGrantErrorsEnum `mandatory:"false" json:"handleGrantErrors,omitempty"`
}

UpdateMySqlInitialLoadSettings Optional dump settings

func (UpdateMySqlInitialLoadSettings) String ¶ added in v65.68.0

func (UpdateMySqlInitialLoadSettings) ValidateEnumValue ¶ added in v65.68.0

func (m UpdateMySqlInitialLoadSettings) 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 UpdateMySqlMigrationDetails ¶ added in v65.68.0

type UpdateMySqlMigrationDetails struct {

	// A user-friendly description. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The OCID of the resource being referenced.
	SourceDatabaseConnectionId *string `mandatory:"false" json:"sourceDatabaseConnectionId"`

	// The OCID of the resource being referenced.
	TargetDatabaseConnectionId *string `mandatory:"false" json:"targetDatabaseConnectionId"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	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"`

	DataTransferMediumDetails UpdateMySqlDataTransferMediumDetails `mandatory:"false" json:"dataTransferMediumDetails"`

	InitialLoadSettings *UpdateMySqlInitialLoadSettings `mandatory:"false" json:"initialLoadSettings"`

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

	HubDetails *UpdateGoldenGateHubDetails `mandatory:"false" json:"hubDetails"`

	GgsDetails *UpdateMySqlGgsDeploymentDetails `mandatory:"false" json:"ggsDetails"`

	// The type of the migration to be performed.
	// Example: ONLINE if no downtime is preferred for a migration. This method uses Oracle GoldenGate for replication.
	Type MigrationTypesEnum `mandatory:"false" json:"type,omitempty"`
}

UpdateMySqlMigrationDetails Update Migration parameters.

func (UpdateMySqlMigrationDetails) GetDefinedTags ¶ added in v65.68.0

func (m UpdateMySqlMigrationDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateMySqlMigrationDetails) GetDescription ¶ added in v65.68.0

func (m UpdateMySqlMigrationDetails) GetDescription() *string

GetDescription returns Description

func (UpdateMySqlMigrationDetails) GetDisplayName ¶ added in v65.68.0

func (m UpdateMySqlMigrationDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateMySqlMigrationDetails) GetFreeformTags ¶ added in v65.68.0

func (m UpdateMySqlMigrationDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateMySqlMigrationDetails) GetSourceDatabaseConnectionId ¶ added in v65.68.0

func (m UpdateMySqlMigrationDetails) GetSourceDatabaseConnectionId() *string

GetSourceDatabaseConnectionId returns SourceDatabaseConnectionId

func (UpdateMySqlMigrationDetails) GetTargetDatabaseConnectionId ¶ added in v65.68.0

func (m UpdateMySqlMigrationDetails) GetTargetDatabaseConnectionId() *string

GetTargetDatabaseConnectionId returns TargetDatabaseConnectionId

func (UpdateMySqlMigrationDetails) GetType ¶ added in v65.68.0

GetType returns Type

func (UpdateMySqlMigrationDetails) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (UpdateMySqlMigrationDetails) String ¶ added in v65.68.0

func (*UpdateMySqlMigrationDetails) UnmarshalJSON ¶ added in v65.68.0

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

UnmarshalJSON unmarshals from json

func (UpdateMySqlMigrationDetails) ValidateEnumValue ¶ added in v65.68.0

func (m UpdateMySqlMigrationDetails) 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 UpdateMySqlObjectStorageDataTransferMediumDetails ¶ added in v65.68.0

type UpdateMySqlObjectStorageDataTransferMediumDetails struct {
	ObjectStorageBucket *UpdateObjectStoreBucket `mandatory:"false" json:"objectStorageBucket"`
}

UpdateMySqlObjectStorageDataTransferMediumDetails OCI Object Storage bucket will be used to store dump files for the migration.

func (UpdateMySqlObjectStorageDataTransferMediumDetails) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (UpdateMySqlObjectStorageDataTransferMediumDetails) String ¶ added in v65.68.0

func (UpdateMySqlObjectStorageDataTransferMediumDetails) ValidateEnumValue ¶ added in v65.68.0

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 UpdateMysqlConnectionDetails ¶ added in v65.68.0

type UpdateMysqlConnectionDetails struct {

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// A user-friendly description. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	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"`

	// OCI resource ID.
	VaultId *string `mandatory:"false" json:"vaultId"`

	// The OCID of the key used in cryptographic operations.
	KeyId *string `mandatory:"false" json:"keyId"`

	// OCI resource ID.
	SubnetId *string `mandatory:"false" json:"subnetId"`

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

	// The username (credential) used when creating or updating this resource.
	Username *string `mandatory:"false" json:"username"`

	// The password (credential) used when creating or updating this resource.
	Password *string `mandatory:"false" json:"password"`

	// The username (credential) used when creating or updating this resource.
	ReplicationUsername *string `mandatory:"false" json:"replicationUsername"`

	// The password (credential) used when creating or updating this resource.
	ReplicationPassword *string `mandatory:"false" json:"replicationPassword"`

	// The IP Address of the host.
	Host *string `mandatory:"false" json:"host"`

	// The port to be used for the connection.
	Port *int `mandatory:"false" json:"port"`

	// The name of the database being referenced.
	DatabaseName *string `mandatory:"false" json:"databaseName"`

	// Database Certificate - The base64 encoded content of mysql.pem file
	// containing the server public key (for 1 and 2-way SSL).
	SslCa *string `mandatory:"false" json:"sslCa"`

	// Certificates revoked by certificate authorities (CA).
	// Server certificate must not be on this list (for 1 and 2-way SSL).
	// Note: This is an optional and that too only applicable if TLS/MTLS option is selected.
	SslCrl *string `mandatory:"false" json:"sslCrl"`

	// Client Certificate - The base64 encoded content of client-cert.pem file
	// containing the client public key (for 2-way SSL).
	SslCert *string `mandatory:"false" json:"sslCert"`

	// Client Key - The client-key.pem containing the client private key (for 2-way SSL).
	SslKey *string `mandatory:"false" json:"sslKey"`

	// An array of name-value pair attribute entries.
	AdditionalAttributes []NameValuePair `mandatory:"false" json:"additionalAttributes"`

	// The OCID of the database system being referenced.
	DbSystemId *string `mandatory:"false" json:"dbSystemId"`

	// Security Type for MySQL.
	SecurityProtocol MysqlConnectionSecurityProtocolEnum `mandatory:"false" json:"securityProtocol,omitempty"`

	// SSL modes for MySQL.
	SslMode MysqlConnectionSslModeEnum `mandatory:"false" json:"sslMode,omitempty"`
}

UpdateMysqlConnectionDetails The information to update a MySQL Connection.

func (UpdateMysqlConnectionDetails) GetDefinedTags ¶ added in v65.68.0

func (m UpdateMysqlConnectionDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateMysqlConnectionDetails) GetDescription ¶ added in v65.68.0

func (m UpdateMysqlConnectionDetails) GetDescription() *string

GetDescription returns Description

func (UpdateMysqlConnectionDetails) GetDisplayName ¶ added in v65.68.0

func (m UpdateMysqlConnectionDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateMysqlConnectionDetails) GetFreeformTags ¶ added in v65.68.0

func (m UpdateMysqlConnectionDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateMysqlConnectionDetails) GetKeyId ¶ added in v65.68.0

func (m UpdateMysqlConnectionDetails) GetKeyId() *string

GetKeyId returns KeyId

func (UpdateMysqlConnectionDetails) GetNsgIds ¶ added in v65.68.0

func (m UpdateMysqlConnectionDetails) GetNsgIds() []string

GetNsgIds returns NsgIds

func (UpdateMysqlConnectionDetails) GetPassword ¶ added in v65.68.0

func (m UpdateMysqlConnectionDetails) GetPassword() *string

GetPassword returns Password

func (UpdateMysqlConnectionDetails) GetReplicationPassword ¶ added in v65.68.0

func (m UpdateMysqlConnectionDetails) GetReplicationPassword() *string

GetReplicationPassword returns ReplicationPassword

func (UpdateMysqlConnectionDetails) GetReplicationUsername ¶ added in v65.68.0

func (m UpdateMysqlConnectionDetails) GetReplicationUsername() *string

GetReplicationUsername returns ReplicationUsername

func (UpdateMysqlConnectionDetails) GetSubnetId ¶ added in v65.68.0

func (m UpdateMysqlConnectionDetails) GetSubnetId() *string

GetSubnetId returns SubnetId

func (UpdateMysqlConnectionDetails) GetUsername ¶ added in v65.68.0

func (m UpdateMysqlConnectionDetails) GetUsername() *string

GetUsername returns Username

func (UpdateMysqlConnectionDetails) GetVaultId ¶ added in v65.68.0

func (m UpdateMysqlConnectionDetails) GetVaultId() *string

GetVaultId returns VaultId

func (UpdateMysqlConnectionDetails) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (UpdateMysqlConnectionDetails) String ¶ added in v65.68.0

func (UpdateMysqlConnectionDetails) ValidateEnumValue ¶ added in v65.68.0

func (m UpdateMysqlConnectionDetails) 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 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 UpdateOracleAdvisorSettings ¶ added in v65.68.0

type UpdateOracleAdvisorSettings 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"`
}

UpdateOracleAdvisorSettings Optional Pre-Migration advisor settings.

func (UpdateOracleAdvisorSettings) String ¶ added in v65.68.0

func (UpdateOracleAdvisorSettings) ValidateEnumValue ¶ added in v65.68.0

func (m UpdateOracleAdvisorSettings) 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 UpdateOracleAwsS3DataTransferMediumDetails ¶ added in v65.68.0

type UpdateOracleAwsS3DataTransferMediumDetails 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"`
}

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

func (UpdateOracleAwsS3DataTransferMediumDetails) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (UpdateOracleAwsS3DataTransferMediumDetails) String ¶ added in v65.68.0

func (UpdateOracleAwsS3DataTransferMediumDetails) ValidateEnumValue ¶ added in v65.68.0

func (m UpdateOracleAwsS3DataTransferMediumDetails) 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 UpdateOracleConnectionDetails ¶ added in v65.68.0

type UpdateOracleConnectionDetails struct {

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// A user-friendly description. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	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"`

	// OCI resource ID.
	VaultId *string `mandatory:"false" json:"vaultId"`

	// The OCID of the key used in cryptographic operations.
	KeyId *string `mandatory:"false" json:"keyId"`

	// OCI resource ID.
	SubnetId *string `mandatory:"false" json:"subnetId"`

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

	// The username (credential) used when creating or updating this resource.
	Username *string `mandatory:"false" json:"username"`

	// The password (credential) used when creating or updating this resource.
	Password *string `mandatory:"false" json:"password"`

	// The username (credential) used when creating or updating this resource.
	ReplicationUsername *string `mandatory:"false" json:"replicationUsername"`

	// The password (credential) used when creating or updating this resource.
	ReplicationPassword *string `mandatory:"false" json:"replicationPassword"`

	// Connect descriptor or Easy Connect Naming method used to connect to a database.
	ConnectionString *string `mandatory:"false" json:"connectionString"`

	// The wallet contents used to make connections to a database.  This
	// attribute is expected to be base64 encoded.
	Wallet *string `mandatory:"false" json:"wallet"`

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

	// Name of the host the SSH key is valid for.
	SshHost *string `mandatory:"false" json:"sshHost"`

	// Private SSH key string.
	SshKey *string `mandatory:"false" json:"sshKey"`

	// The username (credential) used when creating or updating this resource.
	SshUser *string `mandatory:"false" json:"sshUser"`

	// Sudo location
	SshSudoLocation *string `mandatory:"false" json:"sshSudoLocation"`
}

UpdateOracleConnectionDetails The information to update an Oracle Database Connection.

func (UpdateOracleConnectionDetails) GetDefinedTags ¶ added in v65.68.0

func (m UpdateOracleConnectionDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateOracleConnectionDetails) GetDescription ¶ added in v65.68.0

func (m UpdateOracleConnectionDetails) GetDescription() *string

GetDescription returns Description

func (UpdateOracleConnectionDetails) GetDisplayName ¶ added in v65.68.0

func (m UpdateOracleConnectionDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateOracleConnectionDetails) GetFreeformTags ¶ added in v65.68.0

func (m UpdateOracleConnectionDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateOracleConnectionDetails) GetKeyId ¶ added in v65.68.0

func (m UpdateOracleConnectionDetails) GetKeyId() *string

GetKeyId returns KeyId

func (UpdateOracleConnectionDetails) GetNsgIds ¶ added in v65.68.0

func (m UpdateOracleConnectionDetails) GetNsgIds() []string

GetNsgIds returns NsgIds

func (UpdateOracleConnectionDetails) GetPassword ¶ added in v65.68.0

func (m UpdateOracleConnectionDetails) GetPassword() *string

GetPassword returns Password

func (UpdateOracleConnectionDetails) GetReplicationPassword ¶ added in v65.68.0

func (m UpdateOracleConnectionDetails) GetReplicationPassword() *string

GetReplicationPassword returns ReplicationPassword

func (UpdateOracleConnectionDetails) GetReplicationUsername ¶ added in v65.68.0

func (m UpdateOracleConnectionDetails) GetReplicationUsername() *string

GetReplicationUsername returns ReplicationUsername

func (UpdateOracleConnectionDetails) GetSubnetId ¶ added in v65.68.0

func (m UpdateOracleConnectionDetails) GetSubnetId() *string

GetSubnetId returns SubnetId

func (UpdateOracleConnectionDetails) GetUsername ¶ added in v65.68.0

func (m UpdateOracleConnectionDetails) GetUsername() *string

GetUsername returns Username

func (UpdateOracleConnectionDetails) GetVaultId ¶ added in v65.68.0

func (m UpdateOracleConnectionDetails) GetVaultId() *string

GetVaultId returns VaultId

func (UpdateOracleConnectionDetails) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (UpdateOracleConnectionDetails) String ¶ added in v65.68.0

func (UpdateOracleConnectionDetails) ValidateEnumValue ¶ added in v65.68.0

func (m UpdateOracleConnectionDetails) 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 UpdateOracleDataTransferMediumDetails ¶ added in v65.68.0

type UpdateOracleDataTransferMediumDetails interface {
}

UpdateOracleDataTransferMediumDetails Optional additional properties for data transfer.

type UpdateOracleDataTransferMediumDetailsTypeEnum ¶ added in v65.68.0

type UpdateOracleDataTransferMediumDetailsTypeEnum string

UpdateOracleDataTransferMediumDetailsTypeEnum Enum with underlying type: string

const (
	UpdateOracleDataTransferMediumDetailsTypeDblink        UpdateOracleDataTransferMediumDetailsTypeEnum = "DBLINK"
	UpdateOracleDataTransferMediumDetailsTypeObjectStorage UpdateOracleDataTransferMediumDetailsTypeEnum = "OBJECT_STORAGE"
	UpdateOracleDataTransferMediumDetailsTypeAwsS3         UpdateOracleDataTransferMediumDetailsTypeEnum = "AWS_S3"
	UpdateOracleDataTransferMediumDetailsTypeNfs           UpdateOracleDataTransferMediumDetailsTypeEnum = "NFS"
)

Set of constants representing the allowable values for UpdateOracleDataTransferMediumDetailsTypeEnum

func GetMappingUpdateOracleDataTransferMediumDetailsTypeEnum ¶ added in v65.68.0

func GetMappingUpdateOracleDataTransferMediumDetailsTypeEnum(val string) (UpdateOracleDataTransferMediumDetailsTypeEnum, bool)

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

func GetUpdateOracleDataTransferMediumDetailsTypeEnumValues ¶ added in v65.68.0

func GetUpdateOracleDataTransferMediumDetailsTypeEnumValues() []UpdateOracleDataTransferMediumDetailsTypeEnum

GetUpdateOracleDataTransferMediumDetailsTypeEnumValues Enumerates the set of values for UpdateOracleDataTransferMediumDetailsTypeEnum

type UpdateOracleDbLinkDataTransferMediumDetails ¶ added in v65.68.0

type UpdateOracleDbLinkDataTransferMediumDetails struct {
	ObjectStorageBucket *UpdateObjectStoreBucket `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"`
}

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

func (UpdateOracleDbLinkDataTransferMediumDetails) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (UpdateOracleDbLinkDataTransferMediumDetails) String ¶ added in v65.68.0

func (UpdateOracleDbLinkDataTransferMediumDetails) ValidateEnumValue ¶ added in v65.68.0

func (m UpdateOracleDbLinkDataTransferMediumDetails) 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 UpdateOracleGgsDeploymentDetails ¶ added in v65.68.0

type UpdateOracleGgsDeploymentDetails 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"`
}

UpdateOracleGgsDeploymentDetails Optional settings for Oracle GoldenGate processes

func (UpdateOracleGgsDeploymentDetails) String ¶ added in v65.68.0

func (UpdateOracleGgsDeploymentDetails) ValidateEnumValue ¶ added in v65.68.0

func (m UpdateOracleGgsDeploymentDetails) 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 UpdateOracleInitialLoadSettings ¶ added in v65.68.0

type UpdateOracleInitialLoadSettings struct {

	// Oracle Job Mode
	JobMode JobModeOracleEnum `mandatory:"true" json:"jobMode"`

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

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

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

	ImportDirectoryObject *UpdateDirectoryObject `mandatory:"false" json:"importDirectoryObject"`

	// Defines remapping to be applied to objects as they are processed.
	MetadataRemaps []MetadataRemap `mandatory:"false" json:"metadataRemaps"`
}

UpdateOracleInitialLoadSettings Optional settings for Data Pump Export and Import jobs

func (UpdateOracleInitialLoadSettings) String ¶ added in v65.68.0

func (*UpdateOracleInitialLoadSettings) UnmarshalJSON ¶ added in v65.68.0

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

UnmarshalJSON unmarshals from json

func (UpdateOracleInitialLoadSettings) ValidateEnumValue ¶ added in v65.68.0

func (m UpdateOracleInitialLoadSettings) 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 UpdateOracleMigrationDetails ¶ added in v65.68.0

type UpdateOracleMigrationDetails struct {

	// A user-friendly description. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The OCID of the resource being referenced.
	SourceDatabaseConnectionId *string `mandatory:"false" json:"sourceDatabaseConnectionId"`

	// The OCID of the resource being referenced.
	TargetDatabaseConnectionId *string `mandatory:"false" json:"targetDatabaseConnectionId"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags. Example: {"Department": "Finance"}
	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"`

	DataTransferMediumDetails UpdateOracleDataTransferMediumDetails `mandatory:"false" json:"dataTransferMediumDetails"`

	InitialLoadSettings *UpdateOracleInitialLoadSettings `mandatory:"false" json:"initialLoadSettings"`

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

	HubDetails *UpdateGoldenGateHubDetails `mandatory:"false" json:"hubDetails"`

	GgsDetails *UpdateOracleGgsDeploymentDetails `mandatory:"false" json:"ggsDetails"`

	// List of Migration Parameter objects.
	AdvancedParameters []MigrationParameterDetails `mandatory:"false" json:"advancedParameters"`

	// The OCID of the resource being referenced.
	SourceContainerDatabaseConnectionId *string `mandatory:"false" json:"sourceContainerDatabaseConnectionId"`

	// The type of the migration to be performed.
	// Example: ONLINE if no downtime is preferred for a migration. This method uses Oracle GoldenGate for replication.
	Type MigrationTypesEnum `mandatory:"false" json:"type,omitempty"`
}

UpdateOracleMigrationDetails Create Migration resource parameters.

func (UpdateOracleMigrationDetails) GetDefinedTags ¶ added in v65.68.0

func (m UpdateOracleMigrationDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateOracleMigrationDetails) GetDescription ¶ added in v65.68.0

func (m UpdateOracleMigrationDetails) GetDescription() *string

GetDescription returns Description

func (UpdateOracleMigrationDetails) GetDisplayName ¶ added in v65.68.0

func (m UpdateOracleMigrationDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateOracleMigrationDetails) GetFreeformTags ¶ added in v65.68.0

func (m UpdateOracleMigrationDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateOracleMigrationDetails) GetSourceDatabaseConnectionId ¶ added in v65.68.0

func (m UpdateOracleMigrationDetails) GetSourceDatabaseConnectionId() *string

GetSourceDatabaseConnectionId returns SourceDatabaseConnectionId

func (UpdateOracleMigrationDetails) GetTargetDatabaseConnectionId ¶ added in v65.68.0

func (m UpdateOracleMigrationDetails) GetTargetDatabaseConnectionId() *string

GetTargetDatabaseConnectionId returns TargetDatabaseConnectionId

func (UpdateOracleMigrationDetails) GetType ¶ added in v65.68.0

GetType returns Type

func (UpdateOracleMigrationDetails) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (UpdateOracleMigrationDetails) String ¶ added in v65.68.0

func (*UpdateOracleMigrationDetails) UnmarshalJSON ¶ added in v65.68.0

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

UnmarshalJSON unmarshals from json

func (UpdateOracleMigrationDetails) ValidateEnumValue ¶ added in v65.68.0

func (m UpdateOracleMigrationDetails) 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 UpdateOracleNfsDataTransferMediumDetails ¶ added in v65.68.0

type UpdateOracleNfsDataTransferMediumDetails struct {
	ObjectStorageBucket *UpdateObjectStoreBucket `mandatory:"false" json:"objectStorageBucket"`

	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"`
}

UpdateOracleNfsDataTransferMediumDetails OCI Object Storage bucket will be used to store Data Pump dump files for the migration.

func (UpdateOracleNfsDataTransferMediumDetails) MarshalJSON ¶ added in v65.68.0

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

MarshalJSON marshals to json representation

func (UpdateOracleNfsDataTransferMediumDetails) String ¶ added in v65.68.0

func (*UpdateOracleNfsDataTransferMediumDetails) UnmarshalJSON ¶ added in v65.68.0

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

UnmarshalJSON unmarshals from json

func (UpdateOracleNfsDataTransferMediumDetails) ValidateEnumValue ¶ added in v65.68.0

func (m UpdateOracleNfsDataTransferMediumDetails) 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 UpdateOracleObjectStorageDataTransferMediumDetails ¶ added in v65.68.0

type UpdateOracleObjectStorageDataTransferMediumDetails struct {
	ObjectStorageBucket *UpdateObjectStoreBucket `mandatory:"false" json:"objectStorageBucket"`

	Source HostDumpTransferDetails `mandatory:"false" json:"source"`

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

UpdateOracleObjectStorageDataTransferMediumDetails OCI Object Storage bucket will be used to store Data Pump dump files for the migration.

func (UpdateOracleObjectStorageDataTransferMediumDetails) MarshalJSON ¶ added in v65.68.0

MarshalJSON marshals to json representation

func (UpdateOracleObjectStorageDataTransferMediumDetails) String ¶ added in v65.68.0

func (*UpdateOracleObjectStorageDataTransferMediumDetails) UnmarshalJSON ¶ added in v65.68.0

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

UnmarshalJSON unmarshals from json

func (UpdateOracleObjectStorageDataTransferMediumDetails) ValidateEnumValue ¶ added in v65.68.0

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"`
}

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 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 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