func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetCancelDeploymentBackupTypeEnumStringValues() []string
GetCancelDeploymentBackupTypeEnumStringValues Enumerates the set of values in String for CancelDeploymentBackupTypeEnum
func GetCreateDatabaseRegistrationDetailsSessionModeEnumStringValues() []string
GetCreateDatabaseRegistrationDetailsSessionModeEnumStringValues Enumerates the set of values in String for CreateDatabaseRegistrationDetailsSessionModeEnum
func GetDatabaseRegistrationSessionModeEnumStringValues() []string
GetDatabaseRegistrationSessionModeEnumStringValues Enumerates the set of values in String for DatabaseRegistrationSessionModeEnum
func GetDatabaseRegistrationSummarySessionModeEnumStringValues() []string
GetDatabaseRegistrationSummarySessionModeEnumStringValues Enumerates the set of values in String for DatabaseRegistrationSummarySessionModeEnum
func GetDeploymentBackupTypeEnumStringValues() []string
GetDeploymentBackupTypeEnumStringValues Enumerates the set of values in String for DeploymentBackupTypeEnum
func GetDeploymentTypeEnumStringValues() []string
GetDeploymentTypeEnumStringValues Enumerates the set of values in String for DeploymentTypeEnum
func GetDeploymentUpgradeLifecycleStateEnumStringValues() []string
GetDeploymentUpgradeLifecycleStateEnumStringValues Enumerates the set of values in String for DeploymentUpgradeLifecycleStateEnum
func GetDeploymentUpgradeTypeEnumStringValues() []string
GetDeploymentUpgradeTypeEnumStringValues Enumerates the set of values in String for DeploymentUpgradeTypeEnum
func GetLicenseModelEnumStringValues() []string
GetLicenseModelEnumStringValues Enumerates the set of values in String for LicenseModelEnum
func GetLifecycleStateEnumStringValues() []string
GetLifecycleStateEnumStringValues Enumerates the set of values in String for LifecycleStateEnum
func GetLifecycleSubStateEnumStringValues() []string
GetLifecycleSubStateEnumStringValues Enumerates the set of values in String for LifecycleSubStateEnum
func GetListDatabaseRegistrationsLifecycleStateEnumStringValues() []string
GetListDatabaseRegistrationsLifecycleStateEnumStringValues Enumerates the set of values in String for ListDatabaseRegistrationsLifecycleStateEnum
func GetListDatabaseRegistrationsSortByEnumStringValues() []string
GetListDatabaseRegistrationsSortByEnumStringValues Enumerates the set of values in String for ListDatabaseRegistrationsSortByEnum
func GetListDatabaseRegistrationsSortOrderEnumStringValues() []string
GetListDatabaseRegistrationsSortOrderEnumStringValues Enumerates the set of values in String for ListDatabaseRegistrationsSortOrderEnum
func GetListDeploymentBackupsLifecycleStateEnumStringValues() []string
GetListDeploymentBackupsLifecycleStateEnumStringValues Enumerates the set of values in String for ListDeploymentBackupsLifecycleStateEnum
func GetListDeploymentBackupsSortByEnumStringValues() []string
GetListDeploymentBackupsSortByEnumStringValues Enumerates the set of values in String for ListDeploymentBackupsSortByEnum
func GetListDeploymentBackupsSortOrderEnumStringValues() []string
GetListDeploymentBackupsSortOrderEnumStringValues Enumerates the set of values in String for ListDeploymentBackupsSortOrderEnum
func GetListDeploymentUpgradesLifecycleStateEnumStringValues() []string
GetListDeploymentUpgradesLifecycleStateEnumStringValues Enumerates the set of values in String for ListDeploymentUpgradesLifecycleStateEnum
func GetListDeploymentUpgradesSortByEnumStringValues() []string
GetListDeploymentUpgradesSortByEnumStringValues Enumerates the set of values in String for ListDeploymentUpgradesSortByEnum
func GetListDeploymentUpgradesSortOrderEnumStringValues() []string
GetListDeploymentUpgradesSortOrderEnumStringValues Enumerates the set of values in String for ListDeploymentUpgradesSortOrderEnum
func GetListDeploymentsLifecycleStateEnumStringValues() []string
GetListDeploymentsLifecycleStateEnumStringValues Enumerates the set of values in String for ListDeploymentsLifecycleStateEnum
func GetListDeploymentsLifecycleSubStateEnumStringValues() []string
GetListDeploymentsLifecycleSubStateEnumStringValues Enumerates the set of values in String for ListDeploymentsLifecycleSubStateEnum
func GetListDeploymentsSortByEnumStringValues() []string
GetListDeploymentsSortByEnumStringValues Enumerates the set of values in String for ListDeploymentsSortByEnum
func GetListDeploymentsSortOrderEnumStringValues() []string
GetListDeploymentsSortOrderEnumStringValues Enumerates the set of values in String for ListDeploymentsSortOrderEnum
func GetOperationStatusEnumStringValues() []string
GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
func GetOperationTypeEnumStringValues() []string
GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum
func GetRestoreDeploymentTypeEnumStringValues() []string
GetRestoreDeploymentTypeEnumStringValues Enumerates the set of values in String for RestoreDeploymentTypeEnum
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
func GetStartDeploymentTypeEnumStringValues() []string
GetStartDeploymentTypeEnumStringValues Enumerates the set of values in String for StartDeploymentTypeEnum
func GetStopDeploymentTypeEnumStringValues() []string
GetStopDeploymentTypeEnumStringValues Enumerates the set of values in String for StopDeploymentTypeEnum
func GetUpdateDatabaseRegistrationDetailsSessionModeEnumStringValues() []string
GetUpdateDatabaseRegistrationDetailsSessionModeEnumStringValues Enumerates the set of values in String for UpdateDatabaseRegistrationDetailsSessionModeEnum
func GetUpgradeDeploymentTypeEnumStringValues() []string
GetUpgradeDeploymentTypeEnumStringValues Enumerates the set of values in String for UpgradeDeploymentTypeEnum
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
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CancelDeploymentBackupDetails The information about the Cancel for a DeploymentBackup.
type CancelDeploymentBackupDetails interface { }
CancelDeploymentBackupRequest wrapper for the CancelDeploymentBackup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.12.0/goldengate/CancelDeploymentBackup.go.html to see an example of how to use CancelDeploymentBackupRequest.
type CancelDeploymentBackupRequest struct { // A unique DeploymentBackup identifier. DeploymentBackupId *string `mandatory:"true" contributesTo:"path" name:"deploymentBackupId"` // A placeholder for any additional metadata to describe the deployment backup cancel. CancelDeploymentBackupDetails `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 CancelDeploymentBackupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CancelDeploymentBackupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CancelDeploymentBackupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CancelDeploymentBackupRequest) String() string
func (request CancelDeploymentBackupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CancelDeploymentBackupResponse wrapper for the CancelDeploymentBackup operation
type CancelDeploymentBackupResponse 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 CancelDeploymentBackupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CancelDeploymentBackupResponse) String() string
CancelDeploymentBackupTypeEnum Enum with underlying type: string
type CancelDeploymentBackupTypeEnum string
Set of constants representing the allowable values for CancelDeploymentBackupTypeEnum
const ( CancelDeploymentBackupTypeDefault CancelDeploymentBackupTypeEnum = "DEFAULT" )
func GetCancelDeploymentBackupTypeEnumValues() []CancelDeploymentBackupTypeEnum
GetCancelDeploymentBackupTypeEnumValues Enumerates the set of values for CancelDeploymentBackupTypeEnum
func GetMappingCancelDeploymentBackupTypeEnum(val string) (CancelDeploymentBackupTypeEnum, bool)
GetMappingCancelDeploymentBackupTypeEnum performs case Insensitive comparison on enum value and return the desired enum
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
func (m ChangeDatabaseRegistrationCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDatabaseRegistrationCompartmentRequest wrapper for the ChangeDatabaseRegistrationCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.12.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeDatabaseRegistrationCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request ChangeDatabaseRegistrationCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m ChangeDeploymentBackupCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDeploymentBackupCompartmentRequest wrapper for the ChangeDeploymentBackupCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.12.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeDeploymentBackupCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request ChangeDeploymentBackupCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m ChangeDeploymentCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDeploymentCompartmentRequest wrapper for the ChangeDeploymentCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.12.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeDeploymentCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request ChangeDeploymentCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 mode of the database connection session to be established by the data client. REDIRECT - for a RAC database, DIRECT - for a non-RAC database. Connection to a RAC database involves a redirection received from the SCAN listeners to the database node to connect to. By default the mode would be DIRECT. SessionMode CreateDatabaseRegistrationDetailsSessionModeEnum `mandatory:"false" json:"sessionMode,omitempty"` // 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
func (m CreateDatabaseRegistrationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseRegistrationDetailsSessionModeEnum Enum with underlying type: string
type CreateDatabaseRegistrationDetailsSessionModeEnum string
Set of constants representing the allowable values for CreateDatabaseRegistrationDetailsSessionModeEnum
const ( CreateDatabaseRegistrationDetailsSessionModeDirect CreateDatabaseRegistrationDetailsSessionModeEnum = "DIRECT" CreateDatabaseRegistrationDetailsSessionModeRedirect CreateDatabaseRegistrationDetailsSessionModeEnum = "REDIRECT" )
func GetCreateDatabaseRegistrationDetailsSessionModeEnumValues() []CreateDatabaseRegistrationDetailsSessionModeEnum
GetCreateDatabaseRegistrationDetailsSessionModeEnumValues Enumerates the set of values for CreateDatabaseRegistrationDetailsSessionModeEnum
func GetMappingCreateDatabaseRegistrationDetailsSessionModeEnum(val string) (CreateDatabaseRegistrationDetailsSessionModeEnum, bool)
GetMappingCreateDatabaseRegistrationDetailsSessionModeEnum performs case Insensitive comparison on enum value and return the desired enum
CreateDatabaseRegistrationRequest wrapper for the CreateDatabaseRegistration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.12.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDatabaseRegistrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request CreateDatabaseRegistrationRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m CreateDeploymentBackupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDeploymentBackupRequest wrapper for the CreateDeploymentBackup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.12.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDeploymentBackupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request CreateDeploymentBackupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m CreateDeploymentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDeploymentRequest wrapper for the CreateDeployment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.12.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request CreateDeploymentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m CreateOggDeploymentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 mode of the database connection session to be established by the data client. REDIRECT - for a RAC database, DIRECT - for a non-RAC database. Connection to a RAC database involves a redirection received from the SCAN listeners to the database node to connect to. By default the mode would be DIRECT. SessionMode DatabaseRegistrationSessionModeEnum `mandatory:"false" json:"sessionMode,omitempty"` // 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
func (m DatabaseRegistration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseRegistrationCollection A list of DatabaseRegistrations.
type DatabaseRegistrationCollection struct { // An array of DatabaseRegistration summaries. Items []DatabaseRegistrationSummary `mandatory:"true" json:"items"` }
func (m DatabaseRegistrationCollection) String() string
func (m DatabaseRegistrationCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseRegistrationSessionModeEnum Enum with underlying type: string
type DatabaseRegistrationSessionModeEnum string
Set of constants representing the allowable values for DatabaseRegistrationSessionModeEnum
const ( DatabaseRegistrationSessionModeDirect DatabaseRegistrationSessionModeEnum = "DIRECT" DatabaseRegistrationSessionModeRedirect DatabaseRegistrationSessionModeEnum = "REDIRECT" )
func GetDatabaseRegistrationSessionModeEnumValues() []DatabaseRegistrationSessionModeEnum
GetDatabaseRegistrationSessionModeEnumValues Enumerates the set of values for DatabaseRegistrationSessionModeEnum
func GetMappingDatabaseRegistrationSessionModeEnum(val string) (DatabaseRegistrationSessionModeEnum, bool)
GetMappingDatabaseRegistrationSessionModeEnum performs case Insensitive comparison on enum value and return the desired enum
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"` // The mode of the database connection session to be established by the data client. REDIRECT - for a RAC database, DIRECT - for a non-RAC database. Connection to a RAC database involves a redirection received from the SCAN listeners to the database node to connect to. By default the mode would be DIRECT. SessionMode DatabaseRegistrationSummarySessionModeEnum `mandatory:"false" json:"sessionMode,omitempty"` // 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
func (m DatabaseRegistrationSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseRegistrationSummarySessionModeEnum Enum with underlying type: string
type DatabaseRegistrationSummarySessionModeEnum string
Set of constants representing the allowable values for DatabaseRegistrationSummarySessionModeEnum
const ( DatabaseRegistrationSummarySessionModeDirect DatabaseRegistrationSummarySessionModeEnum = "DIRECT" DatabaseRegistrationSummarySessionModeRedirect DatabaseRegistrationSummarySessionModeEnum = "REDIRECT" )
func GetDatabaseRegistrationSummarySessionModeEnumValues() []DatabaseRegistrationSummarySessionModeEnum
GetDatabaseRegistrationSummarySessionModeEnumValues Enumerates the set of values for DatabaseRegistrationSummarySessionModeEnum
func GetMappingDatabaseRegistrationSummarySessionModeEnum(val string) (DatabaseRegistrationSummarySessionModeEnum, bool)
GetMappingDatabaseRegistrationSummarySessionModeEnum performs case Insensitive comparison on enum value and return the desired enum
DefaultCancelDeploymentBackupDetails Definiton of the additional attributes for default deployment backup cancel.
type DefaultCancelDeploymentBackupDetails struct { }
func (m DefaultCancelDeploymentBackupDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DefaultCancelDeploymentBackupDetails) String() string
func (m DefaultCancelDeploymentBackupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m DefaultRestoreDeploymentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m DefaultStartDeploymentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m DefaultStopDeploymentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteDatabaseRegistrationRequest wrapper for the DeleteDatabaseRegistration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.12.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDatabaseRegistrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request DeleteDatabaseRegistrationRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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/65.12.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDeploymentBackupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request DeleteDeploymentBackupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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/65.12.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request DeleteDeploymentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` // Possible GGS lifecycle sub-states. LifecycleSubState LifecycleSubStateEnum `mandatory:"false" json:"lifecycleSubState,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"` // The date the existing version in use will no longer be considered as usable and an upgrade will be required. This date is typically 6 months after the version was released for use by GGS. The format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeUpgradeRequired *common.SDKTime `mandatory:"false" json:"timeUpgradeRequired"` // The amount of storage being utilized (in bytes) StorageUtilizationInBytes *int64 `mandatory:"false" json:"storageUtilizationInBytes"` // Indicator will be true if the amount of storage being utilized exceeds the allowable storage utilization limit. Exceeding the limit may be an indication of a misconfiguration of the deployment's GoldenGate service. IsStorageUtilizationLimitExceeded *bool `mandatory:"false" json:"isStorageUtilizationLimitExceeded"` OggData *OggDeployment `mandatory:"false" json:"oggData"` }
func (m Deployment) String() string
func (m Deployment) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` // The time of the resource backup finish. The format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeBackupFinished *common.SDKTime `mandatory:"false" json:"timeBackupFinished"` // The size of the backup stored in object storage (in bytes) SizeInBytes *float32 `mandatory:"false" json:"sizeInBytes"` // 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
func (m DeploymentBackup) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeploymentBackupCollection A list of DeploymentBackups.
type DeploymentBackupCollection struct { // An array of DeploymentBackups. Items []DeploymentBackupSummary `mandatory:"true" json:"items"` }
func (m DeploymentBackupCollection) String() string
func (m DeploymentBackupCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` // The time of the resource backup finish. The format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeBackupFinished *common.SDKTime `mandatory:"false" json:"timeBackupFinished"` // The size of the backup stored in object storage (in bytes) SizeInBytes *float32 `mandatory:"false" json:"sizeInBytes"` // 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
func (m DeploymentBackupSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingDeploymentBackupTypeEnum(val string) (DeploymentBackupTypeEnum, bool)
GetMappingDeploymentBackupTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DeploymentCollection A list of Deployments.
type DeploymentCollection struct { // An array of Deployment summaries. Items []DeploymentSummary `mandatory:"true" json:"items"` }
func (m DeploymentCollection) String() string
func (m DeploymentCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` // Possible GGS lifecycle sub-states. LifecycleSubState LifecycleSubStateEnum `mandatory:"false" json:"lifecycleSubState,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 date the existing version in use will no longer be considered as usable and an upgrade will be required. This date is typically 6 months after the version was released for use by GGS. The format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeUpgradeRequired *common.SDKTime `mandatory:"false" json:"timeUpgradeRequired"` // The deployment type. DeploymentType DeploymentTypeEnum `mandatory:"false" json:"deploymentType,omitempty"` // The amount of storage being utilized (in bytes) StorageUtilizationInBytes *int64 `mandatory:"false" json:"storageUtilizationInBytes"` // Indicator will be true if the amount of storage being utilized exceeds the allowable storage utilization limit. Exceeding the limit may be an indication of a misconfiguration of the deployment's GoldenGate service. IsStorageUtilizationLimitExceeded *bool `mandatory:"false" json:"isStorageUtilizationLimitExceeded"` }
func (m DeploymentSummary) String() string
func (m DeploymentSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingDeploymentTypeEnum(val string) (DeploymentTypeEnum, bool)
GetMappingDeploymentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DeploymentUpgrade A container for your OCI GoldenGate Upgrade information.
type DeploymentUpgrade struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the deployment upgrade 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 deployment being referenced. DeploymentId *string `mandatory:"true" json:"deploymentId"` // The type of the deployment upgrade: MANUAL or AUTOMATIC DeploymentUpgradeType DeploymentUpgradeTypeEnum `mandatory:"true" json:"deploymentUpgradeType"` // An object's Display Name. DisplayName *string `mandatory:"false" json:"displayName"` // Metadata about this specific object. Description *string `mandatory:"false" json:"description"` // 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 request 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"` // Version of OGG OggVersion *string `mandatory:"false" json:"oggVersion"` // 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"` // Possible GGS lifecycle sub-states. LifecycleSubState LifecycleSubStateEnum `mandatory:"false" json:"lifecycleSubState,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 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 DeploymentUpgrade) String() string
func (m DeploymentUpgrade) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeploymentUpgradeCollection A list of Deployment Upgrades.
type DeploymentUpgradeCollection struct { // An array of Deployment Upgrade summaries. Items []DeploymentUpgradeSummary `mandatory:"true" json:"items"` }
func (m DeploymentUpgradeCollection) String() string
func (m DeploymentUpgradeCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeploymentUpgradeLifecycleStateEnum Enum with underlying type: string
type DeploymentUpgradeLifecycleStateEnum string
Set of constants representing the allowable values for DeploymentUpgradeLifecycleStateEnum
const ( DeploymentUpgradeLifecycleStateWaiting DeploymentUpgradeLifecycleStateEnum = "WAITING" DeploymentUpgradeLifecycleStateInProgress DeploymentUpgradeLifecycleStateEnum = "IN_PROGRESS" DeploymentUpgradeLifecycleStateFailed DeploymentUpgradeLifecycleStateEnum = "FAILED" DeploymentUpgradeLifecycleStateSucceeded DeploymentUpgradeLifecycleStateEnum = "SUCCEEDED" DeploymentUpgradeLifecycleStateCanceling DeploymentUpgradeLifecycleStateEnum = "CANCELING" DeploymentUpgradeLifecycleStateCanceled DeploymentUpgradeLifecycleStateEnum = "CANCELED" DeploymentUpgradeLifecycleStateNeedsAttention DeploymentUpgradeLifecycleStateEnum = "NEEDS_ATTENTION" )
func GetDeploymentUpgradeLifecycleStateEnumValues() []DeploymentUpgradeLifecycleStateEnum
GetDeploymentUpgradeLifecycleStateEnumValues Enumerates the set of values for DeploymentUpgradeLifecycleStateEnum
func GetMappingDeploymentUpgradeLifecycleStateEnum(val string) (DeploymentUpgradeLifecycleStateEnum, bool)
GetMappingDeploymentUpgradeLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
DeploymentUpgradeSummary Summary of the Deployment Upgrade.
type DeploymentUpgradeSummary 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 deployment being referenced. DeploymentId *string `mandatory:"true" json:"deploymentId"` // The type of the deployment upgrade: MANUAL or AUTOMATIC DeploymentUpgradeType DeploymentUpgradeTypeEnum `mandatory:"true" json:"deploymentUpgradeType"` // An object's Display Name. DisplayName *string `mandatory:"false" json:"displayName"` // Metadata about this specific object. Description *string `mandatory:"false" json:"description"` // 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 request 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"` // Version of OGG OggVersion *string `mandatory:"false" json:"oggVersion"` // 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"` // Possible GGS lifecycle sub-states. LifecycleSubState LifecycleSubStateEnum `mandatory:"false" json:"lifecycleSubState,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 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 DeploymentUpgradeSummary) String() string
func (m DeploymentUpgradeSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeploymentUpgradeTypeEnum Enum with underlying type: string
type DeploymentUpgradeTypeEnum string
Set of constants representing the allowable values for DeploymentUpgradeTypeEnum
const ( DeploymentUpgradeTypeManual DeploymentUpgradeTypeEnum = "MANUAL" DeploymentUpgradeTypeAutomatic DeploymentUpgradeTypeEnum = "AUTOMATIC" )
func GetDeploymentUpgradeTypeEnumValues() []DeploymentUpgradeTypeEnum
GetDeploymentUpgradeTypeEnumValues Enumerates the set of values for DeploymentUpgradeTypeEnum
func GetMappingDeploymentUpgradeTypeEnum(val string) (DeploymentUpgradeTypeEnum, bool)
GetMappingDeploymentUpgradeTypeEnum performs case Insensitive comparison on enum value and return the desired enum
GetDatabaseRegistrationRequest wrapper for the GetDatabaseRegistration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.12.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDatabaseRegistrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request GetDatabaseRegistrationRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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/65.12.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDeploymentBackupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request GetDeploymentBackupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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/65.12.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request GetDeploymentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
GetDeploymentUpgradeRequest wrapper for the GetDeploymentUpgrade operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.12.0/goldengate/GetDeploymentUpgrade.go.html to see an example of how to use GetDeploymentUpgradeRequest.
type GetDeploymentUpgradeRequest struct { // A unique Deployment Upgrade identifier. DeploymentUpgradeId *string `mandatory:"true" contributesTo:"path" name:"deploymentUpgradeId"` // 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 GetDeploymentUpgradeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDeploymentUpgradeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDeploymentUpgradeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDeploymentUpgradeRequest) String() string
func (request GetDeploymentUpgradeRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetDeploymentUpgradeResponse wrapper for the GetDeploymentUpgrade operation
type GetDeploymentUpgradeResponse struct { // The underlying http response RawResponse *http.Response // The DeploymentUpgrade instance DeploymentUpgrade `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 GetDeploymentUpgradeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDeploymentUpgradeResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.12.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetWorkRequestResponse wrapper for the GetWorkRequest operation
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // 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) CancelDeploymentBackup(ctx context.Context, request CancelDeploymentBackupRequest) (response CancelDeploymentBackupResponse, err error)
CancelDeploymentBackup Cancels a Deployment Backup creation process.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.12.0/goldengate/CancelDeploymentBackup.go.html to see an example of how to use CancelDeploymentBackup API.
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/65.12.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/65.12.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/65.12.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/65.12.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/65.12.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/65.12.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/65.12.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/65.12.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/65.12.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/65.12.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/65.12.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/65.12.0/goldengate/GetDeploymentBackup.go.html to see an example of how to use GetDeploymentBackup API.
func (client GoldenGateClient) GetDeploymentUpgrade(ctx context.Context, request GetDeploymentUpgradeRequest) (response GetDeploymentUpgradeResponse, err error)
GetDeploymentUpgrade Retrieves a deployment upgrade.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.12.0/goldengate/GetDeploymentUpgrade.go.html to see an example of how to use GetDeploymentUpgrade 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/65.12.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/65.12.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/65.12.0/goldengate/ListDeploymentBackups.go.html to see an example of how to use ListDeploymentBackups API.
func (client GoldenGateClient) ListDeploymentUpgrades(ctx context.Context, request ListDeploymentUpgradesRequest) (response ListDeploymentUpgradesResponse, err error)
ListDeploymentUpgrades Lists the Deployment Upgrades in a compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.12.0/goldengate/ListDeploymentUpgrades.go.html to see an example of how to use ListDeploymentUpgrades 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/65.12.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/65.12.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/65.12.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/65.12.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/65.12.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/65.12.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/65.12.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/65.12.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/65.12.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/65.12.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/65.12.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
func GetMappingLicenseModelEnum(val string) (LicenseModelEnum, bool)
GetMappingLicenseModelEnum performs case Insensitive comparison on enum value and return the desired enum
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" LifecycleStateNeedsAttention LifecycleStateEnum = "NEEDS_ATTENTION" LifecycleStateInProgress LifecycleStateEnum = "IN_PROGRESS" LifecycleStateCanceling LifecycleStateEnum = "CANCELING" LifecycleStateCanceled LifecycleStateEnum = "CANCELED" LifecycleStateSucceeded LifecycleStateEnum = "SUCCEEDED" )
func GetLifecycleStateEnumValues() []LifecycleStateEnum
GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum
func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool)
GetMappingLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
LifecycleSubStateEnum Enum with underlying type: string
type LifecycleSubStateEnum string
Set of constants representing the allowable values for LifecycleSubStateEnum
const ( LifecycleSubStateRecovering LifecycleSubStateEnum = "RECOVERING" LifecycleSubStateStarting LifecycleSubStateEnum = "STARTING" LifecycleSubStateStopping LifecycleSubStateEnum = "STOPPING" LifecycleSubStateMoving LifecycleSubStateEnum = "MOVING" LifecycleSubStateUpgrading LifecycleSubStateEnum = "UPGRADING" LifecycleSubStateRestoring LifecycleSubStateEnum = "RESTORING" LifecycleSubStateBackupInProgress LifecycleSubStateEnum = "BACKUP_IN_PROGRESS" )
func GetLifecycleSubStateEnumValues() []LifecycleSubStateEnum
GetLifecycleSubStateEnumValues Enumerates the set of values for LifecycleSubStateEnum
func GetMappingLifecycleSubStateEnum(val string) (LifecycleSubStateEnum, bool)
GetMappingLifecycleSubStateEnum performs case Insensitive comparison on enum value and return the desired enum
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" ListDatabaseRegistrationsLifecycleStateNeedsAttention ListDatabaseRegistrationsLifecycleStateEnum = "NEEDS_ATTENTION" ListDatabaseRegistrationsLifecycleStateInProgress ListDatabaseRegistrationsLifecycleStateEnum = "IN_PROGRESS" ListDatabaseRegistrationsLifecycleStateCanceling ListDatabaseRegistrationsLifecycleStateEnum = "CANCELING" ListDatabaseRegistrationsLifecycleStateCanceled ListDatabaseRegistrationsLifecycleStateEnum = "CANCELED" ListDatabaseRegistrationsLifecycleStateSucceeded ListDatabaseRegistrationsLifecycleStateEnum = "SUCCEEDED" )
func GetListDatabaseRegistrationsLifecycleStateEnumValues() []ListDatabaseRegistrationsLifecycleStateEnum
GetListDatabaseRegistrationsLifecycleStateEnumValues Enumerates the set of values for ListDatabaseRegistrationsLifecycleStateEnum
func GetMappingListDatabaseRegistrationsLifecycleStateEnum(val string) (ListDatabaseRegistrationsLifecycleStateEnum, bool)
GetMappingListDatabaseRegistrationsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseRegistrationsRequest wrapper for the ListDatabaseRegistrations operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.12.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDatabaseRegistrationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request ListDatabaseRegistrationsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingListDatabaseRegistrationsSortByEnum(val string) (ListDatabaseRegistrationsSortByEnum, bool)
GetMappingListDatabaseRegistrationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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
func GetMappingListDatabaseRegistrationsSortOrderEnum(val string) (ListDatabaseRegistrationsSortOrderEnum, bool)
GetMappingListDatabaseRegistrationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
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" ListDeploymentBackupsLifecycleStateNeedsAttention ListDeploymentBackupsLifecycleStateEnum = "NEEDS_ATTENTION" ListDeploymentBackupsLifecycleStateInProgress ListDeploymentBackupsLifecycleStateEnum = "IN_PROGRESS" ListDeploymentBackupsLifecycleStateCanceling ListDeploymentBackupsLifecycleStateEnum = "CANCELING" ListDeploymentBackupsLifecycleStateCanceled ListDeploymentBackupsLifecycleStateEnum = "CANCELED" ListDeploymentBackupsLifecycleStateSucceeded ListDeploymentBackupsLifecycleStateEnum = "SUCCEEDED" )
func GetListDeploymentBackupsLifecycleStateEnumValues() []ListDeploymentBackupsLifecycleStateEnum
GetListDeploymentBackupsLifecycleStateEnumValues Enumerates the set of values for ListDeploymentBackupsLifecycleStateEnum
func GetMappingListDeploymentBackupsLifecycleStateEnum(val string) (ListDeploymentBackupsLifecycleStateEnum, bool)
GetMappingListDeploymentBackupsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListDeploymentBackupsRequest wrapper for the ListDeploymentBackups operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.12.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDeploymentBackupsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request ListDeploymentBackupsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingListDeploymentBackupsSortByEnum(val string) (ListDeploymentBackupsSortByEnum, bool)
GetMappingListDeploymentBackupsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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
func GetMappingListDeploymentBackupsSortOrderEnum(val string) (ListDeploymentBackupsSortOrderEnum, bool)
GetMappingListDeploymentBackupsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDeploymentUpgradesLifecycleStateEnum Enum with underlying type: string
type ListDeploymentUpgradesLifecycleStateEnum string
Set of constants representing the allowable values for ListDeploymentUpgradesLifecycleStateEnum
const ( ListDeploymentUpgradesLifecycleStateCreating ListDeploymentUpgradesLifecycleStateEnum = "CREATING" ListDeploymentUpgradesLifecycleStateUpdating ListDeploymentUpgradesLifecycleStateEnum = "UPDATING" ListDeploymentUpgradesLifecycleStateActive ListDeploymentUpgradesLifecycleStateEnum = "ACTIVE" ListDeploymentUpgradesLifecycleStateInactive ListDeploymentUpgradesLifecycleStateEnum = "INACTIVE" ListDeploymentUpgradesLifecycleStateDeleting ListDeploymentUpgradesLifecycleStateEnum = "DELETING" ListDeploymentUpgradesLifecycleStateDeleted ListDeploymentUpgradesLifecycleStateEnum = "DELETED" ListDeploymentUpgradesLifecycleStateFailed ListDeploymentUpgradesLifecycleStateEnum = "FAILED" ListDeploymentUpgradesLifecycleStateNeedsAttention ListDeploymentUpgradesLifecycleStateEnum = "NEEDS_ATTENTION" ListDeploymentUpgradesLifecycleStateInProgress ListDeploymentUpgradesLifecycleStateEnum = "IN_PROGRESS" ListDeploymentUpgradesLifecycleStateCanceling ListDeploymentUpgradesLifecycleStateEnum = "CANCELING" ListDeploymentUpgradesLifecycleStateCanceled ListDeploymentUpgradesLifecycleStateEnum = "CANCELED" ListDeploymentUpgradesLifecycleStateSucceeded ListDeploymentUpgradesLifecycleStateEnum = "SUCCEEDED" )
func GetListDeploymentUpgradesLifecycleStateEnumValues() []ListDeploymentUpgradesLifecycleStateEnum
GetListDeploymentUpgradesLifecycleStateEnumValues Enumerates the set of values for ListDeploymentUpgradesLifecycleStateEnum
func GetMappingListDeploymentUpgradesLifecycleStateEnum(val string) (ListDeploymentUpgradesLifecycleStateEnum, bool)
GetMappingListDeploymentUpgradesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListDeploymentUpgradesRequest wrapper for the ListDeploymentUpgrades operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.12.0/goldengate/ListDeploymentUpgrades.go.html to see an example of how to use ListDeploymentUpgradesRequest.
type ListDeploymentUpgradesRequest 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 ListDeploymentUpgradesLifecycleStateEnum `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 ListDeploymentUpgradesSortOrderEnum `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 ListDeploymentUpgradesSortByEnum `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 ListDeploymentUpgradesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDeploymentUpgradesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDeploymentUpgradesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDeploymentUpgradesRequest) String() string
func (request ListDeploymentUpgradesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListDeploymentUpgradesResponse wrapper for the ListDeploymentUpgrades operation
type ListDeploymentUpgradesResponse struct { // The underlying http response RawResponse *http.Response // A list of DeploymentUpgradeCollection instances DeploymentUpgradeCollection `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 ListDeploymentUpgradesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDeploymentUpgradesResponse) String() string
ListDeploymentUpgradesSortByEnum Enum with underlying type: string
type ListDeploymentUpgradesSortByEnum string
Set of constants representing the allowable values for ListDeploymentUpgradesSortByEnum
const ( ListDeploymentUpgradesSortByTimecreated ListDeploymentUpgradesSortByEnum = "timeCreated" ListDeploymentUpgradesSortByDisplayname ListDeploymentUpgradesSortByEnum = "displayName" )
func GetListDeploymentUpgradesSortByEnumValues() []ListDeploymentUpgradesSortByEnum
GetListDeploymentUpgradesSortByEnumValues Enumerates the set of values for ListDeploymentUpgradesSortByEnum
func GetMappingListDeploymentUpgradesSortByEnum(val string) (ListDeploymentUpgradesSortByEnum, bool)
GetMappingListDeploymentUpgradesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDeploymentUpgradesSortOrderEnum Enum with underlying type: string
type ListDeploymentUpgradesSortOrderEnum string
Set of constants representing the allowable values for ListDeploymentUpgradesSortOrderEnum
const ( ListDeploymentUpgradesSortOrderAsc ListDeploymentUpgradesSortOrderEnum = "ASC" ListDeploymentUpgradesSortOrderDesc ListDeploymentUpgradesSortOrderEnum = "DESC" )
func GetListDeploymentUpgradesSortOrderEnumValues() []ListDeploymentUpgradesSortOrderEnum
GetListDeploymentUpgradesSortOrderEnumValues Enumerates the set of values for ListDeploymentUpgradesSortOrderEnum
func GetMappingListDeploymentUpgradesSortOrderEnum(val string) (ListDeploymentUpgradesSortOrderEnum, bool)
GetMappingListDeploymentUpgradesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
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" ListDeploymentsLifecycleStateNeedsAttention ListDeploymentsLifecycleStateEnum = "NEEDS_ATTENTION" ListDeploymentsLifecycleStateInProgress ListDeploymentsLifecycleStateEnum = "IN_PROGRESS" ListDeploymentsLifecycleStateCanceling ListDeploymentsLifecycleStateEnum = "CANCELING" ListDeploymentsLifecycleStateCanceled ListDeploymentsLifecycleStateEnum = "CANCELED" ListDeploymentsLifecycleStateSucceeded ListDeploymentsLifecycleStateEnum = "SUCCEEDED" )
func GetListDeploymentsLifecycleStateEnumValues() []ListDeploymentsLifecycleStateEnum
GetListDeploymentsLifecycleStateEnumValues Enumerates the set of values for ListDeploymentsLifecycleStateEnum
func GetMappingListDeploymentsLifecycleStateEnum(val string) (ListDeploymentsLifecycleStateEnum, bool)
GetMappingListDeploymentsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListDeploymentsLifecycleSubStateEnum Enum with underlying type: string
type ListDeploymentsLifecycleSubStateEnum string
Set of constants representing the allowable values for ListDeploymentsLifecycleSubStateEnum
const ( ListDeploymentsLifecycleSubStateRecovering ListDeploymentsLifecycleSubStateEnum = "RECOVERING" ListDeploymentsLifecycleSubStateStarting ListDeploymentsLifecycleSubStateEnum = "STARTING" ListDeploymentsLifecycleSubStateStopping ListDeploymentsLifecycleSubStateEnum = "STOPPING" ListDeploymentsLifecycleSubStateMoving ListDeploymentsLifecycleSubStateEnum = "MOVING" ListDeploymentsLifecycleSubStateUpgrading ListDeploymentsLifecycleSubStateEnum = "UPGRADING" ListDeploymentsLifecycleSubStateRestoring ListDeploymentsLifecycleSubStateEnum = "RESTORING" ListDeploymentsLifecycleSubStateBackupInProgress ListDeploymentsLifecycleSubStateEnum = "BACKUP_IN_PROGRESS" )
func GetListDeploymentsLifecycleSubStateEnumValues() []ListDeploymentsLifecycleSubStateEnum
GetListDeploymentsLifecycleSubStateEnumValues Enumerates the set of values for ListDeploymentsLifecycleSubStateEnum
func GetMappingListDeploymentsLifecycleSubStateEnum(val string) (ListDeploymentsLifecycleSubStateEnum, bool)
GetMappingListDeploymentsLifecycleSubStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListDeploymentsRequest wrapper for the ListDeployments operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.12.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 'lifecycleSubState' given. LifecycleSubState ListDeploymentsLifecycleSubStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleSubState" omitEmpty:"true"` // A filter to return only the resources that match the entire 'displayName' given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // A filter to return only the resources that match the 'fqdn' given. Fqdn *string `mandatory:"false" contributesTo:"query" name:"fqdn"` // 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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDeploymentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request ListDeploymentsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingListDeploymentsSortByEnum(val string) (ListDeploymentsSortByEnum, bool)
GetMappingListDeploymentsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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
func GetMappingListDeploymentsSortOrderEnum(val string) (ListDeploymentsSortOrderEnum, bool)
GetMappingListDeploymentsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.12.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of []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/65.12.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of []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/65.12.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 ID of the resource in which to list resources. ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"` // 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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of []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"` // Version of OGG OggVersion *string `mandatory:"false" json:"oggVersion"` // A PEM-encoded SSL certificate. Certificate *string `mandatory:"false" json:"certificate"` }
func (m OggDeployment) String() string
func (m OggDeployment) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
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" OperationTypeGoldengateDeploymentUpgrade OperationTypeEnum = "GOLDENGATE_DEPLOYMENT_UPGRADE" OperationTypeGoldengateDeploymentBackupCreate OperationTypeEnum = "GOLDENGATE_DEPLOYMENT_BACKUP_CREATE" OperationTypeGoldengateDeploymentBackupDelete OperationTypeEnum = "GOLDENGATE_DEPLOYMENT_BACKUP_DELETE" OperationTypeGoldengateDeploymentBackupCancel OperationTypeEnum = "GOLDENGATE_DEPLOYMENT_BACKUP_CANCEL" )
func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
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/65.12.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RestoreDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request RestoreDeploymentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 GetMappingRestoreDeploymentTypeEnum(val string) (RestoreDeploymentTypeEnum, bool)
GetMappingRestoreDeploymentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
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 GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
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/65.12.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request StartDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request StartDeploymentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 GetMappingStartDeploymentTypeEnum(val string) (StartDeploymentTypeEnum, bool)
GetMappingStartDeploymentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
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/65.12.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request StopDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request StopDeploymentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 GetMappingStopDeploymentTypeEnum(val string) (StopDeploymentTypeEnum, bool)
GetMappingStopDeploymentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
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 mode of the database connection session to be established by the data client. REDIRECT - for a RAC database, DIRECT - for a non-RAC database. Connection to a RAC database involves a redirection received from the SCAN listeners to the database node to connect to. By default the mode would be DIRECT. SessionMode UpdateDatabaseRegistrationDetailsSessionModeEnum `mandatory:"false" json:"sessionMode,omitempty"` // 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
func (m UpdateDatabaseRegistrationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseRegistrationDetailsSessionModeEnum Enum with underlying type: string
type UpdateDatabaseRegistrationDetailsSessionModeEnum string
Set of constants representing the allowable values for UpdateDatabaseRegistrationDetailsSessionModeEnum
const ( UpdateDatabaseRegistrationDetailsSessionModeDirect UpdateDatabaseRegistrationDetailsSessionModeEnum = "DIRECT" UpdateDatabaseRegistrationDetailsSessionModeRedirect UpdateDatabaseRegistrationDetailsSessionModeEnum = "REDIRECT" )
func GetMappingUpdateDatabaseRegistrationDetailsSessionModeEnum(val string) (UpdateDatabaseRegistrationDetailsSessionModeEnum, bool)
GetMappingUpdateDatabaseRegistrationDetailsSessionModeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUpdateDatabaseRegistrationDetailsSessionModeEnumValues() []UpdateDatabaseRegistrationDetailsSessionModeEnum
GetUpdateDatabaseRegistrationDetailsSessionModeEnumValues Enumerates the set of values for UpdateDatabaseRegistrationDetailsSessionModeEnum
UpdateDatabaseRegistrationRequest wrapper for the UpdateDatabaseRegistration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.12.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDatabaseRegistrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request UpdateDatabaseRegistrationRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m UpdateDeploymentBackupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDeploymentBackupRequest wrapper for the UpdateDeploymentBackup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.12.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDeploymentBackupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request UpdateDeploymentBackupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m UpdateDeploymentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDeploymentRequest wrapper for the UpdateDeployment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.12.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request UpdateDeploymentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m UpdateOggDeploymentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m UpgradeDeploymentCurrentReleaseDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpgradeDeploymentDetails The information about the Upgrade 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/65.12.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpgradeDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request UpgradeDeploymentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 GetMappingUpgradeDeploymentTypeEnum(val string) (UpgradeDeploymentTypeEnum, bool)
GetMappingUpgradeDeploymentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
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 request 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
func (m WorkRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m WorkRequestError) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m WorkRequestResource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly