AbortJobRequest wrapper for the AbortJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/AbortJob.go.html to see an example of how to use AbortJobRequest.
type AbortJobRequest struct { // The OCID of the job JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request AbortJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AbortJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AbortJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AbortJobRequest) String() string
AbortJobResponse wrapper for the AbortJob operation
type AbortJobResponse struct { // The underlying http response RawResponse *http.Response // The Job instance Job `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response AbortJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AbortJobResponse) String() string
AdminCredentials Database Administrator Credentials details.
type AdminCredentials struct { // Administrator username Username *string `mandatory:"true" json:"username"` }
func (m AdminCredentials) String() string
Agent ODMS Agent Details
type Agent struct { // The OCID of the resource Id *string `mandatory:"true" json:"id"` // ODMS Agent name DisplayName *string `mandatory:"true" json:"displayName"` // OCID of the compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the Stream StreamId *string `mandatory:"true" json:"streamId"` // ODMS Agent version Version *string `mandatory:"true" json:"version"` // The time the Agent was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time of the last Agent details update. An RFC3339 formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The current state of the ODMS on-premises Agent. LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"` // ODMS Agent public key. PublicKey *string `mandatory:"false" json:"publicKey"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m Agent) String() string
AgentCollection Results of an Agent search. Contains AgentSummary items.
type AgentCollection struct { // Items in collection. Items []AgentSummary `mandatory:"true" json:"items"` }
func (m AgentCollection) String() string
AgentImageCollection Results of an ODMS Agent Image search. Contains AgentImageSummary items.
type AgentImageCollection struct { // Items in collection. Items []AgentImageSummary `mandatory:"true" json:"items"` }
func (m AgentImageCollection) String() string
AgentImageSummary Available ODMS Agent Images.
type AgentImageSummary struct { // ODMS Agent Image version. Version *string `mandatory:"true" json:"version"` // URL to download Agent Image of the ODMS Agent. DownloadUrl *string `mandatory:"true" json:"downloadUrl"` }
func (m AgentImageSummary) String() string
AgentSummary ODMS Agent Details
type AgentSummary struct { // The OCID of the resource Id *string `mandatory:"true" json:"id"` // ODMS Agent name DisplayName *string `mandatory:"true" json:"displayName"` // OCID of the compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // ODMS Agent version Version *string `mandatory:"true" json:"version"` // The time the Agent was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the ODMS on-premises Agent. LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"` // The OCID of the Stream StreamId *string `mandatory:"false" json:"streamId"` // The time of the last Agent details update. An RFC3339 formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m AgentSummary) String() string
ChangeAgentCompartmentDetails Change Agent compartment details
type ChangeAgentCompartmentDetails struct { // The OCID of the compartment to move the resource to. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeAgentCompartmentDetails) String() string
ChangeAgentCompartmentRequest wrapper for the ChangeAgentCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/ChangeAgentCompartment.go.html to see an example of how to use ChangeAgentCompartmentRequest.
type ChangeAgentCompartmentRequest struct { // The OCID of the agent AgentId *string `mandatory:"true" contributesTo:"path" name:"agentId"` // Details to change the compartment. ChangeAgentCompartmentDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeAgentCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeAgentCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeAgentCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeAgentCompartmentRequest) String() string
ChangeAgentCompartmentResponse wrapper for the ChangeAgentCompartment operation
type ChangeAgentCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeAgentCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeAgentCompartmentResponse) String() string
ChangeConnectionCompartmentDetails Change Database Connection compartment details.
type ChangeConnectionCompartmentDetails struct { // The OCID of the compartment to move the resource to. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeConnectionCompartmentDetails) String() string
ChangeConnectionCompartmentRequest wrapper for the ChangeConnectionCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/ChangeConnectionCompartment.go.html to see an example of how to use ChangeConnectionCompartmentRequest.
type ChangeConnectionCompartmentRequest struct { // The OCID of the database connection ConnectionId *string `mandatory:"true" contributesTo:"path" name:"connectionId"` // Details to change the compartment. ChangeConnectionCompartmentDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeConnectionCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeConnectionCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeConnectionCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeConnectionCompartmentRequest) String() string
ChangeConnectionCompartmentResponse wrapper for the ChangeConnectionCompartment operation
type ChangeConnectionCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeConnectionCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeConnectionCompartmentResponse) String() string
ChangeMigrationCompartmentDetails Change Migration compartment details.
type ChangeMigrationCompartmentDetails struct { // The OCID of the compartment to move the resource to. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeMigrationCompartmentDetails) String() string
ChangeMigrationCompartmentRequest wrapper for the ChangeMigrationCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/ChangeMigrationCompartment.go.html to see an example of how to use ChangeMigrationCompartmentRequest.
type ChangeMigrationCompartmentRequest struct { // The OCID of the migration MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"` // Details to change the compartment. ChangeMigrationCompartmentDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeMigrationCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeMigrationCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeMigrationCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeMigrationCompartmentRequest) String() string
ChangeMigrationCompartmentResponse wrapper for the ChangeMigrationCompartment operation
type ChangeMigrationCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeMigrationCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeMigrationCompartmentResponse) String() string
CloneMigrationDetails Details that will override an existing Migration configuration that will be cloned.
type CloneMigrationDetails struct { // The OCID of the Source Database Connection. SourceDatabaseConnectionId *string `mandatory:"true" json:"sourceDatabaseConnectionId"` // The OCID of the Target Database Connection. TargetDatabaseConnectionId *string `mandatory:"true" json:"targetDatabaseConnectionId"` // Migration Display Name DisplayName *string `mandatory:"false" json:"displayName"` // OCID of the compartment CompartmentId *string `mandatory:"false" json:"compartmentId"` // The OCID of the registered on-premises ODMS Agent. Only valid for Offline Logical Migrations. AgentId *string `mandatory:"false" json:"agentId"` // The OCID of the Source Container Database Connection. Only used for Online migrations. // Only Connections of type Non-Autonomous can be used as source container databases. SourceContainerDatabaseConnectionId *string `mandatory:"false" json:"sourceContainerDatabaseConnectionId"` // Database objects to exclude from migration. ExcludeObjects []DatabaseObject `mandatory:"false" json:"excludeObjects"` VaultDetails *CreateVaultDetails `mandatory:"false" json:"vaultDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CloneMigrationDetails) String() string
CloneMigrationRequest wrapper for the CloneMigration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/CloneMigration.go.html to see an example of how to use CloneMigrationRequest.
type CloneMigrationRequest struct { // The OCID of the migration MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"` // Clone Migration properties. CloneMigrationDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CloneMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CloneMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CloneMigrationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CloneMigrationRequest) String() string
CloneMigrationResponse wrapper for the CloneMigration operation
type CloneMigrationResponse struct { // The underlying http response RawResponse *http.Response // The Migration instance Migration `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response CloneMigrationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CloneMigrationResponse) String() string
ConnectDescriptor Connect Descriptor details.
type ConnectDescriptor struct { // Host of the connect descriptor. Host *string `mandatory:"false" json:"host"` // Port of the connect descriptor. Port *int `mandatory:"false" json:"port"` // Database service name. DatabaseServiceName *string `mandatory:"false" json:"databaseServiceName"` // Connect string. ConnectString *string `mandatory:"false" json:"connectString"` }
func (m ConnectDescriptor) String() string
Connection Database Connection resource used for migrations.
type Connection struct { // The OCID of the resource Id *string `mandatory:"true" json:"id"` // OCID of the compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // Database connection type. DatabaseType DatabaseConnectionTypesEnum `mandatory:"true" json:"databaseType"` // Database Connection display name identifier. DisplayName *string `mandatory:"true" json:"displayName"` // The current state of the Connection resource. LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"` // The time the Connection resource was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // 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"` }
func (m Connection) String() string
ConnectionCollection Results of a Database Connection search. Contains DatabaseConnectionSummary items.
type ConnectionCollection struct { // Items in collection. Items []ConnectionSummary `mandatory:"true" json:"items"` }
func (m ConnectionCollection) String() string
ConnectionSummary Database Connection Summary.
type ConnectionSummary struct { // The OCID of the resource Id *string `mandatory:"true" json:"id"` // OCID of the compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // Database connection type. DatabaseType DatabaseConnectionTypesEnum `mandatory:"true" json:"databaseType"` // Database Connection display name identifier. DisplayName *string `mandatory:"true" json:"displayName"` // The time the Connection resource was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the Connection resource. LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"` // 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"` }
func (m ConnectionSummary) String() string
CreateAdminCredentials Database Administrator Credentials details.
type CreateAdminCredentials struct { // Administrator username Username *string `mandatory:"true" json:"username"` // Administrator password Password *string `mandatory:"true" json:"password"` }
func (m CreateAdminCredentials) String() string
CreateAgentDetails ODMS Agent Details
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"` }
func (m CreateAgentDetails) String() string
CreateConnectDescriptor Connect Descriptor details. Required for Manual and UserManagerOci connection types. If a Private Endpoint was specified for the Connection, the host should contain a valid IP address.
type CreateConnectDescriptor struct { // Host or IP address of the connect descriptor. Required if no connectString was specified. Host *string `mandatory:"false" json:"host"` // Port of the connect descriptor. Required if no connectString was specified. Port *int `mandatory:"false" json:"port"` // Database service name. Required if no connectString was specified. DatabaseServiceName *string `mandatory:"false" json:"databaseServiceName"` // Connect String. Required if no host, port nor databaseServiceName were specified. // If a Private Endpoint was specified in the Connection, the host entry should be a valid IP address. // Supported formats: // Easy connect: <host>:<port>/<db_service_name> // Long format: (description= (address=(port=<port>)(host=<host>))(connect_data=(service_name=<db_service_name>))) ConnectString *string `mandatory:"false" json:"connectString"` }
func (m CreateConnectDescriptor) String() string
CreateConnectionDetails Details to create a Database Connection resource.
type CreateConnectionDetails struct { // OCID of the compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // Database connection type. DatabaseType DatabaseConnectionTypesEnum `mandatory:"true" json:"databaseType"` AdminCredentials *CreateAdminCredentials `mandatory:"true" json:"adminCredentials"` VaultDetails *CreateVaultDetails `mandatory:"true" json:"vaultDetails"` // Database Connection display name identifier. DisplayName *string `mandatory:"false" json:"displayName"` // 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"` }
func (m CreateConnectionDetails) String() string
CreateConnectionRequest wrapper for the CreateConnection operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/CreateConnection.go.html to see an example of how to use CreateConnectionRequest.
type CreateConnectionRequest struct { // Database Connection properties. CreateConnectionDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateConnectionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateConnectionRequest) String() string
CreateConnectionResponse wrapper for the CreateConnection operation
type CreateConnectionResponse struct { // The underlying http response RawResponse *http.Response // The Connection instance Connection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response CreateConnectionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateConnectionResponse) String() string
CreateDataPumpParameters Optional parameters for Data Pump Export and Import. Refer to Configuring Optional Initial Load Advanced Settings (https://docs.us.oracle.com/en/cloud/paas/database-migration/dmsus/working-migration-resources.html#GUID-24BD3054-FDF8-48FF-8492-636C1D4B71ED)
type CreateDataPumpParameters struct { // Set to false to force Data Pump worker process to run on one instance. IsCluster *bool `mandatory:"false" json:"isCluster"` // Estimate size of dumps that will be generated. Estimate DataPumpEstimateEnum `mandatory:"false" json:"estimate,omitempty"` // IMPORT: Specifies the action to be performed when data is loaded into a preexisting table. TableExistsAction DataPumpTableExistsActionEnum `mandatory:"false" json:"tableExistsAction,omitempty"` // Exclude paratemers for Export and Import. ExcludeParameters []DataPumpExcludeParametersEnum `mandatory:"false" json:"excludeParameters"` // Maximum number of worker processes that can be used for a Data Pump Import job. // For an Autonomous Database, ODMS will automatically query its CPU core count and set this property. ImportParallelismDegree *int `mandatory:"false" json:"importParallelismDegree"` // Maximum number of worker processes that can be used for a Data Pump Export job. ExportParallelismDegree *int `mandatory:"false" json:"exportParallelismDegree"` }
func (m CreateDataPumpParameters) String() string
CreateDataPumpSettings Optional settings for Data Pump Export and Import jobs
type CreateDataPumpSettings struct { // Data Pump job mode. // Refer to link text (https://docs.oracle.com/en/database/oracle/oracle-database/19/sutil/oracle-data-pump-export-utility.html#GUID-8E497131-6B9B-4CC8-AA50-35F480CAC2C4) JobMode DataPumpJobModeEnum `mandatory:"false" json:"jobMode,omitempty"` DataPumpParameters *CreateDataPumpParameters `mandatory:"false" json:"dataPumpParameters"` // Defines remapping to be applied to objects as they are processed. // Refer to DATA_REMAP (https://docs.oracle.com/en/database/oracle/oracle-database/19/arpls/DBMS_DATAPUMP.html#GUID-E75AAE6F-4EA6-4737-A752-6B62F5E9D460) MetadataRemaps []MetadataRemap `mandatory:"false" json:"metadataRemaps"` ExportDirectoryObject *CreateDirectoryObject `mandatory:"false" json:"exportDirectoryObject"` ImportDirectoryObject *CreateDirectoryObject `mandatory:"false" json:"importDirectoryObject"` }
func (m CreateDataPumpSettings) String() string
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.
type CreateDataTransferMediumDetails struct { DatabaseLinkDetails *CreateDatabaseLinkDetails `mandatory:"false" json:"databaseLinkDetails"` ObjectStorageDetails *CreateObjectStoreBucket `mandatory:"false" json:"objectStorageDetails"` }
func (m CreateDataTransferMediumDetails) String() string
CreateDatabaseLinkDetails Optional details for creating a network database link from OCI database to on-premise database.
type CreateDatabaseLinkDetails struct { // Name of database link from OCI database to on-premise database. ODMS will create link, if the link does not already exist. Name *string `mandatory:"true" json:"name"` }
func (m CreateDatabaseLinkDetails) String() string
CreateDirectoryObject Directory object details, used to define either import or export directory objects in Data Pump Settings. Import directory is required for Non-Autonomous target connections. If specified for an autonomous target, it will show an error. Export directory will error if there are database link details specified.
type CreateDirectoryObject struct { // Name of directory object in database Name *string `mandatory:"true" json:"name"` // Absolute path of directory on database server Path *string `mandatory:"true" json:"path"` }
func (m CreateDirectoryObject) String() string
CreateExtract Parameters for GoldenGate Extract processes.
type CreateExtract struct { // Extract performance. PerformanceProfile ExtractPerformanceProfileEnum `mandatory:"false" json:"performanceProfile,omitempty"` // Length of time (in seconds) that a transaction can be open before Extract generates a warning message that the transaction is long-running. // If not specified, Extract will not generate a warning on long-running transactions. LongTransDuration *int `mandatory:"false" json:"longTransDuration"` }
func (m CreateExtract) String() string
CreateGoldenGateDetails Details about Oracle GoldenGate Microservices. Required for online logical migration.
type CreateGoldenGateDetails struct { Hub *CreateGoldenGateHub `mandatory:"true" json:"hub"` Settings *CreateGoldenGateSettings `mandatory:"false" json:"settings"` }
func (m CreateGoldenGateDetails) String() string
CreateGoldenGateHub Details about Oracle GoldenGate Microservices. Required for online logical migration.
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"` }
func (m CreateGoldenGateHub) String() string
CreateGoldenGateSettings Optional settings for GoldenGate Microservices processes
type CreateGoldenGateSettings struct { Extract *CreateExtract `mandatory:"false" json:"extract"` Replicat *CreateReplicat `mandatory:"false" json:"replicat"` // ODMS will monitor GoldenGate end-to-end latency until the lag time is lower than the specified value in seconds. AcceptableLag *int `mandatory:"false" json:"acceptableLag"` }
func (m CreateGoldenGateSettings) String() string
CreateMigrationDetails Create Migration resource parameters.
type CreateMigrationDetails struct { // Migration type. Type MigrationTypesEnum `mandatory:"true" json:"type"` // OCID of the compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the Source Database Connection. SourceDatabaseConnectionId *string `mandatory:"true" json:"sourceDatabaseConnectionId"` // The OCID of the Target Database Connection. TargetDatabaseConnectionId *string `mandatory:"true" json:"targetDatabaseConnectionId"` // Migration Display Name DisplayName *string `mandatory:"false" json:"displayName"` // The OCID of the registered ODMS Agent. Only valid for Offline Logical Migrations. AgentId *string `mandatory:"false" json:"agentId"` // The OCID of the Source Container Database Connection. Only used for Online migrations. // Only Connections of type Non-Autonomous can be used as source container databases. SourceContainerDatabaseConnectionId *string `mandatory:"false" json:"sourceContainerDatabaseConnectionId"` DataTransferMediumDetails *CreateDataTransferMediumDetails `mandatory:"false" json:"dataTransferMediumDetails"` DatapumpSettings *CreateDataPumpSettings `mandatory:"false" json:"datapumpSettings"` // Database objects to exclude from migration. ExcludeObjects []DatabaseObject `mandatory:"false" json:"excludeObjects"` 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"` }
func (m CreateMigrationDetails) String() string
CreateMigrationRequest wrapper for the CreateMigration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/CreateMigration.go.html to see an example of how to use CreateMigrationRequest.
type CreateMigrationRequest struct { // Migration properties. CreateMigrationDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateMigrationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateMigrationRequest) String() string
CreateMigrationResponse wrapper for the CreateMigration operation
type CreateMigrationResponse struct { // The underlying http response RawResponse *http.Response // The Migration instance Migration `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response CreateMigrationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateMigrationResponse) String() string
CreateObjectStoreBucket In lieu of a network database link, OCI Object Storage bucket will be used to store Data Pump dump files for the migration.
type CreateObjectStoreBucket struct { // Namespace name of the object store bucket. NamespaceName *string `mandatory:"true" json:"namespaceName"` // Bucket name. BucketName *string `mandatory:"true" json:"bucketName"` }
func (m CreateObjectStoreBucket) String() string
CreatePrivateEndpoint OCI Private Endpoint configuration details. Not required for source container database connections, it will default to the specified Source Database Connection Private Endpoint.
type CreatePrivateEndpoint struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to contain the // private endpoint. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN where the Private Endpoint will be bound to. VcnId *string `mandatory:"true" json:"vcnId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the customer's subnet where the private endpoint VNIC // will reside. SubnetId *string `mandatory:"true" json:"subnetId"` }
func (m CreatePrivateEndpoint) String() string
CreateReplicat Parameters for GoldenGate Replicat processes.
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"` }
func (m CreateReplicat) String() string
CreateSshDetails Details of the SSH key that will be used. Required for source database Manual and UserManagerOci connection types. Not required for source container database connections.
type CreateSshDetails struct { // Name of the host the SSH key is valid for. Host *string `mandatory:"true" json:"host"` // Private SSH key string. Sshkey *string `mandatory:"true" json:"sshkey"` // SSH user User *string `mandatory:"true" json:"user"` // Sudo location SudoLocation *string `mandatory:"false" json:"sudoLocation"` }
func (m CreateSshDetails) String() string
CreateVaultDetails OCI Vault details to store migration and connection credentials secrets
type CreateVaultDetails struct { // OCID of the compartment where the secret containing the credentials will be created. CompartmentId *string `mandatory:"true" json:"compartmentId"` // OCID of the vault VaultId *string `mandatory:"true" json:"vaultId"` // OCID of the vault encryption key KeyId *string `mandatory:"true" json:"keyId"` }
func (m CreateVaultDetails) String() string
DataPumpEstimateEnum Enum with underlying type: string
type DataPumpEstimateEnum string
Set of constants representing the allowable values for DataPumpEstimateEnum
const ( DataPumpEstimateBlocks DataPumpEstimateEnum = "BLOCKS" DataPumpEstimateStatistics DataPumpEstimateEnum = "STATISTICS" )
func GetDataPumpEstimateEnumValues() []DataPumpEstimateEnum
GetDataPumpEstimateEnumValues Enumerates the set of values for DataPumpEstimateEnum
DataPumpExcludeParametersEnum Enum with underlying type: string
type DataPumpExcludeParametersEnum string
Set of constants representing the allowable values for DataPumpExcludeParametersEnum
const ( DataPumpExcludeParametersIndex DataPumpExcludeParametersEnum = "INDEX" DataPumpExcludeParametersMaterializedView DataPumpExcludeParametersEnum = "MATERIALIZED_VIEW" DataPumpExcludeParametersMaterializedViewLog DataPumpExcludeParametersEnum = "MATERIALIZED_VIEW_LOG" )
func GetDataPumpExcludeParametersEnumValues() []DataPumpExcludeParametersEnum
GetDataPumpExcludeParametersEnumValues Enumerates the set of values for DataPumpExcludeParametersEnum
DataPumpJobModeEnum Enum with underlying type: string
type DataPumpJobModeEnum string
Set of constants representing the allowable values for DataPumpJobModeEnum
const ( DataPumpJobModeFull DataPumpJobModeEnum = "FULL" DataPumpJobModeSchema DataPumpJobModeEnum = "SCHEMA" DataPumpJobModeTable DataPumpJobModeEnum = "TABLE" DataPumpJobModeTablespace DataPumpJobModeEnum = "TABLESPACE" DataPumpJobModeTransportable DataPumpJobModeEnum = "TRANSPORTABLE" )
func GetDataPumpJobModeEnumValues() []DataPumpJobModeEnum
GetDataPumpJobModeEnumValues Enumerates the set of values for DataPumpJobModeEnum
DataPumpParameters Optional parameters for Data Pump Export and Import. Refer to Configuring Optional Initial Load Advanced Settings (https://docs.us.oracle.com/en/cloud/paas/database-migration/dmsus/working-migration-resources.html#GUID-24BD3054-FDF8-48FF-8492-636C1D4B71ED)
type DataPumpParameters struct { // Set to false to force Data Pump worker processes to run on one instance. IsCluster *bool `mandatory:"false" json:"isCluster"` // Estimate size of dumps that will be generated. Estimate DataPumpEstimateEnum `mandatory:"false" json:"estimate,omitempty"` // IMPORT: Specifies the action to be performed when data is loaded into a preexisting table. TableExistsAction DataPumpTableExistsActionEnum `mandatory:"false" json:"tableExistsAction,omitempty"` // Exclude paratemers for Export and Import. ExcludeParameters []DataPumpExcludeParametersEnum `mandatory:"false" json:"excludeParameters"` // Maximum number of worker processes that can be used for a Data Pump Import job. // For an Autonomous Database, ODMS will automatically query its CPU core count and set this property. ImportParallelismDegree *int `mandatory:"false" json:"importParallelismDegree"` // Maximum number of worker processes that can be used for a Data Pump Export job. ExportParallelismDegree *int `mandatory:"false" json:"exportParallelismDegree"` }
func (m DataPumpParameters) String() string
DataPumpSettings Optional settings for Data Pump Export and Import jobs
type DataPumpSettings struct { // Data Pump job mode. // Refer to Data Pump Export Modes (https://docs.oracle.com/en/database/oracle/oracle-database/19/sutil/oracle-data-pump-export-utility.html#GUID-8E497131-6B9B-4CC8-AA50-35F480CAC2C4) JobMode DataPumpJobModeEnum `mandatory:"false" json:"jobMode,omitempty"` DataPumpParameters *DataPumpParameters `mandatory:"false" json:"dataPumpParameters"` // Defines remapping to be applied to objects as they are processed. // Refer to METADATA_REMAP Procedure (https://docs.oracle.com/en/database/oracle/oracle-database/19/arpls/DBMS_DATAPUMP.html#GUID-0FC32790-91E6-4781-87A3-229DE024CB3D) MetadataRemaps []MetadataRemap `mandatory:"false" json:"metadataRemaps"` ExportDirectoryObject *DirectoryObject `mandatory:"false" json:"exportDirectoryObject"` ImportDirectoryObject *DirectoryObject `mandatory:"false" json:"importDirectoryObject"` }
func (m DataPumpSettings) String() string
DataPumpTableExistsActionEnum Enum with underlying type: string
type DataPumpTableExistsActionEnum string
Set of constants representing the allowable values for DataPumpTableExistsActionEnum
const ( DataPumpTableExistsActionTruncate DataPumpTableExistsActionEnum = "TRUNCATE" DataPumpTableExistsActionReplace DataPumpTableExistsActionEnum = "REPLACE" DataPumpTableExistsActionAppend DataPumpTableExistsActionEnum = "APPEND" DataPumpTableExistsActionSkip DataPumpTableExistsActionEnum = "SKIP" )
func GetDataPumpTableExistsActionEnumValues() []DataPumpTableExistsActionEnum
GetDataPumpTableExistsActionEnumValues Enumerates the set of values for DataPumpTableExistsActionEnum
DataTransferMediumDetails Data Transfer Medium details for the Migration.
type DataTransferMediumDetails struct { DatabaseLinkDetails *DatabaseLinkDetails `mandatory:"false" json:"databaseLinkDetails"` ObjectStorageDetails *ObjectStoreBucket `mandatory:"false" json:"objectStorageDetails"` }
func (m DataTransferMediumDetails) String() string
DatabaseConnectionTypesEnum Enum with underlying type: string
type DatabaseConnectionTypesEnum string
Set of constants representing the allowable values for DatabaseConnectionTypesEnum
const ( DatabaseConnectionTypesManual DatabaseConnectionTypesEnum = "MANUAL" DatabaseConnectionTypesAutonomous DatabaseConnectionTypesEnum = "AUTONOMOUS" DatabaseConnectionTypesUserManagedOci DatabaseConnectionTypesEnum = "USER_MANAGED_OCI" )
func GetDatabaseConnectionTypesEnumValues() []DatabaseConnectionTypesEnum
GetDatabaseConnectionTypesEnumValues Enumerates the set of values for DatabaseConnectionTypesEnum
DatabaseLinkDetails Optional details for creating a network database link from OCI database to on-premise database.
type DatabaseLinkDetails struct { // Name of database link from OCI database to on-premise database. ODMS will create link, if the link does not already exist. Name *string `mandatory:"true" json:"name"` }
func (m DatabaseLinkDetails) String() string
DatabaseMigrationClient a client for DatabaseMigration
type DatabaseMigrationClient struct { common.BaseClient // contains filtered or unexported fields }
func NewDatabaseMigrationClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DatabaseMigrationClient, err error)
NewDatabaseMigrationClientWithConfigurationProvider Creates a new default DatabaseMigration client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewDatabaseMigrationClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DatabaseMigrationClient, err error)
NewDatabaseMigrationClientWithOboToken Creates a new default DatabaseMigration client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client DatabaseMigrationClient) AbortJob(ctx context.Context, request AbortJobRequest) (response AbortJobResponse, err error)
AbortJob Aborts a Migration Job (either Evaluation or Migration).
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/AbortJob.go.html to see an example of how to use AbortJob API.
func (client DatabaseMigrationClient) ChangeAgentCompartment(ctx context.Context, request ChangeAgentCompartmentRequest) (response ChangeAgentCompartmentResponse, err error)
ChangeAgentCompartment Used to configure an ODMS Agent Compartment ID.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/ChangeAgentCompartment.go.html to see an example of how to use ChangeAgentCompartment API.
func (client DatabaseMigrationClient) ChangeConnectionCompartment(ctx context.Context, request ChangeConnectionCompartmentRequest) (response ChangeConnectionCompartmentResponse, err error)
ChangeConnectionCompartment Used to change the Database Connection compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/ChangeConnectionCompartment.go.html to see an example of how to use ChangeConnectionCompartment API.
func (client DatabaseMigrationClient) ChangeMigrationCompartment(ctx context.Context, request ChangeMigrationCompartmentRequest) (response ChangeMigrationCompartmentResponse, err error)
ChangeMigrationCompartment Used to change the Migration compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/ChangeMigrationCompartment.go.html to see an example of how to use ChangeMigrationCompartment API.
func (client DatabaseMigrationClient) CloneMigration(ctx context.Context, request CloneMigrationRequest) (response CloneMigrationResponse, err error)
CloneMigration Clone a configuration from an existing Migration.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/CloneMigration.go.html to see an example of how to use CloneMigration API.
func (client *DatabaseMigrationClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/CreateConnection.go.html to see an example of how to use CreateConnection API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/CreateMigration.go.html to see an example of how to use CreateMigration API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/DeleteAgent.go.html to see an example of how to use DeleteAgent API.
func (client DatabaseMigrationClient) DeleteConnection(ctx context.Context, request DeleteConnectionRequest) (response DeleteConnectionResponse, err error)
DeleteConnection Deletes the Database Connection represented by the specified connection ID.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/DeleteConnection.go.html to see an example of how to use DeleteConnection API.
func (client DatabaseMigrationClient) DeleteJob(ctx context.Context, request DeleteJobRequest) (response DeleteJobResponse, err error)
DeleteJob Deletes the migration job represented by the given job ID.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/DeleteJob.go.html to see an example of how to use DeleteJob API.
func (client DatabaseMigrationClient) DeleteMigration(ctx context.Context, request DeleteMigrationRequest) (response DeleteMigrationResponse, err error)
DeleteMigration Deletes the Migration represented by the specified migration ID.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/DeleteMigration.go.html to see an example of how to use DeleteMigration API.
func (client DatabaseMigrationClient) EvaluateMigration(ctx context.Context, request EvaluateMigrationRequest) (response EvaluateMigrationResponse, err error)
EvaluateMigration Start Validate Migration job.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/EvaluateMigration.go.html to see an example of how to use EvaluateMigration API.
func (client DatabaseMigrationClient) GetAgent(ctx context.Context, request GetAgentRequest) (response GetAgentResponse, err error)
GetAgent Display the ODMS Agent configuration.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/GetAgent.go.html to see an example of how to use GetAgent API.
func (client DatabaseMigrationClient) GetConnection(ctx context.Context, request GetConnectionRequest) (response GetConnectionResponse, err error)
GetConnection Display Database Connection details.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/GetConnection.go.html to see an example of how to use GetConnection API.
func (client DatabaseMigrationClient) GetJob(ctx context.Context, request GetJobRequest) (response GetJobResponse, err error)
GetJob Get a migration job.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/GetJob.go.html to see an example of how to use GetJob API.
func (client DatabaseMigrationClient) GetJobOutputContent(ctx context.Context, request GetJobOutputContentRequest) (response GetJobOutputContentResponse, err error)
GetJobOutputContent Get the migration Job Output content as a String.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/GetJobOutputContent.go.html to see an example of how to use GetJobOutputContent API.
func (client DatabaseMigrationClient) GetMigration(ctx context.Context, request GetMigrationRequest) (response GetMigrationResponse, err error)
GetMigration Display Migration details.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/GetMigration.go.html to see an example of how to use GetMigration API.
func (client DatabaseMigrationClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets the details of a work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/ListAgentImages.go.html to see an example of how to use ListAgentImages API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/ListAgents.go.html to see an example of how to use ListAgents API.
func (client DatabaseMigrationClient) ListConnections(ctx context.Context, request ListConnectionsRequest) (response ListConnectionsResponse, err error)
ListConnections List all Database Connections.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/ListConnections.go.html to see an example of how to use ListConnections API.
func (client DatabaseMigrationClient) ListJobOutputs(ctx context.Context, request ListJobOutputsRequest) (response ListJobOutputsResponse, err error)
ListJobOutputs List the Job Outputs
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/ListJobOutputs.go.html to see an example of how to use ListJobOutputs API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/ListJobs.go.html to see an example of how to use ListJobs API.
func (client DatabaseMigrationClient) ListMigrations(ctx context.Context, request ListMigrationsRequest) (response ListMigrationsResponse, err error)
ListMigrations List all Migrations.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/ListMigrations.go.html to see an example of how to use ListMigrations API.
func (client DatabaseMigrationClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Gets the errors for a work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API.
func (client DatabaseMigrationClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Gets the logs for a work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API.
func (client DatabaseMigrationClient) ResumeJob(ctx context.Context, request ResumeJobRequest) (response ResumeJobResponse, err error)
ResumeJob Resume a migration Job.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/ResumeJob.go.html to see an example of how to use ResumeJob API.
func (client DatabaseMigrationClient) RetrieveSupportedPhases(ctx context.Context, request RetrieveSupportedPhasesRequest) (response RetrieveSupportedPhasesResponse, err error)
RetrieveSupportedPhases Display Migration Phases for a specified migration.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/RetrieveSupportedPhases.go.html to see an example of how to use RetrieveSupportedPhases API.
func (client *DatabaseMigrationClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client DatabaseMigrationClient) StartMigration(ctx context.Context, request StartMigrationRequest) (response StartMigrationResponse, err error)
StartMigration Start Migration job.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/StartMigration.go.html to see an example of how to use StartMigration API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/UpdateAgent.go.html to see an example of how to use UpdateAgent API.
func (client DatabaseMigrationClient) UpdateConnection(ctx context.Context, request UpdateConnectionRequest) (response UpdateConnectionResponse, err error)
UpdateConnection Update Database Connection resource details.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/UpdateConnection.go.html to see an example of how to use UpdateConnection API.
func (client DatabaseMigrationClient) UpdateJob(ctx context.Context, request UpdateJobRequest) (response UpdateJobResponse, err error)
UpdateJob Update Migration Job resource details.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/UpdateJob.go.html to see an example of how to use UpdateJob API.
func (client DatabaseMigrationClient) UpdateMigration(ctx context.Context, request UpdateMigrationRequest) (response UpdateMigrationResponse, err error)
UpdateMigration Update Migration resource details.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/UpdateMigration.go.html to see an example of how to use UpdateMigration API.
DatabaseObject Database objects to exclude from migration
type DatabaseObject struct { // Owner of the object (regular expression is allowed) Owner *string `mandatory:"true" json:"owner"` // Name of the object (regular expression is allowed) ObjectName *string `mandatory:"true" json:"objectName"` }
func (m DatabaseObject) String() string
DeleteAgentRequest wrapper for the DeleteAgent operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/DeleteAgent.go.html to see an example of how to use DeleteAgentRequest.
type DeleteAgentRequest struct { // The OCID of the agent AgentId *string `mandatory:"true" contributesTo:"path" name:"agentId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteAgentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteAgentRequest) String() string
DeleteAgentResponse wrapper for the DeleteAgent operation
type DeleteAgentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response DeleteAgentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteAgentResponse) String() string
DeleteConnectionRequest wrapper for the DeleteConnection operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/DeleteConnection.go.html to see an example of how to use DeleteConnectionRequest.
type DeleteConnectionRequest struct { // The OCID of the database connection ConnectionId *string `mandatory:"true" contributesTo:"path" name:"connectionId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteConnectionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteConnectionRequest) String() string
DeleteConnectionResponse wrapper for the DeleteConnection operation
type DeleteConnectionResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response DeleteConnectionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteConnectionResponse) String() string
DeleteJobRequest wrapper for the DeleteJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/DeleteJob.go.html to see an example of how to use DeleteJobRequest.
type DeleteJobRequest struct { // The OCID of the job JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteJobRequest) String() string
DeleteJobResponse wrapper for the DeleteJob operation
type DeleteJobResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteJobResponse) String() string
DeleteMigrationRequest wrapper for the DeleteMigration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/DeleteMigration.go.html to see an example of how to use DeleteMigrationRequest.
type DeleteMigrationRequest struct { // The OCID of the migration MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteMigrationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteMigrationRequest) String() string
DeleteMigrationResponse wrapper for the DeleteMigration operation
type DeleteMigrationResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response DeleteMigrationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteMigrationResponse) String() string
DirectoryObject Directory object details, used to define either import or export directory objects in Data Pump Settings.
type DirectoryObject struct { // Name of directory object in database Name *string `mandatory:"true" json:"name"` // Absolute path of directory on database server Path *string `mandatory:"true" json:"path"` }
func (m DirectoryObject) String() string
EvaluateMigrationRequest wrapper for the EvaluateMigration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/EvaluateMigration.go.html to see an example of how to use EvaluateMigrationRequest.
type EvaluateMigrationRequest struct { // The OCID of the migration MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request EvaluateMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request EvaluateMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request EvaluateMigrationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request EvaluateMigrationRequest) String() string
EvaluateMigrationResponse wrapper for the EvaluateMigration operation
type EvaluateMigrationResponse struct { // The underlying http response RawResponse *http.Response // The Job instance Job `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response EvaluateMigrationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response EvaluateMigrationResponse) String() string
Extract Parameters for Extract processes.
type Extract struct { // Extract performance. PerformanceProfile ExtractPerformanceProfileEnum `mandatory:"false" json:"performanceProfile,omitempty"` // Length of time (in seconds) that a transaction can be open before Extract generates a warning message that the transaction is long-running. // If not specified, Extract will not generate a warning on long-running transactions. LongTransDuration *int `mandatory:"false" json:"longTransDuration"` }
func (m Extract) String() string
ExtractPerformanceProfileEnum Enum with underlying type: string
type ExtractPerformanceProfileEnum string
Set of constants representing the allowable values for ExtractPerformanceProfileEnum
const ( ExtractPerformanceProfileLow ExtractPerformanceProfileEnum = "LOW" ExtractPerformanceProfileMedium ExtractPerformanceProfileEnum = "MEDIUM" ExtractPerformanceProfileHigh ExtractPerformanceProfileEnum = "HIGH" )
func GetExtractPerformanceProfileEnumValues() []ExtractPerformanceProfileEnum
GetExtractPerformanceProfileEnumValues Enumerates the set of values for ExtractPerformanceProfileEnum
GenerateToken ODMS Agent token details.
type GenerateToken struct { // Resource Principals Token in serialized form. RptBlob *string `mandatory:"true" json:"rptBlob"` }
func (m GenerateToken) String() string
GetAgentRequest wrapper for the GetAgent operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/GetAgent.go.html to see an example of how to use GetAgentRequest.
type GetAgentRequest struct { // The OCID of the agent AgentId *string `mandatory:"true" contributesTo:"path" name:"agentId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAgentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAgentRequest) String() string
GetAgentResponse wrapper for the GetAgent operation
type GetAgentResponse struct { // The underlying http response RawResponse *http.Response // The Agent instance Agent `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response GetAgentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAgentResponse) String() string
GetConnectionRequest wrapper for the GetConnection operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/GetConnection.go.html to see an example of how to use GetConnectionRequest.
type GetConnectionRequest struct { // The OCID of the database connection ConnectionId *string `mandatory:"true" contributesTo:"path" name:"connectionId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetConnectionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetConnectionRequest) String() string
GetConnectionResponse wrapper for the GetConnection operation
type GetConnectionResponse struct { // The underlying http response RawResponse *http.Response // The Connection instance Connection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response GetConnectionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetConnectionResponse) String() string
GetJobOutputContentRequest wrapper for the GetJobOutputContent operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/GetJobOutputContent.go.html to see an example of how to use GetJobOutputContentRequest.
type GetJobOutputContentRequest struct { // The OCID of the job JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetJobOutputContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetJobOutputContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetJobOutputContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetJobOutputContentRequest) String() string
GetJobOutputContentResponse wrapper for the GetJobOutputContent operation
type GetJobOutputContentResponse struct { // The underlying http response RawResponse *http.Response // The io.ReadCloser instance Content io.ReadCloser `presentIn:"body" encoding:"binary"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetJobOutputContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetJobOutputContentResponse) String() string
GetJobRequest wrapper for the GetJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/GetJob.go.html to see an example of how to use GetJobRequest.
type GetJobRequest struct { // The OCID of the job JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetJobRequest) String() string
GetJobResponse wrapper for the GetJob operation
type GetJobResponse struct { // The underlying http response RawResponse *http.Response // The Job instance Job `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response GetJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetJobResponse) String() string
GetMigrationRequest wrapper for the GetMigration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/GetMigration.go.html to see an example of how to use GetMigrationRequest.
type GetMigrationRequest struct { // The OCID of the migration MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetMigrationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetMigrationRequest) String() string
GetMigrationResponse wrapper for the GetMigration operation
type GetMigrationResponse struct { // The underlying http response RawResponse *http.Response // The Migration instance Migration `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response GetMigrationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetMigrationResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
type GetWorkRequestRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
GetWorkRequestResponse wrapper for the GetWorkRequest operation
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
GoldenGateDetails Details about Oracle GoldenGate Microservices.
type GoldenGateDetails struct { Hub *GoldenGateHub `mandatory:"true" json:"hub"` Settings *GoldenGateSettings `mandatory:"false" json:"settings"` }
func (m GoldenGateDetails) String() string
GoldenGateHub Details about Oracle GoldenGate Microservices.
type GoldenGateHub struct { RestAdminCredentials *AdminCredentials `mandatory:"true" json:"restAdminCredentials"` SourceDbAdminCredentials *AdminCredentials `mandatory:"true" json:"sourceDbAdminCredentials"` TargetDbAdminCredentials *AdminCredentials `mandatory:"true" json:"targetDbAdminCredentials"` // Oracle GoldenGate hub's REST endpoint. // Refer to https://docs.oracle.com/en/middleware/goldengate/core/19.1/securing/network.html#GUID-A709DA55-111D-455E-8942-C9BDD1E38CAA Url *string `mandatory:"true" json:"url"` // Name of GoldenGate deployment to operate on source database SourceMicroservicesDeploymentName *string `mandatory:"true" json:"sourceMicroservicesDeploymentName"` // Name of GoldenGate deployment to operate on target database TargetMicroservicesDeploymentName *string `mandatory:"true" json:"targetMicroservicesDeploymentName"` SourceContainerDbAdminCredentials *AdminCredentials `mandatory:"false" json:"sourceContainerDbAdminCredentials"` // OCID of GoldenGate compute instance. ComputeId *string `mandatory:"false" json:"computeId"` }
func (m GoldenGateHub) String() string
GoldenGateSettings Optional settings for Oracle GoldenGate processes
type GoldenGateSettings struct { Extract *Extract `mandatory:"false" json:"extract"` Replicat *Replicat `mandatory:"false" json:"replicat"` // ODMS will monitor GoldenGate end-to-end latency until the lag time is lower than the specified value in seconds. AcceptableLag *int `mandatory:"false" json:"acceptableLag"` }
func (m GoldenGateSettings) String() string
Job Results of a Database Connection search. Contains DatabaseConnectionSummary items.
type Job struct { // The OCID of the Migration Job. Id *string `mandatory:"true" json:"id"` // Name of the job. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID of the Migration that this job belongs to. MigrationId *string `mandatory:"true" json:"migrationId"` // The job type. Type JobTypesEnum `mandatory:"true" json:"type"` // The time the Migration Job was created. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the migration job. LifecycleState JobLifecycleStatesEnum `mandatory:"true" json:"lifecycleState"` // The time the Migration Job was last updated. An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` Progress *MigrationJobProgressResource `mandatory:"false" json:"progress"` // Database objects not supported. UnsupportedObjects []UnsupportedDatabaseObject `mandatory:"false" json:"unsupportedObjects"` // A message describing the current state in more detail. For example, can be used to provide actionable information // for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m Job) String() string
JobCollection Results of a Job search. Contains JobSummary items.
type JobCollection struct { // Items in collection. Items []JobSummary `mandatory:"true" json:"items"` }
func (m JobCollection) String() string
JobLifecycleStatesEnum Enum with underlying type: string
type JobLifecycleStatesEnum string
Set of constants representing the allowable values for JobLifecycleStatesEnum
const ( JobLifecycleStatesAccepted JobLifecycleStatesEnum = "ACCEPTED" JobLifecycleStatesInProgress JobLifecycleStatesEnum = "IN_PROGRESS" JobLifecycleStatesUnknown JobLifecycleStatesEnum = "UNKNOWN" JobLifecycleStatesTerminated JobLifecycleStatesEnum = "TERMINATED" JobLifecycleStatesFailed JobLifecycleStatesEnum = "FAILED" JobLifecycleStatesSucceeded JobLifecycleStatesEnum = "SUCCEEDED" JobLifecycleStatesWaiting JobLifecycleStatesEnum = "WAITING" JobLifecycleStatesCanceling JobLifecycleStatesEnum = "CANCELING" JobLifecycleStatesCanceled JobLifecycleStatesEnum = "CANCELED" )
func GetJobLifecycleStatesEnumValues() []JobLifecycleStatesEnum
GetJobLifecycleStatesEnumValues Enumerates the set of values for JobLifecycleStatesEnum
JobOutputSummary Job output summary line.
type JobOutputSummary struct { // Job output line. Message *string `mandatory:"true" json:"message"` }
func (m JobOutputSummary) String() string
JobOutputSummaryCollection Results of a Job output listing. Contains JobOutputSummary items.
type JobOutputSummaryCollection struct { // Items in collection. Items []JobOutputSummary `mandatory:"true" json:"items"` }
func (m JobOutputSummaryCollection) String() string
JobPhaseStatusEnum Enum with underlying type: string
type JobPhaseStatusEnum string
Set of constants representing the allowable values for JobPhaseStatusEnum
const ( JobPhaseStatusPending JobPhaseStatusEnum = "PENDING" JobPhaseStatusStarted JobPhaseStatusEnum = "STARTED" JobPhaseStatusCompleted JobPhaseStatusEnum = "COMPLETED" JobPhaseStatusFailed JobPhaseStatusEnum = "FAILED" )
func GetJobPhaseStatusEnumValues() []JobPhaseStatusEnum
GetJobPhaseStatusEnumValues Enumerates the set of values for JobPhaseStatusEnum
JobSummary Job description
type JobSummary struct { // The OCID of the Migration Job. Id *string `mandatory:"true" json:"id"` // Name of the job. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID of the Migration that this job belongs to. MigrationId *string `mandatory:"true" json:"migrationId"` // The job type. Type JobTypesEnum `mandatory:"true" json:"type"` // The time the Migration Job was created. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the migration Deployment. LifecycleState JobLifecycleStatesEnum `mandatory:"true" json:"lifecycleState"` Progress *MigrationJobProgressSummary `mandatory:"false" json:"progress"` // The time the Migration Job was last updated. An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information // for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m JobSummary) String() string
JobTypesEnum Enum with underlying type: string
type JobTypesEnum string
Set of constants representing the allowable values for JobTypesEnum
const ( JobTypesEvaluation JobTypesEnum = "EVALUATION" JobTypesMigration JobTypesEnum = "MIGRATION" )
func GetJobTypesEnumValues() []JobTypesEnum
GetJobTypesEnumValues Enumerates the set of values for JobTypesEnum
LifecycleStatesEnum Enum with underlying type: string
type LifecycleStatesEnum string
Set of constants representing the allowable values for LifecycleStatesEnum
const ( LifecycleStatesCreating LifecycleStatesEnum = "CREATING" LifecycleStatesUpdating LifecycleStatesEnum = "UPDATING" LifecycleStatesActive LifecycleStatesEnum = "ACTIVE" LifecycleStatesInactive LifecycleStatesEnum = "INACTIVE" LifecycleStatesDeleting LifecycleStatesEnum = "DELETING" LifecycleStatesDeleted LifecycleStatesEnum = "DELETED" LifecycleStatesFailed LifecycleStatesEnum = "FAILED" )
func GetLifecycleStatesEnumValues() []LifecycleStatesEnum
GetLifecycleStatesEnumValues Enumerates the set of values for LifecycleStatesEnum
ListAgentImagesRequest wrapper for the ListAgentImages operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/ListAgentImages.go.html to see an example of how to use ListAgentImagesRequest.
type ListAgentImagesRequest struct { // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListAgentImagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListAgentImagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAgentImagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAgentImagesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAgentImagesRequest) String() string
ListAgentImagesResponse wrapper for the ListAgentImages operation
type ListAgentImagesResponse struct { // The underlying http response RawResponse *http.Response // A list of AgentImageCollection instances AgentImageCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListAgentImagesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAgentImagesResponse) String() string
ListAgentImagesSortOrderEnum Enum with underlying type: string
type ListAgentImagesSortOrderEnum string
Set of constants representing the allowable values for ListAgentImagesSortOrderEnum
const ( ListAgentImagesSortOrderAsc ListAgentImagesSortOrderEnum = "ASC" ListAgentImagesSortOrderDesc ListAgentImagesSortOrderEnum = "DESC" )
func GetListAgentImagesSortOrderEnumValues() []ListAgentImagesSortOrderEnum
GetListAgentImagesSortOrderEnumValues Enumerates the set of values for ListAgentImagesSortOrderEnum
ListAgentsLifecycleStateEnum Enum with underlying type: string
type ListAgentsLifecycleStateEnum string
Set of constants representing the allowable values for ListAgentsLifecycleStateEnum
const ( ListAgentsLifecycleStateCreating ListAgentsLifecycleStateEnum = "CREATING" ListAgentsLifecycleStateUpdating ListAgentsLifecycleStateEnum = "UPDATING" ListAgentsLifecycleStateActive ListAgentsLifecycleStateEnum = "ACTIVE" ListAgentsLifecycleStateInactive ListAgentsLifecycleStateEnum = "INACTIVE" ListAgentsLifecycleStateDeleting ListAgentsLifecycleStateEnum = "DELETING" ListAgentsLifecycleStateDeleted ListAgentsLifecycleStateEnum = "DELETED" ListAgentsLifecycleStateFailed ListAgentsLifecycleStateEnum = "FAILED" )
func GetListAgentsLifecycleStateEnumValues() []ListAgentsLifecycleStateEnum
GetListAgentsLifecycleStateEnumValues Enumerates the set of values for ListAgentsLifecycleStateEnum
ListAgentsRequest wrapper for the ListAgents operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/ListAgents.go.html to see an example of how to use ListAgentsRequest.
type ListAgentsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. // Default order for displayName is ascending. If no value is specified timeCreated is default. SortBy ListAgentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListAgentsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The current state of the Database Migration Deployment. LifecycleState ListAgentsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListAgentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAgentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAgentsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAgentsRequest) String() string
ListAgentsResponse wrapper for the ListAgents operation
type ListAgentsResponse struct { // The underlying http response RawResponse *http.Response // A list of AgentCollection instances AgentCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListAgentsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAgentsResponse) String() string
ListAgentsSortByEnum Enum with underlying type: string
type ListAgentsSortByEnum string
Set of constants representing the allowable values for ListAgentsSortByEnum
const ( ListAgentsSortByTimecreated ListAgentsSortByEnum = "timeCreated" ListAgentsSortByDisplayname ListAgentsSortByEnum = "displayName" )
func GetListAgentsSortByEnumValues() []ListAgentsSortByEnum
GetListAgentsSortByEnumValues Enumerates the set of values for ListAgentsSortByEnum
ListAgentsSortOrderEnum Enum with underlying type: string
type ListAgentsSortOrderEnum string
Set of constants representing the allowable values for ListAgentsSortOrderEnum
const ( ListAgentsSortOrderAsc ListAgentsSortOrderEnum = "ASC" ListAgentsSortOrderDesc ListAgentsSortOrderEnum = "DESC" )
func GetListAgentsSortOrderEnumValues() []ListAgentsSortOrderEnum
GetListAgentsSortOrderEnumValues Enumerates the set of values for ListAgentsSortOrderEnum
ListConnectionsLifecycleStateEnum Enum with underlying type: string
type ListConnectionsLifecycleStateEnum string
Set of constants representing the allowable values for ListConnectionsLifecycleStateEnum
const ( ListConnectionsLifecycleStateCreating ListConnectionsLifecycleStateEnum = "CREATING" ListConnectionsLifecycleStateUpdating ListConnectionsLifecycleStateEnum = "UPDATING" ListConnectionsLifecycleStateActive ListConnectionsLifecycleStateEnum = "ACTIVE" ListConnectionsLifecycleStateInactive ListConnectionsLifecycleStateEnum = "INACTIVE" ListConnectionsLifecycleStateDeleting ListConnectionsLifecycleStateEnum = "DELETING" ListConnectionsLifecycleStateDeleted ListConnectionsLifecycleStateEnum = "DELETED" ListConnectionsLifecycleStateFailed ListConnectionsLifecycleStateEnum = "FAILED" )
func GetListConnectionsLifecycleStateEnumValues() []ListConnectionsLifecycleStateEnum
GetListConnectionsLifecycleStateEnumValues Enumerates the set of values for ListConnectionsLifecycleStateEnum
ListConnectionsRequest wrapper for the ListConnections operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/ListConnections.go.html to see an example of how to use ListConnectionsRequest.
type ListConnectionsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. // Default order for displayName is ascending. If no value is specified timeCreated is default. SortBy ListConnectionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListConnectionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The current state of the Database Migration Deployment. LifecycleState ListConnectionsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListConnectionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListConnectionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListConnectionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListConnectionsRequest) String() string
ListConnectionsResponse wrapper for the ListConnections operation
type ListConnectionsResponse struct { // The underlying http response RawResponse *http.Response // A list of ConnectionCollection instances ConnectionCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListConnectionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListConnectionsResponse) String() string
ListConnectionsSortByEnum Enum with underlying type: string
type ListConnectionsSortByEnum string
Set of constants representing the allowable values for ListConnectionsSortByEnum
const ( ListConnectionsSortByTimecreated ListConnectionsSortByEnum = "timeCreated" ListConnectionsSortByDisplayname ListConnectionsSortByEnum = "displayName" )
func GetListConnectionsSortByEnumValues() []ListConnectionsSortByEnum
GetListConnectionsSortByEnumValues Enumerates the set of values for ListConnectionsSortByEnum
ListConnectionsSortOrderEnum Enum with underlying type: string
type ListConnectionsSortOrderEnum string
Set of constants representing the allowable values for ListConnectionsSortOrderEnum
const ( ListConnectionsSortOrderAsc ListConnectionsSortOrderEnum = "ASC" ListConnectionsSortOrderDesc ListConnectionsSortOrderEnum = "DESC" )
func GetListConnectionsSortOrderEnumValues() []ListConnectionsSortOrderEnum
GetListConnectionsSortOrderEnumValues Enumerates the set of values for ListConnectionsSortOrderEnum
ListJobOutputsRequest wrapper for the ListJobOutputs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/ListJobOutputs.go.html to see an example of how to use ListJobOutputsRequest.
type ListJobOutputsRequest struct { // The OCID of the job JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListJobOutputsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListJobOutputsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListJobOutputsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListJobOutputsRequest) String() string
ListJobOutputsResponse wrapper for the ListJobOutputs operation
type ListJobOutputsResponse struct { // The underlying http response RawResponse *http.Response // A list of JobOutputSummaryCollection instances JobOutputSummaryCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListJobOutputsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListJobOutputsResponse) String() string
ListJobsLifecycleStateEnum Enum with underlying type: string
type ListJobsLifecycleStateEnum string
Set of constants representing the allowable values for ListJobsLifecycleStateEnum
const ( ListJobsLifecycleStateAccepted ListJobsLifecycleStateEnum = "ACCEPTED" ListJobsLifecycleStateInProgress ListJobsLifecycleStateEnum = "IN_PROGRESS" ListJobsLifecycleStateUnknown ListJobsLifecycleStateEnum = "UNKNOWN" ListJobsLifecycleStateTerminated ListJobsLifecycleStateEnum = "TERMINATED" ListJobsLifecycleStateFailed ListJobsLifecycleStateEnum = "FAILED" ListJobsLifecycleStateSucceeded ListJobsLifecycleStateEnum = "SUCCEEDED" ListJobsLifecycleStateWaiting ListJobsLifecycleStateEnum = "WAITING" ListJobsLifecycleStateCanceling ListJobsLifecycleStateEnum = "CANCELING" ListJobsLifecycleStateCanceled ListJobsLifecycleStateEnum = "CANCELED" )
func GetListJobsLifecycleStateEnumValues() []ListJobsLifecycleStateEnum
GetListJobsLifecycleStateEnumValues Enumerates the set of values for ListJobsLifecycleStateEnum
ListJobsRequest wrapper for the ListJobs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/ListJobs.go.html to see an example of how to use ListJobsRequest.
type ListJobsRequest struct { // The ID of the migration in which to list resources. MigrationId *string `mandatory:"true" contributesTo:"query" name:"migrationId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. // Default order for displayName is ascending. If no value is specified timeCreated is default. SortBy ListJobsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListJobsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The lifecycle state of the Migration Job. LifecycleState ListJobsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListJobsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListJobsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListJobsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListJobsRequest) String() string
ListJobsResponse wrapper for the ListJobs operation
type ListJobsResponse struct { // The underlying http response RawResponse *http.Response // A list of JobCollection instances JobCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListJobsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListJobsResponse) String() string
ListJobsSortByEnum Enum with underlying type: string
type ListJobsSortByEnum string
Set of constants representing the allowable values for ListJobsSortByEnum
const ( ListJobsSortByTimecreated ListJobsSortByEnum = "timeCreated" ListJobsSortByDisplayname ListJobsSortByEnum = "displayName" )
func GetListJobsSortByEnumValues() []ListJobsSortByEnum
GetListJobsSortByEnumValues Enumerates the set of values for ListJobsSortByEnum
ListJobsSortOrderEnum Enum with underlying type: string
type ListJobsSortOrderEnum string
Set of constants representing the allowable values for ListJobsSortOrderEnum
const ( ListJobsSortOrderAsc ListJobsSortOrderEnum = "ASC" ListJobsSortOrderDesc ListJobsSortOrderEnum = "DESC" )
func GetListJobsSortOrderEnumValues() []ListJobsSortOrderEnum
GetListJobsSortOrderEnumValues Enumerates the set of values for ListJobsSortOrderEnum
ListMigrationsLifecycleDetailsEnum Enum with underlying type: string
type ListMigrationsLifecycleDetailsEnum string
Set of constants representing the allowable values for ListMigrationsLifecycleDetailsEnum
const ( ListMigrationsLifecycleDetailsReady ListMigrationsLifecycleDetailsEnum = "READY" ListMigrationsLifecycleDetailsAborting ListMigrationsLifecycleDetailsEnum = "ABORTING" ListMigrationsLifecycleDetailsValidating ListMigrationsLifecycleDetailsEnum = "VALIDATING" ListMigrationsLifecycleDetailsValidated ListMigrationsLifecycleDetailsEnum = "VALIDATED" ListMigrationsLifecycleDetailsWaiting ListMigrationsLifecycleDetailsEnum = "WAITING" ListMigrationsLifecycleDetailsMigrating ListMigrationsLifecycleDetailsEnum = "MIGRATING" ListMigrationsLifecycleDetailsDone ListMigrationsLifecycleDetailsEnum = "DONE" )
func GetListMigrationsLifecycleDetailsEnumValues() []ListMigrationsLifecycleDetailsEnum
GetListMigrationsLifecycleDetailsEnumValues Enumerates the set of values for ListMigrationsLifecycleDetailsEnum
ListMigrationsLifecycleStateEnum Enum with underlying type: string
type ListMigrationsLifecycleStateEnum string
Set of constants representing the allowable values for ListMigrationsLifecycleStateEnum
const ( ListMigrationsLifecycleStateCreating ListMigrationsLifecycleStateEnum = "CREATING" ListMigrationsLifecycleStateUpdating ListMigrationsLifecycleStateEnum = "UPDATING" ListMigrationsLifecycleStateActive ListMigrationsLifecycleStateEnum = "ACTIVE" ListMigrationsLifecycleStateInactive ListMigrationsLifecycleStateEnum = "INACTIVE" ListMigrationsLifecycleStateDeleting ListMigrationsLifecycleStateEnum = "DELETING" ListMigrationsLifecycleStateDeleted ListMigrationsLifecycleStateEnum = "DELETED" ListMigrationsLifecycleStateFailed ListMigrationsLifecycleStateEnum = "FAILED" )
func GetListMigrationsLifecycleStateEnumValues() []ListMigrationsLifecycleStateEnum
GetListMigrationsLifecycleStateEnumValues Enumerates the set of values for ListMigrationsLifecycleStateEnum
ListMigrationsRequest wrapper for the ListMigrations operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/ListMigrations.go.html to see an example of how to use ListMigrationsRequest.
type ListMigrationsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. // Default order for displayName is ascending. If no value is specified timeCreated is default. SortBy ListMigrationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListMigrationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The current state of the Database Migration Deployment. LifecycleState ListMigrationsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The lifecycle detailed status of the Migration. LifecycleDetails ListMigrationsLifecycleDetailsEnum `mandatory:"false" contributesTo:"query" name:"lifecycleDetails" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListMigrationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListMigrationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListMigrationsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListMigrationsRequest) String() string
ListMigrationsResponse wrapper for the ListMigrations operation
type ListMigrationsResponse struct { // The underlying http response RawResponse *http.Response // A list of MigrationCollection instances MigrationCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListMigrationsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListMigrationsResponse) String() string
ListMigrationsSortByEnum Enum with underlying type: string
type ListMigrationsSortByEnum string
Set of constants representing the allowable values for ListMigrationsSortByEnum
const ( ListMigrationsSortByTimecreated ListMigrationsSortByEnum = "timeCreated" ListMigrationsSortByDisplayname ListMigrationsSortByEnum = "displayName" )
func GetListMigrationsSortByEnumValues() []ListMigrationsSortByEnum
GetListMigrationsSortByEnumValues Enumerates the set of values for ListMigrationsSortByEnum
ListMigrationsSortOrderEnum Enum with underlying type: string
type ListMigrationsSortOrderEnum string
Set of constants representing the allowable values for ListMigrationsSortOrderEnum
const ( ListMigrationsSortOrderAsc ListMigrationsSortOrderEnum = "ASC" ListMigrationsSortOrderDesc ListMigrationsSortOrderEnum = "DESC" )
func GetListMigrationsSortOrderEnumValues() []ListMigrationsSortOrderEnum
GetListMigrationsSortOrderEnumValues Enumerates the set of values for ListMigrationsSortOrderEnum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
type ListWorkRequestErrorsRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. // Default order for displayName is ascending. If no value is specified timeCreated is default. 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"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestErrorCollection instances WorkRequestErrorCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
type ListWorkRequestErrorsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
const ( ListWorkRequestErrorsSortByTimecreated ListWorkRequestErrorsSortByEnum = "timeCreated" ListWorkRequestErrorsSortByDisplayname ListWorkRequestErrorsSortByEnum = "displayName" )
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
type ListWorkRequestErrorsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
const ( ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC" ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC" )
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
type ListWorkRequestLogsRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. // Default order for displayName is ascending. If no value is specified timeCreated is default. 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"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestLogEntryCollection instances WorkRequestLogEntryCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
type ListWorkRequestLogsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
const ( ListWorkRequestLogsSortByTimecreated ListWorkRequestLogsSortByEnum = "timeCreated" ListWorkRequestLogsSortByDisplayname ListWorkRequestLogsSortByEnum = "displayName" )
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
type ListWorkRequestLogsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
const ( ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC" ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC" )
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
type ListWorkRequestsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"` // 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 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"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestCollection instances WorkRequestCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
ListWorkRequestsSortByEnum Enum with underlying type: string
type ListWorkRequestsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
const ( ListWorkRequestsSortByTimecreated ListWorkRequestsSortByEnum = "timeCreated" ListWorkRequestsSortByDisplayname ListWorkRequestsSortByEnum = "displayName" )
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
ListWorkRequestsSortOrderEnum Enum with underlying type: string
type ListWorkRequestsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
MetadataRemap Defines remapping to be applied to objects as they are processed. Refer to METADATA_REMAP Procedure (https://docs.oracle.com/en/database/oracle/oracle-database/19/arpls/DBMS_DATAPUMP.html#GUID-0FC32790-91E6-4781-87A3-229DE024CB3D)
type MetadataRemap struct { // Type of remap. Refer to METADATA_REMAP Procedure (https://docs.oracle.com/en/database/oracle/oracle-database/19/arpls/DBMS_DATAPUMP.html#GUID-0FC32790-91E6-4781-87A3-229DE024CB3D) Type MetadataRemapTypeEnum `mandatory:"true" json:"type"` // Specifies the value which needs to be reset. OldValue *string `mandatory:"true" json:"oldValue"` // Specifies the new value that oldValue should be translated into. NewValue *string `mandatory:"true" json:"newValue"` }
func (m MetadataRemap) String() string
MetadataRemapTypeEnum Enum with underlying type: string
type MetadataRemapTypeEnum string
Set of constants representing the allowable values for MetadataRemapTypeEnum
const ( MetadataRemapTypeSchema MetadataRemapTypeEnum = "SCHEMA" MetadataRemapTypeTablespace MetadataRemapTypeEnum = "TABLESPACE" MetadataRemapTypeDatafile MetadataRemapTypeEnum = "DATAFILE" MetadataRemapTypeTable MetadataRemapTypeEnum = "TABLE" )
func GetMetadataRemapTypeEnumValues() []MetadataRemapTypeEnum
GetMetadataRemapTypeEnumValues Enumerates the set of values for MetadataRemapTypeEnum
Migration Migration resource
type Migration struct { // The OCID of the resource Id *string `mandatory:"true" json:"id"` // Migration Display Name DisplayName *string `mandatory:"true" json:"displayName"` // OCID of the compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // Migration type. Type MigrationTypesEnum `mandatory:"true" json:"type"` // The OCID of the Source Database Connection. SourceDatabaseConnectionId *string `mandatory:"true" json:"sourceDatabaseConnectionId"` // The OCID of the Target Database Connection. TargetDatabaseConnectionId *string `mandatory:"true" json:"targetDatabaseConnectionId"` // The time the Migration was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the Migration resource. LifecycleState LifecycleStatesEnum `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"` DatapumpSettings *DataPumpSettings `mandatory:"false" json:"datapumpSettings"` // Database objects to exclude from migration. ExcludeObjects []DatabaseObject `mandatory:"false" json:"excludeObjects"` GoldenGateDetails *GoldenGateDetails `mandatory:"false" json:"goldenGateDetails"` VaultDetails *VaultDetails `mandatory:"false" json:"vaultDetails"` // The time of the last Migration details update. An RFC3339 formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The time of last Migration. An RFC3339 formatted datetime string. TimeLastMigration *common.SDKTime `mandatory:"false" json:"timeLastMigration"` // Additional status related to the execution and current state of the Migration. LifecycleDetails MigrationStatusEnum `mandatory:"false" json:"lifecycleDetails,omitempty"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m Migration) String() string
MigrationCollection Results of a Migration search. Contains MigrationSummary items.
type MigrationCollection struct { // Items in collection. Items []MigrationSummary `mandatory:"true" json:"items"` }
func (m MigrationCollection) String() string
MigrationJobProgressResource Progress details of a Migration Job.
type MigrationJobProgressResource struct { // Current status of the job. CurrentStatus JobPhaseStatusEnum `mandatory:"true" json:"currentStatus"` // Current phase of the job. CurrentPhase OdmsJobPhasesEnum `mandatory:"true" json:"currentPhase"` // List of phase status for the job. Phases []PhaseStatus `mandatory:"true" json:"phases"` }
func (m MigrationJobProgressResource) String() string
MigrationJobProgressSummary Summary of the progress of a Migration Job.
type MigrationJobProgressSummary struct { // Current phase of the job. CurrentPhase OdmsJobPhasesEnum `mandatory:"true" json:"currentPhase"` // Current status of the job. CurrentStatus JobPhaseStatusEnum `mandatory:"true" json:"currentStatus"` // Job progress percentage (0 - 100) JobProgress *int `mandatory:"true" json:"jobProgress"` }
func (m MigrationJobProgressSummary) String() string
MigrationPhaseCollection Results of a Migration Phase search. Contains a collection of valid ODMS Job Phases.
type MigrationPhaseCollection struct { // Items in collection. Items []MigrationPhaseSummary `mandatory:"true" json:"items"` }
func (m MigrationPhaseCollection) String() string
MigrationPhaseSummary Migration Phase Summary of details.
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"` }
func (m MigrationPhaseSummary) String() string
MigrationStatusEnum Enum with underlying type: string
type MigrationStatusEnum string
Set of constants representing the allowable values for MigrationStatusEnum
const ( MigrationStatusReady MigrationStatusEnum = "READY" MigrationStatusAborting MigrationStatusEnum = "ABORTING" MigrationStatusValidating MigrationStatusEnum = "VALIDATING" MigrationStatusValidated MigrationStatusEnum = "VALIDATED" MigrationStatusWaiting MigrationStatusEnum = "WAITING" MigrationStatusMigrating MigrationStatusEnum = "MIGRATING" MigrationStatusDone MigrationStatusEnum = "DONE" )
func GetMigrationStatusEnumValues() []MigrationStatusEnum
GetMigrationStatusEnumValues Enumerates the set of values for MigrationStatusEnum
MigrationSummary Migration resource
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 LifecycleStatesEnum `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"` }
func (m MigrationSummary) String() string
MigrationTypesEnum Enum with underlying type: string
type MigrationTypesEnum string
Set of constants representing the allowable values for MigrationTypesEnum
const ( MigrationTypesOnline MigrationTypesEnum = "ONLINE" MigrationTypesOffline MigrationTypesEnum = "OFFLINE" )
func GetMigrationTypesEnumValues() []MigrationTypesEnum
GetMigrationTypesEnumValues Enumerates the set of values for MigrationTypesEnum
ObjectStoreBucket In lieu of a network database link, OCI Object Storage bucket will be used to store Data Pump dump files for the migration.
type ObjectStoreBucket struct { // Namespace name of the object store bucket. NamespaceName *string `mandatory:"true" json:"namespaceName"` // Bucket name. BucketName *string `mandatory:"true" json:"bucketName"` }
func (m ObjectStoreBucket) String() string
OdmsJobPhasesEnum Enum with underlying type: string
type OdmsJobPhasesEnum string
Set of constants representing the allowable values for OdmsJobPhasesEnum
const ( OdmsJobPhasesOdmsValidateTgt OdmsJobPhasesEnum = "ODMS_VALIDATE_TGT" OdmsJobPhasesOdmsValidateSrc OdmsJobPhasesEnum = "ODMS_VALIDATE_SRC" 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" 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" )
func GetOdmsJobPhasesEnumValues() []OdmsJobPhasesEnum
GetOdmsJobPhasesEnumValues Enumerates the set of values for OdmsJobPhasesEnum
OdmsPhaseActionsEnum Enum with underlying type: string
type OdmsPhaseActionsEnum string
Set of constants representing the allowable values for OdmsPhaseActionsEnum
const ( OdmsPhaseActionsWait OdmsPhaseActionsEnum = "WAIT" )
func GetOdmsPhaseActionsEnumValues() []OdmsPhaseActionsEnum
GetOdmsPhaseActionsEnumValues Enumerates the set of values for OdmsPhaseActionsEnum
OperationStatusEnum Enum with underlying type: string
type OperationStatusEnum string
Set of constants representing the allowable values for OperationStatusEnum
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" OperationStatusCanceling OperationStatusEnum = "CANCELING" OperationStatusCanceled OperationStatusEnum = "CANCELED" )
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
OperationTypesEnum Enum with underlying type: string
type OperationTypesEnum string
Set of constants representing the allowable values for OperationTypesEnum
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" )
func GetOperationTypesEnumValues() []OperationTypesEnum
GetOperationTypesEnumValues Enumerates the set of values for OperationTypesEnum
ParLink Pre-Authenticated Request Link for ODMS Agent log use.
type ParLink struct { // Pre-Authenticated Request URI. ParLink *string `mandatory:"true" json:"parLink"` }
func (m ParLink) String() string
PhaseStatus Job phase status details.
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"` // Percent progress of job phase. Progress *int `mandatory:"false" json:"progress"` }
func (m PhaseStatus) String() string
PrivateEndpointDetails OCI Private Endpoint configuration details.
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"` }
func (m PrivateEndpointDetails) String() string
Replicat Parameters for Replicat processes.
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"` }
func (m Replicat) String() string
ResumeJobDetails Parameters to specify to resume a Migration Job.
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"` }
func (m ResumeJobDetails) String() string
ResumeJobRequest wrapper for the ResumeJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/ResumeJob.go.html to see an example of how to use 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 }
func (request ResumeJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ResumeJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ResumeJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ResumeJobRequest) String() string
ResumeJobResponse wrapper for the ResumeJob operation
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"` }
func (response ResumeJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ResumeJobResponse) String() string
RetrieveSupportedPhasesRequest wrapper for the RetrieveSupportedPhases operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/RetrieveSupportedPhases.go.html to see an example of how to use 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 }
func (request RetrieveSupportedPhasesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RetrieveSupportedPhasesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RetrieveSupportedPhasesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RetrieveSupportedPhasesRequest) String() string
RetrieveSupportedPhasesResponse wrapper for the RetrieveSupportedPhases operation
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"` }
func (response RetrieveSupportedPhasesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RetrieveSupportedPhasesResponse) String() string
SortOrdersEnum Enum with underlying type: string
type SortOrdersEnum string
Set of constants representing the allowable values for SortOrdersEnum
const ( SortOrdersAsc SortOrdersEnum = "ASC" SortOrdersDesc SortOrdersEnum = "DESC" )
func GetSortOrdersEnumValues() []SortOrdersEnum
GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum
SshDetails Details of the SSH key that will be used.
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"` }
func (m SshDetails) String() string
StartMigrationDetails Parameters to specify to a Migration job operation.
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"` }
func (m StartMigrationDetails) String() string
StartMigrationRequest wrapper for the StartMigration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/StartMigration.go.html to see an example of how to use 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 }
func (request StartMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request StartMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request StartMigrationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request StartMigrationRequest) String() string
StartMigrationResponse wrapper for the StartMigration operation
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"` }
func (response StartMigrationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response StartMigrationResponse) String() string
UnsupportedDatabaseObject Database objects to exclude from migration
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"` }
func (m UnsupportedDatabaseObject) String() string
UnsupportedDatabaseObjectTypeEnum Enum with underlying type: string
type UnsupportedDatabaseObjectTypeEnum string
Set of constants representing the allowable values for UnsupportedDatabaseObjectTypeEnum
const ( UnsupportedDatabaseObjectTypeGoldenGate UnsupportedDatabaseObjectTypeEnum = "GOLDEN_GATE" )
func GetUnsupportedDatabaseObjectTypeEnumValues() []UnsupportedDatabaseObjectTypeEnum
GetUnsupportedDatabaseObjectTypeEnumValues Enumerates the set of values for UnsupportedDatabaseObjectTypeEnum
UpdateAdminCredentials Database Administrator Credentials details. An empty object would result in the removal of the stored details.
type UpdateAdminCredentials struct { // Administrator username Username *string `mandatory:"false" json:"username"` // Administrator password Password *string `mandatory:"false" json:"password"` }
func (m UpdateAdminCredentials) String() string
UpdateAgentDetails ODMS Agent Details
type UpdateAgentDetails struct { // The OCID of the compartment. CompartmentId *string `mandatory:"false" json:"compartmentId"` // 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"` }
func (m UpdateAgentDetails) String() string
UpdateAgentRequest wrapper for the UpdateAgent operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/UpdateAgent.go.html to see an example of how to use 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 }
func (request UpdateAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateAgentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateAgentRequest) String() string
UpdateAgentResponse wrapper for the UpdateAgent operation
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"` }
func (response UpdateAgentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateAgentResponse) String() string
UpdateConnectDescriptor Connect Descriptor details. If a Private Endpoint was specified in the Connection, the host entry should be a valid IP address.
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"` }
func (m UpdateConnectDescriptor) String() string
UpdateConnectionDetails Details to update in a Database Connection resource.
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"` }
func (m UpdateConnectionDetails) String() string
UpdateConnectionRequest wrapper for the UpdateConnection operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/UpdateConnection.go.html to see an example of how to use 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 }
func (request UpdateConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateConnectionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateConnectionRequest) String() string
UpdateConnectionResponse wrapper for the UpdateConnection operation
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"` }
func (response UpdateConnectionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateConnectionResponse) String() string
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.
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"` }
func (m UpdateDataPumpParameters) String() string
UpdateDataPumpSettings Optional settings for Data Pump Export and Import jobs
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"` }
func (m UpdateDataPumpSettings) String() string
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.
type UpdateDataTransferMediumDetails struct { DatabaseLinkDetails *UpdateDatabaseLinkDetails `mandatory:"false" json:"databaseLinkDetails"` ObjectStorageDetails *UpdateObjectStoreBucket `mandatory:"false" json:"objectStorageDetails"` }
func (m UpdateDataTransferMediumDetails) String() string
UpdateDatabaseLinkDetails Optional details for updating a network database link from OCI database to on-premise database.
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:"true" json:"name"` }
func (m UpdateDatabaseLinkDetails) String() string
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.
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"` }
func (m UpdateDirectoryObject) String() string
UpdateExtract Parameters for Extract processes. If an empty object is specified, the stored Extract details will be removed.
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"` }
func (m UpdateExtract) String() string
UpdateGoldenGateDetails Details about Oracle GoldenGate Microservices. If an empty object is specified, the stored Golden Gate details will be removed.
type UpdateGoldenGateDetails struct { Hub *UpdateGoldenGateHub `mandatory:"false" json:"hub"` Settings *UpdateGoldenGateSettings `mandatory:"false" json:"settings"` }
func (m UpdateGoldenGateDetails) String() string
UpdateGoldenGateHub Details about Oracle GoldenGate Microservices.
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"` }
func (m UpdateGoldenGateHub) String() string
UpdateGoldenGateSettings Optional settings for Oracle GoldenGate processes If an empty object is specified, the stored GoldenGate Settings details will be removed.
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"` }
func (m UpdateGoldenGateSettings) String() string
UpdateJobDetails Update Job Details
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"` }
func (m UpdateJobDetails) String() string
UpdateJobRequest wrapper for the UpdateJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/UpdateJob.go.html to see an example of how to use 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 }
func (request UpdateJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateJobRequest) String() string
UpdateJobResponse wrapper for the UpdateJob operation
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"` }
func (response UpdateJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateJobResponse) String() string
UpdateMigrationDetails Update Migration resource parameters.
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"` DatapumpSettings *UpdateDataPumpSettings `mandatory:"false" json:"datapumpSettings"` // Database objects to exclude from migration. // If specified, the list will be replaced entirely. Empty list will remove stored excludeObjects details. ExcludeObjects []DatabaseObject `mandatory:"false" json:"excludeObjects"` 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"` }
func (m UpdateMigrationDetails) String() string
UpdateMigrationRequest wrapper for the UpdateMigration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.0.0/databasemigration/UpdateMigration.go.html to see an example of how to use 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 }
func (request UpdateMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateMigrationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateMigrationRequest) String() string
UpdateMigrationResponse wrapper for the UpdateMigration operation
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"` }
func (response UpdateMigrationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateMigrationResponse) String() string
UpdateObjectStoreBucket OCI Object Storage bucket details.
type UpdateObjectStoreBucket struct { // Namespace name of the object store bucket. NamespaceName *string `mandatory:"false" json:"namespaceName"` // Bucket name. BucketName *string `mandatory:"false" json:"bucketName"` }
func (m UpdateObjectStoreBucket) String() string
UpdatePrivateEndpoint OCI Private Endpoint configuration details. An empty object would result in the removal of the stored details.
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"` }
func (m UpdatePrivateEndpoint) String() string
UpdateReplicat Parameters for Replicat processes. If an empty object is specified, the stored Replicat details will be removed.
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"` }
func (m UpdateReplicat) String() string
UpdateSshDetails Details of the SSH key that will be used.
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"` }
func (m UpdateSshDetails) String() string
UpdateVaultDetails OCI Vault details to store migration and connection credentials secrets. An empty object would result in the removal of the stored details.
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"` }
func (m UpdateVaultDetails) String() string
VaultDetails OCI Vault details to store migration and connection credentials secrets
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"` }
func (m VaultDetails) String() string
WorkRequest An asynchronous work request.
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"` }
func (m WorkRequest) String() string
WorkRequestCollection Results of a Work Request search. Contains WorkRequestSummary items.
type WorkRequestCollection struct { // Items in collection. Items []WorkRequestSummary `mandatory:"true" json:"items"` }
func (m WorkRequestCollection) String() string
WorkRequestError An error encountered while executing an operation that is tracked by a work request.
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"` }
func (m WorkRequestError) String() string
WorkRequestErrorCollection Results of a Work Request search. Contains WorkRequestError items.
type WorkRequestErrorCollection struct { // Items in collection. Items []WorkRequestError `mandatory:"true" json:"items"` }
func (m WorkRequestErrorCollection) String() string
WorkRequestLogEntry A log message from executing an operation that is tracked by a work request.
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"` }
func (m WorkRequestLogEntry) String() string
WorkRequestLogEntryCollection Results of a Work Request search. Contains WorkRequestLogEntry items.
type WorkRequestLogEntryCollection struct { // Items in collection. Items []WorkRequestLogEntry `mandatory:"true" json:"items"` }
func (m WorkRequestLogEntryCollection) String() string
WorkRequestResource A resource that is created or operated on by an asynchronous operation that is tracked by a work request.
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"` }
func (m WorkRequestResource) String() string
WorkRequestResourceActionTypeEnum Enum with underlying type: string
type WorkRequestResourceActionTypeEnum string
Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum
const ( WorkRequestResourceActionTypeCreated WorkRequestResourceActionTypeEnum = "CREATED" WorkRequestResourceActionTypeUpdated WorkRequestResourceActionTypeEnum = "UPDATED" WorkRequestResourceActionTypeDeleted WorkRequestResourceActionTypeEnum = "DELETED" WorkRequestResourceActionTypeRelated WorkRequestResourceActionTypeEnum = "RELATED" WorkRequestResourceActionTypeInProgress WorkRequestResourceActionTypeEnum = "IN_PROGRESS" )
func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum
GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum
WorkRequestSummary A summary of the status of a work request.
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"` }
func (m WorkRequestSummary) String() string
WorkRequestSummaryStatusEnum Enum with underlying type: string
type WorkRequestSummaryStatusEnum string
Set of constants representing the allowable values for WorkRequestSummaryStatusEnum
const ( WorkRequestSummaryStatusAccepted WorkRequestSummaryStatusEnum = "ACCEPTED" WorkRequestSummaryStatusInProgress WorkRequestSummaryStatusEnum = "IN_PROGRESS" WorkRequestSummaryStatusFailed WorkRequestSummaryStatusEnum = "FAILED" WorkRequestSummaryStatusSucceeded WorkRequestSummaryStatusEnum = "SUCCEEDED" WorkRequestSummaryStatusCanceling WorkRequestSummaryStatusEnum = "CANCELING" WorkRequestSummaryStatusCanceled WorkRequestSummaryStatusEnum = "CANCELED" )
func GetWorkRequestSummaryStatusEnumValues() []WorkRequestSummaryStatusEnum
GetWorkRequestSummaryStatusEnumValues Enumerates the set of values for WorkRequestSummaryStatusEnum