ActivateTargetDatabaseDetails The details required to reactivate a previously deactived target database in Data Safe.
type ActivateTargetDatabaseDetails struct { Credentials *Credentials `mandatory:"true" json:"credentials"` }
func (m ActivateTargetDatabaseDetails) String() string
ActivateTargetDatabaseRequest wrapper for the ActivateTargetDatabase operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/ActivateTargetDatabase.go.html to see an example of how to use ActivateTargetDatabaseRequest.
type ActivateTargetDatabaseRequest struct { // The details used to reactivate a target database in Data Safe. ActivateTargetDatabaseDetails `contributesTo:"body"` // The OCID of the Data Safe target database. TargetDatabaseId *string `mandatory:"true" contributesTo:"path" name:"targetDatabaseId"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the if-match parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique identifier for the request. 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 ActivateTargetDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ActivateTargetDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ActivateTargetDatabaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ActivateTargetDatabaseRequest) String() string
ActivateTargetDatabaseResponse wrapper for the ActivateTargetDatabase operation
type ActivateTargetDatabaseResponse struct { // The underlying http response RawResponse *http.Response // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ActivateTargetDatabaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ActivateTargetDatabaseResponse) String() string
AutonomousDatabaseDetails The details of the Oracle Autonomous Database to be registered as a target database in Data Safe.
type AutonomousDatabaseDetails struct { // The OCID of the autonomous database registered as a target database in Data Safe. AutonomousDatabaseId *string `mandatory:"false" json:"autonomousDatabaseId"` // The infrastructure type the database is running on. InfrastructureType InfrastructureTypeEnum `mandatory:"true" json:"infrastructureType"` }
func (m AutonomousDatabaseDetails) GetInfrastructureType() InfrastructureTypeEnum
GetInfrastructureType returns InfrastructureType
func (m AutonomousDatabaseDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AutonomousDatabaseDetails) String() string
ChangeDataSafePrivateEndpointCompartmentDetails The details used to change the compartment of a Data Safe private endpoint.
type ChangeDataSafePrivateEndpointCompartmentDetails struct { // The OCID of the new compartment. CompartmentId *string `mandatory:"false" json:"compartmentId"` }
func (m ChangeDataSafePrivateEndpointCompartmentDetails) String() string
ChangeDataSafePrivateEndpointCompartmentRequest wrapper for the ChangeDataSafePrivateEndpointCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/ChangeDataSafePrivateEndpointCompartment.go.html to see an example of how to use ChangeDataSafePrivateEndpointCompartmentRequest.
type ChangeDataSafePrivateEndpointCompartmentRequest struct { // The OCID of the private endpoint. DataSafePrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"dataSafePrivateEndpointId"` // The details used to change the compartment of a Data Safe private endpoint. ChangeDataSafePrivateEndpointCompartmentDetails `contributesTo:"body"` // Unique identifier for the request. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the if-match parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeDataSafePrivateEndpointCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeDataSafePrivateEndpointCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDataSafePrivateEndpointCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDataSafePrivateEndpointCompartmentRequest) String() string
ChangeDataSafePrivateEndpointCompartmentResponse wrapper for the ChangeDataSafePrivateEndpointCompartment operation
type ChangeDataSafePrivateEndpointCompartmentResponse struct { // The underlying http response RawResponse *http.Response // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeDataSafePrivateEndpointCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDataSafePrivateEndpointCompartmentResponse) String() string
ChangeOnPremConnectorCompartmentDetails The details used to change the compartment of a on-premises connector.
type ChangeOnPremConnectorCompartmentDetails struct { // The OCID of the new compartment where you want to move the on-premises connector. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeOnPremConnectorCompartmentDetails) String() string
ChangeOnPremConnectorCompartmentRequest wrapper for the ChangeOnPremConnectorCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/ChangeOnPremConnectorCompartment.go.html to see an example of how to use ChangeOnPremConnectorCompartmentRequest.
type ChangeOnPremConnectorCompartmentRequest struct { // The OCID of the on-premises connector. OnPremConnectorId *string `mandatory:"true" contributesTo:"path" name:"onPremConnectorId"` // The details used to change the compartment of an on-premises connector. ChangeOnPremConnectorCompartmentDetails `contributesTo:"body"` // Unique identifier for the request. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the if-match parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeOnPremConnectorCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeOnPremConnectorCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeOnPremConnectorCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeOnPremConnectorCompartmentRequest) String() string
ChangeOnPremConnectorCompartmentResponse wrapper for the ChangeOnPremConnectorCompartment operation
type ChangeOnPremConnectorCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeOnPremConnectorCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeOnPremConnectorCompartmentResponse) String() string
ChangeTargetDatabaseCompartmentDetails The details used to change the compartment of a Data Safe target database.
type ChangeTargetDatabaseCompartmentDetails struct { // The OCID of the new compartment to where you want to move the Data Safe target database. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeTargetDatabaseCompartmentDetails) String() string
ChangeTargetDatabaseCompartmentRequest wrapper for the ChangeTargetDatabaseCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/ChangeTargetDatabaseCompartment.go.html to see an example of how to use ChangeTargetDatabaseCompartmentRequest.
type ChangeTargetDatabaseCompartmentRequest struct { // The OCID of the Data Safe target database. TargetDatabaseId *string `mandatory:"true" contributesTo:"path" name:"targetDatabaseId"` // Details of the move compartment request. ChangeTargetDatabaseCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the if-match parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique identifier for the request. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeTargetDatabaseCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeTargetDatabaseCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeTargetDatabaseCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeTargetDatabaseCompartmentRequest) String() string
ChangeTargetDatabaseCompartmentResponse wrapper for the ChangeTargetDatabaseCompartment operation
type ChangeTargetDatabaseCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeTargetDatabaseCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeTargetDatabaseCompartmentResponse) String() string
ConnectionOption Types of connection supported by Data Safe.
type ConnectionOption interface { }
ConnectionOptionConnectionTypeEnum Enum with underlying type: string
type ConnectionOptionConnectionTypeEnum string
Set of constants representing the allowable values for ConnectionOptionConnectionTypeEnum
const ( ConnectionOptionConnectionTypePrivateEndpoint ConnectionOptionConnectionTypeEnum = "PRIVATE_ENDPOINT" ConnectionOptionConnectionTypeOnpremConnector ConnectionOptionConnectionTypeEnum = "ONPREM_CONNECTOR" )
func GetConnectionOptionConnectionTypeEnumValues() []ConnectionOptionConnectionTypeEnum
GetConnectionOptionConnectionTypeEnumValues Enumerates the set of values for ConnectionOptionConnectionTypeEnum
CreateDataSafePrivateEndpointDetails The details used to create a new Data Safe private endpoint.
type CreateDataSafePrivateEndpointDetails struct { // The display name for the private endpoint. The name does not have to be unique, and it's changeable. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the VCN. VcnId *string `mandatory:"true" json:"vcnId"` // The OCID of the subnet. SubnetId *string `mandatory:"true" json:"subnetId"` // The private IP address of the private endpoint. PrivateEndpointIp *string `mandatory:"false" json:"privateEndpointIp"` // The description of the private endpoint. Description *string `mandatory:"false" json:"description"` // The OCIDs of the network security groups that the private endpoint belongs to. NsgIds []string `mandatory:"false" json:"nsgIds"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateDataSafePrivateEndpointDetails) String() string
CreateDataSafePrivateEndpointRequest wrapper for the CreateDataSafePrivateEndpoint operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/CreateDataSafePrivateEndpoint.go.html to see an example of how to use CreateDataSafePrivateEndpointRequest.
type CreateDataSafePrivateEndpointRequest struct { // Details to create a new private endpoint. CreateDataSafePrivateEndpointDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique identifier for the request. 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 CreateDataSafePrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDataSafePrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDataSafePrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDataSafePrivateEndpointRequest) String() string
CreateDataSafePrivateEndpointResponse wrapper for the CreateDataSafePrivateEndpoint operation
type CreateDataSafePrivateEndpointResponse struct { // The underlying http response RawResponse *http.Response // The DataSafePrivateEndpoint instance DataSafePrivateEndpoint `presentIn:"body"` // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven) Etag *string `presentIn:"header" name:"etag"` // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The full URI of the Data Safe private endpoint. Location *string `presentIn:"header" name:"location"` }
func (response CreateDataSafePrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDataSafePrivateEndpointResponse) String() string
CreateOnPremConnectorDetails The details used to create a new on-premises connector.
type CreateOnPremConnectorDetails struct { // The OCID of the compartment where you want to create the on-premises connector. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The display name of the on-premises connector. The name does not have to be unique, and it's changeable. DisplayName *string `mandatory:"false" json:"displayName"` // The description of the on-premises connector. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateOnPremConnectorDetails) String() string
CreateOnPremConnectorRequest wrapper for the CreateOnPremConnector operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/CreateOnPremConnector.go.html to see an example of how to use CreateOnPremConnectorRequest.
type CreateOnPremConnectorRequest struct { // The details used to create a new on-premises connector. CreateOnPremConnectorDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique identifier for the request. 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 CreateOnPremConnectorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateOnPremConnectorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateOnPremConnectorRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateOnPremConnectorRequest) String() string
CreateOnPremConnectorResponse wrapper for the CreateOnPremConnector operation
type CreateOnPremConnectorResponse struct { // The underlying http response RawResponse *http.Response // The OnPremConnector instance OnPremConnector `presentIn:"body"` // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven) Etag *string `presentIn:"header" name:"etag"` // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The full URI of the on-premises connector. Location *string `presentIn:"header" name:"location"` }
func (response CreateOnPremConnectorResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateOnPremConnectorResponse) String() string
CreateTargetDatabaseDetails The details used to register the database in Data Safe and to create the Data Safe target database.
type CreateTargetDatabaseDetails struct { // The OCID of the compartment in which to create the Data Safe target database. CompartmentId *string `mandatory:"true" json:"compartmentId"` DatabaseDetails DatabaseDetails `mandatory:"true" json:"databaseDetails"` // The display name of the target database in Data Safe. The name is modifiable and does not need to be unique. DisplayName *string `mandatory:"false" json:"displayName"` // The description of the target database in Data Safe. Description *string `mandatory:"false" json:"description"` Credentials *Credentials `mandatory:"false" json:"credentials"` TlsConfig *TlsConfig `mandatory:"false" json:"tlsConfig"` ConnectionOption ConnectionOption `mandatory:"false" json:"connectionOption"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateTargetDatabaseDetails) String() string
func (m *CreateTargetDatabaseDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
CreateTargetDatabaseRequest wrapper for the CreateTargetDatabase operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/CreateTargetDatabase.go.html to see an example of how to use CreateTargetDatabaseRequest.
type CreateTargetDatabaseRequest struct { // Details of the target database. CreateTargetDatabaseDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique identifier for the request. 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 CreateTargetDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateTargetDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateTargetDatabaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateTargetDatabaseRequest) String() string
CreateTargetDatabaseResponse wrapper for the CreateTargetDatabase operation
type CreateTargetDatabaseResponse struct { // The underlying http response RawResponse *http.Response // The TargetDatabase instance TargetDatabase `presentIn:"body"` // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven) Etag *string `presentIn:"header" name:"etag"` // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The full URI of the target database. Location *string `presentIn:"header" name:"location"` }
func (response CreateTargetDatabaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateTargetDatabaseResponse) String() string
Credentials The database credentials required for Data Safe to connect to the database.
type Credentials struct { // The database user name. UserName *string `mandatory:"true" json:"userName"` // The password of the database user. Password *string `mandatory:"true" json:"password"` }
func (m Credentials) String() string
DataSafeClient a client for DataSafe
type DataSafeClient struct { common.BaseClient // contains filtered or unexported fields }
func NewDataSafeClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DataSafeClient, err error)
NewDataSafeClientWithConfigurationProvider Creates a new default DataSafe client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewDataSafeClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DataSafeClient, err error)
NewDataSafeClientWithOboToken Creates a new default DataSafe 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 DataSafeClient) ActivateTargetDatabase(ctx context.Context, request ActivateTargetDatabaseRequest) (response ActivateTargetDatabaseResponse, err error)
ActivateTargetDatabase Reactivates a previously deactivated Data Safe target database.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/ActivateTargetDatabase.go.html to see an example of how to use ActivateTargetDatabase API.
func (client DataSafeClient) ChangeDataSafePrivateEndpointCompartment(ctx context.Context, request ChangeDataSafePrivateEndpointCompartmentRequest) (response ChangeDataSafePrivateEndpointCompartmentResponse, err error)
ChangeDataSafePrivateEndpointCompartment Moves the Data Safe private endpoint and its dependent resources to the specified compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/ChangeDataSafePrivateEndpointCompartment.go.html to see an example of how to use ChangeDataSafePrivateEndpointCompartment API.
func (client DataSafeClient) ChangeOnPremConnectorCompartment(ctx context.Context, request ChangeOnPremConnectorCompartmentRequest) (response ChangeOnPremConnectorCompartmentResponse, err error)
ChangeOnPremConnectorCompartment Moves the specified on-premises connector into a different compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/ChangeOnPremConnectorCompartment.go.html to see an example of how to use ChangeOnPremConnectorCompartment API.
func (client DataSafeClient) ChangeTargetDatabaseCompartment(ctx context.Context, request ChangeTargetDatabaseCompartmentRequest) (response ChangeTargetDatabaseCompartmentResponse, err error)
ChangeTargetDatabaseCompartment Moves the Data Safe target database to the specified compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/ChangeTargetDatabaseCompartment.go.html to see an example of how to use ChangeTargetDatabaseCompartment API.
func (client *DataSafeClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client DataSafeClient) CreateDataSafePrivateEndpoint(ctx context.Context, request CreateDataSafePrivateEndpointRequest) (response CreateDataSafePrivateEndpointResponse, err error)
CreateDataSafePrivateEndpoint Creates a new Data Safe private endpoint.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/CreateDataSafePrivateEndpoint.go.html to see an example of how to use CreateDataSafePrivateEndpoint API.
func (client DataSafeClient) CreateOnPremConnector(ctx context.Context, request CreateOnPremConnectorRequest) (response CreateOnPremConnectorResponse, err error)
CreateOnPremConnector Creates a new on-premises connector.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/CreateOnPremConnector.go.html to see an example of how to use CreateOnPremConnector API.
func (client DataSafeClient) CreateTargetDatabase(ctx context.Context, request CreateTargetDatabaseRequest) (response CreateTargetDatabaseResponse, err error)
CreateTargetDatabase Registers the specified database with Data Safe and creates a Data Safe target database in the Data Safe Console.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/CreateTargetDatabase.go.html to see an example of how to use CreateTargetDatabase API.
func (client DataSafeClient) DeactivateTargetDatabase(ctx context.Context, request DeactivateTargetDatabaseRequest) (response DeactivateTargetDatabaseResponse, err error)
DeactivateTargetDatabase Deactivates a target database in Data Safe.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/DeactivateTargetDatabase.go.html to see an example of how to use DeactivateTargetDatabase API.
func (client DataSafeClient) DeleteDataSafePrivateEndpoint(ctx context.Context, request DeleteDataSafePrivateEndpointRequest) (response DeleteDataSafePrivateEndpointResponse, err error)
DeleteDataSafePrivateEndpoint Deletes the specified Data Safe private endpoint.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/DeleteDataSafePrivateEndpoint.go.html to see an example of how to use DeleteDataSafePrivateEndpoint API.
func (client DataSafeClient) DeleteOnPremConnector(ctx context.Context, request DeleteOnPremConnectorRequest) (response DeleteOnPremConnectorResponse, err error)
DeleteOnPremConnector Deletes the specified on-premises connector.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/DeleteOnPremConnector.go.html to see an example of how to use DeleteOnPremConnector API.
func (client DataSafeClient) DeleteTargetDatabase(ctx context.Context, request DeleteTargetDatabaseRequest) (response DeleteTargetDatabaseResponse, err error)
DeleteTargetDatabase Deregisters the specified database from Data Safe and removes the target database from the Data Safe Console.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/DeleteTargetDatabase.go.html to see an example of how to use DeleteTargetDatabase API.
func (client DataSafeClient) DownloadPrivilegeScript(ctx context.Context, request DownloadPrivilegeScriptRequest) (response DownloadPrivilegeScriptResponse, err error)
DownloadPrivilegeScript Downloads the privilege script to grant/revoke required roles from the Data Safe account on the target database.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/DownloadPrivilegeScript.go.html to see an example of how to use DownloadPrivilegeScript API.
func (client DataSafeClient) EnableDataSafeConfiguration(ctx context.Context, request EnableDataSafeConfigurationRequest) (response EnableDataSafeConfigurationResponse, err error)
EnableDataSafeConfiguration Enables Data Safe in the tenancy and region.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/EnableDataSafeConfiguration.go.html to see an example of how to use EnableDataSafeConfiguration API.
func (client DataSafeClient) GenerateOnPremConnectorConfiguration(ctx context.Context, request GenerateOnPremConnectorConfigurationRequest) (response GenerateOnPremConnectorConfigurationResponse, err error)
GenerateOnPremConnectorConfiguration Creates and downloads the configuration of the specified on-premises connector.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/GenerateOnPremConnectorConfiguration.go.html to see an example of how to use GenerateOnPremConnectorConfiguration API.
func (client DataSafeClient) GetDataSafeConfiguration(ctx context.Context, request GetDataSafeConfigurationRequest) (response GetDataSafeConfigurationResponse, err error)
GetDataSafeConfiguration Gets the details of the Data Safe configuration.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/GetDataSafeConfiguration.go.html to see an example of how to use GetDataSafeConfiguration API.
func (client DataSafeClient) GetDataSafePrivateEndpoint(ctx context.Context, request GetDataSafePrivateEndpointRequest) (response GetDataSafePrivateEndpointResponse, err error)
GetDataSafePrivateEndpoint Gets the details of the specified Data Safe private endpoint.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/GetDataSafePrivateEndpoint.go.html to see an example of how to use GetDataSafePrivateEndpoint API.
func (client DataSafeClient) GetOnPremConnector(ctx context.Context, request GetOnPremConnectorRequest) (response GetOnPremConnectorResponse, err error)
GetOnPremConnector Gets the details of the specified on-premises connector.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/GetOnPremConnector.go.html to see an example of how to use GetOnPremConnector API.
func (client DataSafeClient) GetTargetDatabase(ctx context.Context, request GetTargetDatabaseRequest) (response GetTargetDatabaseResponse, err error)
GetTargetDatabase Returns the details of the specified Data Safe target database.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/GetTargetDatabase.go.html to see an example of how to use GetTargetDatabase API.
func (client DataSafeClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets the details of the specified work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API.
func (client DataSafeClient) ListDataSafePrivateEndpoints(ctx context.Context, request ListDataSafePrivateEndpointsRequest) (response ListDataSafePrivateEndpointsResponse, err error)
ListDataSafePrivateEndpoints Gets a list of Data Safe private endpoints.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/ListDataSafePrivateEndpoints.go.html to see an example of how to use ListDataSafePrivateEndpoints API.
func (client DataSafeClient) ListOnPremConnectors(ctx context.Context, request ListOnPremConnectorsRequest) (response ListOnPremConnectorsResponse, err error)
ListOnPremConnectors Gets a list of on-premises connectors.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/ListOnPremConnectors.go.html to see an example of how to use ListOnPremConnectors API.
func (client DataSafeClient) ListTargetDatabases(ctx context.Context, request ListTargetDatabasesRequest) (response ListTargetDatabasesResponse, err error)
ListTargetDatabases Returns the list of registered target databases in Data Safe.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/ListTargetDatabases.go.html to see an example of how to use ListTargetDatabases API.
func (client DataSafeClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Gets a list of errors for the specified work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API.
func (client DataSafeClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Gets a list of log entries for the specified work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API.
func (client DataSafeClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Gets a list of work requests.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API.
func (client *DataSafeClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client DataSafeClient) UpdateDataSafePrivateEndpoint(ctx context.Context, request UpdateDataSafePrivateEndpointRequest) (response UpdateDataSafePrivateEndpointResponse, err error)
UpdateDataSafePrivateEndpoint Updates one or more attributes of the specified Data Safe private endpoint.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/UpdateDataSafePrivateEndpoint.go.html to see an example of how to use UpdateDataSafePrivateEndpoint API.
func (client DataSafeClient) UpdateOnPremConnector(ctx context.Context, request UpdateOnPremConnectorRequest) (response UpdateOnPremConnectorResponse, err error)
UpdateOnPremConnector Updates one or more attributes of the specified on-premises connector.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/UpdateOnPremConnector.go.html to see an example of how to use UpdateOnPremConnector API.
func (client DataSafeClient) UpdateOnPremConnectorWallet(ctx context.Context, request UpdateOnPremConnectorWalletRequest) (response UpdateOnPremConnectorWalletResponse, err error)
UpdateOnPremConnectorWallet Updates the wallet for the specified on-premises connector to a new version.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/UpdateOnPremConnectorWallet.go.html to see an example of how to use UpdateOnPremConnectorWallet API.
func (client DataSafeClient) UpdateTargetDatabase(ctx context.Context, request UpdateTargetDatabaseRequest) (response UpdateTargetDatabaseResponse, err error)
UpdateTargetDatabase Updates one or more attributes of the specified Data Safe target database.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/UpdateTargetDatabase.go.html to see an example of how to use UpdateTargetDatabase API.
DataSafeConfiguration A Data Safe configuration for a tenancy and region.
type DataSafeConfiguration struct { // Indicates if Data Safe is enabled. IsEnabled *bool `mandatory:"true" json:"isEnabled"` // The URL of the Data Safe service. Url *string `mandatory:"false" json:"url"` // The OCID of the tenancy used to enable Data Safe. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The date and time Data Safe was enabled, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeEnabled *common.SDKTime `mandatory:"false" json:"timeEnabled"` // The current state of Data Safe. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m DataSafeConfiguration) String() string
DataSafePrivateEndpoint A Data Safe private endpoint that allows Data Safe to connect to databases in a customer's virtual cloud network (VCN).
type DataSafePrivateEndpoint struct { // The OCID of the Data Safe private endpoint. Id *string `mandatory:"true" json:"id"` // The display name of the private endpoint. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the VCN. VcnId *string `mandatory:"true" json:"vcnId"` // The OCID of the subnet. SubnetId *string `mandatory:"true" json:"subnetId"` // The OCID of the underlying private endpoint. PrivateEndpointId *string `mandatory:"true" json:"privateEndpointId"` // The private IP address of the private endpoint. PrivateEndpointIp *string `mandatory:"false" json:"privateEndpointIp"` // The three-label fully qualified domain name (FQDN) of the private endpoint. The customer VCN's DNS records are updated with this FQDN. EndpointFqdn *string `mandatory:"false" json:"endpointFqdn"` // The description of the private endpoint. Description *string `mandatory:"false" json:"description"` // The date and time the private endpoint was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The current state of the private endpoint. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // The OCIDs of the network security groups that the private endpoint belongs to. NsgIds []string `mandatory:"false" json:"nsgIds"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m DataSafePrivateEndpoint) String() string
DataSafePrivateEndpointSummary Summary of a Data Safe private endpoint.
type DataSafePrivateEndpointSummary struct { // The OCID of the Data Safe private endpoint. Id *string `mandatory:"true" json:"id"` // The display name of the private endpoint. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the VCN. VcnId *string `mandatory:"true" json:"vcnId"` // The OCID of the subnet. SubnetId *string `mandatory:"true" json:"subnetId"` // The OCID of the private endpoint. PrivateEndpointId *string `mandatory:"true" json:"privateEndpointId"` // The description of the private endpoint. Description *string `mandatory:"false" json:"description"` // The date and time the private endpoint was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The current state of the private endpoint. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m DataSafePrivateEndpointSummary) String() string
DatabaseCloudServiceDetails The details of the Oracle Database Cloud Service to be registered as a target database in Data Safe.
type DatabaseCloudServiceDetails struct { // The OCID of the VM cluster in which the database is running. VmClusterId *string `mandatory:"false" json:"vmClusterId"` // The OCID of the cloud database system registered as a target database in Data Safe. DbSystemId *string `mandatory:"false" json:"dbSystemId"` // The database service name. ServiceName *string `mandatory:"false" json:"serviceName"` // The infrastructure type the database is running on. InfrastructureType InfrastructureTypeEnum `mandatory:"true" json:"infrastructureType"` }
func (m DatabaseCloudServiceDetails) GetInfrastructureType() InfrastructureTypeEnum
GetInfrastructureType returns InfrastructureType
func (m DatabaseCloudServiceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseCloudServiceDetails) String() string
DatabaseDetails Details of the database for the registration in Data Safe. To choose applicable database type and infrastructure type refer to https://confluence.oci.oraclecorp.com/display/DATASAFE/Target+V2+Design
type DatabaseDetails interface { // The infrastructure type the database is running on. GetInfrastructureType() InfrastructureTypeEnum }
DatabaseTypeEnum Enum with underlying type: string
type DatabaseTypeEnum string
Set of constants representing the allowable values for DatabaseTypeEnum
const ( DatabaseTypeDatabaseCloudService DatabaseTypeEnum = "DATABASE_CLOUD_SERVICE" DatabaseTypeAutonomousDatabase DatabaseTypeEnum = "AUTONOMOUS_DATABASE" DatabaseTypeInstalledDatabase DatabaseTypeEnum = "INSTALLED_DATABASE" )
func GetDatabaseTypeEnumValues() []DatabaseTypeEnum
GetDatabaseTypeEnumValues Enumerates the set of values for DatabaseTypeEnum
DeactivateTargetDatabaseRequest wrapper for the DeactivateTargetDatabase operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/DeactivateTargetDatabase.go.html to see an example of how to use DeactivateTargetDatabaseRequest.
type DeactivateTargetDatabaseRequest struct { // The OCID of the Data Safe target database. TargetDatabaseId *string `mandatory:"true" contributesTo:"path" name:"targetDatabaseId"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the if-match parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique identifier for the request. 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 DeactivateTargetDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeactivateTargetDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeactivateTargetDatabaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeactivateTargetDatabaseRequest) String() string
DeactivateTargetDatabaseResponse wrapper for the DeactivateTargetDatabase operation
type DeactivateTargetDatabaseResponse struct { // The underlying http response RawResponse *http.Response // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeactivateTargetDatabaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeactivateTargetDatabaseResponse) String() string
DeleteDataSafePrivateEndpointRequest wrapper for the DeleteDataSafePrivateEndpoint operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/DeleteDataSafePrivateEndpoint.go.html to see an example of how to use DeleteDataSafePrivateEndpointRequest.
type DeleteDataSafePrivateEndpointRequest struct { // The OCID of the private endpoint. DataSafePrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"dataSafePrivateEndpointId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the if-match parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique identifier for the request. 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 DeleteDataSafePrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDataSafePrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDataSafePrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDataSafePrivateEndpointRequest) String() string
DeleteDataSafePrivateEndpointResponse wrapper for the DeleteDataSafePrivateEndpoint operation
type DeleteDataSafePrivateEndpointResponse struct { // The underlying http response RawResponse *http.Response // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteDataSafePrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDataSafePrivateEndpointResponse) String() string
DeleteOnPremConnectorRequest wrapper for the DeleteOnPremConnector operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/DeleteOnPremConnector.go.html to see an example of how to use DeleteOnPremConnectorRequest.
type DeleteOnPremConnectorRequest struct { // The OCID of the on-premises connector. OnPremConnectorId *string `mandatory:"true" contributesTo:"path" name:"onPremConnectorId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the if-match parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique identifier for the request. 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 DeleteOnPremConnectorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteOnPremConnectorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteOnPremConnectorRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteOnPremConnectorRequest) String() string
DeleteOnPremConnectorResponse wrapper for the DeleteOnPremConnector operation
type DeleteOnPremConnectorResponse struct { // The underlying http response RawResponse *http.Response // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteOnPremConnectorResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteOnPremConnectorResponse) String() string
DeleteTargetDatabaseRequest wrapper for the DeleteTargetDatabase operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/DeleteTargetDatabase.go.html to see an example of how to use DeleteTargetDatabaseRequest.
type DeleteTargetDatabaseRequest struct { // The OCID of the Data Safe target database. TargetDatabaseId *string `mandatory:"true" contributesTo:"path" name:"targetDatabaseId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the if-match parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique identifier for the request. 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 DeleteTargetDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteTargetDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteTargetDatabaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteTargetDatabaseRequest) String() string
DeleteTargetDatabaseResponse wrapper for the DeleteTargetDatabase operation
type DeleteTargetDatabaseResponse struct { // The underlying http response RawResponse *http.Response // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteTargetDatabaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteTargetDatabaseResponse) String() string
DownloadPrivilegeScriptRequest wrapper for the DownloadPrivilegeScript operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/DownloadPrivilegeScript.go.html to see an example of how to use DownloadPrivilegeScriptRequest.
type DownloadPrivilegeScriptRequest struct { // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique identifier for the request. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the if-match parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DownloadPrivilegeScriptRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DownloadPrivilegeScriptRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DownloadPrivilegeScriptRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DownloadPrivilegeScriptRequest) String() string
DownloadPrivilegeScriptResponse wrapper for the DownloadPrivilegeScript operation
type DownloadPrivilegeScriptResponse struct { // The underlying http response RawResponse *http.Response // The io.ReadCloser instance Content io.ReadCloser `presentIn:"body" encoding:"binary"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven) Etag *string `presentIn:"header" name:"etag"` // Size of the file. ContentLength *int64 `presentIn:"header" name:"content-length"` }
func (response DownloadPrivilegeScriptResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DownloadPrivilegeScriptResponse) String() string
EnableDataSafeConfigurationDetails The details used to enable Data Safe in the tenancy and region.
type EnableDataSafeConfigurationDetails struct { // Indicates if Data Safe is enabled. IsEnabled *bool `mandatory:"true" json:"isEnabled"` }
func (m EnableDataSafeConfigurationDetails) String() string
EnableDataSafeConfigurationRequest wrapper for the EnableDataSafeConfiguration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/EnableDataSafeConfiguration.go.html to see an example of how to use EnableDataSafeConfigurationRequest.
type EnableDataSafeConfigurationRequest struct { // The details used to enable Data Safe. EnableDataSafeConfigurationDetails `contributesTo:"body"` // A filter to return only resources that match the specified compartment OCID. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the if-match parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique identifier for the request. 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 EnableDataSafeConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request EnableDataSafeConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request EnableDataSafeConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request EnableDataSafeConfigurationRequest) String() string
EnableDataSafeConfigurationResponse wrapper for the EnableDataSafeConfiguration operation
type EnableDataSafeConfigurationResponse struct { // The underlying http response RawResponse *http.Response // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response EnableDataSafeConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response EnableDataSafeConfigurationResponse) String() string
GenerateOnPremConnectorConfigurationDetails The details used to create and download on-premises connector's configuration.
type GenerateOnPremConnectorConfigurationDetails struct { // The password to encrypt the keys inside the wallet included as part of the configuration. The password must be between 12 and 30 characters long and must contain atleast 1 uppercase, 1 lowercase, 1 numeric, and 1 special character. Password *string `mandatory:"true" json:"password"` }
func (m GenerateOnPremConnectorConfigurationDetails) String() string
GenerateOnPremConnectorConfigurationRequest wrapper for the GenerateOnPremConnectorConfiguration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/GenerateOnPremConnectorConfiguration.go.html to see an example of how to use GenerateOnPremConnectorConfigurationRequest.
type GenerateOnPremConnectorConfigurationRequest struct { // The details used to create and download on-premises connector's configuration. GenerateOnPremConnectorConfigurationDetails `contributesTo:"body"` // The OCID of the on-premises connector. OnPremConnectorId *string `mandatory:"true" contributesTo:"path" name:"onPremConnectorId"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique identifier for the request. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the if-match parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GenerateOnPremConnectorConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GenerateOnPremConnectorConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GenerateOnPremConnectorConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GenerateOnPremConnectorConfigurationRequest) String() string
GenerateOnPremConnectorConfigurationResponse wrapper for the GenerateOnPremConnectorConfiguration operation
type GenerateOnPremConnectorConfigurationResponse struct { // The underlying http response RawResponse *http.Response // The io.ReadCloser instance Content io.ReadCloser `presentIn:"body" encoding:"binary"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // Size of the file. ContentLength *int64 `presentIn:"header" name:"content-length"` // The date and time the on-premises connector configuration was last modified, in the format defined by HTTP-date. LastModified *common.SDKTime `presentIn:"header" name:"last-modified"` }
func (response GenerateOnPremConnectorConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GenerateOnPremConnectorConfigurationResponse) String() string
GetDataSafeConfigurationRequest wrapper for the GetDataSafeConfiguration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/GetDataSafeConfiguration.go.html to see an example of how to use GetDataSafeConfigurationRequest.
type GetDataSafeConfigurationRequest struct { // A filter to return only resources that match the specified compartment OCID. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // Unique identifier for the request. 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 GetDataSafeConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDataSafeConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDataSafeConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDataSafeConfigurationRequest) String() string
GetDataSafeConfigurationResponse wrapper for the GetDataSafeConfiguration operation
type GetDataSafeConfigurationResponse struct { // The underlying http response RawResponse *http.Response // The DataSafeConfiguration instance DataSafeConfiguration `presentIn:"body"` // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven) Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetDataSafeConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDataSafeConfigurationResponse) String() string
GetDataSafePrivateEndpointRequest wrapper for the GetDataSafePrivateEndpoint operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/GetDataSafePrivateEndpoint.go.html to see an example of how to use GetDataSafePrivateEndpointRequest.
type GetDataSafePrivateEndpointRequest struct { // The OCID of the private endpoint. DataSafePrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"dataSafePrivateEndpointId"` // Unique identifier for the request. 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 GetDataSafePrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDataSafePrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDataSafePrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDataSafePrivateEndpointRequest) String() string
GetDataSafePrivateEndpointResponse wrapper for the GetDataSafePrivateEndpoint operation
type GetDataSafePrivateEndpointResponse struct { // The underlying http response RawResponse *http.Response // The DataSafePrivateEndpoint instance DataSafePrivateEndpoint `presentIn:"body"` // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven) Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetDataSafePrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDataSafePrivateEndpointResponse) String() string
GetOnPremConnectorRequest wrapper for the GetOnPremConnector operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/GetOnPremConnector.go.html to see an example of how to use GetOnPremConnectorRequest.
type GetOnPremConnectorRequest struct { // The OCID of the on-premises connector. OnPremConnectorId *string `mandatory:"true" contributesTo:"path" name:"onPremConnectorId"` // Unique identifier for the request. 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 GetOnPremConnectorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetOnPremConnectorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetOnPremConnectorRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetOnPremConnectorRequest) String() string
GetOnPremConnectorResponse wrapper for the GetOnPremConnector operation
type GetOnPremConnectorResponse struct { // The underlying http response RawResponse *http.Response // The OnPremConnector instance OnPremConnector `presentIn:"body"` // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven) Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetOnPremConnectorResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetOnPremConnectorResponse) String() string
GetTargetDatabaseRequest wrapper for the GetTargetDatabase operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/GetTargetDatabase.go.html to see an example of how to use GetTargetDatabaseRequest.
type GetTargetDatabaseRequest struct { // The OCID of the Data Safe target database. TargetDatabaseId *string `mandatory:"true" contributesTo:"path" name:"targetDatabaseId"` // Unique identifier for the request. 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 GetTargetDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetTargetDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetTargetDatabaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetTargetDatabaseRequest) String() string
GetTargetDatabaseResponse wrapper for the GetTargetDatabase operation
type GetTargetDatabaseResponse struct { // The underlying http response RawResponse *http.Response // The TargetDatabase instance TargetDatabase `presentIn:"body"` // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven) Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetTargetDatabaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetTargetDatabaseResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
type GetWorkRequestRequest struct { // The OCID of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique identifier for the request. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
GetWorkRequestResponse wrapper for the GetWorkRequest operation
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven) Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // A non-negative integer representing 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
InfrastructureTypeEnum Enum with underlying type: string
type InfrastructureTypeEnum string
Set of constants representing the allowable values for InfrastructureTypeEnum
const ( InfrastructureTypeOracleCloud InfrastructureTypeEnum = "ORACLE_CLOUD" InfrastructureTypeCloudAtCustomer InfrastructureTypeEnum = "CLOUD_AT_CUSTOMER" InfrastructureTypeOnPremises InfrastructureTypeEnum = "ON_PREMISES" InfrastructureTypeNonOracleCloud InfrastructureTypeEnum = "NON_ORACLE_CLOUD" )
func GetInfrastructureTypeEnumValues() []InfrastructureTypeEnum
GetInfrastructureTypeEnumValues Enumerates the set of values for InfrastructureTypeEnum
InstalledDatabaseDetails The details of the database running on-premises or on a compute instance.
type InstalledDatabaseDetails struct { // The OCID of the compute instance on which the database is running. InstanceId *string `mandatory:"false" json:"instanceId"` // A List of either the IP Addresses or FQDN names of the database hosts. IpAddresses []string `mandatory:"false" json:"ipAddresses"` // The port number of the database listener. ListenerPort *int `mandatory:"false" json:"listenerPort"` // The service name of the database registered as target database. ServiceName *string `mandatory:"false" json:"serviceName"` // The infrastructure type the database is running on. InfrastructureType InfrastructureTypeEnum `mandatory:"true" json:"infrastructureType"` }
func (m InstalledDatabaseDetails) GetInfrastructureType() InfrastructureTypeEnum
GetInfrastructureType returns InfrastructureType
func (m InstalledDatabaseDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m InstalledDatabaseDetails) String() string
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" LifecycleStateDeleting LifecycleStateEnum = "DELETING" LifecycleStateDeleted LifecycleStateEnum = "DELETED" LifecycleStateFailed LifecycleStateEnum = "FAILED" LifecycleStateNa LifecycleStateEnum = "NA" )
func GetLifecycleStateEnumValues() []LifecycleStateEnum
GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum
ListDataSafePrivateEndpointsAccessLevelEnum Enum with underlying type: string
type ListDataSafePrivateEndpointsAccessLevelEnum string
Set of constants representing the allowable values for ListDataSafePrivateEndpointsAccessLevelEnum
const ( ListDataSafePrivateEndpointsAccessLevelRestricted ListDataSafePrivateEndpointsAccessLevelEnum = "RESTRICTED" ListDataSafePrivateEndpointsAccessLevelAccessible ListDataSafePrivateEndpointsAccessLevelEnum = "ACCESSIBLE" )
func GetListDataSafePrivateEndpointsAccessLevelEnumValues() []ListDataSafePrivateEndpointsAccessLevelEnum
GetListDataSafePrivateEndpointsAccessLevelEnumValues Enumerates the set of values for ListDataSafePrivateEndpointsAccessLevelEnum
ListDataSafePrivateEndpointsLifecycleStateEnum Enum with underlying type: string
type ListDataSafePrivateEndpointsLifecycleStateEnum string
Set of constants representing the allowable values for ListDataSafePrivateEndpointsLifecycleStateEnum
const ( ListDataSafePrivateEndpointsLifecycleStateCreating ListDataSafePrivateEndpointsLifecycleStateEnum = "CREATING" ListDataSafePrivateEndpointsLifecycleStateUpdating ListDataSafePrivateEndpointsLifecycleStateEnum = "UPDATING" ListDataSafePrivateEndpointsLifecycleStateActive ListDataSafePrivateEndpointsLifecycleStateEnum = "ACTIVE" ListDataSafePrivateEndpointsLifecycleStateDeleting ListDataSafePrivateEndpointsLifecycleStateEnum = "DELETING" ListDataSafePrivateEndpointsLifecycleStateDeleted ListDataSafePrivateEndpointsLifecycleStateEnum = "DELETED" ListDataSafePrivateEndpointsLifecycleStateFailed ListDataSafePrivateEndpointsLifecycleStateEnum = "FAILED" ListDataSafePrivateEndpointsLifecycleStateNa ListDataSafePrivateEndpointsLifecycleStateEnum = "NA" )
func GetListDataSafePrivateEndpointsLifecycleStateEnumValues() []ListDataSafePrivateEndpointsLifecycleStateEnum
GetListDataSafePrivateEndpointsLifecycleStateEnumValues Enumerates the set of values for ListDataSafePrivateEndpointsLifecycleStateEnum
ListDataSafePrivateEndpointsRequest wrapper for the ListDataSafePrivateEndpoints operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/ListDataSafePrivateEndpoints.go.html to see an example of how to use ListDataSafePrivateEndpointsRequest.
type ListDataSafePrivateEndpointsRequest struct { // A filter to return only resources that match the specified compartment OCID. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the specified display name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // A filter to return only resources that match the specified VCN OCID. VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"` // A filter to return only resources that match the specified lifecycle state. LifecycleState ListDataSafePrivateEndpointsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either ascending (ASC) or descending (DESC). SortOrder ListDataSafePrivateEndpointsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field used for sorting. Only one sorting order (sortOrder) can be specified. // The default order for TIMECREATED is descending. The default order for DISPLAYNAME is ascending. // The DISPLAYNAME sort order is case sensitive. SortBy ListDataSafePrivateEndpointsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique identifier for the request. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Default is false. // When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting. CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"` // Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. // Setting this to ACCESSIBLE returns only those compartments for which the // user has INSPECT permissions directly or indirectly (permissions can be on a // resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. AccessLevel ListDataSafePrivateEndpointsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListDataSafePrivateEndpointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDataSafePrivateEndpointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDataSafePrivateEndpointsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDataSafePrivateEndpointsRequest) String() string
ListDataSafePrivateEndpointsResponse wrapper for the ListDataSafePrivateEndpoints operation
type ListDataSafePrivateEndpointsResponse struct { // The underlying http response RawResponse *http.Response // A list of []DataSafePrivateEndpointSummary instances Items []DataSafePrivateEndpointSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For list pagination. When this header appears in the response, additional pages of results remain. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListDataSafePrivateEndpointsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDataSafePrivateEndpointsResponse) String() string
ListDataSafePrivateEndpointsSortByEnum Enum with underlying type: string
type ListDataSafePrivateEndpointsSortByEnum string
Set of constants representing the allowable values for ListDataSafePrivateEndpointsSortByEnum
const ( ListDataSafePrivateEndpointsSortByTimecreated ListDataSafePrivateEndpointsSortByEnum = "TIMECREATED" ListDataSafePrivateEndpointsSortByDisplayname ListDataSafePrivateEndpointsSortByEnum = "DISPLAYNAME" )
func GetListDataSafePrivateEndpointsSortByEnumValues() []ListDataSafePrivateEndpointsSortByEnum
GetListDataSafePrivateEndpointsSortByEnumValues Enumerates the set of values for ListDataSafePrivateEndpointsSortByEnum
ListDataSafePrivateEndpointsSortOrderEnum Enum with underlying type: string
type ListDataSafePrivateEndpointsSortOrderEnum string
Set of constants representing the allowable values for ListDataSafePrivateEndpointsSortOrderEnum
const ( ListDataSafePrivateEndpointsSortOrderAsc ListDataSafePrivateEndpointsSortOrderEnum = "ASC" ListDataSafePrivateEndpointsSortOrderDesc ListDataSafePrivateEndpointsSortOrderEnum = "DESC" )
func GetListDataSafePrivateEndpointsSortOrderEnumValues() []ListDataSafePrivateEndpointsSortOrderEnum
GetListDataSafePrivateEndpointsSortOrderEnumValues Enumerates the set of values for ListDataSafePrivateEndpointsSortOrderEnum
ListOnPremConnectorsAccessLevelEnum Enum with underlying type: string
type ListOnPremConnectorsAccessLevelEnum string
Set of constants representing the allowable values for ListOnPremConnectorsAccessLevelEnum
const ( ListOnPremConnectorsAccessLevelRestricted ListOnPremConnectorsAccessLevelEnum = "RESTRICTED" ListOnPremConnectorsAccessLevelAccessible ListOnPremConnectorsAccessLevelEnum = "ACCESSIBLE" )
func GetListOnPremConnectorsAccessLevelEnumValues() []ListOnPremConnectorsAccessLevelEnum
GetListOnPremConnectorsAccessLevelEnumValues Enumerates the set of values for ListOnPremConnectorsAccessLevelEnum
ListOnPremConnectorsOnPremConnectorLifecycleStateEnum Enum with underlying type: string
type ListOnPremConnectorsOnPremConnectorLifecycleStateEnum string
Set of constants representing the allowable values for ListOnPremConnectorsOnPremConnectorLifecycleStateEnum
const ( ListOnPremConnectorsOnPremConnectorLifecycleStateCreating ListOnPremConnectorsOnPremConnectorLifecycleStateEnum = "CREATING" ListOnPremConnectorsOnPremConnectorLifecycleStateUpdating ListOnPremConnectorsOnPremConnectorLifecycleStateEnum = "UPDATING" ListOnPremConnectorsOnPremConnectorLifecycleStateActive ListOnPremConnectorsOnPremConnectorLifecycleStateEnum = "ACTIVE" ListOnPremConnectorsOnPremConnectorLifecycleStateInactive ListOnPremConnectorsOnPremConnectorLifecycleStateEnum = "INACTIVE" ListOnPremConnectorsOnPremConnectorLifecycleStateDeleting ListOnPremConnectorsOnPremConnectorLifecycleStateEnum = "DELETING" ListOnPremConnectorsOnPremConnectorLifecycleStateDeleted ListOnPremConnectorsOnPremConnectorLifecycleStateEnum = "DELETED" ListOnPremConnectorsOnPremConnectorLifecycleStateFailed ListOnPremConnectorsOnPremConnectorLifecycleStateEnum = "FAILED" )
func GetListOnPremConnectorsOnPremConnectorLifecycleStateEnumValues() []ListOnPremConnectorsOnPremConnectorLifecycleStateEnum
GetListOnPremConnectorsOnPremConnectorLifecycleStateEnumValues Enumerates the set of values for ListOnPremConnectorsOnPremConnectorLifecycleStateEnum
ListOnPremConnectorsRequest wrapper for the ListOnPremConnectors operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/ListOnPremConnectors.go.html to see an example of how to use ListOnPremConnectorsRequest.
type ListOnPremConnectorsRequest struct { // A filter to return only resources that match the specified compartment OCID. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only the on-premises connector that matches the specified id. OnPremConnectorId *string `mandatory:"false" contributesTo:"query" name:"onPremConnectorId"` // A filter to return only resources that match the specified display name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // A filter to return only on-premises connector resources that match the specified lifecycle state. OnPremConnectorLifecycleState ListOnPremConnectorsOnPremConnectorLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"onPremConnectorLifecycleState" omitEmpty:"true"` // For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either ascending (ASC) or descending (DESC). SortOrder ListOnPremConnectorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field used for sorting. Only one sorting order (sortOrder) can be specified. // The default order for TIMECREATED is descending. The default order for DISPLAYNAME is ascending. // The DISPLAYNAME sort order is case sensitive. SortBy ListOnPremConnectorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique identifier for the request. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Default is false. // When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting. CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"` // Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. // Setting this to ACCESSIBLE returns only those compartments for which the // user has INSPECT permissions directly or indirectly (permissions can be on a // resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. AccessLevel ListOnPremConnectorsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListOnPremConnectorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListOnPremConnectorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListOnPremConnectorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListOnPremConnectorsRequest) String() string
ListOnPremConnectorsResponse wrapper for the ListOnPremConnectors operation
type ListOnPremConnectorsResponse struct { // The underlying http response RawResponse *http.Response // A list of []OnPremConnectorSummary instances Items []OnPremConnectorSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For list pagination. When this header appears in the response, additional pages of results remain. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListOnPremConnectorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListOnPremConnectorsResponse) String() string
ListOnPremConnectorsSortByEnum Enum with underlying type: string
type ListOnPremConnectorsSortByEnum string
Set of constants representing the allowable values for ListOnPremConnectorsSortByEnum
const ( ListOnPremConnectorsSortByTimecreated ListOnPremConnectorsSortByEnum = "TIMECREATED" ListOnPremConnectorsSortByDisplayname ListOnPremConnectorsSortByEnum = "DISPLAYNAME" )
func GetListOnPremConnectorsSortByEnumValues() []ListOnPremConnectorsSortByEnum
GetListOnPremConnectorsSortByEnumValues Enumerates the set of values for ListOnPremConnectorsSortByEnum
ListOnPremConnectorsSortOrderEnum Enum with underlying type: string
type ListOnPremConnectorsSortOrderEnum string
Set of constants representing the allowable values for ListOnPremConnectorsSortOrderEnum
const ( ListOnPremConnectorsSortOrderAsc ListOnPremConnectorsSortOrderEnum = "ASC" ListOnPremConnectorsSortOrderDesc ListOnPremConnectorsSortOrderEnum = "DESC" )
func GetListOnPremConnectorsSortOrderEnumValues() []ListOnPremConnectorsSortOrderEnum
GetListOnPremConnectorsSortOrderEnumValues Enumerates the set of values for ListOnPremConnectorsSortOrderEnum
ListTargetDatabasesAccessLevelEnum Enum with underlying type: string
type ListTargetDatabasesAccessLevelEnum string
Set of constants representing the allowable values for ListTargetDatabasesAccessLevelEnum
const ( ListTargetDatabasesAccessLevelRestricted ListTargetDatabasesAccessLevelEnum = "RESTRICTED" ListTargetDatabasesAccessLevelAccessible ListTargetDatabasesAccessLevelEnum = "ACCESSIBLE" )
func GetListTargetDatabasesAccessLevelEnumValues() []ListTargetDatabasesAccessLevelEnum
GetListTargetDatabasesAccessLevelEnumValues Enumerates the set of values for ListTargetDatabasesAccessLevelEnum
ListTargetDatabasesDatabaseTypeEnum Enum with underlying type: string
type ListTargetDatabasesDatabaseTypeEnum string
Set of constants representing the allowable values for ListTargetDatabasesDatabaseTypeEnum
const ( ListTargetDatabasesDatabaseTypeDatabaseCloudService ListTargetDatabasesDatabaseTypeEnum = "DATABASE_CLOUD_SERVICE" ListTargetDatabasesDatabaseTypeAutonomousDatabase ListTargetDatabasesDatabaseTypeEnum = "AUTONOMOUS_DATABASE" ListTargetDatabasesDatabaseTypeInstalledDatabase ListTargetDatabasesDatabaseTypeEnum = "INSTALLED_DATABASE" )
func GetListTargetDatabasesDatabaseTypeEnumValues() []ListTargetDatabasesDatabaseTypeEnum
GetListTargetDatabasesDatabaseTypeEnumValues Enumerates the set of values for ListTargetDatabasesDatabaseTypeEnum
ListTargetDatabasesInfrastructureTypeEnum Enum with underlying type: string
type ListTargetDatabasesInfrastructureTypeEnum string
Set of constants representing the allowable values for ListTargetDatabasesInfrastructureTypeEnum
const ( ListTargetDatabasesInfrastructureTypeOracleCloud ListTargetDatabasesInfrastructureTypeEnum = "ORACLE_CLOUD" ListTargetDatabasesInfrastructureTypeCloudAtCustomer ListTargetDatabasesInfrastructureTypeEnum = "CLOUD_AT_CUSTOMER" ListTargetDatabasesInfrastructureTypeOnPremises ListTargetDatabasesInfrastructureTypeEnum = "ON_PREMISES" ListTargetDatabasesInfrastructureTypeNonOracleCloud ListTargetDatabasesInfrastructureTypeEnum = "NON_ORACLE_CLOUD" )
func GetListTargetDatabasesInfrastructureTypeEnumValues() []ListTargetDatabasesInfrastructureTypeEnum
GetListTargetDatabasesInfrastructureTypeEnumValues Enumerates the set of values for ListTargetDatabasesInfrastructureTypeEnum
ListTargetDatabasesLifecycleStateEnum Enum with underlying type: string
type ListTargetDatabasesLifecycleStateEnum string
Set of constants representing the allowable values for ListTargetDatabasesLifecycleStateEnum
const ( ListTargetDatabasesLifecycleStateCreating ListTargetDatabasesLifecycleStateEnum = "CREATING" ListTargetDatabasesLifecycleStateUpdating ListTargetDatabasesLifecycleStateEnum = "UPDATING" ListTargetDatabasesLifecycleStateActive ListTargetDatabasesLifecycleStateEnum = "ACTIVE" ListTargetDatabasesLifecycleStateInactive ListTargetDatabasesLifecycleStateEnum = "INACTIVE" ListTargetDatabasesLifecycleStateDeleting ListTargetDatabasesLifecycleStateEnum = "DELETING" ListTargetDatabasesLifecycleStateDeleted ListTargetDatabasesLifecycleStateEnum = "DELETED" ListTargetDatabasesLifecycleStateNeedsAttention ListTargetDatabasesLifecycleStateEnum = "NEEDS_ATTENTION" ListTargetDatabasesLifecycleStateFailed ListTargetDatabasesLifecycleStateEnum = "FAILED" )
func GetListTargetDatabasesLifecycleStateEnumValues() []ListTargetDatabasesLifecycleStateEnum
GetListTargetDatabasesLifecycleStateEnumValues Enumerates the set of values for ListTargetDatabasesLifecycleStateEnum
ListTargetDatabasesRequest wrapper for the ListTargetDatabases operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/ListTargetDatabases.go.html to see an example of how to use ListTargetDatabasesRequest.
type ListTargetDatabasesRequest struct { // A filter to return only resources that match the specified compartment OCID. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return the target database that matches the specified OCID. TargetDatabaseId *string `mandatory:"false" contributesTo:"query" name:"targetDatabaseId"` // A filter to return only resources that match the specified display name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // A filter to return the target databases that matches the current state of the target database. LifecycleState ListTargetDatabasesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return target databases that match the database type of the target database. DatabaseType ListTargetDatabasesDatabaseTypeEnum `mandatory:"false" contributesTo:"query" name:"databaseType" omitEmpty:"true"` // A filter to return target databases that match the infrastructure type of the target database. InfrastructureType ListTargetDatabasesInfrastructureTypeEnum `mandatory:"false" contributesTo:"query" name:"infrastructureType" omitEmpty:"true"` // For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Default is false. // When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting. CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"` // Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. // Setting this to ACCESSIBLE returns only those compartments for which the // user has INSPECT permissions directly or indirectly (permissions can be on a // resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. AccessLevel ListTargetDatabasesAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"` // The sort order to use, either ascending (ASC) or descending (DESC). SortOrder ListTargetDatabasesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field used for sorting. Only one sorting order (sortOrder) can be specified. // The default order for TIMECREATED is descending. The default order for DISPLAYNAME is ascending. // The DISPLAYNAME sort order is case sensitive. SortBy ListTargetDatabasesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique identifier for the request. 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 ListTargetDatabasesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListTargetDatabasesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListTargetDatabasesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListTargetDatabasesRequest) String() string
ListTargetDatabasesResponse wrapper for the ListTargetDatabases operation
type ListTargetDatabasesResponse struct { // The underlying http response RawResponse *http.Response // A list of []TargetDatabaseSummary instances Items []TargetDatabaseSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For list pagination. When this header appears in the response, additional pages of results remain. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // 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 previous batch of items. OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` }
func (response ListTargetDatabasesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListTargetDatabasesResponse) String() string
ListTargetDatabasesSortByEnum Enum with underlying type: string
type ListTargetDatabasesSortByEnum string
Set of constants representing the allowable values for ListTargetDatabasesSortByEnum
const ( ListTargetDatabasesSortByTimecreated ListTargetDatabasesSortByEnum = "TIMECREATED" ListTargetDatabasesSortByDisplayname ListTargetDatabasesSortByEnum = "DISPLAYNAME" )
func GetListTargetDatabasesSortByEnumValues() []ListTargetDatabasesSortByEnum
GetListTargetDatabasesSortByEnumValues Enumerates the set of values for ListTargetDatabasesSortByEnum
ListTargetDatabasesSortOrderEnum Enum with underlying type: string
type ListTargetDatabasesSortOrderEnum string
Set of constants representing the allowable values for ListTargetDatabasesSortOrderEnum
const ( ListTargetDatabasesSortOrderAsc ListTargetDatabasesSortOrderEnum = "ASC" ListTargetDatabasesSortOrderDesc ListTargetDatabasesSortOrderEnum = "DESC" )
func GetListTargetDatabasesSortOrderEnumValues() []ListTargetDatabasesSortOrderEnum
GetListTargetDatabasesSortOrderEnumValues Enumerates the set of values for ListTargetDatabasesSortOrderEnum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
type ListWorkRequestErrorsRequest struct { // The OCID of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique identifier for the request. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine). 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) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequestError instances Items []WorkRequestError `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For list pagination. When this header appears in the response, additional pages of results remain. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
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/43.1.0/datasafe/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
type ListWorkRequestLogsRequest struct { // The OCID of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique identifier for the request. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine). 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) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequestLogEntry instances Items []WorkRequestLogEntry `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For list pagination. When this header appears in the response, additional pages of results remain. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
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/43.1.0/datasafe/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
type ListWorkRequestsRequest struct { // A filter to return only resources that match the specified compartment OCID. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only work requests that match the specific operation type. OperationType *string `mandatory:"false" contributesTo:"query" name:"operationType"` // A filter to return only work requests that match the specified resource OCID. ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"` // Unique identifier for the request. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine). 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) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequestSummary instances Items []WorkRequestSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For list pagination. When this header appears in the response, additional pages of results remain. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
OnPremConnector A Data Safe on-premises connector that enables Data Safe to connect to on-premises databases.
type OnPremConnector struct { // The OCID of the on-premises connector. Id *string `mandatory:"true" json:"id"` // The display name of the on-premises connector. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID of the compartment that contains the on-premises connector. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The date and time the on-premises connector was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the on-premises connector. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The description of the on-premises connector. Description *string `mandatory:"false" json:"description"` // Details about the current state of the on-premises connector. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // Latest available version of the on-premises connector. AvailableVersion *string `mandatory:"false" json:"availableVersion"` // Created version of the on-premises connector. CreatedVersion *string `mandatory:"false" json:"createdVersion"` }
func (m OnPremConnector) String() string
OnPremConnectorLifecycleStateEnum Enum with underlying type: string
type OnPremConnectorLifecycleStateEnum string
Set of constants representing the allowable values for OnPremConnectorLifecycleStateEnum
const ( OnPremConnectorLifecycleStateCreating OnPremConnectorLifecycleStateEnum = "CREATING" OnPremConnectorLifecycleStateUpdating OnPremConnectorLifecycleStateEnum = "UPDATING" OnPremConnectorLifecycleStateActive OnPremConnectorLifecycleStateEnum = "ACTIVE" OnPremConnectorLifecycleStateInactive OnPremConnectorLifecycleStateEnum = "INACTIVE" OnPremConnectorLifecycleStateDeleting OnPremConnectorLifecycleStateEnum = "DELETING" OnPremConnectorLifecycleStateDeleted OnPremConnectorLifecycleStateEnum = "DELETED" OnPremConnectorLifecycleStateFailed OnPremConnectorLifecycleStateEnum = "FAILED" )
func GetOnPremConnectorLifecycleStateEnumValues() []OnPremConnectorLifecycleStateEnum
GetOnPremConnectorLifecycleStateEnumValues Enumerates the set of values for OnPremConnectorLifecycleStateEnum
OnPremConnectorSummary Summary of a Data Safe on-premises connector.
type OnPremConnectorSummary struct { // The OCID of the on-premises connector. Id *string `mandatory:"true" json:"id"` // The display name of the on-premises connector. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID of the compartment that contains the on-premises connector. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The date and time the on-premises connector was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the on-premises connector. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The description of the on-premises connector. Description *string `mandatory:"false" json:"description"` // Details about the current state of the on-premises connector. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // Created version of the on-premises connector. CreatedVersion *string `mandatory:"false" json:"createdVersion"` }
func (m OnPremConnectorSummary) String() string
OnPremiseConnector The details required to establish a connection to the database using an on-premises connector.
type OnPremiseConnector struct { // The OCID of the on-premises connector. OnPremConnectorId *string `mandatory:"false" json:"onPremConnectorId"` }
func (m OnPremiseConnector) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OnPremiseConnector) String() string
PrivateEndpoint The details required to establish a connection to the database using a private endpoint.
type PrivateEndpoint struct { // The OCID of the Data Safe private endpoint. DatasafePrivateEndpointId *string `mandatory:"false" json:"datasafePrivateEndpointId"` }
func (m PrivateEndpoint) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PrivateEndpoint) String() string
ServiceListEnum Enum with underlying type: string
type ServiceListEnum string
Set of constants representing the allowable values for ServiceListEnum
const ( ServiceListDataSafe ServiceListEnum = "DataSafe" ServiceListDataSafeDev ServiceListEnum = "DataSafe-dev" ServiceListDataSafeDev1 ServiceListEnum = "DataSafe-dev1" ServiceListDataSafeDev2 ServiceListEnum = "DataSafe-dev2" ServiceListDataSafeDev3 ServiceListEnum = "DataSafe-dev3" ServiceListDataSafeDev4 ServiceListEnum = "DataSafe-dev4" ServiceListDataSafeDev5 ServiceListEnum = "DataSafe-dev5" ServiceListDataSafeDev6 ServiceListEnum = "DataSafe-dev6" ServiceListDataSafeDev7 ServiceListEnum = "DataSafe-dev7" ServiceListDataSafeDev8 ServiceListEnum = "DataSafe-dev8" ServiceListDataSafeLrg1 ServiceListEnum = "DataSafe-lrg1" ServiceListDataSafeLrg2 ServiceListEnum = "DataSafe-lrg2" ServiceListDataSafeLrg3 ServiceListEnum = "DataSafe-lrg3" ServiceListDataSafeLrg4 ServiceListEnum = "DataSafe-lrg4" ServiceListDataSafePtest ServiceListEnum = "DataSafe-ptest" ServiceListDataSafeStest ServiceListEnum = "DataSafe-stest" ServiceListDataSafeStage ServiceListEnum = "DataSafe-stage" )
func GetServiceListEnumValues() []ServiceListEnum
GetServiceListEnumValues Enumerates the set of values for ServiceListEnum
TargetDatabase The details of the Data Safe target database.
type TargetDatabase struct { // The OCID of the compartment which contains the Data Safe target database. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the Data Safe target database. Id *string `mandatory:"true" json:"id"` // The display name of the target database in Data Safe. DisplayName *string `mandatory:"true" json:"displayName"` DatabaseDetails DatabaseDetails `mandatory:"true" json:"databaseDetails"` // The current state of the target database in Data Safe. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The date and time of target database registration and creation in Data Safe. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The description of the target database in Data Safe. Description *string `mandatory:"false" json:"description"` Credentials *Credentials `mandatory:"false" json:"credentials"` TlsConfig *TlsConfig `mandatory:"false" json:"tlsConfig"` ConnectionOption ConnectionOption `mandatory:"false" json:"connectionOption"` // Details about the current state of the target database in Data Safe. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // The date and time of the target database update in Data Safe. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m TargetDatabase) String() string
func (m *TargetDatabase) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
TargetDatabaseLifecycleStateEnum Enum with underlying type: string
type TargetDatabaseLifecycleStateEnum string
Set of constants representing the allowable values for TargetDatabaseLifecycleStateEnum
const ( TargetDatabaseLifecycleStateCreating TargetDatabaseLifecycleStateEnum = "CREATING" TargetDatabaseLifecycleStateUpdating TargetDatabaseLifecycleStateEnum = "UPDATING" TargetDatabaseLifecycleStateActive TargetDatabaseLifecycleStateEnum = "ACTIVE" TargetDatabaseLifecycleStateInactive TargetDatabaseLifecycleStateEnum = "INACTIVE" TargetDatabaseLifecycleStateDeleting TargetDatabaseLifecycleStateEnum = "DELETING" TargetDatabaseLifecycleStateDeleted TargetDatabaseLifecycleStateEnum = "DELETED" TargetDatabaseLifecycleStateNeedsAttention TargetDatabaseLifecycleStateEnum = "NEEDS_ATTENTION" TargetDatabaseLifecycleStateFailed TargetDatabaseLifecycleStateEnum = "FAILED" )
func GetTargetDatabaseLifecycleStateEnumValues() []TargetDatabaseLifecycleStateEnum
GetTargetDatabaseLifecycleStateEnumValues Enumerates the set of values for TargetDatabaseLifecycleStateEnum
TargetDatabaseSummary Summary of a Data Safe target database.
type TargetDatabaseSummary struct { // The OCID of the compartment that contains the Data Safe target database. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the Data Safe target database. Id *string `mandatory:"true" json:"id"` // The display name of the target database in Data Safe. DisplayName *string `mandatory:"true" json:"displayName"` // The infrastructure type the database is running on. InfrastructureType InfrastructureTypeEnum `mandatory:"true" json:"infrastructureType"` // The database type. DatabaseType DatabaseTypeEnum `mandatory:"true" json:"databaseType"` // The current state of the target database in Data Safe. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The date and time the database was registered in Data Safe and created as a target database in Data Safe. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The description of the target database in Data Safe. Description *string `mandatory:"false" json:"description"` // Details about the current state of the target database in Data Safe. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m TargetDatabaseSummary) String() string
TlsConfig The details required to establish a TLS enabled connection.
type TlsConfig struct { // Status to represent whether the database connection is TLS enabled or not. Status TlsConfigStatusEnum `mandatory:"true" json:"status"` // The format of the certificate store. CertificateStoreType TlsConfigCertificateStoreTypeEnum `mandatory:"false" json:"certificateStoreType,omitempty"` // The password to read the trust store and key store files, if they are password protected. StorePassword *string `mandatory:"false" json:"storePassword"` // Base64 encoded string of trust store file content. TrustStoreContent *string `mandatory:"false" json:"trustStoreContent"` // Base64 encoded string of key store file content. KeyStoreContent *string `mandatory:"false" json:"keyStoreContent"` }
func (m TlsConfig) String() string
TlsConfigCertificateStoreTypeEnum Enum with underlying type: string
type TlsConfigCertificateStoreTypeEnum string
Set of constants representing the allowable values for TlsConfigCertificateStoreTypeEnum
const ( TlsConfigCertificateStoreTypeJks TlsConfigCertificateStoreTypeEnum = "JKS" )
func GetTlsConfigCertificateStoreTypeEnumValues() []TlsConfigCertificateStoreTypeEnum
GetTlsConfigCertificateStoreTypeEnumValues Enumerates the set of values for TlsConfigCertificateStoreTypeEnum
TlsConfigStatusEnum Enum with underlying type: string
type TlsConfigStatusEnum string
Set of constants representing the allowable values for TlsConfigStatusEnum
const ( TlsConfigStatusEnabled TlsConfigStatusEnum = "ENABLED" TlsConfigStatusDisabled TlsConfigStatusEnum = "DISABLED" )
func GetTlsConfigStatusEnumValues() []TlsConfigStatusEnum
GetTlsConfigStatusEnumValues Enumerates the set of values for TlsConfigStatusEnum
UpdateDataSafePrivateEndpointDetails The details used to update a Data Safe private endpoint.
type UpdateDataSafePrivateEndpointDetails struct { // The display name of the private endpoint. DisplayName *string `mandatory:"true" json:"displayName"` // The description of the private endpoint. Description *string `mandatory:"false" json:"description"` // The OCIDs of the network security groups that the private endpoint belongs to. NsgIds []string `mandatory:"false" json:"nsgIds"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateDataSafePrivateEndpointDetails) String() string
UpdateDataSafePrivateEndpointRequest wrapper for the UpdateDataSafePrivateEndpoint operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/UpdateDataSafePrivateEndpoint.go.html to see an example of how to use UpdateDataSafePrivateEndpointRequest.
type UpdateDataSafePrivateEndpointRequest struct { // The OCID of the private endpoint. DataSafePrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"dataSafePrivateEndpointId"` // The details used to update a Data Safe private endpoint. UpdateDataSafePrivateEndpointDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the if-match parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique identifier for the request. 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 UpdateDataSafePrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDataSafePrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDataSafePrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDataSafePrivateEndpointRequest) String() string
UpdateDataSafePrivateEndpointResponse wrapper for the UpdateDataSafePrivateEndpoint operation
type UpdateDataSafePrivateEndpointResponse struct { // The underlying http response RawResponse *http.Response // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateDataSafePrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDataSafePrivateEndpointResponse) String() string
UpdateOnPremConnectorDetails The details used to update a on-premises connector.
type UpdateOnPremConnectorDetails struct { // The display name of the on-premises connector. The name does not have to be unique, and it's changeable. DisplayName *string `mandatory:"false" json:"displayName"` // The description of the on-premises connector. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateOnPremConnectorDetails) String() string
UpdateOnPremConnectorRequest wrapper for the UpdateOnPremConnector operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/UpdateOnPremConnector.go.html to see an example of how to use UpdateOnPremConnectorRequest.
type UpdateOnPremConnectorRequest struct { // The OCID of the on-premises connector. OnPremConnectorId *string `mandatory:"true" contributesTo:"path" name:"onPremConnectorId"` // The details used to update a on-premises connector. UpdateOnPremConnectorDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the if-match parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique identifier for the request. 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 UpdateOnPremConnectorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateOnPremConnectorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateOnPremConnectorRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateOnPremConnectorRequest) String() string
UpdateOnPremConnectorResponse wrapper for the UpdateOnPremConnector operation
type UpdateOnPremConnectorResponse struct { // The underlying http response RawResponse *http.Response // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateOnPremConnectorResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateOnPremConnectorResponse) String() string
UpdateOnPremConnectorWalletDetails The details used to update an on-premises connector's wallet.
type UpdateOnPremConnectorWalletDetails struct { // Indicates whether to update or not. If false, the wallet will not be updated. Default is false. IsUpdate *bool `mandatory:"false" json:"isUpdate"` }
func (m UpdateOnPremConnectorWalletDetails) String() string
UpdateOnPremConnectorWalletRequest wrapper for the UpdateOnPremConnectorWallet operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/UpdateOnPremConnectorWallet.go.html to see an example of how to use UpdateOnPremConnectorWalletRequest.
type UpdateOnPremConnectorWalletRequest struct { // The details used to update an on-premises connector's wallet. UpdateOnPremConnectorWalletDetails `contributesTo:"body"` // The OCID of the on-premises connector. OnPremConnectorId *string `mandatory:"true" contributesTo:"path" name:"onPremConnectorId"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the if-match parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique identifier for the request. 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 UpdateOnPremConnectorWalletRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateOnPremConnectorWalletRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateOnPremConnectorWalletRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateOnPremConnectorWalletRequest) String() string
UpdateOnPremConnectorWalletResponse wrapper for the UpdateOnPremConnectorWallet operation
type UpdateOnPremConnectorWalletResponse struct { // The underlying http response RawResponse *http.Response // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateOnPremConnectorWalletResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateOnPremConnectorWalletResponse) String() string
UpdateTargetDatabaseDetails The details of the database used for updating the target database in Data Safe.
type UpdateTargetDatabaseDetails struct { // The display name of the target database in Data Safe. DisplayName *string `mandatory:"false" json:"displayName"` // The description of the target database in Data Safe. Description *string `mandatory:"false" json:"description"` DatabaseDetails DatabaseDetails `mandatory:"false" json:"databaseDetails"` Credentials *Credentials `mandatory:"false" json:"credentials"` TlsConfig *TlsConfig `mandatory:"false" json:"tlsConfig"` ConnectionOption ConnectionOption `mandatory:"false" json:"connectionOption"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateTargetDatabaseDetails) String() string
func (m *UpdateTargetDatabaseDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
UpdateTargetDatabaseRequest wrapper for the UpdateTargetDatabase operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/43.1.0/datasafe/UpdateTargetDatabase.go.html to see an example of how to use UpdateTargetDatabaseRequest.
type UpdateTargetDatabaseRequest struct { // The OCID of the Data Safe target database. TargetDatabaseId *string `mandatory:"true" contributesTo:"path" name:"targetDatabaseId"` // Details used to update the target database in Data Safe. UpdateTargetDatabaseDetails `contributesTo:"body"` // Unique identifier for the request. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the if-match parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateTargetDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateTargetDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateTargetDatabaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateTargetDatabaseRequest) String() string
UpdateTargetDatabaseResponse wrapper for the UpdateTargetDatabase operation
type UpdateTargetDatabaseResponse struct { // The underlying http response RawResponse *http.Response // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateTargetDatabaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateTargetDatabaseResponse) String() string
WorkRequest An asynchronous work request.
type WorkRequest struct { // The resources that are affected by the work request. OperationType WorkRequestOperationTypeEnum `mandatory:"true" json:"operationType"` // The current status of the work request. Status WorkRequestStatusEnum `mandatory:"true" json:"status"` // The OCID of the work request. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment that contains the work request. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources that are affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // Progress of the work request in percentage. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the work request was accepted, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the work request transitioned from ACCEPTED to IN_PROGRESS, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the work request reached a terminal state, either FAILED or SUCCEEDED. Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
func (m WorkRequest) String() string
WorkRequestError An error related to a work request.
type WorkRequestError struct { // A machine-usable error code. For a list of common errors, see API Errors (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm). Code *string `mandatory:"true" json:"code"` // A human-readable error string. Message *string `mandatory:"true" json:"message"` // The date and time the error occurred, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestError) String() string
WorkRequestLogEntry A log entry related to a work request.
type WorkRequestLogEntry struct { // A human-readable log entry. Message *string `mandatory:"true" json:"message"` // The date and time the log entry was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestLogEntry) String() string
WorkRequestOperationTypeEnum Enum with underlying type: string
type WorkRequestOperationTypeEnum string
Set of constants representing the allowable values for WorkRequestOperationTypeEnum
const ( WorkRequestOperationTypeEnableDataSafeConfiguration WorkRequestOperationTypeEnum = "ENABLE_DATA_SAFE_CONFIGURATION" WorkRequestOperationTypeCreatePrivateEndpoint WorkRequestOperationTypeEnum = "CREATE_PRIVATE_ENDPOINT" WorkRequestOperationTypeUpdatePrivateEndpoint WorkRequestOperationTypeEnum = "UPDATE_PRIVATE_ENDPOINT" WorkRequestOperationTypeDeletePrivateEndpoint WorkRequestOperationTypeEnum = "DELETE_PRIVATE_ENDPOINT" WorkRequestOperationTypeChangePrivateEndpointCompartment WorkRequestOperationTypeEnum = "CHANGE_PRIVATE_ENDPOINT_COMPARTMENT" WorkRequestOperationTypeCreateOnpremConnector WorkRequestOperationTypeEnum = "CREATE_ONPREM_CONNECTOR" WorkRequestOperationTypeUpdateOnpremConnector WorkRequestOperationTypeEnum = "UPDATE_ONPREM_CONNECTOR" WorkRequestOperationTypeDeleteOnpremConnector WorkRequestOperationTypeEnum = "DELETE_ONPREM_CONNECTOR" WorkRequestOperationTypeUpdateOnpremConnectorWallet WorkRequestOperationTypeEnum = "UPDATE_ONPREM_CONNECTOR_WALLET" WorkRequestOperationTypeChangeOnpremConnectorCompartment WorkRequestOperationTypeEnum = "CHANGE_ONPREM_CONNECTOR_COMPARTMENT" WorkRequestOperationTypeCreateTargetDatabase WorkRequestOperationTypeEnum = "CREATE_TARGET_DATABASE" WorkRequestOperationTypeUpdateTargetDatabase WorkRequestOperationTypeEnum = "UPDATE_TARGET_DATABASE" WorkRequestOperationTypeActivateTargetDatabase WorkRequestOperationTypeEnum = "ACTIVATE_TARGET_DATABASE" WorkRequestOperationTypeDeactivateTargetDatabase WorkRequestOperationTypeEnum = "DEACTIVATE_TARGET_DATABASE" WorkRequestOperationTypeDeleteTargetDatabase WorkRequestOperationTypeEnum = "DELETE_TARGET_DATABASE" WorkRequestOperationTypeChangeTargetDatabaseCompartment WorkRequestOperationTypeEnum = "CHANGE_TARGET_DATABASE_COMPARTMENT" )
func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum
GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum
WorkRequestResource A resource that is created or operated on by an asynchronous operation that is tracked by a work request.
type WorkRequestResource struct { // The resource type impacted by the work request. EntityType *string `mandatory:"true" json:"entityType"` // The way in which this resource was affected by the operation that spawned the work request. // A resource being created, updated, or deleted will remain in the IN_PROGRESS state until // work is complete for that resource at which point it will transition to CREATED, UPDATED, // or DELETED, respectively. ActionType WorkRequestResourceActionTypeEnum `mandatory:"true" json:"actionType"` // An OCID or other unique identifier for the resource. Identifier *string `mandatory:"true" json:"identifier"` // The URI path that the user can use for a GET request to access the resource metadata. EntityUri *string `mandatory:"false" json:"entityUri"` }
func (m WorkRequestResource) String() string
WorkRequestResourceActionTypeEnum Enum with underlying type: string
type WorkRequestResourceActionTypeEnum string
Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum
const ( WorkRequestResourceActionTypeCreated WorkRequestResourceActionTypeEnum = "CREATED" WorkRequestResourceActionTypeUpdated WorkRequestResourceActionTypeEnum = "UPDATED" WorkRequestResourceActionTypeDeleted WorkRequestResourceActionTypeEnum = "DELETED" WorkRequestResourceActionTypeInProgress WorkRequestResourceActionTypeEnum = "IN_PROGRESS" )
func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum
GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum
WorkRequestStatusEnum Enum with underlying type: string
type WorkRequestStatusEnum string
Set of constants representing the allowable values for WorkRequestStatusEnum
const ( WorkRequestStatusAccepted WorkRequestStatusEnum = "ACCEPTED" WorkRequestStatusInProgress WorkRequestStatusEnum = "IN_PROGRESS" WorkRequestStatusFailed WorkRequestStatusEnum = "FAILED" WorkRequestStatusSucceeded WorkRequestStatusEnum = "SUCCEEDED" )
func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum
GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum
WorkRequestSummary Summary of a work request.
type WorkRequestSummary struct { // The asynchronous operation tracked by this work request. OperationType WorkRequestSummaryOperationTypeEnum `mandatory:"true" json:"operationType"` // The current status of the work request. Status WorkRequestSummaryStatusEnum `mandatory:"true" json:"status"` // The OCID of the work request. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment that contains the work request. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources that are affected by the work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // Progress of the work request in percentage. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the work request was accepted, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the work request transitioned from ACCEPTED to IN_PROGRESS, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the work request reached a terminal state, either FAILED or SUCCEEDED, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
func (m WorkRequestSummary) String() string
WorkRequestSummaryOperationTypeEnum Enum with underlying type: string
type WorkRequestSummaryOperationTypeEnum string
Set of constants representing the allowable values for WorkRequestSummaryOperationTypeEnum
const ( WorkRequestSummaryOperationTypeEnableDataSafeConfiguration WorkRequestSummaryOperationTypeEnum = "ENABLE_DATA_SAFE_CONFIGURATION" WorkRequestSummaryOperationTypeCreatePrivateEndpoint WorkRequestSummaryOperationTypeEnum = "CREATE_PRIVATE_ENDPOINT" WorkRequestSummaryOperationTypeUpdatePrivateEndpoint WorkRequestSummaryOperationTypeEnum = "UPDATE_PRIVATE_ENDPOINT" WorkRequestSummaryOperationTypeDeletePrivateEndpoint WorkRequestSummaryOperationTypeEnum = "DELETE_PRIVATE_ENDPOINT" WorkRequestSummaryOperationTypeChangePrivateEndpointCompartment WorkRequestSummaryOperationTypeEnum = "CHANGE_PRIVATE_ENDPOINT_COMPARTMENT" WorkRequestSummaryOperationTypeCreateOnpremConnector WorkRequestSummaryOperationTypeEnum = "CREATE_ONPREM_CONNECTOR" WorkRequestSummaryOperationTypeUpdateOnpremConnector WorkRequestSummaryOperationTypeEnum = "UPDATE_ONPREM_CONNECTOR" WorkRequestSummaryOperationTypeDeleteOnpremConnector WorkRequestSummaryOperationTypeEnum = "DELETE_ONPREM_CONNECTOR" WorkRequestSummaryOperationTypeUpdateOnpremConnectorWallet WorkRequestSummaryOperationTypeEnum = "UPDATE_ONPREM_CONNECTOR_WALLET" WorkRequestSummaryOperationTypeChangeOnpremConnectorCompartment WorkRequestSummaryOperationTypeEnum = "CHANGE_ONPREM_CONNECTOR_COMPARTMENT" WorkRequestSummaryOperationTypeCreateTargetDatabase WorkRequestSummaryOperationTypeEnum = "CREATE_TARGET_DATABASE" WorkRequestSummaryOperationTypeUpdateTargetDatabase WorkRequestSummaryOperationTypeEnum = "UPDATE_TARGET_DATABASE" WorkRequestSummaryOperationTypeActivateTargetDatabase WorkRequestSummaryOperationTypeEnum = "ACTIVATE_TARGET_DATABASE" WorkRequestSummaryOperationTypeDeactivateTargetDatabase WorkRequestSummaryOperationTypeEnum = "DEACTIVATE_TARGET_DATABASE" WorkRequestSummaryOperationTypeDeleteTargetDatabase WorkRequestSummaryOperationTypeEnum = "DELETE_TARGET_DATABASE" WorkRequestSummaryOperationTypeChangeTargetDatabaseCompartment WorkRequestSummaryOperationTypeEnum = "CHANGE_TARGET_DATABASE_COMPARTMENT" )
func GetWorkRequestSummaryOperationTypeEnumValues() []WorkRequestSummaryOperationTypeEnum
GetWorkRequestSummaryOperationTypeEnumValues Enumerates the set of values for WorkRequestSummaryOperationTypeEnum
WorkRequestSummaryStatusEnum Enum with underlying type: string
type WorkRequestSummaryStatusEnum string
Set of constants representing the allowable values for WorkRequestSummaryStatusEnum
const ( WorkRequestSummaryStatusAccepted WorkRequestSummaryStatusEnum = "ACCEPTED" WorkRequestSummaryStatusInProgress WorkRequestSummaryStatusEnum = "IN_PROGRESS" WorkRequestSummaryStatusFailed WorkRequestSummaryStatusEnum = "FAILED" WorkRequestSummaryStatusSucceeded WorkRequestSummaryStatusEnum = "SUCCEEDED" )
func GetWorkRequestSummaryStatusEnumValues() []WorkRequestSummaryStatusEnum
GetWorkRequestSummaryStatusEnumValues Enumerates the set of values for WorkRequestSummaryStatusEnum