ActionTypeEnum Enum with underlying type: string
type ActionTypeEnum string
Set of constants representing the allowable values for ActionTypeEnum
const ( ActionTypeCreated ActionTypeEnum = "CREATED" ActionTypeUpdated ActionTypeEnum = "UPDATED" ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeRelated ActionTypeEnum = "RELATED" )
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
ChangeDatabaseRegistrationCompartmentDetails The new compartment for a DatabaseRegistration.
type ChangeDatabaseRegistrationCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment being referenced. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeDatabaseRegistrationCompartmentDetails) String() string
ChangeDatabaseRegistrationCompartmentRequest wrapper for the ChangeDatabaseRegistrationCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/ChangeDatabaseRegistrationCompartment.go.html to see an example of how to use ChangeDatabaseRegistrationCompartmentRequest.
type ChangeDatabaseRegistrationCompartmentRequest struct { // A unique DatabaseRegistration identifier. DatabaseRegistrationId *string `mandatory:"true" contributesTo:"path" name:"databaseRegistrationId"` // Properties to change the compartment of a DatabaseRegistration. ChangeDatabaseRegistrationCompartmentDetails `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 is updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. 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 is rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeDatabaseRegistrationCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDatabaseRegistrationCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDatabaseRegistrationCompartmentRequest) String() string
ChangeDatabaseRegistrationCompartmentResponse wrapper for the ChangeDatabaseRegistrationCompartment operation
type ChangeDatabaseRegistrationCompartmentResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for an asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please include the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeDatabaseRegistrationCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDatabaseRegistrationCompartmentResponse) String() string
ChangeDeploymentBackupCompartmentDetails The new compartment for a DeploymentBackup.
type ChangeDeploymentBackupCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment being referenced. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeDeploymentBackupCompartmentDetails) String() string
ChangeDeploymentBackupCompartmentRequest wrapper for the ChangeDeploymentBackupCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/ChangeDeploymentBackupCompartment.go.html to see an example of how to use ChangeDeploymentBackupCompartmentRequest.
type ChangeDeploymentBackupCompartmentRequest struct { // A unique DeploymentBackup identifier. DeploymentBackupId *string `mandatory:"true" contributesTo:"path" name:"deploymentBackupId"` // Properties to change the compartment of a DeploymentBackup. ChangeDeploymentBackupCompartmentDetails `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 is updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. 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 is rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeDeploymentBackupCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDeploymentBackupCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDeploymentBackupCompartmentRequest) String() string
ChangeDeploymentBackupCompartmentResponse wrapper for the ChangeDeploymentBackupCompartment operation
type ChangeDeploymentBackupCompartmentResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please include the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeDeploymentBackupCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDeploymentBackupCompartmentResponse) String() string
ChangeDeploymentCompartmentDetails The new compartment for a Deployment.
type ChangeDeploymentCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment being referenced. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeDeploymentCompartmentDetails) String() string
ChangeDeploymentCompartmentRequest wrapper for the ChangeDeploymentCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/ChangeDeploymentCompartment.go.html to see an example of how to use ChangeDeploymentCompartmentRequest.
type ChangeDeploymentCompartmentRequest struct { // A unique Deployment identifier. DeploymentId *string `mandatory:"true" contributesTo:"path" name:"deploymentId"` // Properties to change the compartment of a Deployment. ChangeDeploymentCompartmentDetails `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 is updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. 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 is rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeDeploymentCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDeploymentCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDeploymentCompartmentRequest) String() string
ChangeDeploymentCompartmentResponse wrapper for the ChangeDeploymentCompartment operation
type ChangeDeploymentCompartmentResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for an asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please include the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeDeploymentCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDeploymentCompartmentResponse) String() string
CreateDatabaseRegistrationDetails The information about a new DatabaseRegistration.
type CreateDatabaseRegistrationDetails struct { // An object's Display Name. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment being referenced. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A three-label Fully Qualified Domain Name (FQDN) for a resource. Fqdn *string `mandatory:"true" json:"fqdn"` // The username Oracle GoldenGate uses to connect the associated RDBMS. This username must already exist and be available for use by the database. It must conform to the security requirements implemented by the database including length, case sensitivity, and so on. Username *string `mandatory:"true" json:"username"` // The password Oracle GoldenGate uses to connect the associated RDBMS. It must conform to the specific security requirements implemented by the database including length, case sensitivity, and so on. Password *string `mandatory:"true" json:"password"` // Credential store alias. AliasName *string `mandatory:"true" json:"aliasName"` // Metadata about this specific object. Description *string `mandatory:"false" json:"description"` // A 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"` // Tags defined for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The private IP address in the customer's VCN of the customer's endpoint, typically a database. IpAddress *string `mandatory:"false" json:"ipAddress"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet being referenced. SubnetId *string `mandatory:"false" json:"subnetId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the database being referenced. DatabaseId *string `mandatory:"false" json:"databaseId"` // Connect descriptor or Easy Connect Naming method that Oracle GoldenGate uses to connect to a database. ConnectionString *string `mandatory:"false" json:"connectionString"` // The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Wallet *string `mandatory:"false" json:"wallet"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the customer vault being referenced. If provided, this will reference a vault which the customer will be required to ensure the policies are established to permit the GoldenGate Service to manage secrets contained within this vault. VaultId *string `mandatory:"false" json:"vaultId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the customer "Master" key being referenced. If provided, this will reference a key which the customer will be required to ensure the policies are established to permit the GoldenGate Service to utilize this key to manage secrets. KeyId *string `mandatory:"false" json:"keyId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where the the GGS Secret will be created. If provided, this will reference a key which the customer will be required to ensure the policies are established to permit the GoldenGate Service to utilize this Compartment in which to create a Secret. SecretCompartmentId *string `mandatory:"false" json:"secretCompartmentId"` }
func (m CreateDatabaseRegistrationDetails) String() string
CreateDatabaseRegistrationRequest wrapper for the CreateDatabaseRegistration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/CreateDatabaseRegistration.go.html to see an example of how to use CreateDatabaseRegistrationRequest.
type CreateDatabaseRegistrationRequest struct { // Specification of the DatabaseRegistration to create. CreateDatabaseRegistrationDetails `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 is rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. 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 CreateDatabaseRegistrationRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDatabaseRegistrationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDatabaseRegistrationRequest) String() string
CreateDatabaseRegistrationResponse wrapper for the CreateDatabaseRegistration operation
type CreateDatabaseRegistrationResponse struct { // The underlying http response RawResponse *http.Response // The DatabaseRegistration instance DatabaseRegistration `presentIn:"body"` // A unique Oracle-assigned identifier for an asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please include 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 CreateDatabaseRegistrationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDatabaseRegistrationResponse) String() string
CreateDeploymentBackupDetails The information about a new DeploymentBackup.
type CreateDeploymentBackupDetails struct { // An object's Display Name. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment being referenced. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the deployment being referenced. DeploymentId *string `mandatory:"true" json:"deploymentId"` // Name of namespace that serves as a container for all of your buckets NamespaceName *string `mandatory:"true" json:"namespaceName"` // Name of the bucket where the object is to be uploaded in the object storage BucketName *string `mandatory:"true" json:"bucketName"` // Name of the object to be uploaded to object storage ObjectName *string `mandatory:"true" json:"objectName"` // A 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"` // Tags defined 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 CreateDeploymentBackupDetails) String() string
CreateDeploymentBackupRequest wrapper for the CreateDeploymentBackup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/CreateDeploymentBackup.go.html to see an example of how to use CreateDeploymentBackupRequest.
type CreateDeploymentBackupRequest struct { // Specification of the DeploymentBackup to create. CreateDeploymentBackupDetails `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 is rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. 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 CreateDeploymentBackupRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDeploymentBackupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDeploymentBackupRequest) String() string
CreateDeploymentBackupResponse wrapper for the CreateDeploymentBackup operation
type CreateDeploymentBackupResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for an asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please include the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateDeploymentBackupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDeploymentBackupResponse) String() string
CreateDeploymentDetails The information about a new Deployment.
type CreateDeploymentDetails struct { // An object's Display Name. DisplayName *string `mandatory:"true" json:"displayName"` // The Oracle license model that applies to a Deployment. LicenseModel LicenseModelEnum `mandatory:"true" json:"licenseModel"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment being referenced. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet being referenced. SubnetId *string `mandatory:"true" json:"subnetId"` // The Minimum number of OCPUs to be made available for this Deployment. CpuCoreCount *int `mandatory:"true" json:"cpuCoreCount"` // Indicates if auto scaling is enabled for the Deployment's CPU core count. IsAutoScalingEnabled *bool `mandatory:"true" json:"isAutoScalingEnabled"` // The deployment type. DeploymentType DeploymentTypeEnum `mandatory:"true" json:"deploymentType"` // Metadata about this specific object. Description *string `mandatory:"false" json:"description"` // A 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"` // Tags defined for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the backup being referenced. DeploymentBackupId *string `mandatory:"false" json:"deploymentBackupId"` // A three-label Fully Qualified Domain Name (FQDN) for a resource. Fqdn *string `mandatory:"false" json:"fqdn"` // An array of Network Security Group (https://docs.cloud.oracle.com/Content/Network/Concepts/networksecuritygroups.htm) OCIDs used to define network access for a deployment. NsgIds []string `mandatory:"false" json:"nsgIds"` // True if this object is publicly available. IsPublic *bool `mandatory:"false" json:"isPublic"` OggData *CreateOggDeploymentDetails `mandatory:"false" json:"oggData"` }
func (m CreateDeploymentDetails) String() string
CreateDeploymentRequest wrapper for the CreateDeployment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/CreateDeployment.go.html to see an example of how to use CreateDeploymentRequest.
type CreateDeploymentRequest struct { // Specifications to create the Deployment. CreateDeploymentDetails `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 is rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. 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 CreateDeploymentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDeploymentRequest) String() string
CreateDeploymentResponse wrapper for the CreateDeployment operation
type CreateDeploymentResponse struct { // The underlying http response RawResponse *http.Response // The Deployment instance Deployment `presentIn:"body"` // A unique Oracle-assigned identifier for an asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please include 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 CreateDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDeploymentResponse) String() string
CreateOggDeploymentDetails Deployment Data for creating an OggDeployment
type CreateOggDeploymentDetails struct { // The name given to the GoldenGate service deployment. The name must be 1 to 32 characters long, must contain only alphanumeric characters and must start with a letter. DeploymentName *string `mandatory:"true" json:"deploymentName"` // The GoldenGate deployment console username. AdminUsername *string `mandatory:"true" json:"adminUsername"` // The password associated with the GoldenGate deployment console username. The password must be 8 to 30 characters long and must contain at least 1 uppercase, 1 lowercase, 1 numeric, and 1 special character. Special characters such as ‘$’, ‘^’, or ‘?’ are not allowed. AdminPassword *string `mandatory:"true" json:"adminPassword"` // A PEM-encoded SSL certificate. Certificate *string `mandatory:"false" json:"certificate"` // A PEM-encoded private key. Key *string `mandatory:"false" json:"key"` }
func (m CreateOggDeploymentDetails) String() string
DatabaseRegistration Represents the metadata description of a database used by deployments in the same compartment.
type DatabaseRegistration struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the databaseRegistration being referenced. Id *string `mandatory:"true" json:"id"` // An object's Display Name. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment being referenced. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A three-label Fully Qualified Domain Name (FQDN) for a resource. Fqdn *string `mandatory:"true" json:"fqdn"` // The private IP address in the customer's VCN of the customer's endpoint, typically a database. IpAddress *string `mandatory:"true" json:"ipAddress"` // The username Oracle GoldenGate uses to connect the associated RDBMS. This username must already exist and be available for use by the database. It must conform to the security requirements implemented by the database including length, case sensitivity, and so on. Username *string `mandatory:"true" json:"username"` // Credential store alias. AliasName *string `mandatory:"true" json:"aliasName"` // Metadata about this specific object. Description *string `mandatory:"false" json:"description"` // The time the resource was created. The format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the resource was last updated. The format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Possible lifecycle states. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // A 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"` // Tags defined for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet being referenced. SubnetId *string `mandatory:"false" json:"subnetId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the database being referenced. DatabaseId *string `mandatory:"false" json:"databaseId"` // A Private Endpoint IP Address created in the customer's subnet. A customer database can expect network traffic initiated by GGS from this IP address and send network traffic to this IP address, typically in response to requests from GGS (OGG). The customer may utilize this IP address in Security Lists or Network Security Groups (NSG) as needed. RcePrivateIp *string `mandatory:"false" json:"rcePrivateIp"` // The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // Connect descriptor or Easy Connect Naming method that Oracle GoldenGate uses to connect to a database. ConnectionString *string `mandatory:"false" json:"connectionString"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the customer vault being referenced. If provided, this will reference a vault which the customer will be required to ensure the policies are established to permit the GoldenGate Service to manage secrets contained within this vault. VaultId *string `mandatory:"false" json:"vaultId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the customer "Master" key being referenced. If provided, this will reference a key which the customer will be required to ensure the policies are established to permit the GoldenGate Service to utilize this key to manage secrets. KeyId *string `mandatory:"false" json:"keyId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where the the GGS Secret will be created. If provided, this will reference a key which the customer will be required to ensure the policies are established to permit the GoldenGate Service to utilize this Compartment in which to create a Secret. SecretCompartmentId *string `mandatory:"false" json:"secretCompartmentId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the customer GGS Secret being referenced. If provided, this will reference a key which the customer will be required to ensure the policies are established to permit the GoldenGate Service to utilize this Secret SecretId *string `mandatory:"false" json:"secretId"` }
func (m DatabaseRegistration) String() string
DatabaseRegistrationCollection A list of DatabaseRegistrations.
type DatabaseRegistrationCollection struct { // An array of DatabaseRegistration summaries. Items []DatabaseRegistrationSummary `mandatory:"true" json:"items"` }
func (m DatabaseRegistrationCollection) String() string
DatabaseRegistrationSummary Summary of the DatabaseRegistration.
type DatabaseRegistrationSummary struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the databaseRegistration being referenced. Id *string `mandatory:"true" json:"id"` // An object's Display Name. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment being referenced. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A three-label Fully Qualified Domain Name (FQDN) for a resource. Fqdn *string `mandatory:"true" json:"fqdn"` // Metadata about this specific object. Description *string `mandatory:"false" json:"description"` // The time the resource was created. The format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the resource was last updated. The format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Possible lifecycle states. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // A 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"` // Tags defined for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet being referenced. SubnetId *string `mandatory:"false" json:"subnetId"` // The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the database being referenced. DatabaseId *string `mandatory:"false" json:"databaseId"` // The username Oracle GoldenGate uses to connect the associated RDBMS. This username must already exist and be available for use by the database. It must conform to the security requirements implemented by the database including length, case sensitivity, and so on. Username *string `mandatory:"false" json:"username"` // Connect descriptor or Easy Connect Naming method that Oracle GoldenGate uses to connect to a database. ConnectionString *string `mandatory:"false" json:"connectionString"` // Credential store alias. AliasName *string `mandatory:"false" json:"aliasName"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the customer GGS Secret being referenced. If provided, this will reference a key which the customer will be required to ensure the policies are established to permit the GoldenGate Service to utilize this Secret SecretId *string `mandatory:"false" json:"secretId"` }
func (m DatabaseRegistrationSummary) String() string
DefaultRestoreDeploymentDetails Definiton of the additional attributes for default deployment restore.
type DefaultRestoreDeploymentDetails struct { }
func (m DefaultRestoreDeploymentDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DefaultRestoreDeploymentDetails) String() string
DefaultStartDeploymentDetails Definiton of the additional attributes for default deployment start.
type DefaultStartDeploymentDetails struct { }
func (m DefaultStartDeploymentDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DefaultStartDeploymentDetails) String() string
DefaultStopDeploymentDetails Definiton of the additional attributes for default deployment stop.
type DefaultStopDeploymentDetails struct { }
func (m DefaultStopDeploymentDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DefaultStopDeploymentDetails) String() string
DeleteDatabaseRegistrationRequest wrapper for the DeleteDatabaseRegistration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/DeleteDatabaseRegistration.go.html to see an example of how to use DeleteDatabaseRegistrationRequest.
type DeleteDatabaseRegistrationRequest struct { // A unique DatabaseRegistration identifier. DatabaseRegistrationId *string `mandatory:"true" contributesTo:"path" name:"databaseRegistrationId"` // 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 is updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. 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 DeleteDatabaseRegistrationRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDatabaseRegistrationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDatabaseRegistrationRequest) String() string
DeleteDatabaseRegistrationResponse wrapper for the DeleteDatabaseRegistration operation
type DeleteDatabaseRegistrationResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for an asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please include the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteDatabaseRegistrationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDatabaseRegistrationResponse) String() string
DeleteDeploymentBackupRequest wrapper for the DeleteDeploymentBackup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/DeleteDeploymentBackup.go.html to see an example of how to use DeleteDeploymentBackupRequest.
type DeleteDeploymentBackupRequest struct { // A unique DeploymentBackup identifier. DeploymentBackupId *string `mandatory:"true" contributesTo:"path" name:"deploymentBackupId"` // 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 is updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. 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 DeleteDeploymentBackupRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDeploymentBackupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDeploymentBackupRequest) String() string
DeleteDeploymentBackupResponse wrapper for the DeleteDeploymentBackup operation
type DeleteDeploymentBackupResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for an asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please include the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteDeploymentBackupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDeploymentBackupResponse) String() string
DeleteDeploymentRequest wrapper for the DeleteDeployment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/DeleteDeployment.go.html to see an example of how to use DeleteDeploymentRequest.
type DeleteDeploymentRequest struct { // A unique Deployment identifier. DeploymentId *string `mandatory:"true" contributesTo:"path" name:"deploymentId"` // 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 is updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. 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 DeleteDeploymentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDeploymentRequest) String() string
DeleteDeploymentResponse wrapper for the DeleteDeployment operation
type DeleteDeploymentResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for an asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please include the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDeploymentResponse) String() string
Deployment A container for your OCI GoldenGate resources, such as the OCI GoldenGate deployment console.
type Deployment struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the deployment being referenced. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment being referenced. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet being referenced. SubnetId *string `mandatory:"true" json:"subnetId"` // The Oracle license model that applies to a Deployment. LicenseModel LicenseModelEnum `mandatory:"true" json:"licenseModel"` // The Minimum number of OCPUs to be made available for this Deployment. CpuCoreCount *int `mandatory:"true" json:"cpuCoreCount"` // Indicates if auto scaling is enabled for the Deployment's CPU core count. IsAutoScalingEnabled *bool `mandatory:"true" json:"isAutoScalingEnabled"` // The deployment type. DeploymentType DeploymentTypeEnum `mandatory:"true" json:"deploymentType"` // An object's Display Name. DisplayName *string `mandatory:"false" json:"displayName"` // Metadata about this specific object. Description *string `mandatory:"false" json:"description"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the backup being referenced. DeploymentBackupId *string `mandatory:"false" json:"deploymentBackupId"` // The time the resource was created. The format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the resource was last updated. The format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Possible lifecycle states. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // A 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"` // Tags defined 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"` // True if all of the aggregate resources are working correctly. IsHealthy *bool `mandatory:"false" json:"isHealthy"` // A three-label Fully Qualified Domain Name (FQDN) for a resource. Fqdn *string `mandatory:"false" json:"fqdn"` // An array of Network Security Group (https://docs.cloud.oracle.com/Content/Network/Concepts/networksecuritygroups.htm) OCIDs used to define network access for a deployment. NsgIds []string `mandatory:"false" json:"nsgIds"` // True if this object is publicly available. IsPublic *bool `mandatory:"false" json:"isPublic"` // The public IP address representing the access point for the Deployment. PublicIpAddress *string `mandatory:"false" json:"publicIpAddress"` // The private IP address in the customer's VCN representing the access point for the associated endpoint service in the GoldenGate service VCN. PrivateIpAddress *string `mandatory:"false" json:"privateIpAddress"` // The URL of a resource. DeploymentUrl *string `mandatory:"false" json:"deploymentUrl"` // The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // Indicates if the resource is the the latest available version. IsLatestVersion *bool `mandatory:"false" json:"isLatestVersion"` OggData *OggDeployment `mandatory:"false" json:"oggData"` }
func (m Deployment) String() string
DeploymentBackup A backup of the current state of the GoldenGate deployment. Can be used to restore a deployment, or create a new deployment with that state as the starting deployment state.
type DeploymentBackup struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the backup being referenced. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the deployment being referenced. DeploymentId *string `mandatory:"true" json:"deploymentId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment being referenced. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Possible lifecycle states. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Version of OGG OggVersion *string `mandatory:"true" json:"oggVersion"` // An object's Display Name. DisplayName *string `mandatory:"false" json:"displayName"` // True if this object is automatically created IsAutomatic *bool `mandatory:"false" json:"isAutomatic"` // Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // The time of the resource backup. The format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeOfBackup *common.SDKTime `mandatory:"false" json:"timeOfBackup"` // Possible Deployment backup types. BackupType DeploymentBackupTypeEnum `mandatory:"false" json:"backupType,omitempty"` // Name of namespace that serves as a container for all of your buckets NamespaceName *string `mandatory:"false" json:"namespaceName"` // Name of the bucket where the object is to be uploaded in the object storage BucketName *string `mandatory:"false" json:"bucketName"` // Name of the object to be uploaded to object storage ObjectName *string `mandatory:"false" json:"objectName"` // The time the resource was created. The format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the resource was last updated. The format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A 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"` // Tags defined for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m DeploymentBackup) String() string
DeploymentBackupCollection A list of DeploymentBackups.
type DeploymentBackupCollection struct { // An array of DeploymentBackups. Items []DeploymentBackupSummary `mandatory:"true" json:"items"` }
func (m DeploymentBackupCollection) String() string
DeploymentBackupSummary The summary of the Backup.
type DeploymentBackupSummary struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the backup being referenced. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the deployment being referenced. DeploymentId *string `mandatory:"true" json:"deploymentId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment being referenced. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Possible lifecycle states. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Version of OGG OggVersion *string `mandatory:"true" json:"oggVersion"` // An object's Display Name. DisplayName *string `mandatory:"false" json:"displayName"` // True if this object is automatically created IsAutomatic *bool `mandatory:"false" json:"isAutomatic"` // Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // The time of the resource backup. The format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeOfBackup *common.SDKTime `mandatory:"false" json:"timeOfBackup"` // Possible Deployment backup types. BackupType DeploymentBackupTypeEnum `mandatory:"false" json:"backupType,omitempty"` // Name of namespace that serves as a container for all of your buckets NamespaceName *string `mandatory:"false" json:"namespaceName"` // Name of the bucket where the object is to be uploaded in the object storage BucketName *string `mandatory:"false" json:"bucketName"` // Name of the object to be uploaded to object storage ObjectName *string `mandatory:"false" json:"objectName"` // The time the resource was created. The format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the resource was last updated. The format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A 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"` // Tags defined for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m DeploymentBackupSummary) String() string
DeploymentBackupTypeEnum Enum with underlying type: string
type DeploymentBackupTypeEnum string
Set of constants representing the allowable values for DeploymentBackupTypeEnum
const ( DeploymentBackupTypeIncremental DeploymentBackupTypeEnum = "INCREMENTAL" DeploymentBackupTypeFull DeploymentBackupTypeEnum = "FULL" )
func GetDeploymentBackupTypeEnumValues() []DeploymentBackupTypeEnum
GetDeploymentBackupTypeEnumValues Enumerates the set of values for DeploymentBackupTypeEnum
DeploymentCollection A list of Deployments.
type DeploymentCollection struct { // An array of Deployment summaries. Items []DeploymentSummary `mandatory:"true" json:"items"` }
func (m DeploymentCollection) String() string
DeploymentSummary Summary of the Deployment.
type DeploymentSummary struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the deployment being referenced. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment being referenced. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet being referenced. SubnetId *string `mandatory:"true" json:"subnetId"` // The Oracle license model that applies to a Deployment. LicenseModel LicenseModelEnum `mandatory:"true" json:"licenseModel"` // An object's Display Name. DisplayName *string `mandatory:"false" json:"displayName"` // Metadata about this specific object. Description *string `mandatory:"false" json:"description"` // The time the resource was created. The format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the resource was last updated. The format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Possible lifecycle states. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // A 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"` // Tags defined 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"` // A three-label Fully Qualified Domain Name (FQDN) for a resource. Fqdn *string `mandatory:"false" json:"fqdn"` // The Minimum number of OCPUs to be made available for this Deployment. CpuCoreCount *int `mandatory:"false" json:"cpuCoreCount"` // Indicates if auto scaling is enabled for the Deployment's CPU core count. IsAutoScalingEnabled *bool `mandatory:"false" json:"isAutoScalingEnabled"` // True if this object is publicly available. IsPublic *bool `mandatory:"false" json:"isPublic"` // The public IP address representing the access point for the Deployment. PublicIpAddress *string `mandatory:"false" json:"publicIpAddress"` // The private IP address in the customer's VCN representing the access point for the associated endpoint service in the GoldenGate service VCN. PrivateIpAddress *string `mandatory:"false" json:"privateIpAddress"` // The URL of a resource. DeploymentUrl *string `mandatory:"false" json:"deploymentUrl"` // The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // Indicates if the resource is the the latest available version. IsLatestVersion *bool `mandatory:"false" json:"isLatestVersion"` // The deployment type. DeploymentType DeploymentTypeEnum `mandatory:"false" json:"deploymentType,omitempty"` }
func (m DeploymentSummary) String() string
DeploymentTypeEnum Enum with underlying type: string
type DeploymentTypeEnum string
Set of constants representing the allowable values for DeploymentTypeEnum
const ( DeploymentTypeOgg DeploymentTypeEnum = "OGG" )
func GetDeploymentTypeEnumValues() []DeploymentTypeEnum
GetDeploymentTypeEnumValues Enumerates the set of values for DeploymentTypeEnum
GetDatabaseRegistrationRequest wrapper for the GetDatabaseRegistration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/GetDatabaseRegistration.go.html to see an example of how to use GetDatabaseRegistrationRequest.
type GetDatabaseRegistrationRequest struct { // A unique DatabaseRegistration identifier. DatabaseRegistrationId *string `mandatory:"true" contributesTo:"path" name:"databaseRegistrationId"` // The client request ID for tracing. 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 GetDatabaseRegistrationRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDatabaseRegistrationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDatabaseRegistrationRequest) String() string
GetDatabaseRegistrationResponse wrapper for the GetDatabaseRegistration operation
type GetDatabaseRegistrationResponse struct { // The underlying http response RawResponse *http.Response // The DatabaseRegistration instance DatabaseRegistration `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please include the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetDatabaseRegistrationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDatabaseRegistrationResponse) String() string
GetDeploymentBackupRequest wrapper for the GetDeploymentBackup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/GetDeploymentBackup.go.html to see an example of how to use GetDeploymentBackupRequest.
type GetDeploymentBackupRequest struct { // A unique DeploymentBackup identifier. DeploymentBackupId *string `mandatory:"true" contributesTo:"path" name:"deploymentBackupId"` // The client request ID for tracing. 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 GetDeploymentBackupRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDeploymentBackupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDeploymentBackupRequest) String() string
GetDeploymentBackupResponse wrapper for the GetDeploymentBackup operation
type GetDeploymentBackupResponse struct { // The underlying http response RawResponse *http.Response // The DeploymentBackup instance DeploymentBackup `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please include the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetDeploymentBackupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDeploymentBackupResponse) String() string
GetDeploymentRequest wrapper for the GetDeployment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/GetDeployment.go.html to see an example of how to use GetDeploymentRequest.
type GetDeploymentRequest struct { // A unique Deployment identifier. DeploymentId *string `mandatory:"true" contributesTo:"path" name:"deploymentId"` // The client request ID for tracing. 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 GetDeploymentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDeploymentRequest) String() string
GetDeploymentResponse wrapper for the GetDeployment operation
type GetDeploymentResponse struct { // The underlying http response RawResponse *http.Response // The Deployment instance Deployment `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please include the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDeploymentResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/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"` // The client request ID for tracing. 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) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
GetWorkRequestResponse wrapper for the GetWorkRequest operation
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please include the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The number of seconds the client should wait before polling this endpoint again. RetryAfter *int `presentIn:"header" name:"retry-after"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
GoldenGateClient a client for GoldenGate
type GoldenGateClient struct { common.BaseClient // contains filtered or unexported fields }
func NewGoldenGateClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client GoldenGateClient, err error)
NewGoldenGateClientWithConfigurationProvider Creates a new default GoldenGate client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewGoldenGateClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client GoldenGateClient, err error)
NewGoldenGateClientWithOboToken Creates a new default GoldenGate 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 GoldenGateClient) ChangeDatabaseRegistrationCompartment(ctx context.Context, request ChangeDatabaseRegistrationCompartmentRequest) (response ChangeDatabaseRegistrationCompartmentResponse, err error)
ChangeDatabaseRegistrationCompartment Moves the DatabaseRegistration into a different compartment within the same tenancy. When provided, If-Match is checked against ETag values of the resource. For information about moving resources between compartments, see Moving Resources Between Compartments (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/ChangeDatabaseRegistrationCompartment.go.html to see an example of how to use ChangeDatabaseRegistrationCompartment API.
func (client GoldenGateClient) ChangeDeploymentBackupCompartment(ctx context.Context, request ChangeDeploymentBackupCompartmentRequest) (response ChangeDeploymentBackupCompartmentResponse, err error)
ChangeDeploymentBackupCompartment Moves a DeploymentBackup into a different compartment within the same tenancy. When provided, If-Match is checked against ETag values of the resource. For information about moving resources between compartments, see Moving Resources Between Compartments (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/ChangeDeploymentBackupCompartment.go.html to see an example of how to use ChangeDeploymentBackupCompartment API.
func (client GoldenGateClient) ChangeDeploymentCompartment(ctx context.Context, request ChangeDeploymentCompartmentRequest) (response ChangeDeploymentCompartmentResponse, err error)
ChangeDeploymentCompartment Moves the Deployment into a different compartment within the same tenancy. When provided, If-Match is checked against ETag values of the resource. For information about moving resources between compartments, see Moving Resources Between Compartments (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/ChangeDeploymentCompartment.go.html to see an example of how to use ChangeDeploymentCompartment API.
func (client *GoldenGateClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client GoldenGateClient) CreateDatabaseRegistration(ctx context.Context, request CreateDatabaseRegistrationRequest) (response CreateDatabaseRegistrationResponse, err error)
CreateDatabaseRegistration Creates a new DatabaseRegistration.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/CreateDatabaseRegistration.go.html to see an example of how to use CreateDatabaseRegistration API.
func (client GoldenGateClient) CreateDeployment(ctx context.Context, request CreateDeploymentRequest) (response CreateDeploymentResponse, err error)
CreateDeployment Creates a new Deployment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/CreateDeployment.go.html to see an example of how to use CreateDeployment API.
func (client GoldenGateClient) CreateDeploymentBackup(ctx context.Context, request CreateDeploymentBackupRequest) (response CreateDeploymentBackupResponse, err error)
CreateDeploymentBackup Creates a new DeploymentBackup.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/CreateDeploymentBackup.go.html to see an example of how to use CreateDeploymentBackup API.
func (client GoldenGateClient) DeleteDatabaseRegistration(ctx context.Context, request DeleteDatabaseRegistrationRequest) (response DeleteDatabaseRegistrationResponse, err error)
DeleteDatabaseRegistration Deletes a DatabaseRegistration.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/DeleteDatabaseRegistration.go.html to see an example of how to use DeleteDatabaseRegistration API.
func (client GoldenGateClient) DeleteDeployment(ctx context.Context, request DeleteDeploymentRequest) (response DeleteDeploymentResponse, err error)
DeleteDeployment Deletes the Deployment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/DeleteDeployment.go.html to see an example of how to use DeleteDeployment API.
func (client GoldenGateClient) DeleteDeploymentBackup(ctx context.Context, request DeleteDeploymentBackupRequest) (response DeleteDeploymentBackupResponse, err error)
DeleteDeploymentBackup Deletes a DeploymentBackup.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/DeleteDeploymentBackup.go.html to see an example of how to use DeleteDeploymentBackup API.
func (client GoldenGateClient) GetDatabaseRegistration(ctx context.Context, request GetDatabaseRegistrationRequest) (response GetDatabaseRegistrationResponse, err error)
GetDatabaseRegistration Retrieves a DatabaseRegistration.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/GetDatabaseRegistration.go.html to see an example of how to use GetDatabaseRegistration API.
func (client GoldenGateClient) GetDeployment(ctx context.Context, request GetDeploymentRequest) (response GetDeploymentResponse, err error)
GetDeployment Retrieves a deployment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/GetDeployment.go.html to see an example of how to use GetDeployment API.
func (client GoldenGateClient) GetDeploymentBackup(ctx context.Context, request GetDeploymentBackupRequest) (response GetDeploymentBackupResponse, err error)
GetDeploymentBackup Retrieves a DeploymentBackup.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/GetDeploymentBackup.go.html to see an example of how to use GetDeploymentBackup API.
func (client GoldenGateClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Retrieve the WorkRequest identified by the given OCID.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API.
func (client GoldenGateClient) ListDatabaseRegistrations(ctx context.Context, request ListDatabaseRegistrationsRequest) (response ListDatabaseRegistrationsResponse, err error)
ListDatabaseRegistrations Lists the DatabaseRegistrations in the compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/ListDatabaseRegistrations.go.html to see an example of how to use ListDatabaseRegistrations API.
func (client GoldenGateClient) ListDeploymentBackups(ctx context.Context, request ListDeploymentBackupsRequest) (response ListDeploymentBackupsResponse, err error)
ListDeploymentBackups Lists the Backups in a compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/ListDeploymentBackups.go.html to see an example of how to use ListDeploymentBackups API.
func (client GoldenGateClient) ListDeployments(ctx context.Context, request ListDeploymentsRequest) (response ListDeploymentsResponse, err error)
ListDeployments Lists the Deployments in a compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/ListDeployments.go.html to see an example of how to use ListDeployments API.
func (client GoldenGateClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Lists work request errors.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API.
func (client GoldenGateClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Lists work request logs.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API.
func (client GoldenGateClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in the compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API.
func (client GoldenGateClient) RestoreDeployment(ctx context.Context, request RestoreDeploymentRequest) (response RestoreDeploymentResponse, err error)
RestoreDeployment Restores a Deployment from a Deployment Backup created from the same Deployment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/RestoreDeployment.go.html to see an example of how to use RestoreDeployment API.
func (client *GoldenGateClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client GoldenGateClient) StartDeployment(ctx context.Context, request StartDeploymentRequest) (response StartDeploymentResponse, err error)
StartDeployment Starts a Deployment. When provided, If-Match is checked against ETag values of the resource.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/StartDeployment.go.html to see an example of how to use StartDeployment API.
func (client GoldenGateClient) StopDeployment(ctx context.Context, request StopDeploymentRequest) (response StopDeploymentResponse, err error)
StopDeployment Stops a Deployment. When provided, If-Match is checked against ETag values of the resource.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/StopDeployment.go.html to see an example of how to use StopDeployment API.
func (client GoldenGateClient) UpdateDatabaseRegistration(ctx context.Context, request UpdateDatabaseRegistrationRequest) (response UpdateDatabaseRegistrationResponse, err error)
UpdateDatabaseRegistration Updates the DatabaseRegistration.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/UpdateDatabaseRegistration.go.html to see an example of how to use UpdateDatabaseRegistration API.
func (client GoldenGateClient) UpdateDeployment(ctx context.Context, request UpdateDeploymentRequest) (response UpdateDeploymentResponse, err error)
UpdateDeployment Modifies a Deployment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/UpdateDeployment.go.html to see an example of how to use UpdateDeployment API.
func (client GoldenGateClient) UpdateDeploymentBackup(ctx context.Context, request UpdateDeploymentBackupRequest) (response UpdateDeploymentBackupResponse, err error)
UpdateDeploymentBackup Modifies a Deployment Backup.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/UpdateDeploymentBackup.go.html to see an example of how to use UpdateDeploymentBackup API.
func (client GoldenGateClient) UpgradeDeployment(ctx context.Context, request UpgradeDeploymentRequest) (response UpgradeDeploymentResponse, err error)
UpgradeDeployment Upgrade a Deployment. When provided, If-Match is checked against ETag values of the resource.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/UpgradeDeployment.go.html to see an example of how to use UpgradeDeployment API.
LicenseModelEnum Enum with underlying type: string
type LicenseModelEnum string
Set of constants representing the allowable values for LicenseModelEnum
const ( LicenseModelLicenseIncluded LicenseModelEnum = "LICENSE_INCLUDED" LicenseModelBringYourOwnLicense LicenseModelEnum = "BRING_YOUR_OWN_LICENSE" )
func GetLicenseModelEnumValues() []LicenseModelEnum
GetLicenseModelEnumValues Enumerates the set of values for LicenseModelEnum
LifecycleStateEnum Enum with underlying type: string
type LifecycleStateEnum string
Set of constants representing the allowable values for LifecycleStateEnum
const ( LifecycleStateCreating LifecycleStateEnum = "CREATING" LifecycleStateUpdating LifecycleStateEnum = "UPDATING" LifecycleStateActive LifecycleStateEnum = "ACTIVE" LifecycleStateInactive LifecycleStateEnum = "INACTIVE" LifecycleStateDeleting LifecycleStateEnum = "DELETING" LifecycleStateDeleted LifecycleStateEnum = "DELETED" LifecycleStateFailed LifecycleStateEnum = "FAILED" )
func GetLifecycleStateEnumValues() []LifecycleStateEnum
GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum
ListDatabaseRegistrationsLifecycleStateEnum Enum with underlying type: string
type ListDatabaseRegistrationsLifecycleStateEnum string
Set of constants representing the allowable values for ListDatabaseRegistrationsLifecycleStateEnum
const ( ListDatabaseRegistrationsLifecycleStateCreating ListDatabaseRegistrationsLifecycleStateEnum = "CREATING" ListDatabaseRegistrationsLifecycleStateUpdating ListDatabaseRegistrationsLifecycleStateEnum = "UPDATING" ListDatabaseRegistrationsLifecycleStateActive ListDatabaseRegistrationsLifecycleStateEnum = "ACTIVE" ListDatabaseRegistrationsLifecycleStateInactive ListDatabaseRegistrationsLifecycleStateEnum = "INACTIVE" ListDatabaseRegistrationsLifecycleStateDeleting ListDatabaseRegistrationsLifecycleStateEnum = "DELETING" ListDatabaseRegistrationsLifecycleStateDeleted ListDatabaseRegistrationsLifecycleStateEnum = "DELETED" ListDatabaseRegistrationsLifecycleStateFailed ListDatabaseRegistrationsLifecycleStateEnum = "FAILED" )
func GetListDatabaseRegistrationsLifecycleStateEnumValues() []ListDatabaseRegistrationsLifecycleStateEnum
GetListDatabaseRegistrationsLifecycleStateEnumValues Enumerates the set of values for ListDatabaseRegistrationsLifecycleStateEnum
ListDatabaseRegistrationsRequest wrapper for the ListDatabaseRegistrations operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/ListDatabaseRegistrations.go.html to see an example of how to use ListDatabaseRegistrationsRequest.
type ListDatabaseRegistrationsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only the resources that match the 'lifecycleState' given. LifecycleState ListDatabaseRegistrationsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only the resources that match the entire 'displayName' 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 sort order to use, either 'asc' or 'desc'. SortOrder ListDatabaseRegistrationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order can be provided. Default order for 'timeCreated' is descending. Default order for 'displayName' is ascending. If no value is specified timeCreated is the default. SortBy ListDatabaseRegistrationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. 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 ListDatabaseRegistrationsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDatabaseRegistrationsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDatabaseRegistrationsRequest) String() string
ListDatabaseRegistrationsResponse wrapper for the ListDatabaseRegistrations operation
type ListDatabaseRegistrationsResponse struct { // The underlying http response RawResponse *http.Response // A list of DatabaseRegistrationCollection instances DatabaseRegistrationCollection `presentIn:"body"` // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please include 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 ListDatabaseRegistrationsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDatabaseRegistrationsResponse) String() string
ListDatabaseRegistrationsSortByEnum Enum with underlying type: string
type ListDatabaseRegistrationsSortByEnum string
Set of constants representing the allowable values for ListDatabaseRegistrationsSortByEnum
const ( ListDatabaseRegistrationsSortByTimecreated ListDatabaseRegistrationsSortByEnum = "timeCreated" ListDatabaseRegistrationsSortByDisplayname ListDatabaseRegistrationsSortByEnum = "displayName" )
func GetListDatabaseRegistrationsSortByEnumValues() []ListDatabaseRegistrationsSortByEnum
GetListDatabaseRegistrationsSortByEnumValues Enumerates the set of values for ListDatabaseRegistrationsSortByEnum
ListDatabaseRegistrationsSortOrderEnum Enum with underlying type: string
type ListDatabaseRegistrationsSortOrderEnum string
Set of constants representing the allowable values for ListDatabaseRegistrationsSortOrderEnum
const ( ListDatabaseRegistrationsSortOrderAsc ListDatabaseRegistrationsSortOrderEnum = "ASC" ListDatabaseRegistrationsSortOrderDesc ListDatabaseRegistrationsSortOrderEnum = "DESC" )
func GetListDatabaseRegistrationsSortOrderEnumValues() []ListDatabaseRegistrationsSortOrderEnum
GetListDatabaseRegistrationsSortOrderEnumValues Enumerates the set of values for ListDatabaseRegistrationsSortOrderEnum
ListDeploymentBackupsLifecycleStateEnum Enum with underlying type: string
type ListDeploymentBackupsLifecycleStateEnum string
Set of constants representing the allowable values for ListDeploymentBackupsLifecycleStateEnum
const ( ListDeploymentBackupsLifecycleStateCreating ListDeploymentBackupsLifecycleStateEnum = "CREATING" ListDeploymentBackupsLifecycleStateUpdating ListDeploymentBackupsLifecycleStateEnum = "UPDATING" ListDeploymentBackupsLifecycleStateActive ListDeploymentBackupsLifecycleStateEnum = "ACTIVE" ListDeploymentBackupsLifecycleStateInactive ListDeploymentBackupsLifecycleStateEnum = "INACTIVE" ListDeploymentBackupsLifecycleStateDeleting ListDeploymentBackupsLifecycleStateEnum = "DELETING" ListDeploymentBackupsLifecycleStateDeleted ListDeploymentBackupsLifecycleStateEnum = "DELETED" ListDeploymentBackupsLifecycleStateFailed ListDeploymentBackupsLifecycleStateEnum = "FAILED" )
func GetListDeploymentBackupsLifecycleStateEnumValues() []ListDeploymentBackupsLifecycleStateEnum
GetListDeploymentBackupsLifecycleStateEnumValues Enumerates the set of values for ListDeploymentBackupsLifecycleStateEnum
ListDeploymentBackupsRequest wrapper for the ListDeploymentBackups operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/ListDeploymentBackups.go.html to see an example of how to use ListDeploymentBackupsRequest.
type ListDeploymentBackupsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The ID of the deployment in which to list resources. DeploymentId *string `mandatory:"false" contributesTo:"query" name:"deploymentId"` // A filter to return only the resources that match the 'lifecycleState' given. LifecycleState ListDeploymentBackupsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only the resources that match the entire 'displayName' 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 sort order to use, either 'asc' or 'desc'. SortOrder ListDeploymentBackupsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order can be provided. Default order for 'timeCreated' is descending. Default order for 'displayName' is ascending. If no value is specified timeCreated is the default. SortBy ListDeploymentBackupsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. 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 ListDeploymentBackupsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDeploymentBackupsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDeploymentBackupsRequest) String() string
ListDeploymentBackupsResponse wrapper for the ListDeploymentBackups operation
type ListDeploymentBackupsResponse struct { // The underlying http response RawResponse *http.Response // A list of DeploymentBackupCollection instances DeploymentBackupCollection `presentIn:"body"` // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please include 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 ListDeploymentBackupsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDeploymentBackupsResponse) String() string
ListDeploymentBackupsSortByEnum Enum with underlying type: string
type ListDeploymentBackupsSortByEnum string
Set of constants representing the allowable values for ListDeploymentBackupsSortByEnum
const ( ListDeploymentBackupsSortByTimecreated ListDeploymentBackupsSortByEnum = "timeCreated" ListDeploymentBackupsSortByDisplayname ListDeploymentBackupsSortByEnum = "displayName" )
func GetListDeploymentBackupsSortByEnumValues() []ListDeploymentBackupsSortByEnum
GetListDeploymentBackupsSortByEnumValues Enumerates the set of values for ListDeploymentBackupsSortByEnum
ListDeploymentBackupsSortOrderEnum Enum with underlying type: string
type ListDeploymentBackupsSortOrderEnum string
Set of constants representing the allowable values for ListDeploymentBackupsSortOrderEnum
const ( ListDeploymentBackupsSortOrderAsc ListDeploymentBackupsSortOrderEnum = "ASC" ListDeploymentBackupsSortOrderDesc ListDeploymentBackupsSortOrderEnum = "DESC" )
func GetListDeploymentBackupsSortOrderEnumValues() []ListDeploymentBackupsSortOrderEnum
GetListDeploymentBackupsSortOrderEnumValues Enumerates the set of values for ListDeploymentBackupsSortOrderEnum
ListDeploymentsLifecycleStateEnum Enum with underlying type: string
type ListDeploymentsLifecycleStateEnum string
Set of constants representing the allowable values for ListDeploymentsLifecycleStateEnum
const ( ListDeploymentsLifecycleStateCreating ListDeploymentsLifecycleStateEnum = "CREATING" ListDeploymentsLifecycleStateUpdating ListDeploymentsLifecycleStateEnum = "UPDATING" ListDeploymentsLifecycleStateActive ListDeploymentsLifecycleStateEnum = "ACTIVE" ListDeploymentsLifecycleStateInactive ListDeploymentsLifecycleStateEnum = "INACTIVE" ListDeploymentsLifecycleStateDeleting ListDeploymentsLifecycleStateEnum = "DELETING" ListDeploymentsLifecycleStateDeleted ListDeploymentsLifecycleStateEnum = "DELETED" ListDeploymentsLifecycleStateFailed ListDeploymentsLifecycleStateEnum = "FAILED" )
func GetListDeploymentsLifecycleStateEnumValues() []ListDeploymentsLifecycleStateEnum
GetListDeploymentsLifecycleStateEnumValues Enumerates the set of values for ListDeploymentsLifecycleStateEnum
ListDeploymentsRequest wrapper for the ListDeployments operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/ListDeployments.go.html to see an example of how to use ListDeploymentsRequest.
type ListDeploymentsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only the resources that match the 'lifecycleState' given. LifecycleState ListDeploymentsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only the resources that match the entire 'displayName' 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 sort order to use, either 'asc' or 'desc'. SortOrder ListDeploymentsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order can be provided. Default order for 'timeCreated' is descending. Default order for 'displayName' is ascending. If no value is specified timeCreated is the default. SortBy ListDeploymentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. 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 ListDeploymentsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDeploymentsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDeploymentsRequest) String() string
ListDeploymentsResponse wrapper for the ListDeployments operation
type ListDeploymentsResponse struct { // The underlying http response RawResponse *http.Response // A list of DeploymentCollection instances DeploymentCollection `presentIn:"body"` // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please include 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 ListDeploymentsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDeploymentsResponse) String() string
ListDeploymentsSortByEnum Enum with underlying type: string
type ListDeploymentsSortByEnum string
Set of constants representing the allowable values for ListDeploymentsSortByEnum
const ( ListDeploymentsSortByTimecreated ListDeploymentsSortByEnum = "timeCreated" ListDeploymentsSortByDisplayname ListDeploymentsSortByEnum = "displayName" )
func GetListDeploymentsSortByEnumValues() []ListDeploymentsSortByEnum
GetListDeploymentsSortByEnumValues Enumerates the set of values for ListDeploymentsSortByEnum
ListDeploymentsSortOrderEnum Enum with underlying type: string
type ListDeploymentsSortOrderEnum string
Set of constants representing the allowable values for ListDeploymentsSortOrderEnum
const ( ListDeploymentsSortOrderAsc ListDeploymentsSortOrderEnum = "ASC" ListDeploymentsSortOrderDesc ListDeploymentsSortOrderEnum = "DESC" )
func GetListDeploymentsSortOrderEnumValues() []ListDeploymentsSortOrderEnum
GetListDeploymentsSortOrderEnumValues Enumerates the set of values for ListDeploymentsSortOrderEnum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/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 client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // 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) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequestError instances Items []WorkRequestError `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"` // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please include 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
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/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 client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // 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) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequestLogEntry instances Items []WorkRequestLogEntry `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"` // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please include 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
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/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 client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // 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) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequest instances Items []WorkRequest `presentIn:"body"` // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please include 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 ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
OggDeployment Deployment Data for an OggDeployment
type OggDeployment struct { // The name given to the GoldenGate service deployment. The name must be 1 to 32 characters long, must contain only alphanumeric characters and must start with a letter. DeploymentName *string `mandatory:"true" json:"deploymentName"` // The GoldenGate deployment console username. AdminUsername *string `mandatory:"true" json:"adminUsername"` // A PEM-encoded SSL certificate. Certificate *string `mandatory:"false" json:"certificate"` }
func (m OggDeployment) String() string
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" OperationStatusCanceled OperationStatusEnum = "CANCELED" )
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
OperationTypeEnum Enum with underlying type: string
type OperationTypeEnum string
Set of constants representing the allowable values for OperationTypeEnum
const ( OperationTypeGoldengateDatabaseRegistrationCreate OperationTypeEnum = "GOLDENGATE_DATABASE_REGISTRATION_CREATE" OperationTypeGoldengateDatabaseRegistrationUpdate OperationTypeEnum = "GOLDENGATE_DATABASE_REGISTRATION_UPDATE" OperationTypeGoldengateDatabaseRegistrationDelete OperationTypeEnum = "GOLDENGATE_DATABASE_REGISTRATION_DELETE" OperationTypeGoldengateDatabaseRegistrationMove OperationTypeEnum = "GOLDENGATE_DATABASE_REGISTRATION_MOVE" OperationTypeGoldengateDeploymentCreate OperationTypeEnum = "GOLDENGATE_DEPLOYMENT_CREATE" OperationTypeGoldengateDeploymentUpdate OperationTypeEnum = "GOLDENGATE_DEPLOYMENT_UPDATE" OperationTypeGoldengateDeploymentDelete OperationTypeEnum = "GOLDENGATE_DEPLOYMENT_DELETE" OperationTypeGoldengateDeploymentMove OperationTypeEnum = "GOLDENGATE_DEPLOYMENT_MOVE" OperationTypeGoldengateDeploymentRestore OperationTypeEnum = "GOLDENGATE_DEPLOYMENT_RESTORE" OperationTypeGoldengateDeploymentStart OperationTypeEnum = "GOLDENGATE_DEPLOYMENT_START" OperationTypeGoldengateDeploymentStop OperationTypeEnum = "GOLDENGATE_DEPLOYMENT_STOP" OperationTypeGoldengateDeploymentPatch OperationTypeEnum = "GOLDENGATE_DEPLOYMENT_PATCH" OperationTypeGoldengateDeploymentBackupCreate OperationTypeEnum = "GOLDENGATE_DEPLOYMENT_BACKUP_CREATE" OperationTypeGoldengateDeploymentBackupDelete OperationTypeEnum = "GOLDENGATE_DEPLOYMENT_BACKUP_DELETE" )
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
RestoreDeploymentDetails The information about the Restore for a Deployment.
type RestoreDeploymentDetails interface { }
RestoreDeploymentRequest wrapper for the RestoreDeployment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/RestoreDeployment.go.html to see an example of how to use RestoreDeploymentRequest.
type RestoreDeploymentRequest struct { // A unique DeploymentBackup identifier. DeploymentBackupId *string `mandatory:"true" contributesTo:"path" name:"deploymentBackupId"` // A placeholder for any additional metadata to describe the deployment restore. RestoreDeploymentDetails `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 is updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. 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 is rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request RestoreDeploymentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RestoreDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RestoreDeploymentRequest) String() string
RestoreDeploymentResponse wrapper for the RestoreDeployment operation
type RestoreDeploymentResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for an asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please include the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response RestoreDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RestoreDeploymentResponse) String() string
RestoreDeploymentTypeEnum Enum with underlying type: string
type RestoreDeploymentTypeEnum string
Set of constants representing the allowable values for RestoreDeploymentTypeEnum
const ( RestoreDeploymentTypeDefault RestoreDeploymentTypeEnum = "DEFAULT" )
func GetRestoreDeploymentTypeEnumValues() []RestoreDeploymentTypeEnum
GetRestoreDeploymentTypeEnumValues Enumerates the set of values for RestoreDeploymentTypeEnum
SortOrderEnum Enum with underlying type: string
type SortOrderEnum string
Set of constants representing the allowable values for SortOrderEnum
const ( SortOrderAsc SortOrderEnum = "ASC" SortOrderDesc SortOrderEnum = "DESC" )
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
StartDeploymentDetails The information about the Start for a Deployment.
type StartDeploymentDetails interface { }
StartDeploymentRequest wrapper for the StartDeployment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/StartDeployment.go.html to see an example of how to use StartDeploymentRequest.
type StartDeploymentRequest struct { // A unique Deployment identifier. DeploymentId *string `mandatory:"true" contributesTo:"path" name:"deploymentId"` // A placeholder for any additional metadata to describe the deployment start. StartDeploymentDetails `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 is updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. 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 is rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request StartDeploymentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request StartDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request StartDeploymentRequest) String() string
StartDeploymentResponse wrapper for the StartDeployment operation
type StartDeploymentResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for an asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please include the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response StartDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response StartDeploymentResponse) String() string
StartDeploymentTypeEnum Enum with underlying type: string
type StartDeploymentTypeEnum string
Set of constants representing the allowable values for StartDeploymentTypeEnum
const ( StartDeploymentTypeDefault StartDeploymentTypeEnum = "DEFAULT" )
func GetStartDeploymentTypeEnumValues() []StartDeploymentTypeEnum
GetStartDeploymentTypeEnumValues Enumerates the set of values for StartDeploymentTypeEnum
StopDeploymentDetails The information about the Stop for a Deployment.
type StopDeploymentDetails interface { }
StopDeploymentRequest wrapper for the StopDeployment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/StopDeployment.go.html to see an example of how to use StopDeploymentRequest.
type StopDeploymentRequest struct { // A unique Deployment identifier. DeploymentId *string `mandatory:"true" contributesTo:"path" name:"deploymentId"` // A placeholder for any additional metadata to describe the deployment stop. StopDeploymentDetails `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 is updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. 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 is rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request StopDeploymentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request StopDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request StopDeploymentRequest) String() string
StopDeploymentResponse wrapper for the StopDeployment operation
type StopDeploymentResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for an asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please include the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response StopDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response StopDeploymentResponse) String() string
StopDeploymentTypeEnum Enum with underlying type: string
type StopDeploymentTypeEnum string
Set of constants representing the allowable values for StopDeploymentTypeEnum
const ( StopDeploymentTypeDefault StopDeploymentTypeEnum = "DEFAULT" )
func GetStopDeploymentTypeEnumValues() []StopDeploymentTypeEnum
GetStopDeploymentTypeEnumValues Enumerates the set of values for StopDeploymentTypeEnum
UpdateDatabaseRegistrationDetails The information to update for a DatabaseRegistration.
type UpdateDatabaseRegistrationDetails struct { // An object's Display Name. DisplayName *string `mandatory:"false" json:"displayName"` // Metadata about this specific object. Description *string `mandatory:"false" json:"description"` // A 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"` // Tags defined 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"` // A three-label Fully Qualified Domain Name (FQDN) for a resource. Fqdn *string `mandatory:"false" json:"fqdn"` // The username Oracle GoldenGate uses to connect the associated RDBMS. This username must already exist and be available for use by the database. It must conform to the security requirements implemented by the database including length, case sensitivity, and so on. Username *string `mandatory:"false" json:"username"` // The password Oracle GoldenGate uses to connect the associated RDBMS. It must conform to the specific security requirements implemented by the database including length, case sensitivity, and so on. Password *string `mandatory:"false" json:"password"` // Connect descriptor or Easy Connect Naming method that Oracle GoldenGate uses to connect to a database. ConnectionString *string `mandatory:"false" json:"connectionString"` // The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Wallet *string `mandatory:"false" json:"wallet"` // Credential store alias. AliasName *string `mandatory:"false" json:"aliasName"` }
func (m UpdateDatabaseRegistrationDetails) String() string
UpdateDatabaseRegistrationRequest wrapper for the UpdateDatabaseRegistration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/UpdateDatabaseRegistration.go.html to see an example of how to use UpdateDatabaseRegistrationRequest.
type UpdateDatabaseRegistrationRequest struct { // A unique DatabaseRegistration identifier. DatabaseRegistrationId *string `mandatory:"true" contributesTo:"path" name:"databaseRegistrationId"` // The new DatabaseRegistration specifications to apply. UpdateDatabaseRegistrationDetails `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 is updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. 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 UpdateDatabaseRegistrationRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDatabaseRegistrationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDatabaseRegistrationRequest) String() string
UpdateDatabaseRegistrationResponse wrapper for the UpdateDatabaseRegistration operation
type UpdateDatabaseRegistrationResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for an asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please include the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateDatabaseRegistrationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDatabaseRegistrationResponse) String() string
UpdateDeploymentBackupDetails The information to use to update a Deployment Backup.
type UpdateDeploymentBackupDetails struct { // A 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"` // Tags defined 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 UpdateDeploymentBackupDetails) String() string
UpdateDeploymentBackupRequest wrapper for the UpdateDeploymentBackup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/UpdateDeploymentBackup.go.html to see an example of how to use UpdateDeploymentBackupRequest.
type UpdateDeploymentBackupRequest struct { // A unique DeploymentBackup identifier. DeploymentBackupId *string `mandatory:"true" contributesTo:"path" name:"deploymentBackupId"` // The information to be updated. UpdateDeploymentBackupDetails `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 is updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. 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 UpdateDeploymentBackupRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDeploymentBackupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDeploymentBackupRequest) String() string
UpdateDeploymentBackupResponse wrapper for the UpdateDeploymentBackup operation
type UpdateDeploymentBackupResponse struct { // The underlying http response RawResponse *http.Response // The DeploymentBackup instance DeploymentBackup `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please include the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateDeploymentBackupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDeploymentBackupResponse) String() string
UpdateDeploymentDetails The information to use to update a Deployment.
type UpdateDeploymentDetails struct { // An object's Display Name. DisplayName *string `mandatory:"false" json:"displayName"` // The Oracle license model that applies to a Deployment. LicenseModel LicenseModelEnum `mandatory:"false" json:"licenseModel,omitempty"` // Metadata about this specific object. Description *string `mandatory:"false" json:"description"` // A 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"` // Tags defined for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // An array of Network Security Group (https://docs.cloud.oracle.com/Content/Network/Concepts/networksecuritygroups.htm) OCIDs used to define network access for a deployment. NsgIds []string `mandatory:"false" json:"nsgIds"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet being referenced. SubnetId *string `mandatory:"false" json:"subnetId"` // True if this object is publicly available. IsPublic *bool `mandatory:"false" json:"isPublic"` // A three-label Fully Qualified Domain Name (FQDN) for a resource. Fqdn *string `mandatory:"false" json:"fqdn"` // The Minimum number of OCPUs to be made available for this Deployment. CpuCoreCount *int `mandatory:"false" json:"cpuCoreCount"` // Indicates if auto scaling is enabled for the Deployment's CPU core count. IsAutoScalingEnabled *bool `mandatory:"false" json:"isAutoScalingEnabled"` OggData *UpdateOggDeploymentDetails `mandatory:"false" json:"oggData"` }
func (m UpdateDeploymentDetails) String() string
UpdateDeploymentRequest wrapper for the UpdateDeployment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/UpdateDeployment.go.html to see an example of how to use UpdateDeploymentRequest.
type UpdateDeploymentRequest struct { // A unique Deployment identifier. DeploymentId *string `mandatory:"true" contributesTo:"path" name:"deploymentId"` // The information to be updated. UpdateDeploymentDetails `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 is updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. 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 UpdateDeploymentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDeploymentRequest) String() string
UpdateDeploymentResponse wrapper for the UpdateDeployment operation
type UpdateDeploymentResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for an asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please include the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDeploymentResponse) String() string
UpdateOggDeploymentDetails Deployment Details for updating an OggDeployment
type UpdateOggDeploymentDetails struct { // The GoldenGate deployment console username. AdminUsername *string `mandatory:"false" json:"adminUsername"` // The password associated with the GoldenGate deployment console username. The password must be 8 to 30 characters long and must contain at least 1 uppercase, 1 lowercase, 1 numeric, and 1 special character. Special characters such as ‘$’, ‘^’, or ‘?’ are not allowed. AdminPassword *string `mandatory:"false" json:"adminPassword"` // A PEM-encoded SSL certificate. Certificate *string `mandatory:"false" json:"certificate"` // A PEM-encoded private key. Key *string `mandatory:"false" json:"key"` }
func (m UpdateOggDeploymentDetails) String() string
UpgradeDeploymentCurrentReleaseDetails Definiton of the additional attributes for a Current Release upgrade.
type UpgradeDeploymentCurrentReleaseDetails struct { }
func (m UpgradeDeploymentCurrentReleaseDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpgradeDeploymentCurrentReleaseDetails) String() string
UpgradeDeploymentDetails The information about the Patch for a Deployment.
type UpgradeDeploymentDetails interface { }
UpgradeDeploymentRequest wrapper for the UpgradeDeployment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/goldengate/UpgradeDeployment.go.html to see an example of how to use UpgradeDeploymentRequest.
type UpgradeDeploymentRequest struct { // A unique Deployment identifier. DeploymentId *string `mandatory:"true" contributesTo:"path" name:"deploymentId"` // A placeholder for any additional metadata to describe the deployment upgrade. UpgradeDeploymentDetails `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 is updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. 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 is rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpgradeDeploymentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpgradeDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpgradeDeploymentRequest) String() string
UpgradeDeploymentResponse wrapper for the UpgradeDeployment operation
type UpgradeDeploymentResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for an asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please include the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpgradeDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpgradeDeploymentResponse) String() string
UpgradeDeploymentTypeEnum Enum with underlying type: string
type UpgradeDeploymentTypeEnum string
Set of constants representing the allowable values for UpgradeDeploymentTypeEnum
const ( UpgradeDeploymentTypeCurrentRelease UpgradeDeploymentTypeEnum = "CURRENT_RELEASE" )
func GetUpgradeDeploymentTypeEnumValues() []UpgradeDeploymentTypeEnum
GetUpgradeDeploymentTypeEnumValues Enumerates the set of values for UpgradeDeploymentTypeEnum
WorkRequest The API operations that create and configure GoldenGate resources do not take effect immediately. In these cases, the operation spawns an asynchronous workflow to fulfill teh request. Work requests provide visibility into the status of these in-progress, long-running asynchronous workflows.
type WorkRequest struct { // The work request's operation type. OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` // Status of current work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The id of the work request. Id *string `mandatory:"true" json:"id"` // The ocid of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request affects multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the request was created. The format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the request was started. The format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the object was finished. The format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
func (m WorkRequest) String() string
WorkRequestError An error encountered while executing a work request.
type WorkRequestError struct { // A machine-usable code for the error that occured. Error codes are listed on (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm). Code *string `mandatory:"true" json:"code"` // A human-readable description of the issue encountered. Message *string `mandatory:"true" json:"message"` // The time the error occured. The format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestError) String() string
WorkRequestLogEntry A log message from the execution of a work request.
type WorkRequestLogEntry struct { // Human-readable log message. Message *string `mandatory:"true" json:"message"` // The time the log message was written. The format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestLogEntry) String() string
WorkRequestResource A resource created or operated on by a work request.
type WorkRequestResource struct { // The resource type the work request affects. EntityType *string `mandatory:"true" json:"entityType"` // The way in which this resource is affected by the work tracked in the work request. When you create, update, or delete a resource, it remains in the IN_PROGRESS state until work is complete for that resource. It then transitions to CREATED, UPDATED, or DELETED, respectively. ActionType ActionTypeEnum `mandatory:"true" json:"actionType"` // The identifier of the resource the work request affects. Identifier *string `mandatory:"true" json:"identifier"` // The URI path that you perform a GET on to access the resource metadata. EntityUri *string `mandatory:"false" json:"entityUri"` }
func (m WorkRequestResource) String() string