func GetAdbServerlesTablespaceDetailsRemapTargetEnumStringValues() []string
GetAdbServerlesTablespaceDetailsRemapTargetEnumStringValues Enumerates the set of values in String for AdbServerlesTablespaceDetailsRemapTargetEnum
func GetAdvisorResultsEnumStringValues() []string
GetAdvisorResultsEnumStringValues Enumerates the set of values in String for AdvisorResultsEnum
func GetCreateHostDumpTransferDetailsKindEnumStringValues() []string
GetCreateHostDumpTransferDetailsKindEnumStringValues Enumerates the set of values in String for CreateHostDumpTransferDetailsKindEnum
func GetDataPumpEstimateEnumStringValues() []string
GetDataPumpEstimateEnumStringValues Enumerates the set of values in String for DataPumpEstimateEnum
func GetDataPumpExcludeParametersEnumStringValues() []string
GetDataPumpExcludeParametersEnumStringValues Enumerates the set of values in String for DataPumpExcludeParametersEnum
func GetDataPumpJobModeEnumStringValues() []string
GetDataPumpJobModeEnumStringValues Enumerates the set of values in String for DataPumpJobModeEnum
func GetDataPumpTableExistsActionEnumStringValues() []string
GetDataPumpTableExistsActionEnumStringValues Enumerates the set of values in String for DataPumpTableExistsActionEnum
func GetDataPumpTablespaceBlockSizesInKbEnumStringValues() []string
GetDataPumpTablespaceBlockSizesInKbEnumStringValues Enumerates the set of values in String for DataPumpTablespaceBlockSizesInKbEnum
func GetDataTransferMediumDetailsV2TypeEnumStringValues() []string
GetDataTransferMediumDetailsV2TypeEnumStringValues Enumerates the set of values in String for DataTransferMediumDetailsV2TypeEnum
func GetDatabaseConnectionTypesEnumStringValues() []string
GetDatabaseConnectionTypesEnumStringValues Enumerates the set of values in String for DatabaseConnectionTypesEnum
func GetDatabaseManualConnectionSubTypesEnumStringValues() []string
GetDatabaseManualConnectionSubTypesEnumStringValues Enumerates the set of values in String for DatabaseManualConnectionSubTypesEnum
func GetExtractPerformanceProfileEnumStringValues() []string
GetExtractPerformanceProfileEnumStringValues Enumerates the set of values in String for ExtractPerformanceProfileEnum
func GetHostDumpTransferDetailsKindEnumStringValues() []string
GetHostDumpTransferDetailsKindEnumStringValues Enumerates the set of values in String for HostDumpTransferDetailsKindEnum
func GetJobLifecycleStatesEnumStringValues() []string
GetJobLifecycleStatesEnumStringValues Enumerates the set of values in String for JobLifecycleStatesEnum
func GetJobPhaseStatusEnumStringValues() []string
GetJobPhaseStatusEnumStringValues Enumerates the set of values in String for JobPhaseStatusEnum
func GetJobTypesEnumStringValues() []string
GetJobTypesEnumStringValues Enumerates the set of values in String for JobTypesEnum
func GetLifecycleStatesEnumStringValues() []string
GetLifecycleStatesEnumStringValues Enumerates the set of values in String for LifecycleStatesEnum
func GetListAgentImagesSortOrderEnumStringValues() []string
GetListAgentImagesSortOrderEnumStringValues Enumerates the set of values in String for ListAgentImagesSortOrderEnum
func GetListAgentsLifecycleStateEnumStringValues() []string
GetListAgentsLifecycleStateEnumStringValues Enumerates the set of values in String for ListAgentsLifecycleStateEnum
func GetListAgentsSortByEnumStringValues() []string
GetListAgentsSortByEnumStringValues Enumerates the set of values in String for ListAgentsSortByEnum
func GetListAgentsSortOrderEnumStringValues() []string
GetListAgentsSortOrderEnumStringValues Enumerates the set of values in String for ListAgentsSortOrderEnum
func GetListConnectionsLifecycleStateEnumStringValues() []string
GetListConnectionsLifecycleStateEnumStringValues Enumerates the set of values in String for ListConnectionsLifecycleStateEnum
func GetListConnectionsSortByEnumStringValues() []string
GetListConnectionsSortByEnumStringValues Enumerates the set of values in String for ListConnectionsSortByEnum
func GetListConnectionsSortOrderEnumStringValues() []string
GetListConnectionsSortOrderEnumStringValues Enumerates the set of values in String for ListConnectionsSortOrderEnum
func GetListExcludedObjectsReasonCategoryEnumStringValues() []string
GetListExcludedObjectsReasonCategoryEnumStringValues Enumerates the set of values in String for ListExcludedObjectsReasonCategoryEnum
func GetListExcludedObjectsSortByEnumStringValues() []string
GetListExcludedObjectsSortByEnumStringValues Enumerates the set of values in String for ListExcludedObjectsSortByEnum
func GetListExcludedObjectsSortOrderEnumStringValues() []string
GetListExcludedObjectsSortOrderEnumStringValues Enumerates the set of values in String for ListExcludedObjectsSortOrderEnum
func GetListJobsLifecycleStateEnumStringValues() []string
GetListJobsLifecycleStateEnumStringValues Enumerates the set of values in String for ListJobsLifecycleStateEnum
func GetListJobsSortByEnumStringValues() []string
GetListJobsSortByEnumStringValues Enumerates the set of values in String for ListJobsSortByEnum
func GetListJobsSortOrderEnumStringValues() []string
GetListJobsSortOrderEnumStringValues Enumerates the set of values in String for ListJobsSortOrderEnum
func GetListMigrationObjectTypesSortByEnumStringValues() []string
GetListMigrationObjectTypesSortByEnumStringValues Enumerates the set of values in String for ListMigrationObjectTypesSortByEnum
func GetListMigrationObjectTypesSortOrderEnumStringValues() []string
GetListMigrationObjectTypesSortOrderEnumStringValues Enumerates the set of values in String for ListMigrationObjectTypesSortOrderEnum
func GetListMigrationsLifecycleDetailsEnumStringValues() []string
GetListMigrationsLifecycleDetailsEnumStringValues Enumerates the set of values in String for ListMigrationsLifecycleDetailsEnum
func GetListMigrationsLifecycleStateEnumStringValues() []string
GetListMigrationsLifecycleStateEnumStringValues Enumerates the set of values in String for ListMigrationsLifecycleStateEnum
func GetListMigrationsSortByEnumStringValues() []string
GetListMigrationsSortByEnumStringValues Enumerates the set of values in String for ListMigrationsSortByEnum
func GetListMigrationsSortOrderEnumStringValues() []string
GetListMigrationsSortOrderEnumStringValues Enumerates the set of values in String for ListMigrationsSortOrderEnum
func GetListWorkRequestErrorsSortByEnumStringValues() []string
GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestLogsSortByEnumStringValues() []string
GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestsSortByEnumStringValues() []string
GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortOrderEnumStringValues() []string
GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsStatusEnumStringValues() []string
GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum
func GetMetadataRemapTypeEnumStringValues() []string
GetMetadataRemapTypeEnumStringValues Enumerates the set of values in String for MetadataRemapTypeEnum
func GetMigrationDatabaseTargetTypesEnumStringValues() []string
GetMigrationDatabaseTargetTypesEnumStringValues Enumerates the set of values in String for MigrationDatabaseTargetTypesEnum
func GetMigrationDatabaseTargetTypesUpdateEnumStringValues() []string
GetMigrationDatabaseTargetTypesUpdateEnumStringValues Enumerates the set of values in String for MigrationDatabaseTargetTypesUpdateEnum
func GetMigrationLifecycleStatesEnumStringValues() []string
GetMigrationLifecycleStatesEnumStringValues Enumerates the set of values in String for MigrationLifecycleStatesEnum
func GetMigrationStatusEnumStringValues() []string
GetMigrationStatusEnumStringValues Enumerates the set of values in String for MigrationStatusEnum
func GetMigrationTypesEnumStringValues() []string
GetMigrationTypesEnumStringValues Enumerates the set of values in String for MigrationTypesEnum
func GetObjectStatusEnumStringValues() []string
GetObjectStatusEnumStringValues Enumerates the set of values in String for ObjectStatusEnum
func GetOdmsJobPhasesEnumStringValues() []string
GetOdmsJobPhasesEnumStringValues Enumerates the set of values in String for OdmsJobPhasesEnum
func GetOdmsPhaseActionsEnumStringValues() []string
GetOdmsPhaseActionsEnumStringValues Enumerates the set of values in String for OdmsPhaseActionsEnum
func GetOperationStatusEnumStringValues() []string
GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
func GetOperationTypesEnumStringValues() []string
GetOperationTypesEnumStringValues Enumerates the set of values in String for OperationTypesEnum
func GetPhaseExtractTypesEnumStringValues() []string
GetPhaseExtractTypesEnumStringValues Enumerates the set of values in String for PhaseExtractTypesEnum
func GetReasonKeywordsEnumStringValues() []string
GetReasonKeywordsEnumStringValues Enumerates the set of values in String for ReasonKeywordsEnum
func GetReplicatPerformanceProfileEnumStringValues() []string
GetReplicatPerformanceProfileEnumStringValues Enumerates the set of values in String for ReplicatPerformanceProfileEnum
func GetResultTypeEnumStringValues() []string
GetResultTypeEnumStringValues Enumerates the set of values in String for ResultTypeEnum
func GetSortOrdersEnumStringValues() []string
GetSortOrdersEnumStringValues Enumerates the set of values in String for SortOrdersEnum
func GetUnsupportedDatabaseObjectTypeEnumStringValues() []string
GetUnsupportedDatabaseObjectTypeEnumStringValues Enumerates the set of values in String for UnsupportedDatabaseObjectTypeEnum
func GetUpdateHostDumpTransferDetailsKindEnumStringValues() []string
GetUpdateHostDumpTransferDetailsKindEnumStringValues Enumerates the set of values in String for UpdateHostDumpTransferDetailsKindEnum
func GetWorkRequestResourceActionTypeEnumStringValues() []string
GetWorkRequestResourceActionTypeEnumStringValues Enumerates the set of values in String for WorkRequestResourceActionTypeEnum
func GetWorkRequestSummaryStatusEnumStringValues() []string
GetWorkRequestSummaryStatusEnumStringValues Enumerates the set of values in String for WorkRequestSummaryStatusEnum
AbortJobRequest wrapper for the AbortJob operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/AbortJob.go.html to see an example of how to use 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 }
func (request AbortJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AbortJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AbortJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AbortJobRequest) String() string
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
AbortJobResponse wrapper for the AbortJob operation
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"` }
func (response AbortJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AbortJobResponse) String() string
AdbDedicatedAutoCreateTablespaceDetails Migration tablespace settings valid for ADB-D target type using auto create feature
type AdbDedicatedAutoCreateTablespaceDetails struct { // True to auto-create tablespace in the target Database. IsAutoCreate *bool `mandatory:"false" json:"isAutoCreate"` // True set tablespace to big file. IsBigFile *bool `mandatory:"false" json:"isBigFile"` // Size of extend in MB. Can only be specified if 'isBigFile' property is set to true. ExtendSizeInMBs *int `mandatory:"false" json:"extendSizeInMBs"` // Size of Oracle database blocks in KB. BlockSizeInKBs DataPumpTablespaceBlockSizesInKbEnum `mandatory:"false" json:"blockSizeInKBs,omitempty"` }
func (m AdbDedicatedAutoCreateTablespaceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AdbDedicatedAutoCreateTablespaceDetails) String() string
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
AdbDedicatedRemapTargetTablespaceDetails Migration tablespace settings valid for ADB-D target type using remap feature
type AdbDedicatedRemapTargetTablespaceDetails struct { // Name of tablespace at target to which the source database tablespace need to be remapped. RemapTarget *string `mandatory:"false" json:"remapTarget"` }
func (m AdbDedicatedRemapTargetTablespaceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AdbDedicatedRemapTargetTablespaceDetails) String() string
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
AdbServerlesTablespaceDetails Migration tablespace settings valid for ADB-D target type using remap feature
type AdbServerlesTablespaceDetails struct { // Name of tablespace at target to which the source database tablespace need to be remapped. RemapTarget AdbServerlesTablespaceDetailsRemapTargetEnum `mandatory:"false" json:"remapTarget,omitempty"` }
func (m AdbServerlesTablespaceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AdbServerlesTablespaceDetails) String() string
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
AdbServerlesTablespaceDetailsRemapTargetEnum Enum with underlying type: string
type AdbServerlesTablespaceDetailsRemapTargetEnum string
Set of constants representing the allowable values for AdbServerlesTablespaceDetailsRemapTargetEnum
const ( AdbServerlesTablespaceDetailsRemapTargetData AdbServerlesTablespaceDetailsRemapTargetEnum = "DATA" )
func GetAdbServerlesTablespaceDetailsRemapTargetEnumValues() []AdbServerlesTablespaceDetailsRemapTargetEnum
GetAdbServerlesTablespaceDetailsRemapTargetEnumValues Enumerates the set of values for AdbServerlesTablespaceDetailsRemapTargetEnum
func GetMappingAdbServerlesTablespaceDetailsRemapTargetEnum(val string) (AdbServerlesTablespaceDetailsRemapTargetEnum, bool)
GetMappingAdbServerlesTablespaceDetailsRemapTargetEnum performs case Insensitive comparison on enum value and return the desired enum
AddMigrationObjectsRequest wrapper for the AddMigrationObjects operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/AddMigrationObjects.go.html to see an example of how to use 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 }
func (request AddMigrationObjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AddMigrationObjectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AddMigrationObjectsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AddMigrationObjectsRequest) String() string
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
AddMigrationObjectsResponse wrapper for the AddMigrationObjects operation
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"` }
func (response AddMigrationObjectsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AddMigrationObjectsResponse) String() string
AdminCredentials Database Administrator Credentials details.
type AdminCredentials struct { // Administrator username Username *string `mandatory:"true" json:"username"` }
func (m AdminCredentials) String() string
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
AdvisorReport Pre-Migration advisor report details.
type AdvisorReport struct { // Pre-Migration advisor result. Result AdvisorResultsEnum `mandatory:"true" json:"result"` // Number of Fatal results in the advisor report. NumberOfFatal *int `mandatory:"true" json:"numberOfFatal"` // Number of Fatal Blocker results in the advisor report. NumberOfFatalBlockers *int `mandatory:"true" json:"numberOfFatalBlockers"` // Number of Warning results in the advisor report. NumberOfWarnings *int `mandatory:"true" json:"numberOfWarnings"` // Number of Informational results in the advisor report. NumberOfInformationalResults *int `mandatory:"true" json:"numberOfInformationalResults"` ReportLocationDetails *AdvisorReportLocationDetails `mandatory:"false" json:"reportLocationDetails"` }
func (m AdvisorReport) String() string
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
AdvisorReportBucketDetails Details to access Pre-Migration Advisor report in the specified Object Storage bucket, if any.
type AdvisorReportBucketDetails struct { // Name of the bucket containing the Pre-Migration Advisor report. BucketName *string `mandatory:"true" json:"bucketName"` // Object Storage namespace. Namespace *string `mandatory:"true" json:"namespace"` // Pre-Migration Advisor report object name. ObjectName *string `mandatory:"true" json:"objectName"` }
func (m AdvisorReportBucketDetails) String() string
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
AdvisorReportLocationDetails Details to access Pre-Migration Advisor report.
type AdvisorReportLocationDetails struct { ObjectStorageDetails *AdvisorReportBucketDetails `mandatory:"false" json:"objectStorageDetails"` // Path in the Source Registered Connection where the Pre-Migration advisor report can be accessed. LocationInSource *string `mandatory:"false" json:"locationInSource"` }
func (m AdvisorReportLocationDetails) String() string
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
AdvisorResultsEnum Enum with underlying type: string
type AdvisorResultsEnum string
Set of constants representing the allowable values for AdvisorResultsEnum
const ( AdvisorResultsFatal AdvisorResultsEnum = "FATAL" AdvisorResultsBlocker AdvisorResultsEnum = "BLOCKER" AdvisorResultsWarning AdvisorResultsEnum = "WARNING" AdvisorResultsInformational AdvisorResultsEnum = "INFORMATIONAL" AdvisorResultsPass AdvisorResultsEnum = "PASS" )
func GetAdvisorResultsEnumValues() []AdvisorResultsEnum
GetAdvisorResultsEnumValues Enumerates the set of values for AdvisorResultsEnum
func GetMappingAdvisorResultsEnum(val string) (AdvisorResultsEnum, bool)
GetMappingAdvisorResultsEnum performs case Insensitive comparison on enum value and return the desired enum
AdvisorSettings Optional Pre-Migration advisor settings.
type AdvisorSettings struct { // True to skip the Pre-Migration Advisor execution. Default is false. IsSkipAdvisor *bool `mandatory:"false" json:"isSkipAdvisor"` // True to not interrupt migration execution due to Pre-Migration Advisor errors. Default is false. IsIgnoreErrors *bool `mandatory:"false" json:"isIgnoreErrors"` }
func (m AdvisorSettings) String() string
func (m AdvisorSettings) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Agent ODMS Agent Details
type Agent struct { // The OCID of the resource Id *string `mandatory:"true" json:"id"` // ODMS Agent name DisplayName *string `mandatory:"true" json:"displayName"` // OCID of the compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the Stream StreamId *string `mandatory:"true" json:"streamId"` // ODMS Agent version Version *string `mandatory:"true" json:"version"` // The time the Agent was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time of the last Agent details update. An RFC3339 formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The current state of the ODMS on-premises Agent. LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"` // ODMS Agent public key. PublicKey *string `mandatory:"false" json:"publicKey"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m Agent) String() string
func (m Agent) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AgentCollection Results of an Agent search. Contains AgentSummary items.
type AgentCollection struct { // Items in collection. Items []AgentSummary `mandatory:"true" json:"items"` }
func (m AgentCollection) String() string
func (m AgentCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AgentImageCollection Results of an ODMS Agent Image search. Contains AgentImageSummary items.
type AgentImageCollection struct { // Items in collection. Items []AgentImageSummary `mandatory:"true" json:"items"` }
func (m AgentImageCollection) String() string
func (m AgentImageCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AgentImageSummary Available ODMS Agent Images.
type AgentImageSummary struct { // ODMS Agent Image version. Version *string `mandatory:"true" json:"version"` // URL to download Agent Image of the ODMS Agent. DownloadUrl *string `mandatory:"true" json:"downloadUrl"` }
func (m AgentImageSummary) String() string
func (m AgentImageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AgentSummary ODMS Agent Details
type AgentSummary struct { // The OCID of the resource Id *string `mandatory:"true" json:"id"` // ODMS Agent name DisplayName *string `mandatory:"true" json:"displayName"` // OCID of the compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // ODMS Agent version Version *string `mandatory:"true" json:"version"` // The time the Agent was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the ODMS on-premises Agent. LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"` // The OCID of the Stream StreamId *string `mandatory:"false" json:"streamId"` // The time of the last Agent details update. An RFC3339 formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m AgentSummary) String() string
func (m AgentSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwsS3DataTransferMediumDetails AWS S3 bucket details used for source Connection resources with RDS_ORACLE type. Only supported for source Connection resources with RDS_ORACLE type.
type AwsS3DataTransferMediumDetails struct { // S3 bucket name. Name *string `mandatory:"false" json:"name"` // AWS region code where the S3 bucket is located. // Region code should match the documented available regions: // https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions Region *string `mandatory:"false" json:"region"` // AWS access key credentials identifier // Details: https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys AccessKeyId *string `mandatory:"false" json:"accessKeyId"` // AWS secret access key credentials // Details: https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys SecretAccessKey *string `mandatory:"false" json:"secretAccessKey"` }
func (m AwsS3DataTransferMediumDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwsS3DataTransferMediumDetails) String() string
func (m AwsS3DataTransferMediumDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwsS3Details AWS S3 bucket details used for source Connection resources with RDS_ORACLE type. Only supported for source Connection resources with RDS_ORACLE type.
type AwsS3Details struct { // S3 bucket name. Name *string `mandatory:"true" json:"name"` // AWS region code where the S3 bucket is located. // Region code should match the documented available regions: // https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions Region *string `mandatory:"true" json:"region"` }
func (m AwsS3Details) String() string
func (m AwsS3Details) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeAgentCompartmentDetails Change Agent compartment details
type ChangeAgentCompartmentDetails struct { // The OCID of the compartment to move the resource to. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeAgentCompartmentDetails) String() string
func (m ChangeAgentCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeAgentCompartmentRequest wrapper for the ChangeAgentCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/ChangeAgentCompartment.go.html to see an example of how to use ChangeAgentCompartmentRequest.
type ChangeAgentCompartmentRequest struct { // The OCID of the agent AgentId *string `mandatory:"true" contributesTo:"path" name:"agentId"` // Details to change the compartment. ChangeAgentCompartmentDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeAgentCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeAgentCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeAgentCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeAgentCompartmentRequest) String() string
func (request ChangeAgentCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeAgentCompartmentResponse wrapper for the ChangeAgentCompartment operation
type ChangeAgentCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeAgentCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeAgentCompartmentResponse) String() string
ChangeConnectionCompartmentDetails Change Database Connection compartment details.
type ChangeConnectionCompartmentDetails struct { // The OCID of the compartment to move the resource to. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeConnectionCompartmentDetails) String() string
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
ChangeConnectionCompartmentRequest wrapper for the ChangeConnectionCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/ChangeConnectionCompartment.go.html to see an example of how to use 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 }
func (request ChangeConnectionCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeConnectionCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeConnectionCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeConnectionCompartmentRequest) String() string
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
ChangeConnectionCompartmentResponse wrapper for the ChangeConnectionCompartment operation
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"` }
func (response ChangeConnectionCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeConnectionCompartmentResponse) String() string
ChangeMigrationCompartmentDetails Change Migration compartment details.
type ChangeMigrationCompartmentDetails struct { // The OCID of the compartment to move the resource to. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeMigrationCompartmentDetails) String() string
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
ChangeMigrationCompartmentRequest wrapper for the ChangeMigrationCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/ChangeMigrationCompartment.go.html to see an example of how to use 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 }
func (request ChangeMigrationCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeMigrationCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeMigrationCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeMigrationCompartmentRequest) String() string
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
ChangeMigrationCompartmentResponse wrapper for the ChangeMigrationCompartment operation
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"` }
func (response ChangeMigrationCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeMigrationCompartmentResponse) String() string
CloneMigrationDetails Details that will override an existing Migration configuration that will be cloned.
type CloneMigrationDetails struct { // The OCID of the Source Database Connection. SourceDatabaseConnectionId *string `mandatory:"true" json:"sourceDatabaseConnectionId"` // The OCID of the Target Database Connection. TargetDatabaseConnectionId *string `mandatory:"true" json:"targetDatabaseConnectionId"` // Migration Display Name DisplayName *string `mandatory:"false" json:"displayName"` // OCID of the compartment CompartmentId *string `mandatory:"false" json:"compartmentId"` // The OCID of the registered on-premises ODMS Agent. Only valid for Offline Logical Migrations. AgentId *string `mandatory:"false" json:"agentId"` // The OCID of the Source Container Database Connection. Only used for Online migrations. // Only Connections of type Non-Autonomous can be used as source container databases. SourceContainerDatabaseConnectionId *string `mandatory:"false" json:"sourceContainerDatabaseConnectionId"` // Database objects to exclude from migration, cannot be specified alongside 'includeObjects' ExcludeObjects []DatabaseObject `mandatory:"false" json:"excludeObjects"` // Database objects to include from migration, cannot be specified alongside 'excludeObjects' IncludeObjects []DatabaseObject `mandatory:"false" json:"includeObjects"` VaultDetails *CreateVaultDetails `mandatory:"false" json:"vaultDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CloneMigrationDetails) String() string
func (m CloneMigrationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CloneMigrationRequest wrapper for the CloneMigration operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/CloneMigration.go.html to see an example of how to use 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 }
func (request CloneMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CloneMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CloneMigrationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CloneMigrationRequest) String() string
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
CloneMigrationResponse wrapper for the CloneMigration operation
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"` }
func (response CloneMigrationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CloneMigrationResponse) String() string
ConnectDescriptor Connect Descriptor details.
type ConnectDescriptor struct { // Host of the connect descriptor. Host *string `mandatory:"false" json:"host"` // Port of the connect descriptor. Port *int `mandatory:"false" json:"port"` // Database service name. DatabaseServiceName *string `mandatory:"false" json:"databaseServiceName"` // Connect string. ConnectString *string `mandatory:"false" json:"connectString"` }
func (m ConnectDescriptor) String() string
func (m ConnectDescriptor) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Connection Database Connection resource used for migrations.
type Connection struct { // The OCID of the resource Id *string `mandatory:"true" json:"id"` // OCID of the compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // Database connection type. DatabaseType DatabaseConnectionTypesEnum `mandatory:"true" json:"databaseType"` // Database Connection display name identifier. DisplayName *string `mandatory:"true" json:"displayName"` // The current state of the Connection resource. LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"` // The time the Connection resource was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Database manual connection subtype. This value can only be specified for manual connections. ManualDatabaseSubType DatabaseManualConnectionSubTypesEnum `mandatory:"false" json:"manualDatabaseSubType,omitempty"` // True if the Autonomous Connection is dedicated. Not provided for Non-Autonomous Connections. IsDedicated *bool `mandatory:"false" json:"isDedicated"` // The OCID of the cloud database. DatabaseId *string `mandatory:"false" json:"databaseId"` ConnectDescriptor *ConnectDescriptor `mandatory:"false" json:"connectDescriptor"` // OCID of the Secret in the OCI vault containing the Database Connection credentials. CredentialsSecretId *string `mandatory:"false" json:"credentialsSecretId"` // This name is the distinguished name used while creating the certificate on target database. CertificateTdn *string `mandatory:"false" json:"certificateTdn"` SshDetails *SshDetails `mandatory:"false" json:"sshDetails"` AdminCredentials *AdminCredentials `mandatory:"false" json:"adminCredentials"` ReplicationCredentials *AdminCredentials `mandatory:"false" json:"replicationCredentials"` PrivateEndpoint *PrivateEndpointDetails `mandatory:"false" json:"privateEndpoint"` VaultDetails *VaultDetails `mandatory:"false" json:"vaultDetails"` // A message describing the current state in more detail. For example, can be used to provide actionable information // for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // The time of the last Connection resource details update. An RFC3339 formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // An array of Network Security Group OCIDs used to define network access for Connections. NsgIds []string `mandatory:"false" json:"nsgIds"` }
func (m Connection) String() string
func (m Connection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ConnectionCollection Results of a Database Connection search. Contains DatabaseConnectionSummary items.
type ConnectionCollection struct { // Items in collection. Items []ConnectionSummary `mandatory:"true" json:"items"` }
func (m ConnectionCollection) String() string
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
ConnectionDiagnosticsRequest wrapper for the ConnectionDiagnostics operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/ConnectionDiagnostics.go.html to see an example of how to use ConnectionDiagnosticsRequest.
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 }
func (request ConnectionDiagnosticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ConnectionDiagnosticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ConnectionDiagnosticsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ConnectionDiagnosticsRequest) String() string
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
ConnectionDiagnosticsResponse wrapper for the ConnectionDiagnostics operation
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"` }
func (response ConnectionDiagnosticsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ConnectionDiagnosticsResponse) String() string
ConnectionSummary Database Connection Summary.
type ConnectionSummary struct { // The OCID of the resource Id *string `mandatory:"true" json:"id"` // OCID of the compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // Database connection type. DatabaseType DatabaseConnectionTypesEnum `mandatory:"true" json:"databaseType"` // Database Connection display name identifier. DisplayName *string `mandatory:"true" json:"displayName"` // The time the Connection resource was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the Connection resource. LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"` // Database manual connection subtype. This value can only be specified for manual connections. ManualDatabaseSubType DatabaseManualConnectionSubTypesEnum `mandatory:"false" json:"manualDatabaseSubType,omitempty"` // True if the Autonomous Connection is dedicated. Not provided for Non-Autonomous Connections. IsDedicated *bool `mandatory:"false" json:"isDedicated"` // The OCID of the cloud database. DatabaseId *string `mandatory:"false" json:"databaseId"` // The time of the last Connection resource details update. An RFC3339 formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information // for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // An array of Network Security Group OCIDs used to define network access for Connections. NsgIds []string `mandatory:"false" json:"nsgIds"` }
func (m ConnectionSummary) String() string
func (m ConnectionSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateAdbDedicatedAutoCreateTablespaceDetails Migration tablespace settings valid for ADB-D target type using auto create feature.
type CreateAdbDedicatedAutoCreateTablespaceDetails struct { // True to auto-create tablespace in the target Database. IsAutoCreate *bool `mandatory:"false" json:"isAutoCreate"` // True set tablespace to big file. IsBigFile *bool `mandatory:"false" json:"isBigFile"` // Size of extend in MB. Can only be specified if 'isBigFile' property is set to true. ExtendSizeInMBs *int `mandatory:"false" json:"extendSizeInMBs"` // Size of Oracle database blocks in KB. BlockSizeInKBs DataPumpTablespaceBlockSizesInKbEnum `mandatory:"false" json:"blockSizeInKBs,omitempty"` }
func (m CreateAdbDedicatedAutoCreateTablespaceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateAdbDedicatedAutoCreateTablespaceDetails) String() string
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
CreateAdbDedicatedRemapTargetTablespaceDetails Migration tablespace settings valid for ADB-D target type using remap feature.
type CreateAdbDedicatedRemapTargetTablespaceDetails struct { // Name of tablespace at target to which the source database tablespace need to be remapped. RemapTarget *string `mandatory:"false" json:"remapTarget"` }
func (m CreateAdbDedicatedRemapTargetTablespaceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateAdbDedicatedRemapTargetTablespaceDetails) String() string
func (m CreateAdbDedicatedRemapTargetTablespaceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateAdbServerlesTablespaceDetails Migration tablespace settings valid for ADB-S target type using remap feature.
type CreateAdbServerlesTablespaceDetails struct { }
func (m CreateAdbServerlesTablespaceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateAdbServerlesTablespaceDetails) String() string
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
CreateAdminCredentials Database Administrator Credentials details.
type CreateAdminCredentials struct { // Administrator username Username *string `mandatory:"true" json:"username"` // Administrator password Password *string `mandatory:"true" json:"password"` }
func (m CreateAdminCredentials) String() string
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
CreateAdvisorSettings Optional Pre-Migration advisor settings.
type CreateAdvisorSettings struct { // True to skip the Pre-Migration Advisor execution. Default is false. IsSkipAdvisor *bool `mandatory:"false" json:"isSkipAdvisor"` // True to not interrupt migration execution due to Pre-Migration Advisor errors. Default is false. IsIgnoreErrors *bool `mandatory:"false" json:"isIgnoreErrors"` }
func (m CreateAdvisorSettings) String() string
func (m CreateAdvisorSettings) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateAwsS3Details AWS S3 bucket details used for source Connection resources with RDS_ORACLE type. Only supported for source Connection resources with RDS_ORACLE type.
type CreateAwsS3Details struct { // S3 bucket name. Name *string `mandatory:"true" json:"name"` // AWS region code where the S3 bucket is located. // Region code should match the documented available regions: // https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions Region *string `mandatory:"true" json:"region"` // AWS access key credentials identifier // Details: https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys AccessKeyId *string `mandatory:"true" json:"accessKeyId"` // AWS secret access key credentials // Details: https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys SecretAccessKey *string `mandatory:"true" json:"secretAccessKey"` }
func (m CreateAwsS3Details) String() string
func (m CreateAwsS3Details) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateConnectDescriptor Connect Descriptor details. Required for Manual and UserManagerOci connection types. If a Private Endpoint was specified for the Connection, the host should contain a valid IP address.
type CreateConnectDescriptor struct { // Host or IP address of the connect descriptor. Required if no connectString was specified. Host *string `mandatory:"false" json:"host"` // Port of the connect descriptor. Required if no connectString was specified. Port *int `mandatory:"false" json:"port"` // Database service name. Required if no connectString was specified. DatabaseServiceName *string `mandatory:"false" json:"databaseServiceName"` // Connect String. Required if no host, port nor databaseServiceName were specified. // If a Private Endpoint was specified in the Connection, the host entry should be a valid IP address. // Supported formats: // Easy connect: <host>:<port>/<db_service_name> // Long format: (description= (address=(port=<port>)(host=<host>))(connect_data=(service_name=<db_service_name>))) ConnectString *string `mandatory:"false" json:"connectString"` }
func (m CreateConnectDescriptor) String() string
func (m CreateConnectDescriptor) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateConnectionDetails Details to create a Database Connection resource.
type CreateConnectionDetails struct { // OCID of the compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // Database connection type. DatabaseType DatabaseConnectionTypesEnum `mandatory:"true" json:"databaseType"` AdminCredentials *CreateAdminCredentials `mandatory:"true" json:"adminCredentials"` VaultDetails *CreateVaultDetails `mandatory:"true" json:"vaultDetails"` // Database Connection display name identifier. DisplayName *string `mandatory:"false" json:"displayName"` // Database manual connection subtype. This value can only be specified for manual connections. ManualDatabaseSubType DatabaseManualConnectionSubTypesEnum `mandatory:"false" json:"manualDatabaseSubType,omitempty"` // The OCID of the cloud database. Required if the database connection type is Autonomous. DatabaseId *string `mandatory:"false" json:"databaseId"` ConnectDescriptor *CreateConnectDescriptor `mandatory:"false" json:"connectDescriptor"` // This name is the distinguished name used while creating the certificate on target database. Requires a TLS wallet to be specified. // Not required for source container database connections. CertificateTdn *string `mandatory:"false" json:"certificateTdn"` // cwallet.sso containing containing the TCPS/SSL certificate; base64 encoded String. Not required for source container database connections. TlsWallet *string `mandatory:"false" json:"tlsWallet"` // keystore.jks file contents; base64 encoded String. Requires a TLS wallet to be specified. Not required for source container database connections. TlsKeystore *string `mandatory:"false" json:"tlsKeystore"` SshDetails *CreateSshDetails `mandatory:"false" json:"sshDetails"` ReplicationCredentials *CreateAdminCredentials `mandatory:"false" json:"replicationCredentials"` PrivateEndpoint *CreatePrivateEndpoint `mandatory:"false" json:"privateEndpoint"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // An array of Network Security Group OCIDs used to define network access for Connections. NsgIds []string `mandatory:"false" json:"nsgIds"` }
func (m CreateConnectionDetails) String() string
func (m CreateConnectionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateConnectionRequest wrapper for the CreateConnection operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/CreateConnection.go.html to see an example of how to use 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 }
func (request CreateConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateConnectionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateConnectionRequest) String() string
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
CreateConnectionResponse wrapper for the CreateConnection operation
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"` }
func (response CreateConnectionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateConnectionResponse) String() string
CreateCurlTransferDetails Optional properties for Curl-based dump transfer in source or target host.
type CreateCurlTransferDetails struct { // Directory path to OCI SSL wallet location on Db server node. WalletLocation *string `mandatory:"false" json:"walletLocation"` }
func (m CreateCurlTransferDetails) GetWalletLocation() *string
GetWalletLocation returns WalletLocation
func (m CreateCurlTransferDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateCurlTransferDetails) String() string
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
CreateDataPumpParameters Optional parameters for Data Pump Export and Import. Refer to Configuring Optional Initial Load Advanced Settings (https://docs.us.oracle.com/en/cloud/paas/database-migration/dmsus/working-migration-resources.html#GUID-24BD3054-FDF8-48FF-8492-636C1D4B71ED)
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"` }
func (m CreateDataPumpParameters) String() string
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
CreateDataPumpSettings Optional settings for Data Pump Export and Import jobs
type CreateDataPumpSettings struct { // Data Pump job mode. // Refer to link text (https://docs.oracle.com/en/database/oracle/oracle-database/19/sutil/oracle-data-pump-export-utility.html#GUID-8E497131-6B9B-4CC8-AA50-35F480CAC2C4) JobMode DataPumpJobModeEnum `mandatory:"false" json:"jobMode,omitempty"` DataPumpParameters *CreateDataPumpParameters `mandatory:"false" json:"dataPumpParameters"` // Defines remapping to be applied to objects as they are processed. // Refer to DATA_REMAP (https://docs.oracle.com/en/database/oracle/oracle-database/19/arpls/DBMS_DATAPUMP.html#GUID-E75AAE6F-4EA6-4737-A752-6B62F5E9D460) MetadataRemaps []MetadataRemap `mandatory:"false" json:"metadataRemaps"` TablespaceDetails CreateTargetTypeTablespaceDetails `mandatory:"false" json:"tablespaceDetails"` ExportDirectoryObject *CreateDirectoryObject `mandatory:"false" json:"exportDirectoryObject"` ImportDirectoryObject *CreateDirectoryObject `mandatory:"false" json:"importDirectoryObject"` }
func (m CreateDataPumpSettings) String() string
func (m *CreateDataPumpSettings) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateDataPumpSettings) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDataTransferMediumDetails Data Transfer Medium details for the Migration. If not specified, it will default to Database Link. Only one type of data transfer medium can be specified, except for the case of Amazon RDS Oracle as source, where Object Storage Details along with AwsS3Details are required.
type CreateDataTransferMediumDetails struct { DatabaseLinkDetails *CreateDatabaseLinkDetails `mandatory:"false" json:"databaseLinkDetails"` ObjectStorageDetails *CreateObjectStoreBucket `mandatory:"false" json:"objectStorageDetails"` AwsS3Details *CreateAwsS3Details `mandatory:"false" json:"awsS3Details"` }
func (m CreateDataTransferMediumDetails) String() string
func (m CreateDataTransferMediumDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseLinkDetails Optional details for creating a network database link from OCI database to on-premise database.
type CreateDatabaseLinkDetails struct { // Name of database link from OCI database to on-premise database. ODMS will create link, if the link does not already exist. Name *string `mandatory:"false" json:"name"` WalletBucket *CreateObjectStoreBucket `mandatory:"false" json:"walletBucket"` }
func (m CreateDatabaseLinkDetails) String() string
func (m CreateDatabaseLinkDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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.
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"` }
func (m CreateDirectoryObject) String() string
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
CreateDumpTransferDetails Optional additional properties for dump transfer.
type CreateDumpTransferDetails struct { Source CreateHostDumpTransferDetails `mandatory:"false" json:"source"` Target CreateHostDumpTransferDetails `mandatory:"false" json:"target"` // OCID of the shared storage mount target SharedStorageMountTargetId *string `mandatory:"false" json:"sharedStorageMountTargetId"` }
func (m CreateDumpTransferDetails) String() string
func (m *CreateDumpTransferDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateDumpTransferDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateExtract Parameters for GoldenGate Extract processes.
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"` }
func (m CreateExtract) String() string
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
CreateGoldenGateDetails Details about Oracle GoldenGate Microservices. Required for online logical migration.
type CreateGoldenGateDetails struct { Hub *CreateGoldenGateHub `mandatory:"true" json:"hub"` Settings *CreateGoldenGateSettings `mandatory:"false" json:"settings"` }
func (m CreateGoldenGateDetails) String() string
func (m CreateGoldenGateDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateGoldenGateHub Details about Oracle GoldenGate Microservices. Required for online logical migration.
type CreateGoldenGateHub struct { RestAdminCredentials *CreateAdminCredentials `mandatory:"true" json:"restAdminCredentials"` // Oracle GoldenGate Microservices hub's REST endpoint. // Refer to https://docs.oracle.com/en/middleware/goldengate/core/19.1/securing/network.html#GUID-A709DA55-111D-455E-8942-C9BDD1E38CAA Url *string `mandatory:"true" json:"url"` SourceDbAdminCredentials *CreateAdminCredentials `mandatory:"false" json:"sourceDbAdminCredentials"` SourceContainerDbAdminCredentials *CreateAdminCredentials `mandatory:"false" json:"sourceContainerDbAdminCredentials"` TargetDbAdminCredentials *CreateAdminCredentials `mandatory:"false" json:"targetDbAdminCredentials"` // Name of GoldenGate Microservices deployment to operate on source database SourceMicroservicesDeploymentName *string `mandatory:"false" json:"sourceMicroservicesDeploymentName"` // Name of GoldenGate Microservices deployment to operate on target database TargetMicroservicesDeploymentName *string `mandatory:"false" json:"targetMicroservicesDeploymentName"` // OCID of GoldenGate Microservices compute instance. ComputeId *string `mandatory:"false" json:"computeId"` }
func (m CreateGoldenGateHub) String() string
func (m CreateGoldenGateHub) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateGoldenGateServiceDetails Details about Oracle GoldenGate GGS Deployment.
type CreateGoldenGateServiceDetails struct { SourceDbCredentials *DatabaseCredentials `mandatory:"false" json:"sourceDbCredentials"` SourceContainerDbCredentials *DatabaseCredentials `mandatory:"false" json:"sourceContainerDbCredentials"` TargetDbCredentials *DatabaseCredentials `mandatory:"false" json:"targetDbCredentials"` Settings *CreateGoldenGateSettings `mandatory:"false" json:"settings"` }
func (m CreateGoldenGateServiceDetails) String() string
func (m CreateGoldenGateServiceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateGoldenGateSettings Optional settings for GoldenGate Microservices processes
type CreateGoldenGateSettings struct { Extract *CreateExtract `mandatory:"false" json:"extract"` Replicat *CreateReplicat `mandatory:"false" json:"replicat"` // ODMS will monitor GoldenGate end-to-end latency until the lag time is lower than the specified value in seconds. AcceptableLag *int `mandatory:"false" json:"acceptableLag"` }
func (m CreateGoldenGateSettings) String() string
func (m CreateGoldenGateSettings) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateHostDumpTransferDetails Optional additional properties for dump transfer in source or target host. Default kind is CURL
type CreateHostDumpTransferDetails interface { // Directory path to OCI SSL wallet location on Db server node. GetWalletLocation() *string }
CreateHostDumpTransferDetailsKindEnum Enum with underlying type: string
type CreateHostDumpTransferDetailsKindEnum string
Set of constants representing the allowable values for CreateHostDumpTransferDetailsKindEnum
const ( CreateHostDumpTransferDetailsKindCurl CreateHostDumpTransferDetailsKindEnum = "CURL" CreateHostDumpTransferDetailsKindOciCli CreateHostDumpTransferDetailsKindEnum = "OCI_CLI" )
func GetCreateHostDumpTransferDetailsKindEnumValues() []CreateHostDumpTransferDetailsKindEnum
GetCreateHostDumpTransferDetailsKindEnumValues Enumerates the set of values for CreateHostDumpTransferDetailsKindEnum
func GetMappingCreateHostDumpTransferDetailsKindEnum(val string) (CreateHostDumpTransferDetailsKindEnum, bool)
GetMappingCreateHostDumpTransferDetailsKindEnum performs case Insensitive comparison on enum value and return the desired enum
CreateMigrationDetails Create Migration resource parameters.
type CreateMigrationDetails struct { // Migration type. Type MigrationTypesEnum `mandatory:"true" json:"type"` // OCID of the compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the Source Database Connection. SourceDatabaseConnectionId *string `mandatory:"true" json:"sourceDatabaseConnectionId"` // The OCID of the Target Database Connection. TargetDatabaseConnectionId *string `mandatory:"true" json:"targetDatabaseConnectionId"` // Migration Display Name DisplayName *string `mandatory:"false" json:"displayName"` // The OCID of the registered ODMS Agent. Only valid for Offline Logical Migrations. AgentId *string `mandatory:"false" json:"agentId"` // The OCID of the Source Container Database Connection. Only used for Online migrations. // Only Connections of type Non-Autonomous can be used as source container databases. SourceContainerDatabaseConnectionId *string `mandatory:"false" json:"sourceContainerDatabaseConnectionId"` DataTransferMediumDetailsV2 DataTransferMediumDetailsV2 `mandatory:"false" json:"dataTransferMediumDetailsV2"` DataTransferMediumDetails *CreateDataTransferMediumDetails `mandatory:"false" json:"dataTransferMediumDetails"` DumpTransferDetails *CreateDumpTransferDetails `mandatory:"false" json:"dumpTransferDetails"` DatapumpSettings *CreateDataPumpSettings `mandatory:"false" json:"datapumpSettings"` AdvisorSettings *CreateAdvisorSettings `mandatory:"false" json:"advisorSettings"` // Database objects to exclude from migration, cannot be specified alongside 'includeObjects' ExcludeObjects []DatabaseObject `mandatory:"false" json:"excludeObjects"` // Database objects to include from migration, cannot be specified alongside 'excludeObjects' IncludeObjects []DatabaseObject `mandatory:"false" json:"includeObjects"` // Database objects to exclude/include from migration in CSV format. The excludeObjects and includeObjects fields will be ignored if this field is not null. CsvText *string `mandatory:"false" json:"csvText"` GoldenGateDetails *CreateGoldenGateDetails `mandatory:"false" json:"goldenGateDetails"` GoldenGateServiceDetails *CreateGoldenGateServiceDetails `mandatory:"false" json:"goldenGateServiceDetails"` VaultDetails *CreateVaultDetails `mandatory:"false" json:"vaultDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateMigrationDetails) String() string
func (m *CreateMigrationDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateMigrationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateMigrationRequest wrapper for the CreateMigration operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/CreateMigration.go.html to see an example of how to use 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 }
func (request CreateMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateMigrationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateMigrationRequest) String() string
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
CreateMigrationResponse wrapper for the CreateMigration operation
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"` }
func (response CreateMigrationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateMigrationResponse) String() string
CreateNonAdbAutoCreateTablespaceDetails Migration tablespace settings valid for NON-ADB target type using auto create feature.
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"` }
func (m CreateNonAdbAutoCreateTablespaceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateNonAdbAutoCreateTablespaceDetails) String() string
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
CreateNonAdbRemapTablespaceDetails Migration tablespace settings valid for NON-ADB target type using remap feature.
type CreateNonAdbRemapTablespaceDetails struct { // Name of tablespace at target to which the source database tablespace need to be remapped. RemapTarget *string `mandatory:"false" json:"remapTarget"` }
func (m CreateNonAdbRemapTablespaceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateNonAdbRemapTablespaceDetails) String() string
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
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.
type CreateObjectStoreBucket struct { // Namespace name of the object store bucket. NamespaceName *string `mandatory:"true" json:"namespaceName"` // Bucket name. BucketName *string `mandatory:"true" json:"bucketName"` }
func (m CreateObjectStoreBucket) String() string
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
CreateOciCliDumpTransferDetails Optional dump transfer details for OCI-CLI-based dump transfer in source or target host.
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"` }
func (m CreateOciCliDumpTransferDetails) GetWalletLocation() *string
GetWalletLocation returns WalletLocation
func (m CreateOciCliDumpTransferDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateOciCliDumpTransferDetails) String() string
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
CreatePrivateEndpoint OCI Private Endpoint configuration details. Not required for source container database connections, it will default to the specified Source Database Connection Private Endpoint.
type CreatePrivateEndpoint struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to contain the // private endpoint. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN where the Private Endpoint will be bound to. VcnId *string `mandatory:"true" json:"vcnId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the customer's subnet where the private endpoint VNIC // will reside. SubnetId *string `mandatory:"true" json:"subnetId"` }
func (m CreatePrivateEndpoint) String() string
func (m CreatePrivateEndpoint) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateReplicat Parameters for GoldenGate Replicat processes.
type CreateReplicat struct { // Replicat performance. PerformanceProfile ReplicatPerformanceProfileEnum `mandatory:"false" json:"performanceProfile,omitempty"` // Number of threads used to read trail files (valid for Parallel Replicat) MapParallelism *int `mandatory:"false" json:"mapParallelism"` // Defines the range in which the Replicat automatically adjusts its apply parallelism (valid for Parallel Replicat) MinApplyParallelism *int `mandatory:"false" json:"minApplyParallelism"` // Defines the range in which the Replicat automatically adjusts its apply parallelism (valid for Parallel Replicat) MaxApplyParallelism *int `mandatory:"false" json:"maxApplyParallelism"` }
func (m CreateReplicat) String() string
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
CreateSshDetails Details of the SSH key that will be used. Required for source database Manual and UserManagerOci connection types. Not required for source container database connections.
type CreateSshDetails struct { // Name of the host the SSH key is valid for. Host *string `mandatory:"true" json:"host"` // Private SSH key string. Sshkey *string `mandatory:"true" json:"sshkey"` // SSH user User *string `mandatory:"true" json:"user"` // Sudo location SudoLocation *string `mandatory:"false" json:"sudoLocation"` }
func (m CreateSshDetails) String() string
func (m CreateSshDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateTargetTypeTablespaceDetails Migration tablespace settings.
type CreateTargetTypeTablespaceDetails interface { }
CreateVaultDetails OCI Vault details to store migration and connection credentials secrets
type CreateVaultDetails struct { // OCID of the compartment where the secret containing the credentials will be created. CompartmentId *string `mandatory:"true" json:"compartmentId"` // OCID of the vault VaultId *string `mandatory:"true" json:"vaultId"` // OCID of the vault encryption key KeyId *string `mandatory:"true" json:"keyId"` }
func (m CreateVaultDetails) String() string
func (m CreateVaultDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CurlTransferDetails Optional properties for Curl-based dump transfer in source or target host.
type CurlTransferDetails struct { // Directory path to OCI SSL wallet location on Db server node. WalletLocation *string `mandatory:"false" json:"walletLocation"` }
func (m CurlTransferDetails) GetWalletLocation() *string
GetWalletLocation returns WalletLocation
func (m CurlTransferDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CurlTransferDetails) String() string
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
DataPumpEstimateEnum Enum with underlying type: string
type DataPumpEstimateEnum string
Set of constants representing the allowable values for DataPumpEstimateEnum
const ( DataPumpEstimateBlocks DataPumpEstimateEnum = "BLOCKS" DataPumpEstimateStatistics DataPumpEstimateEnum = "STATISTICS" )
func GetDataPumpEstimateEnumValues() []DataPumpEstimateEnum
GetDataPumpEstimateEnumValues Enumerates the set of values for DataPumpEstimateEnum
func GetMappingDataPumpEstimateEnum(val string) (DataPumpEstimateEnum, bool)
GetMappingDataPumpEstimateEnum performs case Insensitive comparison on enum value and return the desired enum
DataPumpExcludeParametersEnum Enum with underlying type: string
type DataPumpExcludeParametersEnum string
Set of constants representing the allowable values for DataPumpExcludeParametersEnum
const ( DataPumpExcludeParametersIndex DataPumpExcludeParametersEnum = "INDEX" DataPumpExcludeParametersMaterializedView DataPumpExcludeParametersEnum = "MATERIALIZED_VIEW" DataPumpExcludeParametersMaterializedViewLog DataPumpExcludeParametersEnum = "MATERIALIZED_VIEW_LOG" )
func GetDataPumpExcludeParametersEnumValues() []DataPumpExcludeParametersEnum
GetDataPumpExcludeParametersEnumValues Enumerates the set of values for DataPumpExcludeParametersEnum
func GetMappingDataPumpExcludeParametersEnum(val string) (DataPumpExcludeParametersEnum, bool)
GetMappingDataPumpExcludeParametersEnum performs case Insensitive comparison on enum value and return the desired enum
DataPumpJobModeEnum Enum with underlying type: string
type DataPumpJobModeEnum string
Set of constants representing the allowable values for DataPumpJobModeEnum
const ( DataPumpJobModeFull DataPumpJobModeEnum = "FULL" DataPumpJobModeSchema DataPumpJobModeEnum = "SCHEMA" DataPumpJobModeTable DataPumpJobModeEnum = "TABLE" DataPumpJobModeTablespace DataPumpJobModeEnum = "TABLESPACE" DataPumpJobModeTransportable DataPumpJobModeEnum = "TRANSPORTABLE" )
func GetDataPumpJobModeEnumValues() []DataPumpJobModeEnum
GetDataPumpJobModeEnumValues Enumerates the set of values for DataPumpJobModeEnum
func GetMappingDataPumpJobModeEnum(val string) (DataPumpJobModeEnum, bool)
GetMappingDataPumpJobModeEnum performs case Insensitive comparison on enum value and return the desired enum
DataPumpParameters Optional parameters for Data Pump Export and Import. Refer to Configuring Optional Initial Load Advanced Settings (https://docs.us.oracle.com/en/cloud/paas/database-migration/dmsus/working-migration-resources.html#GUID-24BD3054-FDF8-48FF-8492-636C1D4B71ED)
type DataPumpParameters struct { // Set to false to force Data Pump worker processes to run on one instance. IsCluster *bool `mandatory:"false" json:"isCluster"` // Estimate size of dumps that will be generated. Estimate DataPumpEstimateEnum `mandatory:"false" json:"estimate,omitempty"` // IMPORT: Specifies the action to be performed when data is loaded into a preexisting table. TableExistsAction DataPumpTableExistsActionEnum `mandatory:"false" json:"tableExistsAction,omitempty"` // Exclude paratemers for Export and Import. ExcludeParameters []DataPumpExcludeParametersEnum `mandatory:"false" json:"excludeParameters"` // Maximum number of worker processes that can be used for a Data Pump Import job. // For an Autonomous Database, ODMS will automatically query its CPU core count and set this property. ImportParallelismDegree *int `mandatory:"false" json:"importParallelismDegree"` // Maximum number of worker processes that can be used for a Data Pump Export job. ExportParallelismDegree *int `mandatory:"false" json:"exportParallelismDegree"` }
func (m DataPumpParameters) String() string
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
DataPumpSettings Optional settings for Data Pump Export and Import jobs
type DataPumpSettings struct { // Data Pump job mode. // Refer to Data Pump Export Modes (https://docs.oracle.com/en/database/oracle/oracle-database/19/sutil/oracle-data-pump-export-utility.html#GUID-8E497131-6B9B-4CC8-AA50-35F480CAC2C4) JobMode DataPumpJobModeEnum `mandatory:"false" json:"jobMode,omitempty"` DataPumpParameters *DataPumpParameters `mandatory:"false" json:"dataPumpParameters"` // Defines remapping to be applied to objects as they are processed. // Refer to METADATA_REMAP Procedure (https://docs.oracle.com/en/database/oracle/oracle-database/19/arpls/DBMS_DATAPUMP.html#GUID-0FC32790-91E6-4781-87A3-229DE024CB3D) MetadataRemaps []MetadataRemap `mandatory:"false" json:"metadataRemaps"` TablespaceDetails TargetTypeTablespaceDetails `mandatory:"false" json:"tablespaceDetails"` ExportDirectoryObject *DirectoryObject `mandatory:"false" json:"exportDirectoryObject"` ImportDirectoryObject *DirectoryObject `mandatory:"false" json:"importDirectoryObject"` }
func (m DataPumpSettings) String() string
func (m *DataPumpSettings) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DataPumpSettings) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DataPumpTableExistsActionEnum Enum with underlying type: string
type DataPumpTableExistsActionEnum string
Set of constants representing the allowable values for DataPumpTableExistsActionEnum
const ( DataPumpTableExistsActionTruncate DataPumpTableExistsActionEnum = "TRUNCATE" DataPumpTableExistsActionReplace DataPumpTableExistsActionEnum = "REPLACE" DataPumpTableExistsActionAppend DataPumpTableExistsActionEnum = "APPEND" DataPumpTableExistsActionSkip DataPumpTableExistsActionEnum = "SKIP" )
func GetDataPumpTableExistsActionEnumValues() []DataPumpTableExistsActionEnum
GetDataPumpTableExistsActionEnumValues Enumerates the set of values for DataPumpTableExistsActionEnum
func GetMappingDataPumpTableExistsActionEnum(val string) (DataPumpTableExistsActionEnum, bool)
GetMappingDataPumpTableExistsActionEnum performs case Insensitive comparison on enum value and return the desired enum
DataPumpTablespaceBlockSizesInKbEnum Enum with underlying type: string
type DataPumpTablespaceBlockSizesInKbEnum string
Set of constants representing the allowable values for DataPumpTablespaceBlockSizesInKbEnum
const ( DataPumpTablespaceBlockSizesInKbSize8K DataPumpTablespaceBlockSizesInKbEnum = "SIZE_8K" DataPumpTablespaceBlockSizesInKbSize16K DataPumpTablespaceBlockSizesInKbEnum = "SIZE_16K" )
func GetDataPumpTablespaceBlockSizesInKbEnumValues() []DataPumpTablespaceBlockSizesInKbEnum
GetDataPumpTablespaceBlockSizesInKbEnumValues Enumerates the set of values for DataPumpTablespaceBlockSizesInKbEnum
func GetMappingDataPumpTablespaceBlockSizesInKbEnum(val string) (DataPumpTablespaceBlockSizesInKbEnum, bool)
GetMappingDataPumpTablespaceBlockSizesInKbEnum performs case Insensitive comparison on enum value and return the desired enum
DataTransferMediumDetails Data Transfer Medium details for the Migration.
type DataTransferMediumDetails struct { DatabaseLinkDetails *DatabaseLinkDetails `mandatory:"false" json:"databaseLinkDetails"` ObjectStorageDetails *ObjectStoreBucket `mandatory:"false" json:"objectStorageDetails"` AwsS3Details *AwsS3Details `mandatory:"false" json:"awsS3Details"` }
func (m DataTransferMediumDetails) String() string
func (m DataTransferMediumDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DataTransferMediumDetailsV2 Optional additional properties for dump transfer in source or target host. Default kind is CURL
type DataTransferMediumDetailsV2 interface { }
DataTransferMediumDetailsV2TypeEnum Enum with underlying type: string
type DataTransferMediumDetailsV2TypeEnum string
Set of constants representing the allowable values for DataTransferMediumDetailsV2TypeEnum
const ( DataTransferMediumDetailsV2TypeDblink DataTransferMediumDetailsV2TypeEnum = "DBLINK" DataTransferMediumDetailsV2TypeObjectStorage DataTransferMediumDetailsV2TypeEnum = "OBJECT_STORAGE" DataTransferMediumDetailsV2TypeAwsS3 DataTransferMediumDetailsV2TypeEnum = "AWS_S3" DataTransferMediumDetailsV2TypeNfs DataTransferMediumDetailsV2TypeEnum = "NFS" )
func GetDataTransferMediumDetailsV2TypeEnumValues() []DataTransferMediumDetailsV2TypeEnum
GetDataTransferMediumDetailsV2TypeEnumValues Enumerates the set of values for DataTransferMediumDetailsV2TypeEnum
func GetMappingDataTransferMediumDetailsV2TypeEnum(val string) (DataTransferMediumDetailsV2TypeEnum, bool)
GetMappingDataTransferMediumDetailsV2TypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseConnectionTypesEnum Enum with underlying type: string
type DatabaseConnectionTypesEnum string
Set of constants representing the allowable values for DatabaseConnectionTypesEnum
const ( DatabaseConnectionTypesManual DatabaseConnectionTypesEnum = "MANUAL" DatabaseConnectionTypesAutonomous DatabaseConnectionTypesEnum = "AUTONOMOUS" DatabaseConnectionTypesUserManagedOci DatabaseConnectionTypesEnum = "USER_MANAGED_OCI" )
func GetDatabaseConnectionTypesEnumValues() []DatabaseConnectionTypesEnum
GetDatabaseConnectionTypesEnumValues Enumerates the set of values for DatabaseConnectionTypesEnum
func GetMappingDatabaseConnectionTypesEnum(val string) (DatabaseConnectionTypesEnum, bool)
GetMappingDatabaseConnectionTypesEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseCredentials Database Credentials details.
type DatabaseCredentials struct { // Database username Username *string `mandatory:"true" json:"username"` // Database password Password *string `mandatory:"true" json:"password"` }
func (m DatabaseCredentials) String() string
func (m DatabaseCredentials) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseLinkDetails Optional details for creating a network database link from OCI database to on-premise database.
type DatabaseLinkDetails struct { // Name of database link from OCI database to on-premise database. ODMS will create link, if the link does not already exist. Name *string `mandatory:"false" json:"name"` WalletBucket *ObjectStoreBucket `mandatory:"false" json:"walletBucket"` }
func (m DatabaseLinkDetails) String() string
func (m DatabaseLinkDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseManualConnectionSubTypesEnum Enum with underlying type: string
type DatabaseManualConnectionSubTypesEnum string
Set of constants representing the allowable values for DatabaseManualConnectionSubTypesEnum
const ( DatabaseManualConnectionSubTypesOracle DatabaseManualConnectionSubTypesEnum = "ORACLE" DatabaseManualConnectionSubTypesRdsOracle DatabaseManualConnectionSubTypesEnum = "RDS_ORACLE" )
func GetDatabaseManualConnectionSubTypesEnumValues() []DatabaseManualConnectionSubTypesEnum
GetDatabaseManualConnectionSubTypesEnumValues Enumerates the set of values for DatabaseManualConnectionSubTypesEnum
func GetMappingDatabaseManualConnectionSubTypesEnum(val string) (DatabaseManualConnectionSubTypesEnum, bool)
GetMappingDatabaseManualConnectionSubTypesEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseMigrationClient a client for DatabaseMigration
type DatabaseMigrationClient struct { common.BaseClient // contains filtered or unexported fields }
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(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 (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/65.54.0/databasemigration/AbortJob.go.html to see an example of how to use AbortJob API. A default retry strategy applies to this operation AbortJob()
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/65.54.0/databasemigration/AddMigrationObjects.go.html to see an example of how to use AddMigrationObjects API. A default retry strategy applies to this operation AddMigrationObjects()
func (client DatabaseMigrationClient) ChangeAgentCompartment(ctx context.Context, request ChangeAgentCompartmentRequest) (response ChangeAgentCompartmentResponse, err error)
ChangeAgentCompartment Used to configure an ODMS Agent Compartment ID.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/ChangeAgentCompartment.go.html to see an example of how to use ChangeAgentCompartment API. A default retry strategy applies to this operation ChangeAgentCompartment()
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/65.54.0/databasemigration/ChangeConnectionCompartment.go.html to see an example of how to use ChangeConnectionCompartment API. A default retry strategy applies to this operation ChangeConnectionCompartment()
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/65.54.0/databasemigration/ChangeMigrationCompartment.go.html to see an example of how to use ChangeMigrationCompartment API. A default retry strategy applies to this operation ChangeMigrationCompartment()
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/65.54.0/databasemigration/CloneMigration.go.html to see an example of how to use CloneMigration API. A default retry strategy applies to this operation CloneMigration()
func (client *DatabaseMigrationClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
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/65.54.0/databasemigration/ConnectionDiagnostics.go.html to see an example of how to use ConnectionDiagnostics API. A default retry strategy applies to this operation ConnectionDiagnostics()
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/65.54.0/databasemigration/CreateConnection.go.html to see an example of how to use CreateConnection API. A default retry strategy applies to this operation CreateConnection()
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/65.54.0/databasemigration/CreateMigration.go.html to see an example of how to use CreateMigration API. A default retry strategy applies to this operation CreateMigration()
func (client DatabaseMigrationClient) DeleteAgent(ctx context.Context, request DeleteAgentRequest) (response DeleteAgentResponse, err error)
DeleteAgent Delete the ODMS Agent represented by the specified ODMS Agent ID.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/DeleteAgent.go.html to see an example of how to use DeleteAgent API. A default retry strategy applies to this operation DeleteAgent()
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/65.54.0/databasemigration/DeleteConnection.go.html to see an example of how to use DeleteConnection API. A default retry strategy applies to this operation DeleteConnection()
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/65.54.0/databasemigration/DeleteJob.go.html to see an example of how to use DeleteJob API. A default retry strategy applies to this operation DeleteJob()
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/65.54.0/databasemigration/DeleteMigration.go.html to see an example of how to use DeleteMigration API. A default retry strategy applies to this operation DeleteMigration()
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/65.54.0/databasemigration/EvaluateMigration.go.html to see an example of how to use EvaluateMigration API. A default retry strategy applies to this operation EvaluateMigration()
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/65.54.0/databasemigration/GetAdvisorReport.go.html to see an example of how to use GetAdvisorReport API. A default retry strategy applies to this operation GetAdvisorReport()
func (client DatabaseMigrationClient) GetAgent(ctx context.Context, request GetAgentRequest) (response GetAgentResponse, err error)
GetAgent Display the ODMS Agent configuration.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/GetAgent.go.html to see an example of how to use GetAgent API. A default retry strategy applies to this operation GetAgent()
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/65.54.0/databasemigration/GetConnection.go.html to see an example of how to use GetConnection API. A default retry strategy applies to this operation GetConnection()
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/65.54.0/databasemigration/GetJob.go.html to see an example of how to use GetJob API. A default retry strategy applies to this operation GetJob()
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/65.54.0/databasemigration/GetJobOutputContent.go.html to see an example of how to use GetJobOutputContent API. A default retry strategy applies to this operation GetJobOutputContent()
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/65.54.0/databasemigration/GetMigration.go.html to see an example of how to use GetMigration API. A default retry strategy applies to this operation GetMigration()
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/65.54.0/databasemigration/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()
func (client DatabaseMigrationClient) ListAgentImages(ctx context.Context, request ListAgentImagesRequest) (response ListAgentImagesResponse, err error)
ListAgentImages Get details of the ODMS Agent Images available to install on-premises.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/ListAgentImages.go.html to see an example of how to use ListAgentImages API. A default retry strategy applies to this operation ListAgentImages()
func (client DatabaseMigrationClient) ListAgents(ctx context.Context, request ListAgentsRequest) (response ListAgentsResponse, err error)
ListAgents Display the name of all the existing ODMS Agents in the server.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/ListAgents.go.html to see an example of how to use ListAgents API. A default retry strategy applies to this operation ListAgents()
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/65.54.0/databasemigration/ListConnections.go.html to see an example of how to use ListConnections API. A default retry strategy applies to this operation ListConnections()
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/65.54.0/databasemigration/ListExcludedObjects.go.html to see an example of how to use ListExcludedObjects API. A default retry strategy applies to this operation ListExcludedObjects()
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/65.54.0/databasemigration/ListJobOutputs.go.html to see an example of how to use ListJobOutputs API. A default retry strategy applies to this operation ListJobOutputs()
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/65.54.0/databasemigration/ListJobs.go.html to see an example of how to use ListJobs API. A default retry strategy applies to this operation ListJobs()
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/65.54.0/databasemigration/ListMigrationObjectTypes.go.html to see an example of how to use ListMigrationObjectTypes API. A default retry strategy applies to this operation ListMigrationObjectTypes()
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/65.54.0/databasemigration/ListMigrationObjects.go.html to see an example of how to use ListMigrationObjects API. A default retry strategy applies to this operation ListMigrationObjects()
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/65.54.0/databasemigration/ListMigrations.go.html to see an example of how to use ListMigrations API. A default retry strategy applies to this operation ListMigrations()
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/65.54.0/databasemigration/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()
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/65.54.0/databasemigration/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()
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/65.54.0/databasemigration/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()
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/65.54.0/databasemigration/RemoveMigrationObjects.go.html to see an example of how to use RemoveMigrationObjects API. A default retry strategy applies to this operation RemoveMigrationObjects()
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/65.54.0/databasemigration/ResumeJob.go.html to see an example of how to use ResumeJob API. A default retry strategy applies to this operation ResumeJob()
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/65.54.0/databasemigration/RetrieveSupportedPhases.go.html to see an example of how to use RetrieveSupportedPhases API. A default retry strategy applies to this operation RetrieveSupportedPhases()
func (client *DatabaseMigrationClient) SetRegion(region string)
SetRegion overrides the region of this client.
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/65.54.0/databasemigration/StartMigration.go.html to see an example of how to use StartMigration API. A default retry strategy applies to this operation StartMigration()
func (client DatabaseMigrationClient) UpdateAgent(ctx context.Context, request UpdateAgentRequest) (response UpdateAgentResponse, err error)
UpdateAgent Modifies the ODMS Agent represented by the given ODMS Agent ID.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/UpdateAgent.go.html to see an example of how to use UpdateAgent API. A default retry strategy applies to this operation UpdateAgent()
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/65.54.0/databasemigration/UpdateConnection.go.html to see an example of how to use UpdateConnection API. A default retry strategy applies to this operation UpdateConnection()
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/65.54.0/databasemigration/UpdateJob.go.html to see an example of how to use UpdateJob API. A default retry strategy applies to this operation UpdateJob()
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/65.54.0/databasemigration/UpdateMigration.go.html to see an example of how to use UpdateMigration API. A default retry strategy applies to this operation UpdateMigration()
DatabaseObject Database objects to include or exclude from migration
type DatabaseObject struct { // Owner of the object (regular expression is allowed) Owner *string `mandatory:"true" json:"owner"` // Name of the object (regular expression is allowed) ObjectName *string `mandatory:"true" json:"objectName"` // Type of object to exclude. // If not specified, matching owners and object names of type TABLE would be excluded. Type *string `mandatory:"false" json:"type"` // Whether an excluded table should be omitted from replication. Only valid for database objects that have are of type TABLE and that are included in the exludeObjects. IsOmitExcludedTableFromReplication *bool `mandatory:"false" json:"isOmitExcludedTableFromReplication"` }
func (m DatabaseObject) String() string
func (m DatabaseObject) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DbLinkDataTransferMediumDetails Optional details for creating a network database link from OCI database to on-premise database.
type DbLinkDataTransferMediumDetails struct { ObjectStorageBucket *ObjectStoreBucket `mandatory:"false" json:"objectStorageBucket"` // Name of database link from OCI database to on-premise database. ODMS will create link, if the link does not already exist. Name *string `mandatory:"false" json:"name"` }
func (m DbLinkDataTransferMediumDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DbLinkDataTransferMediumDetails) String() string
func (m DbLinkDataTransferMediumDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteAgentRequest wrapper for the DeleteAgent operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/DeleteAgent.go.html to see an example of how to use DeleteAgentRequest.
type DeleteAgentRequest struct { // The OCID of the agent AgentId *string `mandatory:"true" contributesTo:"path" name:"agentId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteAgentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteAgentRequest) String() string
func (request DeleteAgentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteAgentResponse wrapper for the DeleteAgent operation
type DeleteAgentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response DeleteAgentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteAgentResponse) String() string
DeleteConnectionRequest wrapper for the DeleteConnection operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/DeleteConnection.go.html to see an example of how to use 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 }
func (request DeleteConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteConnectionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteConnectionRequest) String() string
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
DeleteConnectionResponse wrapper for the DeleteConnection operation
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"` }
func (response DeleteConnectionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteConnectionResponse) String() string
DeleteJobRequest wrapper for the DeleteJob operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/DeleteJob.go.html to see an example of how to use 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 }
func (request DeleteJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteJobRequest) String() string
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
DeleteJobResponse wrapper for the DeleteJob operation
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"` }
func (response DeleteJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteJobResponse) String() string
DeleteMigrationRequest wrapper for the DeleteMigration operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/DeleteMigration.go.html to see an example of how to use 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 }
func (request DeleteMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteMigrationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteMigrationRequest) String() string
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
DeleteMigrationResponse wrapper for the DeleteMigration operation
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"` }
func (response DeleteMigrationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteMigrationResponse) String() string
DiagnosticsResult Result from Database Connection Diagnostic action.
type DiagnosticsResult struct { // Type of the Result (i.e. Success or Failure). ResultType ResultTypeEnum `mandatory:"true" json:"resultType"` Error *ResultError `mandatory:"false" json:"error"` }
func (m DiagnosticsResult) String() string
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
DirectoryObject Directory object details, used to define either import or export directory objects in Data Pump Settings.
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"` }
func (m DirectoryObject) String() string
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
DumpTransferDetails Optional additional properties for dump transfer.
type DumpTransferDetails struct { Source HostDumpTransferDetails `mandatory:"false" json:"source"` Target HostDumpTransferDetails `mandatory:"false" json:"target"` // OCID of the shared storage mount target SharedStorageMountTargetId *string `mandatory:"false" json:"sharedStorageMountTargetId"` }
func (m DumpTransferDetails) String() string
func (m *DumpTransferDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DumpTransferDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EvaluateMigrationRequest wrapper for the EvaluateMigration operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/EvaluateMigration.go.html to see an example of how to use 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 }
func (request EvaluateMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request EvaluateMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request EvaluateMigrationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request EvaluateMigrationRequest) String() string
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
EvaluateMigrationResponse wrapper for the EvaluateMigration operation
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"` }
func (response EvaluateMigrationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response EvaluateMigrationResponse) String() string
ExcludedObjectSummary Excluded object summary line.
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"` }
func (m ExcludedObjectSummary) String() string
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
ExcludedObjectSummaryCollection Results of a Job's Exclude objects output listing. Contains ExcludedObjectSummary items.
type ExcludedObjectSummaryCollection struct { // Items in collection. Items []ExcludedObjectSummary `mandatory:"true" json:"items"` }
func (m ExcludedObjectSummaryCollection) String() string
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
Extract Parameters for Extract processes.
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"` }
func (m Extract) String() string
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
ExtractPerformanceProfileEnum Enum with underlying type: string
type ExtractPerformanceProfileEnum string
Set of constants representing the allowable values for ExtractPerformanceProfileEnum
const ( ExtractPerformanceProfileLow ExtractPerformanceProfileEnum = "LOW" ExtractPerformanceProfileMedium ExtractPerformanceProfileEnum = "MEDIUM" ExtractPerformanceProfileHigh ExtractPerformanceProfileEnum = "HIGH" )
func GetExtractPerformanceProfileEnumValues() []ExtractPerformanceProfileEnum
GetExtractPerformanceProfileEnumValues Enumerates the set of values for ExtractPerformanceProfileEnum
func GetMappingExtractPerformanceProfileEnum(val string) (ExtractPerformanceProfileEnum, bool)
GetMappingExtractPerformanceProfileEnum performs case Insensitive comparison on enum value and return the desired enum
GetAdvisorReportRequest wrapper for the GetAdvisorReport operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/GetAdvisorReport.go.html to see an example of how to use 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 }
func (request GetAdvisorReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAdvisorReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAdvisorReportRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAdvisorReportRequest) String() string
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
GetAdvisorReportResponse wrapper for the GetAdvisorReport operation
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"` }
func (response GetAdvisorReportResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAdvisorReportResponse) String() string
GetAgentRequest wrapper for the GetAgent operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/GetAgent.go.html to see an example of how to use GetAgentRequest.
type GetAgentRequest struct { // The OCID of the agent AgentId *string `mandatory:"true" contributesTo:"path" name:"agentId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAgentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAgentRequest) String() string
func (request GetAgentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetAgentResponse wrapper for the GetAgent operation
type GetAgentResponse struct { // The underlying http response RawResponse *http.Response // The Agent instance Agent `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response GetAgentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAgentResponse) String() string
GetConnectionRequest wrapper for the GetConnection operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/GetConnection.go.html to see an example of how to use 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 }
func (request GetConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetConnectionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetConnectionRequest) String() string
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
GetConnectionResponse wrapper for the GetConnection operation
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"` }
func (response GetConnectionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetConnectionResponse) String() string
GetJobOutputContentRequest wrapper for the GetJobOutputContent operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/GetJobOutputContent.go.html to see an example of how to use 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 }
func (request GetJobOutputContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetJobOutputContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetJobOutputContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetJobOutputContentRequest) String() string
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
GetJobOutputContentResponse wrapper for the GetJobOutputContent operation
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"` }
func (response GetJobOutputContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetJobOutputContentResponse) String() string
GetJobRequest wrapper for the GetJob operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/GetJob.go.html to see an example of how to use 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 }
func (request GetJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetJobRequest) String() string
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
GetJobResponse wrapper for the GetJob operation
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"` }
func (response GetJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetJobResponse) String() string
GetMigrationRequest wrapper for the GetMigration operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/GetMigration.go.html to see an example of how to use 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 }
func (request GetMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetMigrationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetMigrationRequest) String() string
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
GetMigrationResponse wrapper for the GetMigration operation
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"` }
func (response GetMigrationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetMigrationResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/GetWorkRequest.go.html to see an example of how to use 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 }
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
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
GetWorkRequestResponse wrapper for the GetWorkRequest operation
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"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
GgsDeployment Details about Oracle GoldenGate GGS Deployment.
type GgsDeployment struct { // OCID of a GoldenGate Deployment DeploymentId *string `mandatory:"true" json:"deploymentId"` // OCID of a VaultSecret containing the Admin Credentials for the GGS Deployment GgsAdminCredentialsSecretId *string `mandatory:"true" json:"ggsAdminCredentialsSecretId"` }
func (m GgsDeployment) String() string
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
GoldenGateDetails Details about Oracle GoldenGate Microservices.
type GoldenGateDetails struct { Hub *GoldenGateHub `mandatory:"true" json:"hub"` Settings *GoldenGateSettings `mandatory:"false" json:"settings"` }
func (m GoldenGateDetails) String() string
func (m GoldenGateDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GoldenGateHub Details about Oracle GoldenGate Microservices.
type GoldenGateHub struct { RestAdminCredentials *AdminCredentials `mandatory:"true" json:"restAdminCredentials"` SourceDbAdminCredentials *AdminCredentials `mandatory:"true" json:"sourceDbAdminCredentials"` TargetDbAdminCredentials *AdminCredentials `mandatory:"true" json:"targetDbAdminCredentials"` // Oracle GoldenGate hub's REST endpoint. // Refer to https://docs.oracle.com/en/middleware/goldengate/core/19.1/securing/network.html#GUID-A709DA55-111D-455E-8942-C9BDD1E38CAA Url *string `mandatory:"true" json:"url"` // Name of GoldenGate deployment to operate on source database SourceMicroservicesDeploymentName *string `mandatory:"true" json:"sourceMicroservicesDeploymentName"` // Name of GoldenGate deployment to operate on target database TargetMicroservicesDeploymentName *string `mandatory:"true" json:"targetMicroservicesDeploymentName"` SourceContainerDbAdminCredentials *AdminCredentials `mandatory:"false" json:"sourceContainerDbAdminCredentials"` // OCID of GoldenGate compute instance. ComputeId *string `mandatory:"false" json:"computeId"` }
func (m GoldenGateHub) String() string
func (m GoldenGateHub) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GoldenGateServiceDetails Details about Oracle GoldenGate GGS Deployment.
type GoldenGateServiceDetails struct { GgsDeployment *GgsDeployment `mandatory:"false" json:"ggsDeployment"` Settings *GoldenGateSettings `mandatory:"false" json:"settings"` }
func (m GoldenGateServiceDetails) String() string
func (m GoldenGateServiceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GoldenGateSettings Optional settings for Oracle GoldenGate processes
type GoldenGateSettings struct { Extract *Extract `mandatory:"false" json:"extract"` Replicat *Replicat `mandatory:"false" json:"replicat"` // ODMS will monitor GoldenGate end-to-end latency until the lag time is lower than the specified value in seconds. AcceptableLag *int `mandatory:"false" json:"acceptableLag"` }
func (m GoldenGateSettings) String() string
func (m GoldenGateSettings) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostDumpTransferDetails Optional additional properties for dump transfer in source or target host. Default kind is CURL
type HostDumpTransferDetails interface { // Directory path to OCI SSL wallet location on Db server node. GetWalletLocation() *string }
HostDumpTransferDetailsKindEnum Enum with underlying type: string
type HostDumpTransferDetailsKindEnum string
Set of constants representing the allowable values for HostDumpTransferDetailsKindEnum
const ( HostDumpTransferDetailsKindCurl HostDumpTransferDetailsKindEnum = "CURL" HostDumpTransferDetailsKindOciCli HostDumpTransferDetailsKindEnum = "OCI_CLI" )
func GetHostDumpTransferDetailsKindEnumValues() []HostDumpTransferDetailsKindEnum
GetHostDumpTransferDetailsKindEnumValues Enumerates the set of values for HostDumpTransferDetailsKindEnum
func GetMappingHostDumpTransferDetailsKindEnum(val string) (HostDumpTransferDetailsKindEnum, bool)
GetMappingHostDumpTransferDetailsKindEnum performs case Insensitive comparison on enum value and return the desired enum
Job Results of a Database Connection search. Contains DatabaseConnectionSummary items.
type Job struct { // The OCID of the Migration Job. Id *string `mandatory:"true" json:"id"` // Name of the job. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID of the Migration that this job belongs to. MigrationId *string `mandatory:"true" json:"migrationId"` // The job type. Type JobTypesEnum `mandatory:"true" json:"type"` // The time the Migration Job was created. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the migration job. LifecycleState JobLifecycleStatesEnum `mandatory:"true" json:"lifecycleState"` // The time the Migration Job was last updated. An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` Progress *MigrationJobProgressResource `mandatory:"false" json:"progress"` // Database objects not supported. UnsupportedObjects []UnsupportedDatabaseObject `mandatory:"false" json:"unsupportedObjects"` // A message describing the current state in more detail. For example, can be used to provide actionable information // for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m Job) String() string
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
JobCollection Results of a Job search. Contains JobSummary items.
type JobCollection struct { // Items in collection. Items []JobSummary `mandatory:"true" json:"items"` }
func (m JobCollection) String() string
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
JobLifecycleStatesEnum Enum with underlying type: string
type JobLifecycleStatesEnum string
Set of constants representing the allowable values for JobLifecycleStatesEnum
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" )
func GetJobLifecycleStatesEnumValues() []JobLifecycleStatesEnum
GetJobLifecycleStatesEnumValues Enumerates the set of values for JobLifecycleStatesEnum
func GetMappingJobLifecycleStatesEnum(val string) (JobLifecycleStatesEnum, bool)
GetMappingJobLifecycleStatesEnum performs case Insensitive comparison on enum value and return the desired enum
JobOutputSummary Job output summary line.
type JobOutputSummary struct { // Job output line. Message *string `mandatory:"true" json:"message"` }
func (m JobOutputSummary) String() string
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
JobOutputSummaryCollection Results of a Job output listing. Contains JobOutputSummary items.
type JobOutputSummaryCollection struct { // Items in collection. Items []JobOutputSummary `mandatory:"true" json:"items"` }
func (m JobOutputSummaryCollection) String() string
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
JobPhaseStatusEnum Enum with underlying type: string
type JobPhaseStatusEnum string
Set of constants representing the allowable values for JobPhaseStatusEnum
const ( JobPhaseStatusPending JobPhaseStatusEnum = "PENDING" JobPhaseStatusStarted JobPhaseStatusEnum = "STARTED" JobPhaseStatusCompleted JobPhaseStatusEnum = "COMPLETED" JobPhaseStatusFailed JobPhaseStatusEnum = "FAILED" )
func GetJobPhaseStatusEnumValues() []JobPhaseStatusEnum
GetJobPhaseStatusEnumValues Enumerates the set of values for JobPhaseStatusEnum
func GetMappingJobPhaseStatusEnum(val string) (JobPhaseStatusEnum, bool)
GetMappingJobPhaseStatusEnum performs case Insensitive comparison on enum value and return the desired enum
JobSummary Job description
type JobSummary struct { // The OCID of the Migration Job. Id *string `mandatory:"true" json:"id"` // Name of the job. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID of the Migration that this job belongs to. MigrationId *string `mandatory:"true" json:"migrationId"` // The job type. Type JobTypesEnum `mandatory:"true" json:"type"` // The time the Migration Job was created. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the migration Deployment. LifecycleState JobLifecycleStatesEnum `mandatory:"true" json:"lifecycleState"` Progress *MigrationJobProgressSummary `mandatory:"false" json:"progress"` // The time the Migration Job was last updated. An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information // for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m JobSummary) String() string
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
JobTypesEnum Enum with underlying type: string
type JobTypesEnum string
Set of constants representing the allowable values for JobTypesEnum
const ( JobTypesEvaluation JobTypesEnum = "EVALUATION" JobTypesMigration JobTypesEnum = "MIGRATION" )
func GetJobTypesEnumValues() []JobTypesEnum
GetJobTypesEnumValues Enumerates the set of values for JobTypesEnum
func GetMappingJobTypesEnum(val string) (JobTypesEnum, bool)
GetMappingJobTypesEnum performs case Insensitive comparison on enum value and return the desired enum
LifecycleStatesEnum Enum with underlying type: string
type LifecycleStatesEnum string
Set of constants representing the allowable values for LifecycleStatesEnum
const ( LifecycleStatesCreating LifecycleStatesEnum = "CREATING" LifecycleStatesUpdating LifecycleStatesEnum = "UPDATING" LifecycleStatesActive LifecycleStatesEnum = "ACTIVE" LifecycleStatesInactive LifecycleStatesEnum = "INACTIVE" LifecycleStatesDeleting LifecycleStatesEnum = "DELETING" LifecycleStatesDeleted LifecycleStatesEnum = "DELETED" LifecycleStatesFailed LifecycleStatesEnum = "FAILED" )
func GetLifecycleStatesEnumValues() []LifecycleStatesEnum
GetLifecycleStatesEnumValues Enumerates the set of values for LifecycleStatesEnum
func GetMappingLifecycleStatesEnum(val string) (LifecycleStatesEnum, bool)
GetMappingLifecycleStatesEnum performs case Insensitive comparison on enum value and return the desired enum
ListAgentImagesRequest wrapper for the ListAgentImages operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/ListAgentImages.go.html to see an example of how to use ListAgentImagesRequest.
type ListAgentImagesRequest struct { // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListAgentImagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListAgentImagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAgentImagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAgentImagesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAgentImagesRequest) String() string
func (request ListAgentImagesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListAgentImagesResponse wrapper for the ListAgentImages operation
type ListAgentImagesResponse struct { // The underlying http response RawResponse *http.Response // A list of AgentImageCollection instances AgentImageCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListAgentImagesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAgentImagesResponse) String() string
ListAgentImagesSortOrderEnum Enum with underlying type: string
type ListAgentImagesSortOrderEnum string
Set of constants representing the allowable values for ListAgentImagesSortOrderEnum
const ( ListAgentImagesSortOrderAsc ListAgentImagesSortOrderEnum = "ASC" ListAgentImagesSortOrderDesc ListAgentImagesSortOrderEnum = "DESC" )
func GetListAgentImagesSortOrderEnumValues() []ListAgentImagesSortOrderEnum
GetListAgentImagesSortOrderEnumValues Enumerates the set of values for ListAgentImagesSortOrderEnum
func GetMappingListAgentImagesSortOrderEnum(val string) (ListAgentImagesSortOrderEnum, bool)
GetMappingListAgentImagesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAgentsLifecycleStateEnum Enum with underlying type: string
type ListAgentsLifecycleStateEnum string
Set of constants representing the allowable values for ListAgentsLifecycleStateEnum
const ( ListAgentsLifecycleStateCreating ListAgentsLifecycleStateEnum = "CREATING" ListAgentsLifecycleStateUpdating ListAgentsLifecycleStateEnum = "UPDATING" ListAgentsLifecycleStateActive ListAgentsLifecycleStateEnum = "ACTIVE" ListAgentsLifecycleStateInactive ListAgentsLifecycleStateEnum = "INACTIVE" ListAgentsLifecycleStateDeleting ListAgentsLifecycleStateEnum = "DELETING" ListAgentsLifecycleStateDeleted ListAgentsLifecycleStateEnum = "DELETED" ListAgentsLifecycleStateFailed ListAgentsLifecycleStateEnum = "FAILED" )
func GetListAgentsLifecycleStateEnumValues() []ListAgentsLifecycleStateEnum
GetListAgentsLifecycleStateEnumValues Enumerates the set of values for ListAgentsLifecycleStateEnum
func GetMappingListAgentsLifecycleStateEnum(val string) (ListAgentsLifecycleStateEnum, bool)
GetMappingListAgentsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListAgentsRequest wrapper for the ListAgents operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/ListAgents.go.html to see an example of how to use ListAgentsRequest.
type ListAgentsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. // Default order for displayName is ascending. If no value is specified timeCreated is default. SortBy ListAgentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListAgentsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The current state of the Database Migration Deployment. LifecycleState ListAgentsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListAgentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAgentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAgentsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAgentsRequest) String() string
func (request ListAgentsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListAgentsResponse wrapper for the ListAgents operation
type ListAgentsResponse struct { // The underlying http response RawResponse *http.Response // A list of AgentCollection instances AgentCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListAgentsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAgentsResponse) String() string
ListAgentsSortByEnum Enum with underlying type: string
type ListAgentsSortByEnum string
Set of constants representing the allowable values for ListAgentsSortByEnum
const ( ListAgentsSortByTimecreated ListAgentsSortByEnum = "timeCreated" ListAgentsSortByDisplayname ListAgentsSortByEnum = "displayName" )
func GetListAgentsSortByEnumValues() []ListAgentsSortByEnum
GetListAgentsSortByEnumValues Enumerates the set of values for ListAgentsSortByEnum
func GetMappingListAgentsSortByEnum(val string) (ListAgentsSortByEnum, bool)
GetMappingListAgentsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAgentsSortOrderEnum Enum with underlying type: string
type ListAgentsSortOrderEnum string
Set of constants representing the allowable values for ListAgentsSortOrderEnum
const ( ListAgentsSortOrderAsc ListAgentsSortOrderEnum = "ASC" ListAgentsSortOrderDesc ListAgentsSortOrderEnum = "DESC" )
func GetListAgentsSortOrderEnumValues() []ListAgentsSortOrderEnum
GetListAgentsSortOrderEnumValues Enumerates the set of values for ListAgentsSortOrderEnum
func GetMappingListAgentsSortOrderEnum(val string) (ListAgentsSortOrderEnum, bool)
GetMappingListAgentsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListConnectionsLifecycleStateEnum Enum with underlying type: string
type ListConnectionsLifecycleStateEnum string
Set of constants representing the allowable values for ListConnectionsLifecycleStateEnum
const ( ListConnectionsLifecycleStateCreating ListConnectionsLifecycleStateEnum = "CREATING" ListConnectionsLifecycleStateUpdating ListConnectionsLifecycleStateEnum = "UPDATING" ListConnectionsLifecycleStateActive ListConnectionsLifecycleStateEnum = "ACTIVE" ListConnectionsLifecycleStateInactive ListConnectionsLifecycleStateEnum = "INACTIVE" ListConnectionsLifecycleStateDeleting ListConnectionsLifecycleStateEnum = "DELETING" ListConnectionsLifecycleStateDeleted ListConnectionsLifecycleStateEnum = "DELETED" ListConnectionsLifecycleStateFailed ListConnectionsLifecycleStateEnum = "FAILED" )
func GetListConnectionsLifecycleStateEnumValues() []ListConnectionsLifecycleStateEnum
GetListConnectionsLifecycleStateEnumValues Enumerates the set of values for ListConnectionsLifecycleStateEnum
func GetMappingListConnectionsLifecycleStateEnum(val string) (ListConnectionsLifecycleStateEnum, bool)
GetMappingListConnectionsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListConnectionsRequest wrapper for the ListConnections operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/ListConnections.go.html to see an example of how to use ListConnectionsRequest.
type ListConnectionsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. // Default order for displayName is ascending. If no value is specified timeCreated is default. SortBy ListConnectionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListConnectionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The current state of the Database Migration Deployment. LifecycleState ListConnectionsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListConnectionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListConnectionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListConnectionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListConnectionsRequest) String() string
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
ListConnectionsResponse wrapper for the ListConnections operation
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"` }
func (response ListConnectionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListConnectionsResponse) String() string
ListConnectionsSortByEnum Enum with underlying type: string
type ListConnectionsSortByEnum string
Set of constants representing the allowable values for ListConnectionsSortByEnum
const ( ListConnectionsSortByTimecreated ListConnectionsSortByEnum = "timeCreated" ListConnectionsSortByDisplayname ListConnectionsSortByEnum = "displayName" )
func GetListConnectionsSortByEnumValues() []ListConnectionsSortByEnum
GetListConnectionsSortByEnumValues Enumerates the set of values for ListConnectionsSortByEnum
func GetMappingListConnectionsSortByEnum(val string) (ListConnectionsSortByEnum, bool)
GetMappingListConnectionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListConnectionsSortOrderEnum Enum with underlying type: string
type ListConnectionsSortOrderEnum string
Set of constants representing the allowable values for ListConnectionsSortOrderEnum
const ( ListConnectionsSortOrderAsc ListConnectionsSortOrderEnum = "ASC" ListConnectionsSortOrderDesc ListConnectionsSortOrderEnum = "DESC" )
func GetListConnectionsSortOrderEnumValues() []ListConnectionsSortOrderEnum
GetListConnectionsSortOrderEnumValues Enumerates the set of values for ListConnectionsSortOrderEnum
func GetMappingListConnectionsSortOrderEnum(val string) (ListConnectionsSortOrderEnum, bool)
GetMappingListConnectionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListExcludedObjectsReasonCategoryEnum Enum with underlying type: string
type ListExcludedObjectsReasonCategoryEnum string
Set of constants representing the allowable values for ListExcludedObjectsReasonCategoryEnum
const ( ListExcludedObjectsReasonCategoryOracleMaintained ListExcludedObjectsReasonCategoryEnum = "ORACLE_MAINTAINED" ListExcludedObjectsReasonCategoryGgUnsupported ListExcludedObjectsReasonCategoryEnum = "GG_UNSUPPORTED" ListExcludedObjectsReasonCategoryUserExcluded ListExcludedObjectsReasonCategoryEnum = "USER_EXCLUDED" ListExcludedObjectsReasonCategoryMandatoryExcluded ListExcludedObjectsReasonCategoryEnum = "MANDATORY_EXCLUDED" ListExcludedObjectsReasonCategoryUserExcludedType ListExcludedObjectsReasonCategoryEnum = "USER_EXCLUDED_TYPE" )
func GetListExcludedObjectsReasonCategoryEnumValues() []ListExcludedObjectsReasonCategoryEnum
GetListExcludedObjectsReasonCategoryEnumValues Enumerates the set of values for ListExcludedObjectsReasonCategoryEnum
func GetMappingListExcludedObjectsReasonCategoryEnum(val string) (ListExcludedObjectsReasonCategoryEnum, bool)
GetMappingListExcludedObjectsReasonCategoryEnum performs case Insensitive comparison on enum value and return the desired enum
ListExcludedObjectsRequest wrapper for the ListExcludedObjects operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/ListExcludedObjects.go.html to see an example of how to use 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 }
func (request ListExcludedObjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListExcludedObjectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListExcludedObjectsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListExcludedObjectsRequest) String() string
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
ListExcludedObjectsResponse wrapper for the ListExcludedObjects operation
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"` }
func (response ListExcludedObjectsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListExcludedObjectsResponse) String() string
ListExcludedObjectsSortByEnum Enum with underlying type: string
type ListExcludedObjectsSortByEnum string
Set of constants representing the allowable values for ListExcludedObjectsSortByEnum
const ( ListExcludedObjectsSortByType ListExcludedObjectsSortByEnum = "type" ListExcludedObjectsSortByReasoncategory ListExcludedObjectsSortByEnum = "reasonCategory" )
func GetListExcludedObjectsSortByEnumValues() []ListExcludedObjectsSortByEnum
GetListExcludedObjectsSortByEnumValues Enumerates the set of values for ListExcludedObjectsSortByEnum
func GetMappingListExcludedObjectsSortByEnum(val string) (ListExcludedObjectsSortByEnum, bool)
GetMappingListExcludedObjectsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListExcludedObjectsSortOrderEnum Enum with underlying type: string
type ListExcludedObjectsSortOrderEnum string
Set of constants representing the allowable values for ListExcludedObjectsSortOrderEnum
const ( ListExcludedObjectsSortOrderAsc ListExcludedObjectsSortOrderEnum = "ASC" ListExcludedObjectsSortOrderDesc ListExcludedObjectsSortOrderEnum = "DESC" )
func GetListExcludedObjectsSortOrderEnumValues() []ListExcludedObjectsSortOrderEnum
GetListExcludedObjectsSortOrderEnumValues Enumerates the set of values for ListExcludedObjectsSortOrderEnum
func GetMappingListExcludedObjectsSortOrderEnum(val string) (ListExcludedObjectsSortOrderEnum, bool)
GetMappingListExcludedObjectsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListJobOutputsRequest wrapper for the ListJobOutputs operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/ListJobOutputs.go.html to see an example of how to use 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 }
func (request ListJobOutputsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListJobOutputsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListJobOutputsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListJobOutputsRequest) String() string
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
ListJobOutputsResponse wrapper for the ListJobOutputs operation
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"` }
func (response ListJobOutputsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListJobOutputsResponse) String() string
ListJobsLifecycleStateEnum Enum with underlying type: string
type ListJobsLifecycleStateEnum string
Set of constants representing the allowable values for ListJobsLifecycleStateEnum
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" )
func GetListJobsLifecycleStateEnumValues() []ListJobsLifecycleStateEnum
GetListJobsLifecycleStateEnumValues Enumerates the set of values for ListJobsLifecycleStateEnum
func GetMappingListJobsLifecycleStateEnum(val string) (ListJobsLifecycleStateEnum, bool)
GetMappingListJobsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListJobsRequest wrapper for the ListJobs operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/ListJobs.go.html to see an example of how to use 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 }
func (request ListJobsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListJobsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListJobsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListJobsRequest) String() string
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
ListJobsResponse wrapper for the ListJobs operation
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"` }
func (response ListJobsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListJobsResponse) String() string
ListJobsSortByEnum Enum with underlying type: string
type ListJobsSortByEnum string
Set of constants representing the allowable values for ListJobsSortByEnum
const ( ListJobsSortByTimecreated ListJobsSortByEnum = "timeCreated" ListJobsSortByDisplayname ListJobsSortByEnum = "displayName" )
func GetListJobsSortByEnumValues() []ListJobsSortByEnum
GetListJobsSortByEnumValues Enumerates the set of values for ListJobsSortByEnum
func GetMappingListJobsSortByEnum(val string) (ListJobsSortByEnum, bool)
GetMappingListJobsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListJobsSortOrderEnum Enum with underlying type: string
type ListJobsSortOrderEnum string
Set of constants representing the allowable values for ListJobsSortOrderEnum
const ( ListJobsSortOrderAsc ListJobsSortOrderEnum = "ASC" ListJobsSortOrderDesc ListJobsSortOrderEnum = "DESC" )
func GetListJobsSortOrderEnumValues() []ListJobsSortOrderEnum
GetListJobsSortOrderEnumValues Enumerates the set of values for ListJobsSortOrderEnum
func GetMappingListJobsSortOrderEnum(val string) (ListJobsSortOrderEnum, bool)
GetMappingListJobsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListMigrationObjectTypesRequest wrapper for the ListMigrationObjectTypes operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/ListMigrationObjectTypes.go.html to see an example of how to use ListMigrationObjectTypesRequest.
type ListMigrationObjectTypesRequest struct { // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The field to sort by. Only one sort order may be provided. // Default order for name is custom based on it's usage frequency. If no value is specified name is default. SortBy ListMigrationObjectTypesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListMigrationObjectTypesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListMigrationObjectTypesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListMigrationObjectTypesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListMigrationObjectTypesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListMigrationObjectTypesRequest) String() string
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
ListMigrationObjectTypesResponse wrapper for the ListMigrationObjectTypes operation
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"` }
func (response ListMigrationObjectTypesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListMigrationObjectTypesResponse) String() string
ListMigrationObjectTypesSortByEnum Enum with underlying type: string
type ListMigrationObjectTypesSortByEnum string
Set of constants representing the allowable values for ListMigrationObjectTypesSortByEnum
const ( ListMigrationObjectTypesSortByName ListMigrationObjectTypesSortByEnum = "name" )
func GetListMigrationObjectTypesSortByEnumValues() []ListMigrationObjectTypesSortByEnum
GetListMigrationObjectTypesSortByEnumValues Enumerates the set of values for ListMigrationObjectTypesSortByEnum
func GetMappingListMigrationObjectTypesSortByEnum(val string) (ListMigrationObjectTypesSortByEnum, bool)
GetMappingListMigrationObjectTypesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListMigrationObjectTypesSortOrderEnum Enum with underlying type: string
type ListMigrationObjectTypesSortOrderEnum string
Set of constants representing the allowable values for ListMigrationObjectTypesSortOrderEnum
const ( ListMigrationObjectTypesSortOrderAsc ListMigrationObjectTypesSortOrderEnum = "ASC" ListMigrationObjectTypesSortOrderDesc ListMigrationObjectTypesSortOrderEnum = "DESC" )
func GetListMigrationObjectTypesSortOrderEnumValues() []ListMigrationObjectTypesSortOrderEnum
GetListMigrationObjectTypesSortOrderEnumValues Enumerates the set of values for ListMigrationObjectTypesSortOrderEnum
func GetMappingListMigrationObjectTypesSortOrderEnum(val string) (ListMigrationObjectTypesSortOrderEnum, bool)
GetMappingListMigrationObjectTypesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListMigrationObjectsRequest wrapper for the ListMigrationObjects operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/ListMigrationObjects.go.html to see an example of how to use 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 }
func (request ListMigrationObjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListMigrationObjectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListMigrationObjectsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListMigrationObjectsRequest) String() string
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
ListMigrationObjectsResponse wrapper for the ListMigrationObjects operation
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"` }
func (response ListMigrationObjectsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListMigrationObjectsResponse) String() string
ListMigrationsLifecycleDetailsEnum Enum with underlying type: string
type ListMigrationsLifecycleDetailsEnum string
Set of constants representing the allowable values for ListMigrationsLifecycleDetailsEnum
const ( ListMigrationsLifecycleDetailsReady ListMigrationsLifecycleDetailsEnum = "READY" ListMigrationsLifecycleDetailsAborting ListMigrationsLifecycleDetailsEnum = "ABORTING" ListMigrationsLifecycleDetailsValidating ListMigrationsLifecycleDetailsEnum = "VALIDATING" ListMigrationsLifecycleDetailsValidated ListMigrationsLifecycleDetailsEnum = "VALIDATED" ListMigrationsLifecycleDetailsWaiting ListMigrationsLifecycleDetailsEnum = "WAITING" ListMigrationsLifecycleDetailsMigrating ListMigrationsLifecycleDetailsEnum = "MIGRATING" ListMigrationsLifecycleDetailsDone ListMigrationsLifecycleDetailsEnum = "DONE" )
func GetListMigrationsLifecycleDetailsEnumValues() []ListMigrationsLifecycleDetailsEnum
GetListMigrationsLifecycleDetailsEnumValues Enumerates the set of values for ListMigrationsLifecycleDetailsEnum
func GetMappingListMigrationsLifecycleDetailsEnum(val string) (ListMigrationsLifecycleDetailsEnum, bool)
GetMappingListMigrationsLifecycleDetailsEnum performs case Insensitive comparison on enum value and return the desired enum
ListMigrationsLifecycleStateEnum Enum with underlying type: string
type ListMigrationsLifecycleStateEnum string
Set of constants representing the allowable values for ListMigrationsLifecycleStateEnum
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" )
func GetListMigrationsLifecycleStateEnumValues() []ListMigrationsLifecycleStateEnum
GetListMigrationsLifecycleStateEnumValues Enumerates the set of values for ListMigrationsLifecycleStateEnum
func GetMappingListMigrationsLifecycleStateEnum(val string) (ListMigrationsLifecycleStateEnum, bool)
GetMappingListMigrationsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListMigrationsRequest wrapper for the ListMigrations operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/ListMigrations.go.html to see an example of how to use 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 }
func (request ListMigrationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListMigrationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListMigrationsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListMigrationsRequest) String() string
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
ListMigrationsResponse wrapper for the ListMigrations operation
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"` }
func (response ListMigrationsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListMigrationsResponse) String() string
ListMigrationsSortByEnum Enum with underlying type: string
type ListMigrationsSortByEnum string
Set of constants representing the allowable values for ListMigrationsSortByEnum
const ( ListMigrationsSortByTimecreated ListMigrationsSortByEnum = "timeCreated" ListMigrationsSortByDisplayname ListMigrationsSortByEnum = "displayName" )
func GetListMigrationsSortByEnumValues() []ListMigrationsSortByEnum
GetListMigrationsSortByEnumValues Enumerates the set of values for ListMigrationsSortByEnum
func GetMappingListMigrationsSortByEnum(val string) (ListMigrationsSortByEnum, bool)
GetMappingListMigrationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListMigrationsSortOrderEnum Enum with underlying type: string
type ListMigrationsSortOrderEnum string
Set of constants representing the allowable values for ListMigrationsSortOrderEnum
const ( ListMigrationsSortOrderAsc ListMigrationsSortOrderEnum = "ASC" ListMigrationsSortOrderDesc ListMigrationsSortOrderEnum = "DESC" )
func GetListMigrationsSortOrderEnumValues() []ListMigrationsSortOrderEnum
GetListMigrationsSortOrderEnumValues Enumerates the set of values for ListMigrationsSortOrderEnum
func GetMappingListMigrationsSortOrderEnum(val string) (ListMigrationsSortOrderEnum, bool)
GetMappingListMigrationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/ListWorkRequestErrors.go.html to see an example of how to use 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 }
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
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
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
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"` }
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
type ListWorkRequestErrorsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
const ( ListWorkRequestErrorsSortByTimestamp ListWorkRequestErrorsSortByEnum = "timestamp" )
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
type ListWorkRequestErrorsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
const ( ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC" ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC" )
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/ListWorkRequestLogs.go.html to see an example of how to use 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 }
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
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
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
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"` }
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
type ListWorkRequestLogsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
const ( ListWorkRequestLogsSortByTimestamp ListWorkRequestLogsSortByEnum = "timestamp" )
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
type ListWorkRequestLogsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
const ( ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC" ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC" )
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/databasemigration/ListWorkRequests.go.html to see an example of how to use 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 }
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
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
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
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"` }
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
ListWorkRequestsSortByEnum Enum with underlying type: string
type ListWorkRequestsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
const ( ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted" )
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsSortOrderEnum Enum with underlying type: string
type ListWorkRequestsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsStatusEnum Enum with underlying type: string
type ListWorkRequestsStatusEnum string
Set of constants representing the allowable values for ListWorkRequestsStatusEnum
const ( ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED" ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS" ListWorkRequestsStatusWaiting ListWorkRequestsStatusEnum = "WAITING" ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED" ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED" ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING" ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED" )
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
LogLocationBucketDetails Details to access log file in the specified Object Storage bucket, if any.
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"` }
func (m LogLocationBucketDetails) String() string
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
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)
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"` }
func (m MetadataRemap) String() string
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
MetadataRemapTypeEnum Enum with underlying type: string
type MetadataRemapTypeEnum string
Set of constants representing the allowable values for MetadataRemapTypeEnum
const ( MetadataRemapTypeSchema MetadataRemapTypeEnum = "SCHEMA" MetadataRemapTypeTablespace MetadataRemapTypeEnum = "TABLESPACE" MetadataRemapTypeDatafile MetadataRemapTypeEnum = "DATAFILE" MetadataRemapTypeTable MetadataRemapTypeEnum = "TABLE" )
func GetMappingMetadataRemapTypeEnum(val string) (MetadataRemapTypeEnum, bool)
GetMappingMetadataRemapTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMetadataRemapTypeEnumValues() []MetadataRemapTypeEnum
GetMetadataRemapTypeEnumValues Enumerates the set of values for MetadataRemapTypeEnum
Migration Migration resource
type Migration struct { // The OCID of the resource Id *string `mandatory:"true" json:"id"` // Migration Display Name DisplayName *string `mandatory:"true" json:"displayName"` // OCID of the compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // Migration type. Type MigrationTypesEnum `mandatory:"true" json:"type"` // The OCID of the Source Database Connection. SourceDatabaseConnectionId *string `mandatory:"true" json:"sourceDatabaseConnectionId"` // The OCID of the Target Database Connection. TargetDatabaseConnectionId *string `mandatory:"true" json:"targetDatabaseConnectionId"` // The time the Migration was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the Migration resource. LifecycleState MigrationLifecycleStatesEnum `mandatory:"true" json:"lifecycleState"` // Name of a migration phase. The Job will wait after executing this // phase until the Resume Job endpoint is called. WaitAfter OdmsJobPhasesEnum `mandatory:"false" json:"waitAfter,omitempty"` // The OCID of the registered on-premises ODMS Agent. Only valid for Offline Migrations. AgentId *string `mandatory:"false" json:"agentId"` // OCID of the Secret in the OCI vault containing the Migration credentials. Used to store GoldenGate administrator user credentials. CredentialsSecretId *string `mandatory:"false" json:"credentialsSecretId"` // The OCID of the Source Container Database Connection. SourceContainerDatabaseConnectionId *string `mandatory:"false" json:"sourceContainerDatabaseConnectionId"` // OCID of the current ODMS Job in execution for the Migration, if any. ExecutingJobId *string `mandatory:"false" json:"executingJobId"` DataTransferMediumDetailsV2 DataTransferMediumDetailsV2 `mandatory:"false" json:"dataTransferMediumDetailsV2"` DataTransferMediumDetails *DataTransferMediumDetails `mandatory:"false" json:"dataTransferMediumDetails"` DumpTransferDetails *DumpTransferDetails `mandatory:"false" json:"dumpTransferDetails"` DatapumpSettings *DataPumpSettings `mandatory:"false" json:"datapumpSettings"` AdvisorSettings *AdvisorSettings `mandatory:"false" json:"advisorSettings"` // Database objects to exclude from migration. // If 'includeObjects' are specified, only exclude object types can be specified with general wildcards (.*) for owner and objectName. ExcludeObjects []DatabaseObject `mandatory:"false" json:"excludeObjects"` // Database objects to include from migration. IncludeObjects []DatabaseObject `mandatory:"false" json:"includeObjects"` GoldenGateServiceDetails *GoldenGateServiceDetails `mandatory:"false" json:"goldenGateServiceDetails"` GoldenGateDetails *GoldenGateDetails `mandatory:"false" json:"goldenGateDetails"` VaultDetails *VaultDetails `mandatory:"false" json:"vaultDetails"` // The time of the last Migration details update. An RFC3339 formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The time of last Migration. An RFC3339 formatted datetime string. TimeLastMigration *common.SDKTime `mandatory:"false" json:"timeLastMigration"` // Additional status related to the execution and current state of the Migration. LifecycleDetails MigrationStatusEnum `mandatory:"false" json:"lifecycleDetails,omitempty"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m Migration) String() string
func (m *Migration) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m Migration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MigrationCollection Results of a Migration search. Contains MigrationSummary items.
type MigrationCollection struct { // Items in collection. Items []MigrationSummary `mandatory:"true" json:"items"` }
func (m MigrationCollection) String() string
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
MigrationDatabaseTargetTypesEnum Enum with underlying type: string
type MigrationDatabaseTargetTypesEnum string
Set of constants representing the allowable values for MigrationDatabaseTargetTypesEnum
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" )
func GetMappingMigrationDatabaseTargetTypesEnum(val string) (MigrationDatabaseTargetTypesEnum, bool)
GetMappingMigrationDatabaseTargetTypesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMigrationDatabaseTargetTypesEnumValues() []MigrationDatabaseTargetTypesEnum
GetMigrationDatabaseTargetTypesEnumValues Enumerates the set of values for MigrationDatabaseTargetTypesEnum
MigrationDatabaseTargetTypesUpdateEnum Enum with underlying type: string
type MigrationDatabaseTargetTypesUpdateEnum string
Set of constants representing the allowable values for MigrationDatabaseTargetTypesUpdateEnum
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" )
func GetMappingMigrationDatabaseTargetTypesUpdateEnum(val string) (MigrationDatabaseTargetTypesUpdateEnum, bool)
GetMappingMigrationDatabaseTargetTypesUpdateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMigrationDatabaseTargetTypesUpdateEnumValues() []MigrationDatabaseTargetTypesUpdateEnum
GetMigrationDatabaseTargetTypesUpdateEnumValues Enumerates the set of values for MigrationDatabaseTargetTypesUpdateEnum
MigrationJobProgressResource Progress details of a Migration Job.
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"` }
func (m MigrationJobProgressResource) String() string
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
MigrationJobProgressSummary Summary of the progress of a Migration Job.
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"` }
func (m MigrationJobProgressSummary) String() string
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
MigrationLifecycleStatesEnum Enum with underlying type: string
type MigrationLifecycleStatesEnum string
Set of constants representing the allowable values for MigrationLifecycleStatesEnum
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" )
func GetMappingMigrationLifecycleStatesEnum(val string) (