databasemigration

package
v52.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: Apache-2.0, UPL-1.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbortJobRequest

type AbortJobRequest struct {

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

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

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

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

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

AbortJobRequest wrapper for the AbortJob operation

See also

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

func (AbortJobRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (AbortJobRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (AbortJobRequest) RetryPolicy

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

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

func (AbortJobRequest) String

func (request AbortJobRequest) String() string

type AbortJobResponse

type AbortJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

AbortJobResponse wrapper for the AbortJob operation

func (AbortJobResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (AbortJobResponse) String

func (response AbortJobResponse) String() string

type AdminCredentials

type AdminCredentials struct {

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

AdminCredentials Database Administrator Credentials details.

func (AdminCredentials) String

func (m AdminCredentials) String() string

type AdvisorReport

type AdvisorReport struct {

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

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

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

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

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

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

AdvisorReport Pre-Migration advisor report details.

func (AdvisorReport) String

func (m AdvisorReport) String() string

type AdvisorReportBucketDetails

type AdvisorReportBucketDetails struct {

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

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

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

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

func (AdvisorReportBucketDetails) String

type AdvisorReportLocationDetails

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

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

AdvisorReportLocationDetails Details to access Pre-Migration Advisor report.

func (AdvisorReportLocationDetails) String

type AdvisorResultsEnum

type AdvisorResultsEnum string

AdvisorResultsEnum Enum with underlying type: string

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

Set of constants representing the allowable values for AdvisorResultsEnum

func GetAdvisorResultsEnumValues

func GetAdvisorResultsEnumValues() []AdvisorResultsEnum

GetAdvisorResultsEnumValues Enumerates the set of values for AdvisorResultsEnum

type AdvisorSettings

type AdvisorSettings struct {

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

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

AdvisorSettings Optional Pre-Migration advisor settings.

func (AdvisorSettings) String

func (m AdvisorSettings) String() string

type Agent

type Agent struct {

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

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

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

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

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

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

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

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

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

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

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

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

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

Agent ODMS Agent Details

func (Agent) String

func (m Agent) String() string

type AgentCollection

type AgentCollection struct {

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

AgentCollection Results of an Agent search. Contains AgentSummary items.

func (AgentCollection) String

func (m AgentCollection) String() string

type AgentImageCollection

type AgentImageCollection struct {

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

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

func (AgentImageCollection) String

func (m AgentImageCollection) String() string

type AgentImageSummary

type AgentImageSummary struct {

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

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

AgentImageSummary Available ODMS Agent Images.

func (AgentImageSummary) String

func (m AgentImageSummary) String() string

type AgentSummary

type AgentSummary struct {

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

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

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

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

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

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

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

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

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

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

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

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

AgentSummary ODMS Agent Details

func (AgentSummary) String

func (m AgentSummary) String() string

type ChangeAgentCompartmentDetails

type ChangeAgentCompartmentDetails struct {

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

ChangeAgentCompartmentDetails Change Agent compartment details

func (ChangeAgentCompartmentDetails) String

type ChangeAgentCompartmentRequest

type ChangeAgentCompartmentRequest struct {

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

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

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

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

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

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

ChangeAgentCompartmentRequest wrapper for the ChangeAgentCompartment operation

See also

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

func (ChangeAgentCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeAgentCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeAgentCompartmentRequest) RetryPolicy

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

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

func (ChangeAgentCompartmentRequest) String

func (request ChangeAgentCompartmentRequest) String() string

type ChangeAgentCompartmentResponse

type ChangeAgentCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeAgentCompartmentResponse wrapper for the ChangeAgentCompartment operation

func (ChangeAgentCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeAgentCompartmentResponse) String

func (response ChangeAgentCompartmentResponse) String() string

type ChangeConnectionCompartmentDetails

type ChangeConnectionCompartmentDetails struct {

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

ChangeConnectionCompartmentDetails Change Database Connection compartment details.

func (ChangeConnectionCompartmentDetails) String

type ChangeConnectionCompartmentRequest

type ChangeConnectionCompartmentRequest struct {

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

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

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

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

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

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

ChangeConnectionCompartmentRequest wrapper for the ChangeConnectionCompartment operation

See also

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

func (ChangeConnectionCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeConnectionCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeConnectionCompartmentRequest) RetryPolicy

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

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

func (ChangeConnectionCompartmentRequest) String

func (request ChangeConnectionCompartmentRequest) String() string

type ChangeConnectionCompartmentResponse

type ChangeConnectionCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeConnectionCompartmentResponse wrapper for the ChangeConnectionCompartment operation

func (ChangeConnectionCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeConnectionCompartmentResponse) String

func (response ChangeConnectionCompartmentResponse) String() string

type ChangeMigrationCompartmentDetails

type ChangeMigrationCompartmentDetails struct {

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

ChangeMigrationCompartmentDetails Change Migration compartment details.

func (ChangeMigrationCompartmentDetails) String

type ChangeMigrationCompartmentRequest

type ChangeMigrationCompartmentRequest struct {

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

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

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

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

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

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

ChangeMigrationCompartmentRequest wrapper for the ChangeMigrationCompartment operation

See also

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

func (ChangeMigrationCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeMigrationCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeMigrationCompartmentRequest) RetryPolicy

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

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

func (ChangeMigrationCompartmentRequest) String

func (request ChangeMigrationCompartmentRequest) String() string

type ChangeMigrationCompartmentResponse

type ChangeMigrationCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeMigrationCompartmentResponse wrapper for the ChangeMigrationCompartment operation

func (ChangeMigrationCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeMigrationCompartmentResponse) String

func (response ChangeMigrationCompartmentResponse) String() string

type CloneMigrationDetails

type CloneMigrationDetails struct {

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

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

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

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

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

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

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

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

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

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

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

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

func (CloneMigrationDetails) String

func (m CloneMigrationDetails) String() string

type CloneMigrationRequest

type CloneMigrationRequest struct {

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

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

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

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

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

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

CloneMigrationRequest wrapper for the CloneMigration operation

See also

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

func (CloneMigrationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CloneMigrationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CloneMigrationRequest) RetryPolicy

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

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

func (CloneMigrationRequest) String

func (request CloneMigrationRequest) String() string

type CloneMigrationResponse

type CloneMigrationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

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

CloneMigrationResponse wrapper for the CloneMigration operation

func (CloneMigrationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CloneMigrationResponse) String

func (response CloneMigrationResponse) String() string

type ConnectDescriptor

type ConnectDescriptor struct {

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

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

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

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

ConnectDescriptor Connect Descriptor details.

func (ConnectDescriptor) String

func (m ConnectDescriptor) String() string

type Connection

type Connection struct {

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

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

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

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

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

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

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

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

Connection Database Connection resource used for migrations.

func (Connection) String

func (m Connection) String() string

type ConnectionCollection

type ConnectionCollection struct {

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

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

func (ConnectionCollection) String

func (m ConnectionCollection) String() string

type ConnectionSummary

type ConnectionSummary struct {

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

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

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

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

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

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

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

ConnectionSummary Database Connection Summary.

func (ConnectionSummary) String

func (m ConnectionSummary) String() string

type CreateAdminCredentials

type CreateAdminCredentials struct {

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

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

CreateAdminCredentials Database Administrator Credentials details.

func (CreateAdminCredentials) String

func (m CreateAdminCredentials) String() string

type CreateAdvisorSettings

type CreateAdvisorSettings struct {

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

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

CreateAdvisorSettings Optional Pre-Migration advisor settings.

func (CreateAdvisorSettings) String

func (m CreateAdvisorSettings) String() string

type CreateAgentDetails

type CreateAgentDetails struct {

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

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

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

	// ODMS Agent public key as a Base64 Encoded string.
	PublicKey *string `mandatory:"true" json:"publicKey"`

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

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

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

CreateAgentDetails ODMS Agent Details

func (CreateAgentDetails) String

func (m CreateAgentDetails) String() string

type CreateConnectDescriptor

type CreateConnectDescriptor struct {

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

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

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

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

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

func (CreateConnectDescriptor) String

func (m CreateConnectDescriptor) String() string

type CreateConnectionDetails

type CreateConnectionDetails struct {

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

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

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

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

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

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

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

CreateConnectionDetails Details to create a Database Connection resource.

func (CreateConnectionDetails) String

func (m CreateConnectionDetails) String() string

type CreateConnectionRequest

type CreateConnectionRequest struct {

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

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

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

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

CreateConnectionRequest wrapper for the CreateConnection operation

See also

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

func (CreateConnectionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateConnectionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateConnectionRequest) RetryPolicy

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

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

func (CreateConnectionRequest) String

func (request CreateConnectionRequest) String() string

type CreateConnectionResponse

type CreateConnectionResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

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

CreateConnectionResponse wrapper for the CreateConnection operation

func (CreateConnectionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateConnectionResponse) String

func (response CreateConnectionResponse) String() string

type CreateCurlTransferDetails

type CreateCurlTransferDetails struct {
}

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

func (CreateCurlTransferDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateCurlTransferDetails) String

func (m CreateCurlTransferDetails) String() string

type CreateDataPumpParameters

type CreateDataPumpParameters struct {

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

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

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

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

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

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

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

func (CreateDataPumpParameters) String

func (m CreateDataPumpParameters) String() string

type CreateDataPumpSettings

type CreateDataPumpSettings struct {

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

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

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

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

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

CreateDataPumpSettings Optional settings for Data Pump Export and Import jobs

func (CreateDataPumpSettings) String

func (m CreateDataPumpSettings) String() string

type CreateDataTransferMediumDetails

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

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

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.

func (CreateDataTransferMediumDetails) String

type CreateDatabaseLinkDetails

type CreateDatabaseLinkDetails struct {

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

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

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

func (CreateDatabaseLinkDetails) String

func (m CreateDatabaseLinkDetails) String() string

type CreateDirectoryObject

type CreateDirectoryObject struct {

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

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

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

func (CreateDirectoryObject) String

func (m CreateDirectoryObject) String() string

type CreateDumpTransferDetails

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

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

CreateDumpTransferDetails Optional additional properties for dump transfer.

func (CreateDumpTransferDetails) String

func (m CreateDumpTransferDetails) String() string

func (*CreateDumpTransferDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

type CreateExtract

type CreateExtract struct {

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

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

CreateExtract Parameters for GoldenGate Extract processes.

func (CreateExtract) String

func (m CreateExtract) String() string

type CreateGoldenGateDetails

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

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

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

func (CreateGoldenGateDetails) String

func (m CreateGoldenGateDetails) String() string

type CreateGoldenGateHub

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

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

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

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

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

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

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

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

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

func (CreateGoldenGateHub) String

func (m CreateGoldenGateHub) String() string

type CreateGoldenGateSettings

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

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

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

CreateGoldenGateSettings Optional settings for GoldenGate Microservices processes

func (CreateGoldenGateSettings) String

func (m CreateGoldenGateSettings) String() string

type CreateHostDumpTransferDetails

type CreateHostDumpTransferDetails interface {
}

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

type CreateHostDumpTransferDetailsKindEnum

type CreateHostDumpTransferDetailsKindEnum string

CreateHostDumpTransferDetailsKindEnum Enum with underlying type: string

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

Set of constants representing the allowable values for CreateHostDumpTransferDetailsKindEnum

func GetCreateHostDumpTransferDetailsKindEnumValues

func GetCreateHostDumpTransferDetailsKindEnumValues() []CreateHostDumpTransferDetailsKindEnum

GetCreateHostDumpTransferDetailsKindEnumValues Enumerates the set of values for CreateHostDumpTransferDetailsKindEnum

type CreateMigrationDetails

type CreateMigrationDetails struct {

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

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

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

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

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

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

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

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

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

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

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

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

CreateMigrationDetails Create Migration resource parameters.

func (CreateMigrationDetails) String

func (m CreateMigrationDetails) String() string

type CreateMigrationRequest

type CreateMigrationRequest struct {

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

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

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

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

CreateMigrationRequest wrapper for the CreateMigration operation

See also

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

func (CreateMigrationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateMigrationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateMigrationRequest) RetryPolicy

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

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

func (CreateMigrationRequest) String

func (request CreateMigrationRequest) String() string

type CreateMigrationResponse

type CreateMigrationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

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

CreateMigrationResponse wrapper for the CreateMigration operation

func (CreateMigrationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateMigrationResponse) String

func (response CreateMigrationResponse) String() string

type CreateObjectStoreBucket

type CreateObjectStoreBucket struct {

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

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

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

func (CreateObjectStoreBucket) String

func (m CreateObjectStoreBucket) String() string

type CreateOciCliDumpTransferDetails

type CreateOciCliDumpTransferDetails struct {

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

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

func (CreateOciCliDumpTransferDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateOciCliDumpTransferDetails) String

type CreatePrivateEndpoint

type CreatePrivateEndpoint struct {

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

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

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

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

func (CreatePrivateEndpoint) String

func (m CreatePrivateEndpoint) String() string

type CreateReplicat

type CreateReplicat struct {

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

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

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

CreateReplicat Parameters for GoldenGate Replicat processes.

func (CreateReplicat) String

func (m CreateReplicat) String() string

type CreateSshDetails

type CreateSshDetails struct {

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

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

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

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

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

func (CreateSshDetails) String

func (m CreateSshDetails) String() string

type CreateVaultDetails

type CreateVaultDetails struct {

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

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

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

CreateVaultDetails OCI Vault details to store migration and connection credentials secrets

func (CreateVaultDetails) String

func (m CreateVaultDetails) String() string

type CurlTransferDetails

type CurlTransferDetails struct {
}

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

func (CurlTransferDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CurlTransferDetails) String

func (m CurlTransferDetails) String() string

type DataPumpEstimateEnum

type DataPumpEstimateEnum string

DataPumpEstimateEnum Enum with underlying type: string

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

Set of constants representing the allowable values for DataPumpEstimateEnum

func GetDataPumpEstimateEnumValues

func GetDataPumpEstimateEnumValues() []DataPumpEstimateEnum

GetDataPumpEstimateEnumValues Enumerates the set of values for DataPumpEstimateEnum

type DataPumpExcludeParametersEnum

type DataPumpExcludeParametersEnum string

DataPumpExcludeParametersEnum Enum with underlying type: string

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

Set of constants representing the allowable values for DataPumpExcludeParametersEnum

func GetDataPumpExcludeParametersEnumValues

func GetDataPumpExcludeParametersEnumValues() []DataPumpExcludeParametersEnum

GetDataPumpExcludeParametersEnumValues Enumerates the set of values for DataPumpExcludeParametersEnum

type DataPumpJobModeEnum

type DataPumpJobModeEnum string

DataPumpJobModeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for DataPumpJobModeEnum

func GetDataPumpJobModeEnumValues

func GetDataPumpJobModeEnumValues() []DataPumpJobModeEnum

GetDataPumpJobModeEnumValues Enumerates the set of values for DataPumpJobModeEnum

type DataPumpParameters

type DataPumpParameters struct {

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

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

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

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

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

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

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

func (DataPumpParameters) String

func (m DataPumpParameters) String() string

type DataPumpSettings

type DataPumpSettings struct {

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

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

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

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

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

DataPumpSettings Optional settings for Data Pump Export and Import jobs

func (DataPumpSettings) String

func (m DataPumpSettings) String() string

type DataPumpTableExistsActionEnum

type DataPumpTableExistsActionEnum string

DataPumpTableExistsActionEnum Enum with underlying type: string

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

Set of constants representing the allowable values for DataPumpTableExistsActionEnum

func GetDataPumpTableExistsActionEnumValues

func GetDataPumpTableExistsActionEnumValues() []DataPumpTableExistsActionEnum

GetDataPumpTableExistsActionEnumValues Enumerates the set of values for DataPumpTableExistsActionEnum

type DataTransferMediumDetails

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

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

DataTransferMediumDetails Data Transfer Medium details for the Migration.

func (DataTransferMediumDetails) String

func (m DataTransferMediumDetails) String() string

type DatabaseConnectionTypesEnum

type DatabaseConnectionTypesEnum string

DatabaseConnectionTypesEnum Enum with underlying type: string

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

Set of constants representing the allowable values for DatabaseConnectionTypesEnum

func GetDatabaseConnectionTypesEnumValues

func GetDatabaseConnectionTypesEnumValues() []DatabaseConnectionTypesEnum

GetDatabaseConnectionTypesEnumValues Enumerates the set of values for DatabaseConnectionTypesEnum

type DatabaseLinkDetails

type DatabaseLinkDetails struct {

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

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

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

func (DatabaseLinkDetails) String

func (m DatabaseLinkDetails) String() string

type DatabaseMigrationClient

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

DatabaseMigrationClient a client for DatabaseMigration

func NewDatabaseMigrationClientWithConfigurationProvider

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

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

func NewDatabaseMigrationClientWithOboToken

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

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

as well as reading the region

func (DatabaseMigrationClient) AbortJob

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

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

See also

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

func (DatabaseMigrationClient) ChangeAgentCompartment

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

ChangeAgentCompartment Used to configure an ODMS Agent Compartment ID.

See also

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

func (DatabaseMigrationClient) ChangeConnectionCompartment

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

ChangeConnectionCompartment Used to change the Database Connection compartment.

See also

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

func (DatabaseMigrationClient) ChangeMigrationCompartment

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

ChangeMigrationCompartment Used to change the Migration compartment.

See also

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

func (DatabaseMigrationClient) CloneMigration

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

CloneMigration Clone a configuration from an existing Migration.

See also

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

func (*DatabaseMigrationClient) ConfigurationProvider

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

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

func (DatabaseMigrationClient) CreateConnection

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

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

See also

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

func (DatabaseMigrationClient) CreateMigration

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

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

See also

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

func (DatabaseMigrationClient) DeleteAgent

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

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

See also

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

func (DatabaseMigrationClient) DeleteConnection

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

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

See also

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

func (DatabaseMigrationClient) DeleteJob

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

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

See also

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

func (DatabaseMigrationClient) DeleteMigration

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

DeleteMigration Deletes the Migration represented by the specified migration ID.

See also

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

func (DatabaseMigrationClient) EvaluateMigration

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

EvaluateMigration Start Validate Migration job.

See also

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

func (DatabaseMigrationClient) GetAdvisorReport

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

GetAdvisorReport Get the Pre-Migration Advisor report details

See also

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

func (DatabaseMigrationClient) GetAgent

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

GetAgent Display the ODMS Agent configuration.

See also

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

func (DatabaseMigrationClient) GetConnection

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

GetConnection Display Database Connection details.

See also

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

func (DatabaseMigrationClient) GetJob

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

GetJob Get a migration job.

See also

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

func (DatabaseMigrationClient) GetJobOutputContent

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

GetJobOutputContent Get the migration Job Output content as a String.

See also

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

func (DatabaseMigrationClient) GetMigration

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

GetMigration Display Migration details.

See also

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

func (DatabaseMigrationClient) GetWorkRequest

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

GetWorkRequest Gets the details of a work request.

See also

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

func (DatabaseMigrationClient) ListAgentImages

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

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

See also

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

func (DatabaseMigrationClient) ListAgents

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

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

See also

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

func (DatabaseMigrationClient) ListConnections

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

ListConnections List all Database Connections.

See also

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

func (DatabaseMigrationClient) ListJobOutputs

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

ListJobOutputs List the Job Outputs

See also

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

func (DatabaseMigrationClient) ListJobs

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

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

See also

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

func (DatabaseMigrationClient) ListMigrationObjectTypes

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

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

See also

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

func (DatabaseMigrationClient) ListMigrations

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

ListMigrations List all Migrations.

See also

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

func (DatabaseMigrationClient) ListWorkRequestErrors

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

ListWorkRequestErrors Gets the errors for a work request.

See also

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

func (DatabaseMigrationClient) ListWorkRequestLogs

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

ListWorkRequestLogs Gets the logs for a work request.

See also

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

func (DatabaseMigrationClient) ListWorkRequests

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

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

See also

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

func (DatabaseMigrationClient) ResumeJob

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

ResumeJob Resume a migration Job.

See also

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

func (DatabaseMigrationClient) RetrieveSupportedPhases

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

RetrieveSupportedPhases Display Migration Phases for a specified migration.

See also

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

func (*DatabaseMigrationClient) SetRegion

func (client *DatabaseMigrationClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (DatabaseMigrationClient) StartMigration

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

StartMigration Start Migration job.

See also

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

func (DatabaseMigrationClient) UpdateAgent

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

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

See also

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

func (DatabaseMigrationClient) UpdateConnection

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

UpdateConnection Update Database Connection resource details.

See also

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

func (DatabaseMigrationClient) UpdateJob

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

UpdateJob Update Migration Job resource details.

See also

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

func (DatabaseMigrationClient) UpdateMigration

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

UpdateMigration Update Migration resource details.

See also

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

type DatabaseObject

type DatabaseObject struct {

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

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

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

DatabaseObject Database objects to include or exclude from migration

func (DatabaseObject) String

func (m DatabaseObject) String() string

type DeleteAgentRequest

type DeleteAgentRequest struct {

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

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

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

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

DeleteAgentRequest wrapper for the DeleteAgent operation

See also

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

func (DeleteAgentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteAgentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteAgentRequest) RetryPolicy

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

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

func (DeleteAgentRequest) String

func (request DeleteAgentRequest) String() string

type DeleteAgentResponse

type DeleteAgentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

DeleteAgentResponse wrapper for the DeleteAgent operation

func (DeleteAgentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteAgentResponse) String

func (response DeleteAgentResponse) String() string

type DeleteConnectionRequest

type DeleteConnectionRequest struct {

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

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

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

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

DeleteConnectionRequest wrapper for the DeleteConnection operation

See also

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

func (DeleteConnectionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteConnectionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteConnectionRequest) RetryPolicy

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

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

func (DeleteConnectionRequest) String

func (request DeleteConnectionRequest) String() string

type DeleteConnectionResponse

type DeleteConnectionResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

DeleteConnectionResponse wrapper for the DeleteConnection operation

func (DeleteConnectionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteConnectionResponse) String

func (response DeleteConnectionResponse) String() string

type DeleteJobRequest

type DeleteJobRequest struct {

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

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

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

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

DeleteJobRequest wrapper for the DeleteJob operation

See also

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

func (DeleteJobRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteJobRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteJobRequest) RetryPolicy

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

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

func (DeleteJobRequest) String

func (request DeleteJobRequest) String() string

type DeleteJobResponse

type DeleteJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

DeleteJobResponse wrapper for the DeleteJob operation

func (DeleteJobResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteJobResponse) String

func (response DeleteJobResponse) String() string

type DeleteMigrationRequest

type DeleteMigrationRequest struct {

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

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

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

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

DeleteMigrationRequest wrapper for the DeleteMigration operation

See also

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

func (DeleteMigrationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteMigrationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteMigrationRequest) RetryPolicy

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

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

func (DeleteMigrationRequest) String

func (request DeleteMigrationRequest) String() string

type DeleteMigrationResponse

type DeleteMigrationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

DeleteMigrationResponse wrapper for the DeleteMigration operation

func (DeleteMigrationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteMigrationResponse) String

func (response DeleteMigrationResponse) String() string

type DirectoryObject

type DirectoryObject struct {

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

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

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

func (DirectoryObject) String

func (m DirectoryObject) String() string

type DumpTransferDetails

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

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

DumpTransferDetails Optional additional properties for dump transfer.

func (DumpTransferDetails) String

func (m DumpTransferDetails) String() string

func (*DumpTransferDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

type EvaluateMigrationRequest

type EvaluateMigrationRequest struct {

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

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

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

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

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

EvaluateMigrationRequest wrapper for the EvaluateMigration operation

See also

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

func (EvaluateMigrationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (EvaluateMigrationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (EvaluateMigrationRequest) RetryPolicy

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

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

func (EvaluateMigrationRequest) String

func (request EvaluateMigrationRequest) String() string

type EvaluateMigrationResponse

type EvaluateMigrationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

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

EvaluateMigrationResponse wrapper for the EvaluateMigration operation

func (EvaluateMigrationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (EvaluateMigrationResponse) String

func (response EvaluateMigrationResponse) String() string

type Extract

type Extract struct {

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

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

Extract Parameters for Extract processes.

func (Extract) String

func (m Extract) String() string

type ExtractPerformanceProfileEnum

type ExtractPerformanceProfileEnum string

ExtractPerformanceProfileEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ExtractPerformanceProfileEnum

func GetExtractPerformanceProfileEnumValues

func GetExtractPerformanceProfileEnumValues() []ExtractPerformanceProfileEnum

GetExtractPerformanceProfileEnumValues Enumerates the set of values for ExtractPerformanceProfileEnum

type GenerateToken

type GenerateToken struct {

	// Resource Principals Token in serialized form.
	RptBlob *string `mandatory:"true" json:"rptBlob"`
}

GenerateToken ODMS Agent token details.

func (GenerateToken) String

func (m GenerateToken) String() string

type GetAdvisorReportRequest

type GetAdvisorReportRequest struct {

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

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

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

GetAdvisorReportRequest wrapper for the GetAdvisorReport operation

See also

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

func (GetAdvisorReportRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetAdvisorReportRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetAdvisorReportRequest) RetryPolicy

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

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

func (GetAdvisorReportRequest) String

func (request GetAdvisorReportRequest) String() string

type GetAdvisorReportResponse

type GetAdvisorReportResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetAdvisorReportResponse wrapper for the GetAdvisorReport operation

func (GetAdvisorReportResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetAdvisorReportResponse) String

func (response GetAdvisorReportResponse) String() string

type GetAgentRequest

type GetAgentRequest struct {

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

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

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

GetAgentRequest wrapper for the GetAgent operation

See also

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

func (GetAgentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetAgentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetAgentRequest) RetryPolicy

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

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

func (GetAgentRequest) String

func (request GetAgentRequest) String() string

type GetAgentResponse

type GetAgentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetAgentResponse wrapper for the GetAgent operation

func (GetAgentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetAgentResponse) String

func (response GetAgentResponse) String() string

type GetConnectionRequest

type GetConnectionRequest struct {

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

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

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

GetConnectionRequest wrapper for the GetConnection operation

See also

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

func (GetConnectionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetConnectionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetConnectionRequest) RetryPolicy

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

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

func (GetConnectionRequest) String

func (request GetConnectionRequest) String() string

type GetConnectionResponse

type GetConnectionResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetConnectionResponse wrapper for the GetConnection operation

func (GetConnectionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetConnectionResponse) String

func (response GetConnectionResponse) String() string

type GetJobOutputContentRequest

type GetJobOutputContentRequest struct {

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

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

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

GetJobOutputContentRequest wrapper for the GetJobOutputContent operation

See also

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

func (GetJobOutputContentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetJobOutputContentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetJobOutputContentRequest) RetryPolicy

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

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

func (GetJobOutputContentRequest) String

func (request GetJobOutputContentRequest) String() string

type GetJobOutputContentResponse

type GetJobOutputContentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The io.ReadCloser instance
	Content io.ReadCloser `presentIn:"body" encoding:"binary"`

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

GetJobOutputContentResponse wrapper for the GetJobOutputContent operation

func (GetJobOutputContentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetJobOutputContentResponse) String

func (response GetJobOutputContentResponse) String() string

type GetJobRequest

type GetJobRequest struct {

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

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

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

GetJobRequest wrapper for the GetJob operation

See also

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

func (GetJobRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetJobRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetJobRequest) RetryPolicy

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

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

func (GetJobRequest) String

func (request GetJobRequest) String() string

type GetJobResponse

type GetJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetJobResponse wrapper for the GetJob operation

func (GetJobResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetJobResponse) String

func (response GetJobResponse) String() string

type GetMigrationRequest

type GetMigrationRequest struct {

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

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

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

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

GetMigrationRequest wrapper for the GetMigration operation

See also

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

func (GetMigrationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetMigrationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetMigrationRequest) RetryPolicy

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

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

func (GetMigrationRequest) String

func (request GetMigrationRequest) String() string

type GetMigrationResponse

type GetMigrationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetMigrationResponse wrapper for the GetMigration operation

func (GetMigrationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetMigrationResponse) String

func (response GetMigrationResponse) String() string

type GetWorkRequestRequest

type GetWorkRequestRequest struct {

	// The ID of the asynchronous request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

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

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

GetWorkRequestRequest wrapper for the GetWorkRequest operation

See also

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

func (GetWorkRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

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

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

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

type GetWorkRequestResponse

type GetWorkRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

GetWorkRequestResponse wrapper for the GetWorkRequest operation

func (GetWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type GoldenGateDetails

type GoldenGateDetails struct {
	Hub *GoldenGateHub `mandatory:"true" json:"hub"`

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

GoldenGateDetails Details about Oracle GoldenGate Microservices.

func (GoldenGateDetails) String

func (m GoldenGateDetails) String() string

type GoldenGateHub

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

	SourceDbAdminCredentials *AdminCredentials `mandatory:"true" json:"sourceDbAdminCredentials"`

	TargetDbAdminCredentials *AdminCredentials `mandatory:"true" json:"targetDbAdminCredentials"`

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

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

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

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

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

GoldenGateHub Details about Oracle GoldenGate Microservices.

func (GoldenGateHub) String

func (m GoldenGateHub) String() string

type GoldenGateSettings

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

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

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

GoldenGateSettings Optional settings for Oracle GoldenGate processes

func (GoldenGateSettings) String

func (m GoldenGateSettings) String() string

type HostDumpTransferDetails

type HostDumpTransferDetails interface {
}

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

type HostDumpTransferDetailsKindEnum

type HostDumpTransferDetailsKindEnum string

HostDumpTransferDetailsKindEnum Enum with underlying type: string

const (
	HostDumpTransferDetailsKindCurl   HostDumpTransferDetailsKindEnum = "CURL"
	HostDumpTransferDetailsKindOciCli HostDumpTransferDetailsKindEnum = "OCI_CLI"
)

Set of constants representing the allowable values for HostDumpTransferDetailsKindEnum

func GetHostDumpTransferDetailsKindEnumValues

func GetHostDumpTransferDetailsKindEnumValues() []HostDumpTransferDetailsKindEnum

GetHostDumpTransferDetailsKindEnumValues Enumerates the set of values for HostDumpTransferDetailsKindEnum

type Job

type Job struct {

	// The OCID of the Migration Job.
	Id *string `mandatory:"true" json:"id"`

	// Name of the job.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the Migration that this job belongs to.
	MigrationId *string `mandatory:"true" json:"migrationId"`

	// The job type.
	Type JobTypesEnum `mandatory:"true" json:"type"`

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

	// The current state of the migration job.
	LifecycleState JobLifecycleStatesEnum `mandatory:"true" json:"lifecycleState"`

	// The time the Migration Job was last updated. An RFC3339 formatted datetime string
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	Progress *MigrationJobProgressResource `mandatory:"false" json:"progress"`

	// Database objects not supported.
	UnsupportedObjects []UnsupportedDatabaseObject `mandatory:"false" json:"unsupportedObjects"`

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

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

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

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

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

func (Job) String

func (m Job) String() string

type JobCollection

type JobCollection struct {

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

JobCollection Results of a Job search. Contains JobSummary items.

func (JobCollection) String

func (m JobCollection) String() string

type JobLifecycleStatesEnum

type JobLifecycleStatesEnum string

JobLifecycleStatesEnum Enum with underlying type: string

const (
	JobLifecycleStatesAccepted   JobLifecycleStatesEnum = "ACCEPTED"
	JobLifecycleStatesInProgress JobLifecycleStatesEnum = "IN_PROGRESS"
	JobLifecycleStatesUnknown    JobLifecycleStatesEnum = "UNKNOWN"
	JobLifecycleStatesTerminated JobLifecycleStatesEnum = "TERMINATED"
	JobLifecycleStatesFailed     JobLifecycleStatesEnum = "FAILED"
	JobLifecycleStatesSucceeded  JobLifecycleStatesEnum = "SUCCEEDED"
	JobLifecycleStatesWaiting    JobLifecycleStatesEnum = "WAITING"
	JobLifecycleStatesCanceling  JobLifecycleStatesEnum = "CANCELING"
	JobLifecycleStatesCanceled   JobLifecycleStatesEnum = "CANCELED"
)

Set of constants representing the allowable values for JobLifecycleStatesEnum

func GetJobLifecycleStatesEnumValues

func GetJobLifecycleStatesEnumValues() []JobLifecycleStatesEnum

GetJobLifecycleStatesEnumValues Enumerates the set of values for JobLifecycleStatesEnum

type JobOutputSummary

type JobOutputSummary struct {

	// Job output line.
	Message *string `mandatory:"true" json:"message"`
}

JobOutputSummary Job output summary line.

func (JobOutputSummary) String

func (m JobOutputSummary) String() string

type JobOutputSummaryCollection

type JobOutputSummaryCollection struct {

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

JobOutputSummaryCollection Results of a Job output listing. Contains JobOutputSummary items.

func (JobOutputSummaryCollection) String

type JobPhaseStatusEnum

type JobPhaseStatusEnum string

JobPhaseStatusEnum Enum with underlying type: string

const (
	JobPhaseStatusPending   JobPhaseStatusEnum = "PENDING"
	JobPhaseStatusStarted   JobPhaseStatusEnum = "STARTED"
	JobPhaseStatusCompleted JobPhaseStatusEnum = "COMPLETED"
	JobPhaseStatusFailed    JobPhaseStatusEnum = "FAILED"
)

Set of constants representing the allowable values for JobPhaseStatusEnum

func GetJobPhaseStatusEnumValues

func GetJobPhaseStatusEnumValues() []JobPhaseStatusEnum

GetJobPhaseStatusEnumValues Enumerates the set of values for JobPhaseStatusEnum

type JobSummary

type JobSummary struct {

	// The OCID of the Migration Job.
	Id *string `mandatory:"true" json:"id"`

	// Name of the job.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the Migration that this job belongs to.
	MigrationId *string `mandatory:"true" json:"migrationId"`

	// The job type.
	Type JobTypesEnum `mandatory:"true" json:"type"`

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

	// The current state of the migration Deployment.
	LifecycleState JobLifecycleStatesEnum `mandatory:"true" json:"lifecycleState"`

	Progress *MigrationJobProgressSummary `mandatory:"false" json:"progress"`

	// The time the Migration Job was last updated. An RFC3339 formatted datetime string
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

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

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

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

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

JobSummary Job description

func (JobSummary) String

func (m JobSummary) String() string

type JobTypesEnum

type JobTypesEnum string

JobTypesEnum Enum with underlying type: string

const (
	JobTypesEvaluation JobTypesEnum = "EVALUATION"
	JobTypesMigration  JobTypesEnum = "MIGRATION"
)

Set of constants representing the allowable values for JobTypesEnum

func GetJobTypesEnumValues

func GetJobTypesEnumValues() []JobTypesEnum

GetJobTypesEnumValues Enumerates the set of values for JobTypesEnum

type LifecycleStatesEnum

type LifecycleStatesEnum string

LifecycleStatesEnum Enum with underlying type: string

const (
	LifecycleStatesCreating LifecycleStatesEnum = "CREATING"
	LifecycleStatesUpdating LifecycleStatesEnum = "UPDATING"
	LifecycleStatesActive   LifecycleStatesEnum = "ACTIVE"
	LifecycleStatesInactive LifecycleStatesEnum = "INACTIVE"
	LifecycleStatesDeleting LifecycleStatesEnum = "DELETING"
	LifecycleStatesDeleted  LifecycleStatesEnum = "DELETED"
	LifecycleStatesFailed   LifecycleStatesEnum = "FAILED"
)

Set of constants representing the allowable values for LifecycleStatesEnum

func GetLifecycleStatesEnumValues

func GetLifecycleStatesEnumValues() []LifecycleStatesEnum

GetLifecycleStatesEnumValues Enumerates the set of values for LifecycleStatesEnum

type ListAgentImagesRequest

type ListAgentImagesRequest struct {

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListAgentImagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

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

ListAgentImagesRequest wrapper for the ListAgentImages operation

See also

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

func (ListAgentImagesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListAgentImagesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListAgentImagesRequest) RetryPolicy

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

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

func (ListAgentImagesRequest) String

func (request ListAgentImagesRequest) String() string

type ListAgentImagesResponse

type ListAgentImagesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of AgentImageCollection instances
	AgentImageCollection `presentIn:"body"`

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

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListAgentImagesResponse wrapper for the ListAgentImages operation

func (ListAgentImagesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListAgentImagesResponse) String

func (response ListAgentImagesResponse) String() string

type ListAgentImagesSortOrderEnum

type ListAgentImagesSortOrderEnum string

ListAgentImagesSortOrderEnum Enum with underlying type: string

const (
	ListAgentImagesSortOrderAsc  ListAgentImagesSortOrderEnum = "ASC"
	ListAgentImagesSortOrderDesc ListAgentImagesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAgentImagesSortOrderEnum

func GetListAgentImagesSortOrderEnumValues

func GetListAgentImagesSortOrderEnumValues() []ListAgentImagesSortOrderEnum

GetListAgentImagesSortOrderEnumValues Enumerates the set of values for ListAgentImagesSortOrderEnum

type ListAgentsLifecycleStateEnum

type ListAgentsLifecycleStateEnum string

ListAgentsLifecycleStateEnum Enum with underlying type: string

const (
	ListAgentsLifecycleStateCreating ListAgentsLifecycleStateEnum = "CREATING"
	ListAgentsLifecycleStateUpdating ListAgentsLifecycleStateEnum = "UPDATING"
	ListAgentsLifecycleStateActive   ListAgentsLifecycleStateEnum = "ACTIVE"
	ListAgentsLifecycleStateInactive ListAgentsLifecycleStateEnum = "INACTIVE"
	ListAgentsLifecycleStateDeleting ListAgentsLifecycleStateEnum = "DELETING"
	ListAgentsLifecycleStateDeleted  ListAgentsLifecycleStateEnum = "DELETED"
	ListAgentsLifecycleStateFailed   ListAgentsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListAgentsLifecycleStateEnum

func GetListAgentsLifecycleStateEnumValues

func GetListAgentsLifecycleStateEnumValues() []ListAgentsLifecycleStateEnum

GetListAgentsLifecycleStateEnumValues Enumerates the set of values for ListAgentsLifecycleStateEnum

type ListAgentsRequest

type ListAgentsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending.
	// Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListAgentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListAgentsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

	// The current state of the Database Migration Deployment.
	LifecycleState ListAgentsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

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

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

ListAgentsRequest wrapper for the ListAgents operation

See also

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

func (ListAgentsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListAgentsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListAgentsRequest) RetryPolicy

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

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

func (ListAgentsRequest) String

func (request ListAgentsRequest) String() string

type ListAgentsResponse

type ListAgentsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of AgentCollection instances
	AgentCollection `presentIn:"body"`

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

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListAgentsResponse wrapper for the ListAgents operation

func (ListAgentsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListAgentsResponse) String

func (response ListAgentsResponse) String() string

type ListAgentsSortByEnum

type ListAgentsSortByEnum string

ListAgentsSortByEnum Enum with underlying type: string

const (
	ListAgentsSortByTimecreated ListAgentsSortByEnum = "timeCreated"
	ListAgentsSortByDisplayname ListAgentsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListAgentsSortByEnum

func GetListAgentsSortByEnumValues

func GetListAgentsSortByEnumValues() []ListAgentsSortByEnum

GetListAgentsSortByEnumValues Enumerates the set of values for ListAgentsSortByEnum

type ListAgentsSortOrderEnum

type ListAgentsSortOrderEnum string

ListAgentsSortOrderEnum Enum with underlying type: string

const (
	ListAgentsSortOrderAsc  ListAgentsSortOrderEnum = "ASC"
	ListAgentsSortOrderDesc ListAgentsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAgentsSortOrderEnum

func GetListAgentsSortOrderEnumValues

func GetListAgentsSortOrderEnumValues() []ListAgentsSortOrderEnum

GetListAgentsSortOrderEnumValues Enumerates the set of values for ListAgentsSortOrderEnum

type ListConnectionsLifecycleStateEnum

type ListConnectionsLifecycleStateEnum string

ListConnectionsLifecycleStateEnum Enum with underlying type: string

const (
	ListConnectionsLifecycleStateCreating ListConnectionsLifecycleStateEnum = "CREATING"
	ListConnectionsLifecycleStateUpdating ListConnectionsLifecycleStateEnum = "UPDATING"
	ListConnectionsLifecycleStateActive   ListConnectionsLifecycleStateEnum = "ACTIVE"
	ListConnectionsLifecycleStateInactive ListConnectionsLifecycleStateEnum = "INACTIVE"
	ListConnectionsLifecycleStateDeleting ListConnectionsLifecycleStateEnum = "DELETING"
	ListConnectionsLifecycleStateDeleted  ListConnectionsLifecycleStateEnum = "DELETED"
	ListConnectionsLifecycleStateFailed   ListConnectionsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListConnectionsLifecycleStateEnum

func GetListConnectionsLifecycleStateEnumValues

func GetListConnectionsLifecycleStateEnumValues() []ListConnectionsLifecycleStateEnum

GetListConnectionsLifecycleStateEnumValues Enumerates the set of values for ListConnectionsLifecycleStateEnum

type ListConnectionsRequest

type ListConnectionsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

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

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending.
	// Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListConnectionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListConnectionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The current state of the Database Migration Deployment.
	LifecycleState ListConnectionsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

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

ListConnectionsRequest wrapper for the ListConnections operation

See also

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

func (ListConnectionsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListConnectionsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListConnectionsRequest) RetryPolicy

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

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

func (ListConnectionsRequest) String

func (request ListConnectionsRequest) String() string

type ListConnectionsResponse

type ListConnectionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ConnectionCollection instances
	ConnectionCollection `presentIn:"body"`

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

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListConnectionsResponse wrapper for the ListConnections operation

func (ListConnectionsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListConnectionsResponse) String

func (response ListConnectionsResponse) String() string

type ListConnectionsSortByEnum

type ListConnectionsSortByEnum string

ListConnectionsSortByEnum Enum with underlying type: string

const (
	ListConnectionsSortByTimecreated ListConnectionsSortByEnum = "timeCreated"
	ListConnectionsSortByDisplayname ListConnectionsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListConnectionsSortByEnum

func GetListConnectionsSortByEnumValues

func GetListConnectionsSortByEnumValues() []ListConnectionsSortByEnum

GetListConnectionsSortByEnumValues Enumerates the set of values for ListConnectionsSortByEnum

type ListConnectionsSortOrderEnum

type ListConnectionsSortOrderEnum string

ListConnectionsSortOrderEnum Enum with underlying type: string

const (
	ListConnectionsSortOrderAsc  ListConnectionsSortOrderEnum = "ASC"
	ListConnectionsSortOrderDesc ListConnectionsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListConnectionsSortOrderEnum

func GetListConnectionsSortOrderEnumValues

func GetListConnectionsSortOrderEnumValues() []ListConnectionsSortOrderEnum

GetListConnectionsSortOrderEnumValues Enumerates the set of values for ListConnectionsSortOrderEnum

type ListJobOutputsRequest

type ListJobOutputsRequest struct {

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

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

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

ListJobOutputsRequest wrapper for the ListJobOutputs operation

See also

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

func (ListJobOutputsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListJobOutputsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListJobOutputsRequest) RetryPolicy

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

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

func (ListJobOutputsRequest) String

func (request ListJobOutputsRequest) String() string

type ListJobOutputsResponse

type ListJobOutputsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of JobOutputSummaryCollection instances
	JobOutputSummaryCollection `presentIn:"body"`

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

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListJobOutputsResponse wrapper for the ListJobOutputs operation

func (ListJobOutputsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListJobOutputsResponse) String

func (response ListJobOutputsResponse) String() string

type ListJobsLifecycleStateEnum

type ListJobsLifecycleStateEnum string

ListJobsLifecycleStateEnum Enum with underlying type: string

const (
	ListJobsLifecycleStateAccepted   ListJobsLifecycleStateEnum = "ACCEPTED"
	ListJobsLifecycleStateInProgress ListJobsLifecycleStateEnum = "IN_PROGRESS"
	ListJobsLifecycleStateUnknown    ListJobsLifecycleStateEnum = "UNKNOWN"
	ListJobsLifecycleStateTerminated ListJobsLifecycleStateEnum = "TERMINATED"
	ListJobsLifecycleStateFailed     ListJobsLifecycleStateEnum = "FAILED"
	ListJobsLifecycleStateSucceeded  ListJobsLifecycleStateEnum = "SUCCEEDED"
	ListJobsLifecycleStateWaiting    ListJobsLifecycleStateEnum = "WAITING"
	ListJobsLifecycleStateCanceling  ListJobsLifecycleStateEnum = "CANCELING"
	ListJobsLifecycleStateCanceled   ListJobsLifecycleStateEnum = "CANCELED"
)

Set of constants representing the allowable values for ListJobsLifecycleStateEnum

func GetListJobsLifecycleStateEnumValues

func GetListJobsLifecycleStateEnumValues() []ListJobsLifecycleStateEnum

GetListJobsLifecycleStateEnumValues Enumerates the set of values for ListJobsLifecycleStateEnum

type ListJobsRequest

type ListJobsRequest struct {

	// The ID of the migration in which to list resources.
	MigrationId *string `mandatory:"true" contributesTo:"query" name:"migrationId"`

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

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

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending.
	// Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListJobsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListJobsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The lifecycle state of the Migration Job.
	LifecycleState ListJobsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

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

ListJobsRequest wrapper for the ListJobs operation

See also

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

func (ListJobsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListJobsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListJobsRequest) RetryPolicy

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

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

func (ListJobsRequest) String

func (request ListJobsRequest) String() string

type ListJobsResponse

type ListJobsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of JobCollection instances
	JobCollection `presentIn:"body"`

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

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListJobsResponse wrapper for the ListJobs operation

func (ListJobsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListJobsResponse) String

func (response ListJobsResponse) String() string

type ListJobsSortByEnum

type ListJobsSortByEnum string

ListJobsSortByEnum Enum with underlying type: string

const (
	ListJobsSortByTimecreated ListJobsSortByEnum = "timeCreated"
	ListJobsSortByDisplayname ListJobsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListJobsSortByEnum

func GetListJobsSortByEnumValues

func GetListJobsSortByEnumValues() []ListJobsSortByEnum

GetListJobsSortByEnumValues Enumerates the set of values for ListJobsSortByEnum

type ListJobsSortOrderEnum

type ListJobsSortOrderEnum string

ListJobsSortOrderEnum Enum with underlying type: string

const (
	ListJobsSortOrderAsc  ListJobsSortOrderEnum = "ASC"
	ListJobsSortOrderDesc ListJobsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListJobsSortOrderEnum

func GetListJobsSortOrderEnumValues

func GetListJobsSortOrderEnumValues() []ListJobsSortOrderEnum

GetListJobsSortOrderEnumValues Enumerates the set of values for ListJobsSortOrderEnum

type ListMigrationObjectTypesRequest

type ListMigrationObjectTypesRequest struct {

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

	// The field to sort by. Only one sort order may be provided.
	// Default order for name is custom based on it's usage frequency. If no value is specified name is default.
	SortBy ListMigrationObjectTypesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListMigrationObjectTypesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

ListMigrationObjectTypesRequest wrapper for the ListMigrationObjectTypes operation

See also

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

func (ListMigrationObjectTypesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListMigrationObjectTypesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListMigrationObjectTypesRequest) RetryPolicy

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

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

func (ListMigrationObjectTypesRequest) String

func (request ListMigrationObjectTypesRequest) String() string

type ListMigrationObjectTypesResponse

type ListMigrationObjectTypesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of MigrationObjectTypeSummaryCollection instances
	MigrationObjectTypeSummaryCollection `presentIn:"body"`

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

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListMigrationObjectTypesResponse wrapper for the ListMigrationObjectTypes operation

func (ListMigrationObjectTypesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListMigrationObjectTypesResponse) String

func (response ListMigrationObjectTypesResponse) String() string

type ListMigrationObjectTypesSortByEnum

type ListMigrationObjectTypesSortByEnum string

ListMigrationObjectTypesSortByEnum Enum with underlying type: string

const (
	ListMigrationObjectTypesSortByName ListMigrationObjectTypesSortByEnum = "name"
)

Set of constants representing the allowable values for ListMigrationObjectTypesSortByEnum

func GetListMigrationObjectTypesSortByEnumValues

func GetListMigrationObjectTypesSortByEnumValues() []ListMigrationObjectTypesSortByEnum

GetListMigrationObjectTypesSortByEnumValues Enumerates the set of values for ListMigrationObjectTypesSortByEnum

type ListMigrationObjectTypesSortOrderEnum

type ListMigrationObjectTypesSortOrderEnum string

ListMigrationObjectTypesSortOrderEnum Enum with underlying type: string

const (
	ListMigrationObjectTypesSortOrderAsc  ListMigrationObjectTypesSortOrderEnum = "ASC"
	ListMigrationObjectTypesSortOrderDesc ListMigrationObjectTypesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListMigrationObjectTypesSortOrderEnum

func GetListMigrationObjectTypesSortOrderEnumValues

func GetListMigrationObjectTypesSortOrderEnumValues() []ListMigrationObjectTypesSortOrderEnum

GetListMigrationObjectTypesSortOrderEnumValues Enumerates the set of values for ListMigrationObjectTypesSortOrderEnum

type ListMigrationsLifecycleDetailsEnum

type ListMigrationsLifecycleDetailsEnum string

ListMigrationsLifecycleDetailsEnum Enum with underlying type: string

const (
	ListMigrationsLifecycleDetailsReady      ListMigrationsLifecycleDetailsEnum = "READY"
	ListMigrationsLifecycleDetailsAborting   ListMigrationsLifecycleDetailsEnum = "ABORTING"
	ListMigrationsLifecycleDetailsValidating ListMigrationsLifecycleDetailsEnum = "VALIDATING"
	ListMigrationsLifecycleDetailsValidated  ListMigrationsLifecycleDetailsEnum = "VALIDATED"
	ListMigrationsLifecycleDetailsWaiting    ListMigrationsLifecycleDetailsEnum = "WAITING"
	ListMigrationsLifecycleDetailsMigrating  ListMigrationsLifecycleDetailsEnum = "MIGRATING"
	ListMigrationsLifecycleDetailsDone       ListMigrationsLifecycleDetailsEnum = "DONE"
)

Set of constants representing the allowable values for ListMigrationsLifecycleDetailsEnum

func GetListMigrationsLifecycleDetailsEnumValues

func GetListMigrationsLifecycleDetailsEnumValues() []ListMigrationsLifecycleDetailsEnum

GetListMigrationsLifecycleDetailsEnumValues Enumerates the set of values for ListMigrationsLifecycleDetailsEnum

type ListMigrationsLifecycleStateEnum

type ListMigrationsLifecycleStateEnum string

ListMigrationsLifecycleStateEnum Enum with underlying type: string

const (
	ListMigrationsLifecycleStateCreating       ListMigrationsLifecycleStateEnum = "CREATING"
	ListMigrationsLifecycleStateUpdating       ListMigrationsLifecycleStateEnum = "UPDATING"
	ListMigrationsLifecycleStateActive         ListMigrationsLifecycleStateEnum = "ACTIVE"
	ListMigrationsLifecycleStateInProgress     ListMigrationsLifecycleStateEnum = "IN_PROGRESS"
	ListMigrationsLifecycleStateAccepted       ListMigrationsLifecycleStateEnum = "ACCEPTED"
	ListMigrationsLifecycleStateSucceeded      ListMigrationsLifecycleStateEnum = "SUCCEEDED"
	ListMigrationsLifecycleStateCanceled       ListMigrationsLifecycleStateEnum = "CANCELED"
	ListMigrationsLifecycleStateWaiting        ListMigrationsLifecycleStateEnum = "WAITING"
	ListMigrationsLifecycleStateNeedsAttention ListMigrationsLifecycleStateEnum = "NEEDS_ATTENTION"
	ListMigrationsLifecycleStateInactive       ListMigrationsLifecycleStateEnum = "INACTIVE"
	ListMigrationsLifecycleStateDeleting       ListMigrationsLifecycleStateEnum = "DELETING"
	ListMigrationsLifecycleStateDeleted        ListMigrationsLifecycleStateEnum = "DELETED"
	ListMigrationsLifecycleStateFailed         ListMigrationsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListMigrationsLifecycleStateEnum

func GetListMigrationsLifecycleStateEnumValues

func GetListMigrationsLifecycleStateEnumValues() []ListMigrationsLifecycleStateEnum

GetListMigrationsLifecycleStateEnumValues Enumerates the set of values for ListMigrationsLifecycleStateEnum

type ListMigrationsRequest

type ListMigrationsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

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

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending.
	// Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListMigrationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListMigrationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The lifecycle state of the Migration.
	LifecycleState ListMigrationsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The lifecycle detailed status of the Migration.
	LifecycleDetails ListMigrationsLifecycleDetailsEnum `mandatory:"false" contributesTo:"query" name:"lifecycleDetails" omitEmpty:"true"`

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

ListMigrationsRequest wrapper for the ListMigrations operation

See also

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

func (ListMigrationsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListMigrationsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListMigrationsRequest) RetryPolicy

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

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

func (ListMigrationsRequest) String

func (request ListMigrationsRequest) String() string

type ListMigrationsResponse

type ListMigrationsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of MigrationCollection instances
	MigrationCollection `presentIn:"body"`

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

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListMigrationsResponse wrapper for the ListMigrations operation

func (ListMigrationsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListMigrationsResponse) String

func (response ListMigrationsResponse) String() string

type ListMigrationsSortByEnum

type ListMigrationsSortByEnum string

ListMigrationsSortByEnum Enum with underlying type: string

const (
	ListMigrationsSortByTimecreated ListMigrationsSortByEnum = "timeCreated"
	ListMigrationsSortByDisplayname ListMigrationsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListMigrationsSortByEnum

func GetListMigrationsSortByEnumValues

func GetListMigrationsSortByEnumValues() []ListMigrationsSortByEnum

GetListMigrationsSortByEnumValues Enumerates the set of values for ListMigrationsSortByEnum

type ListMigrationsSortOrderEnum

type ListMigrationsSortOrderEnum string

ListMigrationsSortOrderEnum Enum with underlying type: string

const (
	ListMigrationsSortOrderAsc  ListMigrationsSortOrderEnum = "ASC"
	ListMigrationsSortOrderDesc ListMigrationsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListMigrationsSortOrderEnum

func GetListMigrationsSortOrderEnumValues

func GetListMigrationsSortOrderEnumValues() []ListMigrationsSortOrderEnum

GetListMigrationsSortOrderEnumValues Enumerates the set of values for ListMigrationsSortOrderEnum

type ListWorkRequestErrorsRequest

type ListWorkRequestErrorsRequest struct {

	// The ID of the asynchronous request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. Only one sort order may be provided. Default order for timestamp is descending.
	SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

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

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also

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

func (ListWorkRequestErrorsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

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

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

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

type ListWorkRequestErrorsResponse

type ListWorkRequestErrorsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of WorkRequestErrorCollection instances
	WorkRequestErrorCollection `presentIn:"body"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

func (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortByEnum

type ListWorkRequestErrorsSortByEnum string

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestErrorsSortByTimestamp ListWorkRequestErrorsSortByEnum = "timestamp"
)

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortByEnumValues

func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum

GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum

type ListWorkRequestErrorsSortOrderEnum

type ListWorkRequestErrorsSortOrderEnum string

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestErrorsSortOrderAsc  ListWorkRequestErrorsSortOrderEnum = "ASC"
	ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestErrorsSortOrderEnumValues

func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum

GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum

type ListWorkRequestLogsRequest

type ListWorkRequestLogsRequest struct {

	// The ID of the asynchronous request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. Only one sort order may be provided. Default order for timestamp is descending.
	SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

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

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also

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

func (ListWorkRequestLogsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

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

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

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

type ListWorkRequestLogsResponse

type ListWorkRequestLogsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of WorkRequestLogEntryCollection instances
	WorkRequestLogEntryCollection `presentIn:"body"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

func (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortByEnum

type ListWorkRequestLogsSortByEnum string

ListWorkRequestLogsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestLogsSortByTimestamp ListWorkRequestLogsSortByEnum = "timestamp"
)

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortByEnumValues

func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum

GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum

type ListWorkRequestLogsSortOrderEnum

type ListWorkRequestLogsSortOrderEnum string

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestLogsSortOrderAsc  ListWorkRequestLogsSortOrderEnum = "ASC"
	ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestLogsSortOrderEnumValues

func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum

GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum

type ListWorkRequestsRequest

type ListWorkRequestsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource.
	ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

	// A filter to return only resources their lifecycleState matches the given OperationStatus.
	Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending.
	SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

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

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also

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

func (ListWorkRequestsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

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

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

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

type ListWorkRequestsResponse

type ListWorkRequestsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of WorkRequestCollection instances
	WorkRequestCollection `presentIn:"body"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

func (ListWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum

type ListWorkRequestsSortByEnum string

ListWorkRequestsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortByEnumValues

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

type ListWorkRequestsSortOrderEnum

type ListWorkRequestsSortOrderEnum string

ListWorkRequestsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestsSortOrderAsc  ListWorkRequestsSortOrderEnum = "ASC"
	ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsSortOrderEnumValues

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

type ListWorkRequestsStatusEnum

type ListWorkRequestsStatusEnum string

ListWorkRequestsStatusEnum Enum with underlying type: string

const (
	ListWorkRequestsStatusAccepted   ListWorkRequestsStatusEnum = "ACCEPTED"
	ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS"
	ListWorkRequestsStatusWaiting    ListWorkRequestsStatusEnum = "WAITING"
	ListWorkRequestsStatusFailed     ListWorkRequestsStatusEnum = "FAILED"
	ListWorkRequestsStatusSucceeded  ListWorkRequestsStatusEnum = "SUCCEEDED"
	ListWorkRequestsStatusCanceling  ListWorkRequestsStatusEnum = "CANCELING"
	ListWorkRequestsStatusCanceled   ListWorkRequestsStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for ListWorkRequestsStatusEnum

func GetListWorkRequestsStatusEnumValues

func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum

GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum

type LogLocationBucketDetails

type LogLocationBucketDetails struct {

	// Name of the bucket containing the log file.
	BucketName *string `mandatory:"true" json:"bucketName"`

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

	// Log object name.
	ObjectName *string `mandatory:"true" json:"objectName"`
}

LogLocationBucketDetails Details to access log file in the specified Object Storage bucket, if any.

func (LogLocationBucketDetails) String

func (m LogLocationBucketDetails) String() string

type MetadataRemap

type MetadataRemap struct {

	// Type of remap. Refer to METADATA_REMAP Procedure  (https://docs.oracle.com/en/database/oracle/oracle-database/19/arpls/DBMS_DATAPUMP.html#GUID-0FC32790-91E6-4781-87A3-229DE024CB3D)
	Type MetadataRemapTypeEnum `mandatory:"true" json:"type"`

	// Specifies the value which needs to be reset.
	OldValue *string `mandatory:"true" json:"oldValue"`

	// Specifies the new value that oldValue should be translated into.
	NewValue *string `mandatory:"true" json:"newValue"`
}

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

func (MetadataRemap) String

func (m MetadataRemap) String() string

type MetadataRemapTypeEnum

type MetadataRemapTypeEnum string

MetadataRemapTypeEnum Enum with underlying type: string

const (
	MetadataRemapTypeSchema     MetadataRemapTypeEnum = "SCHEMA"
	MetadataRemapTypeTablespace MetadataRemapTypeEnum = "TABLESPACE"
	MetadataRemapTypeDatafile   MetadataRemapTypeEnum = "DATAFILE"
	MetadataRemapTypeTable      MetadataRemapTypeEnum = "TABLE"
)

Set of constants representing the allowable values for MetadataRemapTypeEnum

func GetMetadataRemapTypeEnumValues

func GetMetadataRemapTypeEnumValues() []MetadataRemapTypeEnum

GetMetadataRemapTypeEnumValues Enumerates the set of values for MetadataRemapTypeEnum

type Migration

type Migration struct {

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

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

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

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

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

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

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

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

	// Name of a migration phase. The Job will wait after executing this
	// phase until the Resume Job endpoint is called.
	WaitAfter OdmsJobPhasesEnum `mandatory:"false" json:"waitAfter,omitempty"`

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

	// OCID of the Secret in the OCI vault containing the Migration credentials. Used to store GoldenGate administrator user credentials.
	CredentialsSecretId *string `mandatory:"false" json:"credentialsSecretId"`

	// The OCID of the Source Container Database Connection.
	SourceContainerDatabaseConnectionId *string `mandatory:"false" json:"sourceContainerDatabaseConnectionId"`

	// OCID of the current ODMS Job in execution for the Migration, if any.
	ExecutingJobId *string `mandatory:"false" json:"executingJobId"`

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

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

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

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

	// The time of last Migration. An RFC3339 formatted datetime string.
	TimeLastMigration *common.SDKTime `mandatory:"false" json:"timeLastMigration"`

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

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

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

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

Migration Migration resource

func (Migration) String

func (m Migration) String() string

type MigrationCollection

type MigrationCollection struct {

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

MigrationCollection Results of a Migration search. Contains MigrationSummary items.

func (MigrationCollection) String

func (m MigrationCollection) String() string

type MigrationJobProgressResource

type MigrationJobProgressResource struct {

	// Current status of the job.
	CurrentStatus JobPhaseStatusEnum `mandatory:"true" json:"currentStatus"`

	// Current phase of the job.
	CurrentPhase OdmsJobPhasesEnum `mandatory:"true" json:"currentPhase"`

	// List of phase status for the job.
	Phases []PhaseStatus `mandatory:"true" json:"phases"`
}

MigrationJobProgressResource Progress details of a Migration Job.

func (MigrationJobProgressResource) String

type MigrationJobProgressSummary

type MigrationJobProgressSummary struct {

	// Current phase of the job.
	CurrentPhase OdmsJobPhasesEnum `mandatory:"true" json:"currentPhase"`

	// Current status of the job.
	CurrentStatus JobPhaseStatusEnum `mandatory:"true" json:"currentStatus"`

	// Job progress percentage (0 - 100)
	JobProgress *int `mandatory:"true" json:"jobProgress"`
}

MigrationJobProgressSummary Summary of the progress of a Migration Job.

func (MigrationJobProgressSummary) String

type MigrationLifecycleStatesEnum

type MigrationLifecycleStatesEnum string

MigrationLifecycleStatesEnum Enum with underlying type: string

const (
	MigrationLifecycleStatesCreating       MigrationLifecycleStatesEnum = "CREATING"
	MigrationLifecycleStatesUpdating       MigrationLifecycleStatesEnum = "UPDATING"
	MigrationLifecycleStatesActive         MigrationLifecycleStatesEnum = "ACTIVE"
	MigrationLifecycleStatesInProgress     MigrationLifecycleStatesEnum = "IN_PROGRESS"
	MigrationLifecycleStatesAccepted       MigrationLifecycleStatesEnum = "ACCEPTED"
	MigrationLifecycleStatesSucceeded      MigrationLifecycleStatesEnum = "SUCCEEDED"
	MigrationLifecycleStatesCanceled       MigrationLifecycleStatesEnum = "CANCELED"
	MigrationLifecycleStatesWaiting        MigrationLifecycleStatesEnum = "WAITING"
	MigrationLifecycleStatesNeedsAttention MigrationLifecycleStatesEnum = "NEEDS_ATTENTION"
	MigrationLifecycleStatesInactive       MigrationLifecycleStatesEnum = "INACTIVE"
	MigrationLifecycleStatesDeleting       MigrationLifecycleStatesEnum = "DELETING"
	MigrationLifecycleStatesDeleted        MigrationLifecycleStatesEnum = "DELETED"
	MigrationLifecycleStatesFailed         MigrationLifecycleStatesEnum = "FAILED"
)

Set of constants representing the allowable values for MigrationLifecycleStatesEnum

func GetMigrationLifecycleStatesEnumValues

func GetMigrationLifecycleStatesEnumValues() []MigrationLifecycleStatesEnum

GetMigrationLifecycleStatesEnumValues Enumerates the set of values for MigrationLifecycleStatesEnum

type MigrationObjectTypeSummary

type MigrationObjectTypeSummary struct {

	// Object type name
	Name *string `mandatory:"true" json:"name"`
}

MigrationObjectTypeSummary Migration Object Type

func (MigrationObjectTypeSummary) String

type MigrationObjectTypeSummaryCollection

type MigrationObjectTypeSummaryCollection struct {

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

MigrationObjectTypeSummaryCollection Results of a Migration Object Type listing. Contains MigrationObjectTypeSummary items.

func (MigrationObjectTypeSummaryCollection) String

type MigrationPhaseCollection

type MigrationPhaseCollection struct {

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

MigrationPhaseCollection Results of a Migration Phase search. Contains a collection of valid ODMS Job Phases.

func (MigrationPhaseCollection) String

func (m MigrationPhaseCollection) String() string

type MigrationPhaseSummary

type MigrationPhaseSummary struct {

	// ODMS Job phase name
	Name OdmsJobPhasesEnum `mandatory:"true" json:"name"`

	// Array of actions for the corresponding phase. Empty array would indicate there is no supported action for the phase.
	SupportedActions []OdmsPhaseActionsEnum `mandatory:"true" json:"supportedActions"`

	// Action recommended for this phase. If not included in the response, there is no recommended action for the phase.
	RecommendedAction OdmsPhaseActionsEnum `mandatory:"false" json:"recommendedAction,omitempty"`
}

MigrationPhaseSummary Migration Phase Summary of details.

func (MigrationPhaseSummary) String

func (m MigrationPhaseSummary) String() string

type MigrationStatusEnum

type MigrationStatusEnum string

MigrationStatusEnum Enum with underlying type: string

const (
	MigrationStatusReady      MigrationStatusEnum = "READY"
	MigrationStatusAborting   MigrationStatusEnum = "ABORTING"
	MigrationStatusValidating MigrationStatusEnum = "VALIDATING"
	MigrationStatusValidated  MigrationStatusEnum = "VALIDATED"
	MigrationStatusWaiting    MigrationStatusEnum = "WAITING"
	MigrationStatusMigrating  MigrationStatusEnum = "MIGRATING"
	MigrationStatusDone       MigrationStatusEnum = "DONE"
)

Set of constants representing the allowable values for MigrationStatusEnum

func GetMigrationStatusEnumValues

func GetMigrationStatusEnumValues() []MigrationStatusEnum

GetMigrationStatusEnumValues Enumerates the set of values for MigrationStatusEnum

type MigrationSummary

type MigrationSummary struct {

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

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

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

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

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

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

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

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

	// The OCID of the Source Container Database Connection.
	SourceContainerDatabaseConnectionId *string `mandatory:"false" json:"sourceContainerDatabaseConnectionId"`

	// OCID of the current ODMS Job in execution for the Migration, if any.
	ExecutingJobId *string `mandatory:"false" json:"executingJobId"`

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

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

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

	// The time of last Migration. An RFC3339 formatted datetime string.
	TimeLastMigration *common.SDKTime `mandatory:"false" json:"timeLastMigration"`

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

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

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

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

MigrationSummary Migration resource

func (MigrationSummary) String

func (m MigrationSummary) String() string

type MigrationTypesEnum

type MigrationTypesEnum string

MigrationTypesEnum Enum with underlying type: string

const (
	MigrationTypesOnline  MigrationTypesEnum = "ONLINE"
	MigrationTypesOffline MigrationTypesEnum = "OFFLINE"
)

Set of constants representing the allowable values for MigrationTypesEnum

func GetMigrationTypesEnumValues

func GetMigrationTypesEnumValues() []MigrationTypesEnum

GetMigrationTypesEnumValues Enumerates the set of values for MigrationTypesEnum

type ObjectStoreBucket

type ObjectStoreBucket struct {

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

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

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

func (ObjectStoreBucket) String

func (m ObjectStoreBucket) String() string

type OciCliDumpTransferDetails

type OciCliDumpTransferDetails struct {

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

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

func (OciCliDumpTransferDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (OciCliDumpTransferDetails) String

func (m OciCliDumpTransferDetails) String() string

type OdmsJobPhasesEnum

type OdmsJobPhasesEnum string

OdmsJobPhasesEnum Enum with underlying type: string

const (
	OdmsJobPhasesOdmsValidateTgt                 OdmsJobPhasesEnum = "ODMS_VALIDATE_TGT"
	OdmsJobPhasesOdmsValidateSrc                 OdmsJobPhasesEnum = "ODMS_VALIDATE_SRC"
	OdmsJobPhasesOdmsValidatePremigrationAdvisor OdmsJobPhasesEnum = "ODMS_VALIDATE_PREMIGRATION_ADVISOR"
	OdmsJobPhasesOdmsValidateGgHub               OdmsJobPhasesEnum = "ODMS_VALIDATE_GG_HUB"
	OdmsJobPhasesOdmsValidateDatapumpSettings    OdmsJobPhasesEnum = "ODMS_VALIDATE_DATAPUMP_SETTINGS"
	OdmsJobPhasesOdmsValidateDatapumpSettingsSrc OdmsJobPhasesEnum = "ODMS_VALIDATE_DATAPUMP_SETTINGS_SRC"
	OdmsJobPhasesOdmsValidateDatapumpSettingsTgt OdmsJobPhasesEnum = "ODMS_VALIDATE_DATAPUMP_SETTINGS_TGT"
	OdmsJobPhasesOdmsValidateDatapumpSrc         OdmsJobPhasesEnum = "ODMS_VALIDATE_DATAPUMP_SRC"
	OdmsJobPhasesOdmsValidateDatapumpEstimateSrc OdmsJobPhasesEnum = "ODMS_VALIDATE_DATAPUMP_ESTIMATE_SRC"
	OdmsJobPhasesOdmsValidate                    OdmsJobPhasesEnum = "ODMS_VALIDATE"
	OdmsJobPhasesOdmsPrepare                     OdmsJobPhasesEnum = "ODMS_PREPARE"
	OdmsJobPhasesOdmsInitialLoadExport           OdmsJobPhasesEnum = "ODMS_INITIAL_LOAD_EXPORT"
	OdmsJobPhasesOdmsDataUpload                  OdmsJobPhasesEnum = "ODMS_DATA_UPLOAD"
	OdmsJobPhasesOdmsInitialLoadImport           OdmsJobPhasesEnum = "ODMS_INITIAL_LOAD_IMPORT"
	OdmsJobPhasesOdmsPostInitialLoad             OdmsJobPhasesEnum = "ODMS_POST_INITIAL_LOAD"
	OdmsJobPhasesOdmsPrepareReplicationTarget    OdmsJobPhasesEnum = "ODMS_PREPARE_REPLICATION_TARGET"
	OdmsJobPhasesOdmsMonitorReplicationLag       OdmsJobPhasesEnum = "ODMS_MONITOR_REPLICATION_LAG"
	OdmsJobPhasesOdmsSwitchover                  OdmsJobPhasesEnum = "ODMS_SWITCHOVER"
	OdmsJobPhasesOdmsCleanup                     OdmsJobPhasesEnum = "ODMS_CLEANUP"
)

Set of constants representing the allowable values for OdmsJobPhasesEnum

func GetOdmsJobPhasesEnumValues

func GetOdmsJobPhasesEnumValues() []OdmsJobPhasesEnum

GetOdmsJobPhasesEnumValues Enumerates the set of values for OdmsJobPhasesEnum

type OdmsPhaseActionsEnum

type OdmsPhaseActionsEnum string

OdmsPhaseActionsEnum Enum with underlying type: string

const (
	OdmsPhaseActionsWait OdmsPhaseActionsEnum = "WAIT"
)

Set of constants representing the allowable values for OdmsPhaseActionsEnum

func GetOdmsPhaseActionsEnumValues

func GetOdmsPhaseActionsEnumValues() []OdmsPhaseActionsEnum

GetOdmsPhaseActionsEnumValues Enumerates the set of values for OdmsPhaseActionsEnum

type OperationStatusEnum

type OperationStatusEnum string

OperationStatusEnum Enum with underlying type: string

const (
	OperationStatusAccepted   OperationStatusEnum = "ACCEPTED"
	OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS"
	OperationStatusWaiting    OperationStatusEnum = "WAITING"
	OperationStatusFailed     OperationStatusEnum = "FAILED"
	OperationStatusSucceeded  OperationStatusEnum = "SUCCEEDED"
	OperationStatusCanceling  OperationStatusEnum = "CANCELING"
	OperationStatusCanceled   OperationStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for OperationStatusEnum

func GetOperationStatusEnumValues

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypesEnum

type OperationTypesEnum string

OperationTypesEnum Enum with underlying type: string

const (
	OperationTypesCreateAgent       OperationTypesEnum = "CREATE_AGENT"
	OperationTypesDeleteAgent       OperationTypesEnum = "DELETE_AGENT"
	OperationTypesCreateMigration   OperationTypesEnum = "CREATE_MIGRATION"
	OperationTypesCloneMigration    OperationTypesEnum = "CLONE_MIGRATION"
	OperationTypesDeleteMigration   OperationTypesEnum = "DELETE_MIGRATION"
	OperationTypesUpdateMigration   OperationTypesEnum = "UPDATE_MIGRATION"
	OperationTypesStartMigration    OperationTypesEnum = "START_MIGRATION"
	OperationTypesValidateMigration OperationTypesEnum = "VALIDATE_MIGRATION"
	OperationTypesCreateConnection  OperationTypesEnum = "CREATE_CONNECTION"
	OperationTypesDeleteConnection  OperationTypesEnum = "DELETE_CONNECTION"
	OperationTypesUpdateConnection  OperationTypesEnum = "UPDATE_CONNECTION"
)

Set of constants representing the allowable values for OperationTypesEnum

func GetOperationTypesEnumValues

func GetOperationTypesEnumValues() []OperationTypesEnum

GetOperationTypesEnumValues Enumerates the set of values for OperationTypesEnum

type ParLink struct {

	// Pre-Authenticated Request URI.
	ParLink *string `mandatory:"true" json:"parLink"`
}

ParLink Pre-Authenticated Request Link for ODMS Agent log use.

func (ParLink) String

func (m ParLink) String() string

type PhaseExtractEntry

type PhaseExtractEntry struct {

	// Type of extract.
	Type PhaseExtractTypesEnum `mandatory:"true" json:"type"`

	// Message in entry.
	Message *string `mandatory:"true" json:"message"`
}

PhaseExtractEntry Job phase extract message.

func (PhaseExtractEntry) String

func (m PhaseExtractEntry) String() string

type PhaseExtractTypesEnum

type PhaseExtractTypesEnum string

PhaseExtractTypesEnum Enum with underlying type: string

const (
	PhaseExtractTypesError PhaseExtractTypesEnum = "ERROR"
)

Set of constants representing the allowable values for PhaseExtractTypesEnum

func GetPhaseExtractTypesEnumValues

func GetPhaseExtractTypesEnumValues() []PhaseExtractTypesEnum

GetPhaseExtractTypesEnumValues Enumerates the set of values for PhaseExtractTypesEnum

type PhaseStatus

type PhaseStatus struct {

	// Phase name
	Name OdmsJobPhasesEnum `mandatory:"true" json:"name"`

	// Phase status
	Status JobPhaseStatusEnum `mandatory:"true" json:"status"`

	// Duration of the phase in milliseconds
	DurationInMs *int `mandatory:"true" json:"durationInMs"`

	// True if a Pre-Migration Advisor report is available for this phase. False or null if no report is available.
	IsAdvisorReportAvailable *bool `mandatory:"false" json:"isAdvisorReportAvailable"`

	// Summary of phase status results.
	Extract []PhaseExtractEntry `mandatory:"false" json:"extract"`

	LogLocation *LogLocationBucketDetails `mandatory:"false" json:"logLocation"`

	// Percent progress of job phase.
	Progress *int `mandatory:"false" json:"progress"`
}

PhaseStatus Job phase status details.

func (PhaseStatus) String

func (m PhaseStatus) String() string

type PrivateEndpointDetails

type PrivateEndpointDetails struct {

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

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

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

	// OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a previously created Private Endpoint.
	Id *string `mandatory:"false" json:"id"`
}

PrivateEndpointDetails OCI Private Endpoint configuration details.

func (PrivateEndpointDetails) String

func (m PrivateEndpointDetails) String() string

type Replicat

type Replicat struct {

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

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

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

Replicat Parameters for Replicat processes.

func (Replicat) String

func (m Replicat) String() string

type ResumeJobDetails

type ResumeJobDetails struct {

	// Name of a migration phase. The Job will wait after executing this
	// phase until Resume Job endpoint is called again.
	WaitAfter OdmsJobPhasesEnum `mandatory:"false" json:"waitAfter,omitempty"`
}

ResumeJobDetails Parameters to specify to resume a Migration Job.

func (ResumeJobDetails) String

func (m ResumeJobDetails) String() string

type ResumeJobRequest

type ResumeJobRequest struct {

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

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

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

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

	// Resume Job options.
	ResumeJobDetails `contributesTo:"body"`

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

ResumeJobRequest wrapper for the ResumeJob operation

See also

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

func (ResumeJobRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ResumeJobRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ResumeJobRequest) RetryPolicy

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

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

func (ResumeJobRequest) String

func (request ResumeJobRequest) String() string

type ResumeJobResponse

type ResumeJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ResumeJobResponse wrapper for the ResumeJob operation

func (ResumeJobResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ResumeJobResponse) String

func (response ResumeJobResponse) String() string

type RetrieveSupportedPhasesRequest

type RetrieveSupportedPhasesRequest struct {

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

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

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

RetrieveSupportedPhasesRequest wrapper for the RetrieveSupportedPhases operation

See also

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

func (RetrieveSupportedPhasesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (RetrieveSupportedPhasesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (RetrieveSupportedPhasesRequest) RetryPolicy

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

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

func (RetrieveSupportedPhasesRequest) String

func (request RetrieveSupportedPhasesRequest) String() string

type RetrieveSupportedPhasesResponse

type RetrieveSupportedPhasesResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

RetrieveSupportedPhasesResponse wrapper for the RetrieveSupportedPhases operation

func (RetrieveSupportedPhasesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (RetrieveSupportedPhasesResponse) String

func (response RetrieveSupportedPhasesResponse) String() string

type SortOrdersEnum

type SortOrdersEnum string

SortOrdersEnum Enum with underlying type: string

const (
	SortOrdersAsc  SortOrdersEnum = "ASC"
	SortOrdersDesc SortOrdersEnum = "DESC"
)

Set of constants representing the allowable values for SortOrdersEnum

func GetSortOrdersEnumValues

func GetSortOrdersEnumValues() []SortOrdersEnum

GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum

type SshDetails

type SshDetails struct {

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

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

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

SshDetails Details of the SSH key that will be used.

func (SshDetails) String

func (m SshDetails) String() string

type StartMigrationDetails

type StartMigrationDetails struct {

	// Name of a migration phase. The Job will wait after executing this
	// phase until the Resume Job endpoint is called.
	WaitAfter OdmsJobPhasesEnum `mandatory:"false" json:"waitAfter,omitempty"`
}

StartMigrationDetails Parameters to specify to a Migration job operation.

func (StartMigrationDetails) String

func (m StartMigrationDetails) String() string

type StartMigrationRequest

type StartMigrationRequest struct {

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

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

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

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

	// Start Migration Job properties.
	StartMigrationDetails `contributesTo:"body"`

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

StartMigrationRequest wrapper for the StartMigration operation

See also

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

func (StartMigrationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (StartMigrationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (StartMigrationRequest) RetryPolicy

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

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

func (StartMigrationRequest) String

func (request StartMigrationRequest) String() string

type StartMigrationResponse

type StartMigrationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

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

StartMigrationResponse wrapper for the StartMigration operation

func (StartMigrationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (StartMigrationResponse) String

func (response StartMigrationResponse) String() string

type UnsupportedDatabaseObject

type UnsupportedDatabaseObject struct {

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

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

	// Type of unsupported object
	Type UnsupportedDatabaseObjectTypeEnum `mandatory:"false" json:"type,omitempty"`
}

UnsupportedDatabaseObject Database objects to exclude from migration

func (UnsupportedDatabaseObject) String

func (m UnsupportedDatabaseObject) String() string

type UnsupportedDatabaseObjectTypeEnum

type UnsupportedDatabaseObjectTypeEnum string

UnsupportedDatabaseObjectTypeEnum Enum with underlying type: string

const (
	UnsupportedDatabaseObjectTypeGoldenGate UnsupportedDatabaseObjectTypeEnum = "GOLDEN_GATE"
)

Set of constants representing the allowable values for UnsupportedDatabaseObjectTypeEnum

func GetUnsupportedDatabaseObjectTypeEnumValues

func GetUnsupportedDatabaseObjectTypeEnumValues() []UnsupportedDatabaseObjectTypeEnum

GetUnsupportedDatabaseObjectTypeEnumValues Enumerates the set of values for UnsupportedDatabaseObjectTypeEnum

type UpdateAdminCredentials

type UpdateAdminCredentials struct {

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

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

UpdateAdminCredentials Database Administrator Credentials details. An empty object would result in the removal of the stored details.

func (UpdateAdminCredentials) String

func (m UpdateAdminCredentials) String() string

type UpdateAdvisorSettings

type UpdateAdvisorSettings struct {

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

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

UpdateAdvisorSettings Optional Pre-Migration advisor settings.

func (UpdateAdvisorSettings) String

func (m UpdateAdvisorSettings) String() string

type UpdateAgentDetails

type UpdateAgentDetails struct {

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

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

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

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

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

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

UpdateAgentDetails ODMS Agent Details

func (UpdateAgentDetails) String

func (m UpdateAgentDetails) String() string

type UpdateAgentRequest

type UpdateAgentRequest struct {

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

	// Update ODMS Agent properties.
	UpdateAgentDetails `contributesTo:"body"`

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

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

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

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

UpdateAgentRequest wrapper for the UpdateAgent operation

See also

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

func (UpdateAgentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateAgentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateAgentRequest) RetryPolicy

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

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

func (UpdateAgentRequest) String

func (request UpdateAgentRequest) String() string

type UpdateAgentResponse

type UpdateAgentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

UpdateAgentResponse wrapper for the UpdateAgent operation

func (UpdateAgentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateAgentResponse) String

func (response UpdateAgentResponse) String() string

type UpdateConnectDescriptor

type UpdateConnectDescriptor struct {

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

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

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

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

UpdateConnectDescriptor Connect Descriptor details. If a Private Endpoint was specified in the Connection, the host entry should be a valid IP address.

func (UpdateConnectDescriptor) String

func (m UpdateConnectDescriptor) String() string

type UpdateConnectionDetails

type UpdateConnectionDetails struct {

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

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

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

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

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

	// keystore.jks file contents; base64 encoded String. Not required for source container database connections.
	TlsKeystore *string `mandatory:"false" json:"tlsKeystore"`

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

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

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

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

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

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateConnectionDetails Details to update in a Database Connection resource.

func (UpdateConnectionDetails) String

func (m UpdateConnectionDetails) String() string

type UpdateConnectionRequest

type UpdateConnectionRequest struct {

	// The OCID of the database connection
	ConnectionId *string `mandatory:"true" contributesTo:"path" name:"connectionId"`

	// Database Connection properties.
	UpdateConnectionDetails `contributesTo:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateConnectionRequest wrapper for the UpdateConnection operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/UpdateConnection.go.html to see an example of how to use UpdateConnectionRequest.

func (UpdateConnectionRequest) BinaryRequestBody

func (request UpdateConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateConnectionRequest) HTTPRequest

func (request UpdateConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateConnectionRequest) RetryPolicy

func (request UpdateConnectionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateConnectionRequest) String

func (request UpdateConnectionRequest) String() string

type UpdateConnectionResponse

type UpdateConnectionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

UpdateConnectionResponse wrapper for the UpdateConnection operation

func (UpdateConnectionResponse) HTTPResponse

func (response UpdateConnectionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateConnectionResponse) String

func (response UpdateConnectionResponse) String() string

type UpdateCurlTransferDetails

type UpdateCurlTransferDetails struct {
}

UpdateCurlTransferDetails Optional properties for Curl-based dump transfer in source or target host.

func (UpdateCurlTransferDetails) MarshalJSON

func (m UpdateCurlTransferDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateCurlTransferDetails) String

func (m UpdateCurlTransferDetails) String() string

type UpdateDataPumpParameters

type UpdateDataPumpParameters struct {

	// Set to false to force Data Pump worker processes to run on one instance.
	IsCluster *bool `mandatory:"false" json:"isCluster"`

	// Estimate size of dumps that will be generated.
	Estimate DataPumpEstimateEnum `mandatory:"false" json:"estimate,omitempty"`

	// IMPORT: Specifies the action to be performed when data is loaded into a preexisting table.
	TableExistsAction DataPumpTableExistsActionEnum `mandatory:"false" json:"tableExistsAction,omitempty"`

	// Exclude paratemers for Export and Import. If specified, the stored list will be replaced.
	ExcludeParameters []DataPumpExcludeParametersEnum `mandatory:"false" json:"excludeParameters"`

	// Maximum number of worker processes that can be used for a Data Pump Import job.
	// For an Autonomous Database, ODMS will automatically query its CPU core count and set this property.
	ImportParallelismDegree *int `mandatory:"false" json:"importParallelismDegree"`

	// Maximum number of worker processes that can be used for a Data Pump Export job.
	ExportParallelismDegree *int `mandatory:"false" json:"exportParallelismDegree"`
}

UpdateDataPumpParameters Optional parameters for Data Pump Export and Import. Refer to Configuring Optional Initial Load Advanced Settings (https://docs-uat.us.oracle.com/en/cloud/paas/database-migration/dmsus/working-migration-resources.html#GUID-24BD3054-FDF8-48FF-8492-636C1D4B71ED) If an empty object is specified, the stored Data Pump Parameter details will be removed.

func (UpdateDataPumpParameters) String

func (m UpdateDataPumpParameters) String() string

type UpdateDataPumpSettings

type UpdateDataPumpSettings struct {

	// Data Pump job mode.
	// Refer to Data Pump Export Modes  (https://docs.oracle.com/en/database/oracle/oracle-database/19/sutil/oracle-data-pump-export-utility.html#GUID-8E497131-6B9B-4CC8-AA50-35F480CAC2C4)
	JobMode DataPumpJobModeEnum `mandatory:"false" json:"jobMode,omitempty"`

	DataPumpParameters *UpdateDataPumpParameters `mandatory:"false" json:"dataPumpParameters"`

	// Defines remappings to be applied to objects as they are processed.
	// Refer to METADATA_REMAP Procedure  (https://docs.oracle.com/en/database/oracle/oracle-database/19/arpls/DBMS_DATAPUMP.html#GUID-0FC32790-91E6-4781-87A3-229DE024CB3D)
	// If specified, the list will be replaced entirely. Empty list will remove stored Metadata Remap details.
	MetadataRemaps []MetadataRemap `mandatory:"false" json:"metadataRemaps"`

	ExportDirectoryObject *UpdateDirectoryObject `mandatory:"false" json:"exportDirectoryObject"`

	ImportDirectoryObject *UpdateDirectoryObject `mandatory:"false" json:"importDirectoryObject"`
}

UpdateDataPumpSettings Optional settings for Data Pump Export and Import jobs

func (UpdateDataPumpSettings) String

func (m UpdateDataPumpSettings) String() string

type UpdateDataTransferMediumDetails

type UpdateDataTransferMediumDetails struct {
	DatabaseLinkDetails *UpdateDatabaseLinkDetails `mandatory:"false" json:"databaseLinkDetails"`

	ObjectStorageDetails *UpdateObjectStoreBucket `mandatory:"false" json:"objectStorageDetails"`
}

UpdateDataTransferMediumDetails Data Transfer Medium details for the Migration. Only one type of data transfer medium can be specified and will replace the stored Data Transfer Medium details. If an empty object is specified, the stored Data Transfer Medium details will be removed.

func (UpdateDataTransferMediumDetails) String

type UpdateDatabaseLinkDetails

type UpdateDatabaseLinkDetails struct {

	// Name of database link from OCI database to on-premise database. ODMS will create link, if the link does not already exist.
	Name *string `mandatory:"false" json:"name"`

	WalletBucket *UpdateObjectStoreBucket `mandatory:"false" json:"walletBucket"`
}

UpdateDatabaseLinkDetails Optional details for updating a network database link from OCI database to on-premise database.

func (UpdateDatabaseLinkDetails) String

func (m UpdateDatabaseLinkDetails) String() string

type UpdateDirectoryObject

type UpdateDirectoryObject struct {

	// Name of directory object in database
	Name *string `mandatory:"false" json:"name"`

	// Absolute path of directory on database server
	Path *string `mandatory:"false" json:"path"`
}

UpdateDirectoryObject Directory object details, used to define either import or export directory objects in Data Pump Settings. Import directory is required for Non-Autonomous target connections. If specified for an autonomous target, it will show an error. Export directory will error if there are database link details specified. If an empty object is specified, the stored Directory Object details will be removed.

func (UpdateDirectoryObject) String

func (m UpdateDirectoryObject) String() string

type UpdateDumpTransferDetails

type UpdateDumpTransferDetails struct {
	Source UpdateHostDumpTransferDetails `mandatory:"false" json:"source"`

	Target UpdateHostDumpTransferDetails `mandatory:"false" json:"target"`
}

UpdateDumpTransferDetails Optional additional properties for dump transfer.

func (UpdateDumpTransferDetails) String

func (m UpdateDumpTransferDetails) String() string

func (*UpdateDumpTransferDetails) UnmarshalJSON

func (m *UpdateDumpTransferDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type UpdateExtract

type UpdateExtract struct {

	// Extract performance.
	PerformanceProfile ExtractPerformanceProfileEnum `mandatory:"false" json:"performanceProfile,omitempty"`

	// Length of time (in seconds) that a transaction can be open before Extract generates a warning message that the transaction is long-running.
	// If not specified, Extract will not generate a warning on long-running transactions.
	LongTransDuration *int `mandatory:"false" json:"longTransDuration"`
}

UpdateExtract Parameters for Extract processes. If an empty object is specified, the stored Extract details will be removed.

func (UpdateExtract) String

func (m UpdateExtract) String() string

type UpdateGoldenGateDetails

type UpdateGoldenGateDetails struct {
	Hub *UpdateGoldenGateHub `mandatory:"false" json:"hub"`

	Settings *UpdateGoldenGateSettings `mandatory:"false" json:"settings"`
}

UpdateGoldenGateDetails Details about Oracle GoldenGate Microservices. If an empty object is specified, the stored Golden Gate details will be removed.

func (UpdateGoldenGateDetails) String

func (m UpdateGoldenGateDetails) String() string

type UpdateGoldenGateHub

type UpdateGoldenGateHub struct {
	RestAdminCredentials *UpdateAdminCredentials `mandatory:"false" json:"restAdminCredentials"`

	SourceDbAdminCredentials *UpdateAdminCredentials `mandatory:"false" json:"sourceDbAdminCredentials"`

	SourceContainerDbAdminCredentials *UpdateAdminCredentials `mandatory:"false" json:"sourceContainerDbAdminCredentials"`

	TargetDbAdminCredentials *UpdateAdminCredentials `mandatory:"false" json:"targetDbAdminCredentials"`

	// Oracle GoldenGate hub's REST endpoint.
	// Refer to https://docs.oracle.com/en/middleware/goldengate/core/19.1/securing/network.html#GUID-A709DA55-111D-455E-8942-C9BDD1E38CAA
	Url *string `mandatory:"false" json:"url"`

	// Name of GoldenGate deployment to operate on source database
	SourceMicroservicesDeploymentName *string `mandatory:"false" json:"sourceMicroservicesDeploymentName"`

	// Name of GoldenGate deployment to operate on target database
	TargetMicroservicesDeploymentName *string `mandatory:"false" json:"targetMicroservicesDeploymentName"`

	// OCID of GoldenGate compute instance. An empty value will remove the stored computeId.
	ComputeId *string `mandatory:"false" json:"computeId"`
}

UpdateGoldenGateHub Details about Oracle GoldenGate Microservices.

func (UpdateGoldenGateHub) String

func (m UpdateGoldenGateHub) String() string

type UpdateGoldenGateSettings

type UpdateGoldenGateSettings struct {
	Extract *UpdateExtract `mandatory:"false" json:"extract"`

	Replicat *UpdateReplicat `mandatory:"false" json:"replicat"`

	// ODMS will monitor GoldenGate end-to-end latency until the lag time is lower than the specified value in seconds.
	AcceptableLag *int `mandatory:"false" json:"acceptableLag"`
}

UpdateGoldenGateSettings Optional settings for Oracle GoldenGate processes If an empty object is specified, the stored GoldenGate Settings details will be removed.

func (UpdateGoldenGateSettings) String

func (m UpdateGoldenGateSettings) String() string

type UpdateHostDumpTransferDetails

type UpdateHostDumpTransferDetails interface {
}

UpdateHostDumpTransferDetails Optional additional properties for dump transfer in source or target host. Default kind is CURL

type UpdateHostDumpTransferDetailsKindEnum

type UpdateHostDumpTransferDetailsKindEnum string

UpdateHostDumpTransferDetailsKindEnum Enum with underlying type: string

const (
	UpdateHostDumpTransferDetailsKindCurl   UpdateHostDumpTransferDetailsKindEnum = "CURL"
	UpdateHostDumpTransferDetailsKindOciCli UpdateHostDumpTransferDetailsKindEnum = "OCI_CLI"
)

Set of constants representing the allowable values for UpdateHostDumpTransferDetailsKindEnum

func GetUpdateHostDumpTransferDetailsKindEnumValues

func GetUpdateHostDumpTransferDetailsKindEnumValues() []UpdateHostDumpTransferDetailsKindEnum

GetUpdateHostDumpTransferDetailsKindEnumValues Enumerates the set of values for UpdateHostDumpTransferDetailsKindEnum

type UpdateJobDetails

type UpdateJobDetails struct {

	// Name of the job.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateJobDetails Update Job Details

func (UpdateJobDetails) String

func (m UpdateJobDetails) String() string

type UpdateJobRequest

type UpdateJobRequest struct {

	// The OCID of the job
	JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"`

	// Migration Job properties.
	UpdateJobDetails `contributesTo:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateJobRequest wrapper for the UpdateJob operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/UpdateJob.go.html to see an example of how to use UpdateJobRequest.

func (UpdateJobRequest) BinaryRequestBody

func (request UpdateJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateJobRequest) HTTPRequest

func (request UpdateJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateJobRequest) RetryPolicy

func (request UpdateJobRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateJobRequest) String

func (request UpdateJobRequest) String() string

type UpdateJobResponse

type UpdateJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Job instance
	Job `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

UpdateJobResponse wrapper for the UpdateJob operation

func (UpdateJobResponse) HTTPResponse

func (response UpdateJobResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateJobResponse) String

func (response UpdateJobResponse) String() string

type UpdateMigrationDetails

type UpdateMigrationDetails struct {

	// Migration type.
	Type MigrationTypesEnum `mandatory:"false" json:"type,omitempty"`

	// Migration Display Name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The OCID of the registered ODMS Agent.
	AgentId *string `mandatory:"false" json:"agentId"`

	// The OCID of the Source Database Connection.
	SourceDatabaseConnectionId *string `mandatory:"false" json:"sourceDatabaseConnectionId"`

	// The OCID of the Source Container Database Connection. Only used for Online migrations.
	// Only Connections of type Non-Autonomous can be used as source container databases.
	// An empty value would remove the stored Connection ID.
	SourceContainerDatabaseConnectionId *string `mandatory:"false" json:"sourceContainerDatabaseConnectionId"`

	// The OCID of the Target Database Connection.
	TargetDatabaseConnectionId *string `mandatory:"false" json:"targetDatabaseConnectionId"`

	DataTransferMediumDetails *UpdateDataTransferMediumDetails `mandatory:"false" json:"dataTransferMediumDetails"`

	DumpTransferDetails *UpdateDumpTransferDetails `mandatory:"false" json:"dumpTransferDetails"`

	DatapumpSettings *UpdateDataPumpSettings `mandatory:"false" json:"datapumpSettings"`

	AdvisorSettings *UpdateAdvisorSettings `mandatory:"false" json:"advisorSettings"`

	// Database objects to exclude from migration, cannot be specified alongside 'includeObjects'.
	// If specified, the list will be replaced entirely. Empty list will remove stored excludeObjects details.
	ExcludeObjects []DatabaseObject `mandatory:"false" json:"excludeObjects"`

	// Database objects to include from migration, cannot be specified alongside 'excludeObjects'.
	// If specified, the list will be replaced entirely. Empty list will remove stored includeObjects details.
	IncludeObjects []DatabaseObject `mandatory:"false" json:"includeObjects"`

	GoldenGateDetails *UpdateGoldenGateDetails `mandatory:"false" json:"goldenGateDetails"`

	VaultDetails *UpdateVaultDetails `mandatory:"false" json:"vaultDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateMigrationDetails Update Migration resource parameters.

func (UpdateMigrationDetails) String

func (m UpdateMigrationDetails) String() string

type UpdateMigrationRequest

type UpdateMigrationRequest struct {

	// The OCID of the migration
	MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"`

	// Migration properties.
	UpdateMigrationDetails `contributesTo:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
	// particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateMigrationRequest wrapper for the UpdateMigration operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/UpdateMigration.go.html to see an example of how to use UpdateMigrationRequest.

func (UpdateMigrationRequest) BinaryRequestBody

func (request UpdateMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateMigrationRequest) HTTPRequest

func (request UpdateMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateMigrationRequest) RetryPolicy

func (request UpdateMigrationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateMigrationRequest) String

func (request UpdateMigrationRequest) String() string

type UpdateMigrationResponse

type UpdateMigrationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

UpdateMigrationResponse wrapper for the UpdateMigration operation

func (UpdateMigrationResponse) HTTPResponse

func (response UpdateMigrationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateMigrationResponse) String

func (response UpdateMigrationResponse) String() string

type UpdateObjectStoreBucket

type UpdateObjectStoreBucket struct {

	// Namespace name of the object store bucket.
	NamespaceName *string `mandatory:"false" json:"namespaceName"`

	// Bucket name.
	BucketName *string `mandatory:"false" json:"bucketName"`
}

UpdateObjectStoreBucket OCI Object Storage bucket details.

func (UpdateObjectStoreBucket) String

func (m UpdateObjectStoreBucket) String() string

type UpdateOciCliDumpTransferDetails

type UpdateOciCliDumpTransferDetails struct {

	// Path to the OCI CLI installation in the node.
	OciHome *string `mandatory:"true" json:"ociHome"`
}

UpdateOciCliDumpTransferDetails Optional dump transfer details for OCI-CLI-based dump transfer in source or target host.

func (UpdateOciCliDumpTransferDetails) MarshalJSON

func (m UpdateOciCliDumpTransferDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateOciCliDumpTransferDetails) String

type UpdatePrivateEndpoint

type UpdatePrivateEndpoint struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to contain the
	// private endpoint.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN where the Private Endpoint will be bound to.
	VcnId *string `mandatory:"false" json:"vcnId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the customer's subnet where the private endpoint VNIC
	// will reside.
	SubnetId *string `mandatory:"false" json:"subnetId"`
}

UpdatePrivateEndpoint OCI Private Endpoint configuration details. An empty object would result in the removal of the stored details.

func (UpdatePrivateEndpoint) String

func (m UpdatePrivateEndpoint) String() string

type UpdateReplicat

type UpdateReplicat struct {

	// Number of threads used to read trail files (valid for Parallel Replicat)
	MapParallelism *int `mandatory:"false" json:"mapParallelism"`

	// Defines the range in which Replicat automatically adjusts its apply parallelism (valid for Parallel Replicat)
	MinApplyParallelism *int `mandatory:"false" json:"minApplyParallelism"`

	// Defines the range in which Replicat automatically adjusts its apply parallelism (valid for Parallel Replicat)
	MaxApplyParallelism *int `mandatory:"false" json:"maxApplyParallelism"`
}

UpdateReplicat Parameters for Replicat processes. If an empty object is specified, the stored Replicat details will be removed.

func (UpdateReplicat) String

func (m UpdateReplicat) String() string

type UpdateSshDetails

type UpdateSshDetails struct {

	// Name of the host the SSH key is valid for.
	Host *string `mandatory:"false" json:"host"`

	// Private SSH key string.
	Sshkey *string `mandatory:"false" json:"sshkey"`

	// SSH user
	User *string `mandatory:"false" json:"user"`

	// Sudo location
	SudoLocation *string `mandatory:"false" json:"sudoLocation"`
}

UpdateSshDetails Details of the SSH key that will be used.

func (UpdateSshDetails) String

func (m UpdateSshDetails) String() string

type UpdateVaultDetails

type UpdateVaultDetails struct {

	// OCID of the compartment where the secret containing the credentials will be created.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// OCID of the vault
	VaultId *string `mandatory:"false" json:"vaultId"`

	// OCID of the vault encryption key
	KeyId *string `mandatory:"false" json:"keyId"`
}

UpdateVaultDetails OCI Vault details to store migration and connection credentials secrets. An empty object would result in the removal of the stored details.

func (UpdateVaultDetails) String

func (m UpdateVaultDetails) String() string

type VaultDetails

type VaultDetails struct {

	// OCID of the compartment where the secret containing the credentials will be created.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// OCID of the vault
	VaultId *string `mandatory:"true" json:"vaultId"`

	// OCID of the vault encryption key
	KeyId *string `mandatory:"true" json:"keyId"`
}

VaultDetails OCI Vault details to store migration and connection credentials secrets

func (VaultDetails) String

func (m VaultDetails) String() string

type WorkRequest

type WorkRequest struct {

	// Type of the work request
	OperationType OperationTypesEnum `mandatory:"true" json:"operationType"`

	// Status of current work request.
	Status OperationStatusEnum `mandatory:"true" json:"status"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment
	// that contains the work request.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The resources that are affected by this work request.
	Resources []WorkRequestResource `mandatory:"true" json:"resources"`

	// The percentage complete of the operation tracked by this work request.
	PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

	// The date and time the work request was created, in the format defined by RFC3339.
	TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

	// The date and time the work request transitioned from `ACCEPTED` to `IN_PROGRESS`,
	// in the format defined by RFC3339.
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The date and time the work request reached a terminal state, either `FAILED` or `SUCCEEDED`.
	// Format is defined by RFC3339.
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

WorkRequest An asynchronous work request.

func (WorkRequest) String

func (m WorkRequest) String() string

type WorkRequestCollection

type WorkRequestCollection struct {

	// Items in collection.
	Items []WorkRequestSummary `mandatory:"true" json:"items"`
}

WorkRequestCollection Results of a Work Request search. Contains WorkRequestSummary items.

func (WorkRequestCollection) String

func (m WorkRequestCollection) String() string

type WorkRequestError

type WorkRequestError struct {

	// A machine-usable code for the error that occured. Error codes are listed on
	// API Errors (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)
	Code *string `mandatory:"true" json:"code"`

	// A human-readable error string.
	Message *string `mandatory:"true" json:"message"`

	// The time the error occured. An RFC3339 formatted datetime string.
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestError An error encountered while executing an operation that is tracked by a work request.

func (WorkRequestError) String

func (m WorkRequestError) String() string

type WorkRequestErrorCollection

type WorkRequestErrorCollection struct {

	// Items in collection.
	Items []WorkRequestError `mandatory:"true" json:"items"`
}

WorkRequestErrorCollection Results of a Work Request search. Contains WorkRequestError items.

func (WorkRequestErrorCollection) String

type WorkRequestLogEntry

type WorkRequestLogEntry struct {

	// A human-readable log message.
	Message *string `mandatory:"true" json:"message"`

	// The time the log message was written. An RFC3339 formatted datetime string
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestLogEntry A log message from executing an operation that is tracked by a work request.

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

type WorkRequestLogEntryCollection

type WorkRequestLogEntryCollection struct {

	// Items in collection.
	Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}

WorkRequestLogEntryCollection Results of a Work Request search. Contains WorkRequestLogEntry items.

func (WorkRequestLogEntryCollection) String

type WorkRequestResource

type WorkRequestResource struct {

	// The way in which this resource was affected by the operation that spawned the work
	// request.
	ActionType WorkRequestResourceActionTypeEnum `mandatory:"true" json:"actionType"`

	// The resource type the work request affects.
	EntityType *string `mandatory:"true" json:"entityType"`

	// An OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) or other unique identifier for the
	// resource.
	Identifier *string `mandatory:"true" json:"identifier"`

	// The URI path that you can use for a GET request to access the resource metadata.
	EntityUri *string `mandatory:"false" json:"entityUri"`
}

WorkRequestResource A resource that is created or operated on by an asynchronous operation that is tracked by a work request.

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

type WorkRequestResourceActionTypeEnum

type WorkRequestResourceActionTypeEnum string

WorkRequestResourceActionTypeEnum Enum with underlying type: string

const (
	WorkRequestResourceActionTypeCreated    WorkRequestResourceActionTypeEnum = "CREATED"
	WorkRequestResourceActionTypeUpdated    WorkRequestResourceActionTypeEnum = "UPDATED"
	WorkRequestResourceActionTypeDeleted    WorkRequestResourceActionTypeEnum = "DELETED"
	WorkRequestResourceActionTypeRelated    WorkRequestResourceActionTypeEnum = "RELATED"
	WorkRequestResourceActionTypeInProgress WorkRequestResourceActionTypeEnum = "IN_PROGRESS"
)

Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum

func GetWorkRequestResourceActionTypeEnumValues

func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum

GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum

type WorkRequestSummary

type WorkRequestSummary struct {

	// The asynchronous operation tracked by this work request.
	OperationType *string `mandatory:"true" json:"operationType"`

	// The status of the work request.
	Status WorkRequestSummaryStatusEnum `mandatory:"true" json:"status"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing
	// this work request.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The percentage complete of the operation tracked by this work request.
	PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

	// The date and time the work request was created, in the format defined by RFC3339.
	TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

	// The date and time the work request transitioned from `ACCEPTED` to `IN_PROGRESS`, in
	// the format defined by RFC3339.
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The date and time the work request reached a terminal state, either `FAILED` or `SUCCEEDED`.
	// Format is defined by RFC3339.
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

WorkRequestSummary A summary of the status of a work request.

func (WorkRequestSummary) String

func (m WorkRequestSummary) String() string

type WorkRequestSummaryStatusEnum

type WorkRequestSummaryStatusEnum string

WorkRequestSummaryStatusEnum Enum with underlying type: string

const (
	WorkRequestSummaryStatusAccepted   WorkRequestSummaryStatusEnum = "ACCEPTED"
	WorkRequestSummaryStatusInProgress WorkRequestSummaryStatusEnum = "IN_PROGRESS"
	WorkRequestSummaryStatusFailed     WorkRequestSummaryStatusEnum = "FAILED"
	WorkRequestSummaryStatusSucceeded  WorkRequestSummaryStatusEnum = "SUCCEEDED"
	WorkRequestSummaryStatusCanceling  WorkRequestSummaryStatusEnum = "CANCELING"
	WorkRequestSummaryStatusCanceled   WorkRequestSummaryStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for WorkRequestSummaryStatusEnum

func GetWorkRequestSummaryStatusEnumValues

func GetWorkRequestSummaryStatusEnumValues() []WorkRequestSummaryStatusEnum

GetWorkRequestSummaryStatusEnumValues Enumerates the set of values for WorkRequestSummaryStatusEnum

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL