func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetAddResourceLockDetailsTypeEnumStringValues() []string
GetAddResourceLockDetailsTypeEnumStringValues Enumerates the set of values in String for AddResourceLockDetailsTypeEnum
func GetAuthenticationTypeEnumStringValues() []string
GetAuthenticationTypeEnumStringValues Enumerates the set of values in String for AuthenticationTypeEnum
func GetConnectionTypeEnumStringValues() []string
GetConnectionTypeEnumStringValues Enumerates the set of values in String for ConnectionTypeEnum
func GetDatabaseApiGatewayConfigMetadataSourceEnumStringValues() []string
GetDatabaseApiGatewayConfigMetadataSourceEnumStringValues Enumerates the set of values in String for DatabaseApiGatewayConfigMetadataSourceEnum
func GetDatabaseApiGatewayConfigTypeEnumStringValues() []string
GetDatabaseApiGatewayConfigTypeEnumStringValues Enumerates the set of values in String for DatabaseApiGatewayConfigTypeEnum
func GetDatabaseToolsCustomSqlToolToolsetSourceTypeEnumStringValues() []string
GetDatabaseToolsCustomSqlToolToolsetSourceTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsCustomSqlToolToolsetSourceTypeEnum
func GetDatabaseToolsDatabaseApiGatewayConfigLifecycleStateEnumStringValues() []string
GetDatabaseToolsDatabaseApiGatewayConfigLifecycleStateEnumStringValues Enumerates the set of values in String for DatabaseToolsDatabaseApiGatewayConfigLifecycleStateEnum
func GetDatabaseToolsExternalAuthenticationStatusEnumStringValues() []string
GetDatabaseToolsExternalAuthenticationStatusEnumStringValues Enumerates the set of values in String for DatabaseToolsExternalAuthenticationStatusEnum
func GetDatabaseToolsIdentityLifecycleStateEnumStringValues() []string
GetDatabaseToolsIdentityLifecycleStateEnumStringValues Enumerates the set of values in String for DatabaseToolsIdentityLifecycleStateEnum
func GetDatabaseToolsIdentityStatusEnumStringValues() []string
GetDatabaseToolsIdentityStatusEnumStringValues Enumerates the set of values in String for DatabaseToolsIdentityStatusEnum
func GetDatabaseToolsKeyStoreContentDetailsValueTypeEnumStringValues() []string
GetDatabaseToolsKeyStoreContentDetailsValueTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsKeyStoreContentDetailsValueTypeEnum
func GetDatabaseToolsKeyStoreContentGenericJdbcDetailsValueTypeEnumStringValues() []string
GetDatabaseToolsKeyStoreContentGenericJdbcDetailsValueTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsKeyStoreContentGenericJdbcDetailsValueTypeEnum
func GetDatabaseToolsKeyStoreContentGenericJdbcSummaryValueTypeEnumStringValues() []string
GetDatabaseToolsKeyStoreContentGenericJdbcSummaryValueTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsKeyStoreContentGenericJdbcSummaryValueTypeEnum
func GetDatabaseToolsKeyStoreContentGenericJdbcValueTypeEnumStringValues() []string
GetDatabaseToolsKeyStoreContentGenericJdbcValueTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsKeyStoreContentGenericJdbcValueTypeEnum
func GetDatabaseToolsKeyStoreContentMySqlDetailsValueTypeEnumStringValues() []string
GetDatabaseToolsKeyStoreContentMySqlDetailsValueTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsKeyStoreContentMySqlDetailsValueTypeEnum
func GetDatabaseToolsKeyStoreContentMySqlSummaryValueTypeEnumStringValues() []string
GetDatabaseToolsKeyStoreContentMySqlSummaryValueTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsKeyStoreContentMySqlSummaryValueTypeEnum
func GetDatabaseToolsKeyStoreContentMySqlValueTypeEnumStringValues() []string
GetDatabaseToolsKeyStoreContentMySqlValueTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsKeyStoreContentMySqlValueTypeEnum
func GetDatabaseToolsKeyStoreContentPostgresqlDetailsValueTypeEnumStringValues() []string
GetDatabaseToolsKeyStoreContentPostgresqlDetailsValueTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsKeyStoreContentPostgresqlDetailsValueTypeEnum
func GetDatabaseToolsKeyStoreContentPostgresqlSummaryValueTypeEnumStringValues() []string
GetDatabaseToolsKeyStoreContentPostgresqlSummaryValueTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsKeyStoreContentPostgresqlSummaryValueTypeEnum
func GetDatabaseToolsKeyStoreContentPostgresqlValueTypeEnumStringValues() []string
GetDatabaseToolsKeyStoreContentPostgresqlValueTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsKeyStoreContentPostgresqlValueTypeEnum
func GetDatabaseToolsKeyStoreContentSummaryValueTypeEnumStringValues() []string
GetDatabaseToolsKeyStoreContentSummaryValueTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsKeyStoreContentSummaryValueTypeEnum
func GetDatabaseToolsKeyStoreContentValueTypeEnumStringValues() []string
GetDatabaseToolsKeyStoreContentValueTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsKeyStoreContentValueTypeEnum
func GetDatabaseToolsKeyStorePasswordDetailsValueTypeEnumStringValues() []string
GetDatabaseToolsKeyStorePasswordDetailsValueTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsKeyStorePasswordDetailsValueTypeEnum
func GetDatabaseToolsKeyStorePasswordGenericJdbcDetailsValueTypeEnumStringValues() []string
GetDatabaseToolsKeyStorePasswordGenericJdbcDetailsValueTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsKeyStorePasswordGenericJdbcDetailsValueTypeEnum
func GetDatabaseToolsKeyStorePasswordGenericJdbcSummaryValueTypeEnumStringValues() []string
GetDatabaseToolsKeyStorePasswordGenericJdbcSummaryValueTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsKeyStorePasswordGenericJdbcSummaryValueTypeEnum
func GetDatabaseToolsKeyStorePasswordGenericJdbcValueTypeEnumStringValues() []string
GetDatabaseToolsKeyStorePasswordGenericJdbcValueTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsKeyStorePasswordGenericJdbcValueTypeEnum
func GetDatabaseToolsKeyStorePasswordMySqlDetailsValueTypeEnumStringValues() []string
GetDatabaseToolsKeyStorePasswordMySqlDetailsValueTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsKeyStorePasswordMySqlDetailsValueTypeEnum
func GetDatabaseToolsKeyStorePasswordMySqlSummaryValueTypeEnumStringValues() []string
GetDatabaseToolsKeyStorePasswordMySqlSummaryValueTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsKeyStorePasswordMySqlSummaryValueTypeEnum
func GetDatabaseToolsKeyStorePasswordMySqlValueTypeEnumStringValues() []string
GetDatabaseToolsKeyStorePasswordMySqlValueTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsKeyStorePasswordMySqlValueTypeEnum
func GetDatabaseToolsKeyStorePasswordPostgresqlDetailsValueTypeEnumStringValues() []string
GetDatabaseToolsKeyStorePasswordPostgresqlDetailsValueTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsKeyStorePasswordPostgresqlDetailsValueTypeEnum
func GetDatabaseToolsKeyStorePasswordPostgresqlSummaryValueTypeEnumStringValues() []string
GetDatabaseToolsKeyStorePasswordPostgresqlSummaryValueTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsKeyStorePasswordPostgresqlSummaryValueTypeEnum
func GetDatabaseToolsKeyStorePasswordPostgresqlValueTypeEnumStringValues() []string
GetDatabaseToolsKeyStorePasswordPostgresqlValueTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsKeyStorePasswordPostgresqlValueTypeEnum
func GetDatabaseToolsKeyStorePasswordSummaryValueTypeEnumStringValues() []string
GetDatabaseToolsKeyStorePasswordSummaryValueTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsKeyStorePasswordSummaryValueTypeEnum
func GetDatabaseToolsKeyStorePasswordValueTypeEnumStringValues() []string
GetDatabaseToolsKeyStorePasswordValueTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsKeyStorePasswordValueTypeEnum
func GetDatabaseToolsMcpServerLifecycleStateEnumStringValues() []string
GetDatabaseToolsMcpServerLifecycleStateEnumStringValues Enumerates the set of values in String for DatabaseToolsMcpServerLifecycleStateEnum
func GetDatabaseToolsMcpServerRelatedResourceEntityTypeEnumStringValues() []string
GetDatabaseToolsMcpServerRelatedResourceEntityTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsMcpServerRelatedResourceEntityTypeEnum
func GetDatabaseToolsMcpServerRuntimeIdentityEnumStringValues() []string
GetDatabaseToolsMcpServerRuntimeIdentityEnumStringValues Enumerates the set of values in String for DatabaseToolsMcpServerRuntimeIdentityEnum
func GetDatabaseToolsMcpServerStorageTypeEnumStringValues() []string
GetDatabaseToolsMcpServerStorageTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsMcpServerStorageTypeEnum
func GetDatabaseToolsMcpServerTypeEnumStringValues() []string
GetDatabaseToolsMcpServerTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsMcpServerTypeEnum
func GetDatabaseToolsMcpToolsetDefaultExecutionTypeEnumStringValues() []string
GetDatabaseToolsMcpToolsetDefaultExecutionTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsMcpToolsetDefaultExecutionTypeEnum
func GetDatabaseToolsMcpToolsetLifecycleStateEnumStringValues() []string
GetDatabaseToolsMcpToolsetLifecycleStateEnumStringValues Enumerates the set of values in String for DatabaseToolsMcpToolsetLifecycleStateEnum
func GetDatabaseToolsMcpToolsetToolStatusEnumStringValues() []string
GetDatabaseToolsMcpToolsetToolStatusEnumStringValues Enumerates the set of values in String for DatabaseToolsMcpToolsetToolStatusEnum
func GetDatabaseToolsMcpToolsetTypeEnumStringValues() []string
GetDatabaseToolsMcpToolsetTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsMcpToolsetTypeEnum
func GetDatabaseToolsMcpToolsetVersionTypeEnumStringValues() []string
GetDatabaseToolsMcpToolsetVersionTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsMcpToolsetVersionTypeEnum
func GetDatabaseToolsSqlReportLifecycleStateEnumStringValues() []string
GetDatabaseToolsSqlReportLifecycleStateEnumStringValues Enumerates the set of values in String for DatabaseToolsSqlReportLifecycleStateEnum
func GetDatabaseToolsSqlReportTypeEnumStringValues() []string
GetDatabaseToolsSqlReportTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsSqlReportTypeEnum
func GetDatabaseToolsUserPasswordDetailsValueTypeEnumStringValues() []string
GetDatabaseToolsUserPasswordDetailsValueTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsUserPasswordDetailsValueTypeEnum
func GetDatabaseToolsUserPasswordSummaryValueTypeEnumStringValues() []string
GetDatabaseToolsUserPasswordSummaryValueTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsUserPasswordSummaryValueTypeEnum
func GetDatabaseToolsUserPasswordValueTypeEnumStringValues() []string
GetDatabaseToolsUserPasswordValueTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsUserPasswordValueTypeEnum
func GetDbmsCloudStatusEnumStringValues() []string
GetDbmsCloudStatusEnumStringValues Enumerates the set of values in String for DbmsCloudStatusEnum
func GetIdentityProviderTypeEnumStringValues() []string
GetIdentityProviderTypeEnumStringValues Enumerates the set of values in String for IdentityProviderTypeEnum
func GetIdentityTypeEnumStringValues() []string
GetIdentityTypeEnumStringValues Enumerates the set of values in String for IdentityTypeEnum
func GetKeyStoreTypeEnumStringValues() []string
GetKeyStoreTypeEnumStringValues Enumerates the set of values in String for KeyStoreTypeEnum
func GetKeyStoreTypeGenericJdbcEnumStringValues() []string
GetKeyStoreTypeGenericJdbcEnumStringValues Enumerates the set of values in String for KeyStoreTypeGenericJdbcEnum
func GetKeyStoreTypeMySqlEnumStringValues() []string
GetKeyStoreTypeMySqlEnumStringValues Enumerates the set of values in String for KeyStoreTypeMySqlEnum
func GetKeyStoreTypePostgresqlEnumStringValues() []string
GetKeyStoreTypePostgresqlEnumStringValues Enumerates the set of values in String for KeyStoreTypePostgresqlEnum
func GetLifecycleStateEnumStringValues() []string
GetLifecycleStateEnumStringValues Enumerates the set of values in String for LifecycleStateEnum
func GetListDatabaseToolsConnectionsLifecycleStateEnumStringValues() []string
GetListDatabaseToolsConnectionsLifecycleStateEnumStringValues Enumerates the set of values in String for ListDatabaseToolsConnectionsLifecycleStateEnum
func GetListDatabaseToolsConnectionsSortByEnumStringValues() []string
GetListDatabaseToolsConnectionsSortByEnumStringValues Enumerates the set of values in String for ListDatabaseToolsConnectionsSortByEnum
func GetListDatabaseToolsConnectionsSortOrderEnumStringValues() []string
GetListDatabaseToolsConnectionsSortOrderEnumStringValues Enumerates the set of values in String for ListDatabaseToolsConnectionsSortOrderEnum
func GetListDatabaseToolsDatabaseApiGatewayConfigsLifecycleStateEnumStringValues() []string
GetListDatabaseToolsDatabaseApiGatewayConfigsLifecycleStateEnumStringValues Enumerates the set of values in String for ListDatabaseToolsDatabaseApiGatewayConfigsLifecycleStateEnum
func GetListDatabaseToolsDatabaseApiGatewayConfigsSortByEnumStringValues() []string
GetListDatabaseToolsDatabaseApiGatewayConfigsSortByEnumStringValues Enumerates the set of values in String for ListDatabaseToolsDatabaseApiGatewayConfigsSortByEnum
func GetListDatabaseToolsDatabaseApiGatewayConfigsSortOrderEnumStringValues() []string
GetListDatabaseToolsDatabaseApiGatewayConfigsSortOrderEnumStringValues Enumerates the set of values in String for ListDatabaseToolsDatabaseApiGatewayConfigsSortOrderEnum
func GetListDatabaseToolsEndpointServicesLifecycleStateEnumStringValues() []string
GetListDatabaseToolsEndpointServicesLifecycleStateEnumStringValues Enumerates the set of values in String for ListDatabaseToolsEndpointServicesLifecycleStateEnum
func GetListDatabaseToolsEndpointServicesSortByEnumStringValues() []string
GetListDatabaseToolsEndpointServicesSortByEnumStringValues Enumerates the set of values in String for ListDatabaseToolsEndpointServicesSortByEnum
func GetListDatabaseToolsEndpointServicesSortOrderEnumStringValues() []string
GetListDatabaseToolsEndpointServicesSortOrderEnumStringValues Enumerates the set of values in String for ListDatabaseToolsEndpointServicesSortOrderEnum
func GetListDatabaseToolsIdentitiesLifecycleStateEnumStringValues() []string
GetListDatabaseToolsIdentitiesLifecycleStateEnumStringValues Enumerates the set of values in String for ListDatabaseToolsIdentitiesLifecycleStateEnum
func GetListDatabaseToolsIdentitiesSortByEnumStringValues() []string
GetListDatabaseToolsIdentitiesSortByEnumStringValues Enumerates the set of values in String for ListDatabaseToolsIdentitiesSortByEnum
func GetListDatabaseToolsIdentitiesSortOrderEnumStringValues() []string
GetListDatabaseToolsIdentitiesSortOrderEnumStringValues Enumerates the set of values in String for ListDatabaseToolsIdentitiesSortOrderEnum
func GetListDatabaseToolsMcpServersLifecycleStateEnumStringValues() []string
GetListDatabaseToolsMcpServersLifecycleStateEnumStringValues Enumerates the set of values in String for ListDatabaseToolsMcpServersLifecycleStateEnum
func GetListDatabaseToolsMcpServersSortByEnumStringValues() []string
GetListDatabaseToolsMcpServersSortByEnumStringValues Enumerates the set of values in String for ListDatabaseToolsMcpServersSortByEnum
func GetListDatabaseToolsMcpServersSortOrderEnumStringValues() []string
GetListDatabaseToolsMcpServersSortOrderEnumStringValues Enumerates the set of values in String for ListDatabaseToolsMcpServersSortOrderEnum
func GetListDatabaseToolsMcpToolsetsLifecycleStateEnumStringValues() []string
GetListDatabaseToolsMcpToolsetsLifecycleStateEnumStringValues Enumerates the set of values in String for ListDatabaseToolsMcpToolsetsLifecycleStateEnum
func GetListDatabaseToolsMcpToolsetsSortByEnumStringValues() []string
GetListDatabaseToolsMcpToolsetsSortByEnumStringValues Enumerates the set of values in String for ListDatabaseToolsMcpToolsetsSortByEnum
func GetListDatabaseToolsMcpToolsetsSortOrderEnumStringValues() []string
GetListDatabaseToolsMcpToolsetsSortOrderEnumStringValues Enumerates the set of values in String for ListDatabaseToolsMcpToolsetsSortOrderEnum
func GetListDatabaseToolsPrivateEndpointsLifecycleStateEnumStringValues() []string
GetListDatabaseToolsPrivateEndpointsLifecycleStateEnumStringValues Enumerates the set of values in String for ListDatabaseToolsPrivateEndpointsLifecycleStateEnum
func GetListDatabaseToolsPrivateEndpointsSortByEnumStringValues() []string
GetListDatabaseToolsPrivateEndpointsSortByEnumStringValues Enumerates the set of values in String for ListDatabaseToolsPrivateEndpointsSortByEnum
func GetListDatabaseToolsPrivateEndpointsSortOrderEnumStringValues() []string
GetListDatabaseToolsPrivateEndpointsSortOrderEnumStringValues Enumerates the set of values in String for ListDatabaseToolsPrivateEndpointsSortOrderEnum
func GetListDatabaseToolsSqlReportsLifecycleStateEnumStringValues() []string
GetListDatabaseToolsSqlReportsLifecycleStateEnumStringValues Enumerates the set of values in String for ListDatabaseToolsSqlReportsLifecycleStateEnum
func GetListDatabaseToolsSqlReportsSortByEnumStringValues() []string
GetListDatabaseToolsSqlReportsSortByEnumStringValues Enumerates the set of values in String for ListDatabaseToolsSqlReportsSortByEnum
func GetListDatabaseToolsSqlReportsSortOrderEnumStringValues() []string
GetListDatabaseToolsSqlReportsSortOrderEnumStringValues Enumerates the set of values in String for ListDatabaseToolsSqlReportsSortOrderEnum
func GetListWorkRequestErrorsSortByEnumStringValues() []string
GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestLogsSortByEnumStringValues() []string
GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestsSortByEnumStringValues() []string
GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortOrderEnumStringValues() []string
GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum
func GetOperationStatusEnumStringValues() []string
GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
func GetOperationTypeEnumStringValues() []string
GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum
func GetProxyAuthenticationTypeEnumStringValues() []string
GetProxyAuthenticationTypeEnumStringValues Enumerates the set of values in String for ProxyAuthenticationTypeEnum
func GetRelatedResourceEntityTypeEnumStringValues() []string
GetRelatedResourceEntityTypeEnumStringValues Enumerates the set of values in String for RelatedResourceEntityTypeEnum
func GetRelatedResourceEntityTypeMySqlEnumStringValues() []string
GetRelatedResourceEntityTypeMySqlEnumStringValues Enumerates the set of values in String for RelatedResourceEntityTypeMySqlEnum
func GetRelatedResourceEntityTypePostgresqlEnumStringValues() []string
GetRelatedResourceEntityTypePostgresqlEnumStringValues Enumerates the set of values in String for RelatedResourceEntityTypePostgresqlEnum
func GetRemoveResourceLockDetailsTypeEnumStringValues() []string
GetRemoveResourceLockDetailsTypeEnumStringValues Enumerates the set of values in String for RemoveResourceLockDetailsTypeEnum
func GetResourceLockTypeEnumStringValues() []string
GetResourceLockTypeEnumStringValues Enumerates the set of values in String for ResourceLockTypeEnum
func GetRuntimeIdentityEnumStringValues() []string
GetRuntimeIdentityEnumStringValues Enumerates the set of values in String for RuntimeIdentityEnum
func GetRuntimeSupportEnumStringValues() []string
GetRuntimeSupportEnumStringValues Enumerates the set of values in String for RuntimeSupportEnum
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
ActionTypeEnum Enum with underlying type: string
type ActionTypeEnum string
Set of constants representing the allowable values for ActionTypeEnum
const (
ActionTypeCreated ActionTypeEnum = "CREATED"
ActionTypeUpdated ActionTypeEnum = "UPDATED"
ActionTypeDeleted ActionTypeEnum = "DELETED"
ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS"
ActionTypeRelated ActionTypeEnum = "RELATED"
)
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AddDatabaseToolsConnectionLockRequest wrapper for the AddDatabaseToolsConnectionLock operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/AddDatabaseToolsConnectionLock.go.html to see an example of how to use AddDatabaseToolsConnectionLockRequest.
type AddDatabaseToolsConnectionLockRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools connection.
DatabaseToolsConnectionId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsConnectionId"`
// AddResourceLockDetails body parameter
AddResourceLockDetails `contributesTo:"body"`
// Unique identifier for the request.
// If you need to contact Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
// parameter to the value of the etag from a previous GET or POST response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request AddDatabaseToolsConnectionLockRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AddDatabaseToolsConnectionLockRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AddDatabaseToolsConnectionLockRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AddDatabaseToolsConnectionLockRequest) String() string
func (request AddDatabaseToolsConnectionLockRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddDatabaseToolsConnectionLockResponse wrapper for the AddDatabaseToolsConnectionLock operation
type AddDatabaseToolsConnectionLockResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsConnection instance
DatabaseToolsConnection `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"`
// etag for the returned DatabaseToolsConnection resource.
Etag *string `presentIn:"header" name:"etag"`
}
func (response AddDatabaseToolsConnectionLockResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AddDatabaseToolsConnectionLockResponse) String() string
AddDatabaseToolsDatabaseApiGatewayConfigLockRequest wrapper for the AddDatabaseToolsDatabaseApiGatewayConfigLock operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/AddDatabaseToolsDatabaseApiGatewayConfigLock.go.html to see an example of how to use AddDatabaseToolsDatabaseApiGatewayConfigLockRequest.
type AddDatabaseToolsDatabaseApiGatewayConfigLockRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools database API gateway config.
DatabaseToolsDatabaseApiGatewayConfigId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsDatabaseApiGatewayConfigId"`
// AddResourceLockDetails body parameter
AddResourceLockDetails `contributesTo:"body"`
// Unique identifier for the request.
// If you need to contact Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
// parameter to the value of the etag from a previous GET or POST response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request AddDatabaseToolsDatabaseApiGatewayConfigLockRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AddDatabaseToolsDatabaseApiGatewayConfigLockRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AddDatabaseToolsDatabaseApiGatewayConfigLockRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AddDatabaseToolsDatabaseApiGatewayConfigLockRequest) String() string
func (request AddDatabaseToolsDatabaseApiGatewayConfigLockRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddDatabaseToolsDatabaseApiGatewayConfigLockResponse wrapper for the AddDatabaseToolsDatabaseApiGatewayConfigLock operation
type AddDatabaseToolsDatabaseApiGatewayConfigLockResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsDatabaseApiGatewayConfig instance
DatabaseToolsDatabaseApiGatewayConfig `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"`
// etag for the returned DatabaseToolsDatabaseApiGatewayConfig resource.
Etag *string `presentIn:"header" name:"etag"`
}
func (response AddDatabaseToolsDatabaseApiGatewayConfigLockResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AddDatabaseToolsDatabaseApiGatewayConfigLockResponse) String() string
AddDatabaseToolsIdentityLockRequest wrapper for the AddDatabaseToolsIdentityLock operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/AddDatabaseToolsIdentityLock.go.html to see an example of how to use AddDatabaseToolsIdentityLockRequest.
type AddDatabaseToolsIdentityLockRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools identity.
DatabaseToolsIdentityId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsIdentityId"`
// AddResourceLockDetails body parameter
AddResourceLockDetails `contributesTo:"body"`
// Unique identifier for the request.
// If you need to contact Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
// parameter to the value of the etag from a previous GET or POST response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request AddDatabaseToolsIdentityLockRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AddDatabaseToolsIdentityLockRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AddDatabaseToolsIdentityLockRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AddDatabaseToolsIdentityLockRequest) String() string
func (request AddDatabaseToolsIdentityLockRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddDatabaseToolsIdentityLockResponse wrapper for the AddDatabaseToolsIdentityLock operation
type AddDatabaseToolsIdentityLockResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsIdentity instance
DatabaseToolsIdentity `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"`
// etag for the returned DatabaseToolsIdentity resource.
Etag *string `presentIn:"header" name:"etag"`
}
func (response AddDatabaseToolsIdentityLockResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AddDatabaseToolsIdentityLockResponse) String() string
AddDatabaseToolsMcpServerLockRequest wrapper for the AddDatabaseToolsMcpServerLock operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/AddDatabaseToolsMcpServerLock.go.html to see an example of how to use AddDatabaseToolsMcpServerLockRequest.
type AddDatabaseToolsMcpServerLockRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools MCP server.
DatabaseToolsMcpServerId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsMcpServerId"`
// AddResourceLockDetails body parameter
AddResourceLockDetails `contributesTo:"body"`
// Unique identifier for the request.
// If you need to contact Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
// parameter to the value of the etag from a previous GET or POST response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request AddDatabaseToolsMcpServerLockRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AddDatabaseToolsMcpServerLockRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AddDatabaseToolsMcpServerLockRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AddDatabaseToolsMcpServerLockRequest) String() string
func (request AddDatabaseToolsMcpServerLockRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddDatabaseToolsMcpServerLockResponse wrapper for the AddDatabaseToolsMcpServerLock operation
type AddDatabaseToolsMcpServerLockResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsMcpServer instance
DatabaseToolsMcpServer `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"`
// etag for the returned DatabaseToolsMcpServer resource.
Etag *string `presentIn:"header" name:"etag"`
}
func (response AddDatabaseToolsMcpServerLockResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AddDatabaseToolsMcpServerLockResponse) String() string
AddDatabaseToolsMcpToolsetLockRequest wrapper for the AddDatabaseToolsMcpToolsetLock operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/AddDatabaseToolsMcpToolsetLock.go.html to see an example of how to use AddDatabaseToolsMcpToolsetLockRequest.
type AddDatabaseToolsMcpToolsetLockRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools MCP Toolset.
DatabaseToolsMcpToolsetId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsMcpToolsetId"`
// AddResourceLockDetails body parameter
AddResourceLockDetails `contributesTo:"body"`
// Unique identifier for the request.
// If you need to contact Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
// parameter to the value of the etag from a previous GET or POST response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request AddDatabaseToolsMcpToolsetLockRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AddDatabaseToolsMcpToolsetLockRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AddDatabaseToolsMcpToolsetLockRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AddDatabaseToolsMcpToolsetLockRequest) String() string
func (request AddDatabaseToolsMcpToolsetLockRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddDatabaseToolsMcpToolsetLockResponse wrapper for the AddDatabaseToolsMcpToolsetLock operation
type AddDatabaseToolsMcpToolsetLockResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsMcpToolset instance
DatabaseToolsMcpToolset `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"`
// etag for the returned DatabaseToolsMcpToolset resource.
Etag *string `presentIn:"header" name:"etag"`
}
func (response AddDatabaseToolsMcpToolsetLockResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AddDatabaseToolsMcpToolsetLockResponse) String() string
AddDatabaseToolsPrivateEndpointLockRequest wrapper for the AddDatabaseToolsPrivateEndpointLock operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/AddDatabaseToolsPrivateEndpointLock.go.html to see an example of how to use AddDatabaseToolsPrivateEndpointLockRequest.
type AddDatabaseToolsPrivateEndpointLockRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools private endpoint.
DatabaseToolsPrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsPrivateEndpointId"`
// AddResourceLockDetails body parameter
AddResourceLockDetails `contributesTo:"body"`
// Unique identifier for the request.
// If you need to contact Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
// parameter to the value of the etag from a previous GET or POST response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request AddDatabaseToolsPrivateEndpointLockRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AddDatabaseToolsPrivateEndpointLockRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AddDatabaseToolsPrivateEndpointLockRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AddDatabaseToolsPrivateEndpointLockRequest) String() string
func (request AddDatabaseToolsPrivateEndpointLockRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddDatabaseToolsPrivateEndpointLockResponse wrapper for the AddDatabaseToolsPrivateEndpointLock operation
type AddDatabaseToolsPrivateEndpointLockResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsPrivateEndpoint instance
DatabaseToolsPrivateEndpoint `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"`
// etag for the returned DatabaseToolsPrivateEndpoint resource.
Etag *string `presentIn:"header" name:"etag"`
}
func (response AddDatabaseToolsPrivateEndpointLockResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AddDatabaseToolsPrivateEndpointLockResponse) String() string
AddDatabaseToolsSqlReportLockRequest wrapper for the AddDatabaseToolsSqlReportLock operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/AddDatabaseToolsSqlReportLock.go.html to see an example of how to use AddDatabaseToolsSqlReportLockRequest.
type AddDatabaseToolsSqlReportLockRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools SQL Report.
DatabaseToolsSqlReportId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsSqlReportId"`
// AddResourceLockDetails body parameter
AddResourceLockDetails `contributesTo:"body"`
// Unique identifier for the request.
// If you need to contact Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
// parameter to the value of the etag from a previous GET or POST response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request AddDatabaseToolsSqlReportLockRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AddDatabaseToolsSqlReportLockRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AddDatabaseToolsSqlReportLockRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AddDatabaseToolsSqlReportLockRequest) String() string
func (request AddDatabaseToolsSqlReportLockRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddDatabaseToolsSqlReportLockResponse wrapper for the AddDatabaseToolsSqlReportLock operation
type AddDatabaseToolsSqlReportLockResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsSqlReport instance
DatabaseToolsSqlReport `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"`
// etag for the returned DatabaseToolsSqlReport resource.
Etag *string `presentIn:"header" name:"etag"`
}
func (response AddDatabaseToolsSqlReportLockResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AddDatabaseToolsSqlReportLockResponse) String() string
AddResourceLockDetails The representation of AddResourceLockDetails
type AddResourceLockDetails struct {
// Type of the lock.
Type AddResourceLockDetailsTypeEnum `mandatory:"true" json:"type"`
// The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
RelatedResourceId *string `mandatory:"false" json:"relatedResourceId"`
// A message added by the creator of the lock. This is typically used to give an
// indication of why the resource is locked.
Message *string `mandatory:"false" json:"message"`
// When the lock was created.
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}
func (m AddResourceLockDetails) String() string
func (m AddResourceLockDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddResourceLockDetailsTypeEnum Enum with underlying type: string
type AddResourceLockDetailsTypeEnum string
Set of constants representing the allowable values for AddResourceLockDetailsTypeEnum
const (
AddResourceLockDetailsTypeFull AddResourceLockDetailsTypeEnum = "FULL"
AddResourceLockDetailsTypeDelete AddResourceLockDetailsTypeEnum = "DELETE"
)
func GetAddResourceLockDetailsTypeEnumValues() []AddResourceLockDetailsTypeEnum
GetAddResourceLockDetailsTypeEnumValues Enumerates the set of values for AddResourceLockDetailsTypeEnum
func GetMappingAddResourceLockDetailsTypeEnum(val string) (AddResourceLockDetailsTypeEnum, bool)
GetMappingAddResourceLockDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AuthenticationTypeEnum Enum with underlying type: string
type AuthenticationTypeEnum string
Set of constants representing the allowable values for AuthenticationTypeEnum
const (
AuthenticationTypeToken AuthenticationTypeEnum = "TOKEN"
AuthenticationTypePassword AuthenticationTypeEnum = "PASSWORD"
)
func GetAuthenticationTypeEnumValues() []AuthenticationTypeEnum
GetAuthenticationTypeEnumValues Enumerates the set of values for AuthenticationTypeEnum
func GetMappingAuthenticationTypeEnum(val string) (AuthenticationTypeEnum, bool)
GetMappingAuthenticationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CascadingDeleteDatabaseToolsMcpServerRequest wrapper for the CascadingDeleteDatabaseToolsMcpServer operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/CascadingDeleteDatabaseToolsMcpServer.go.html to see an example of how to use CascadingDeleteDatabaseToolsMcpServerRequest.
type CascadingDeleteDatabaseToolsMcpServerRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools MCP server.
DatabaseToolsMcpServerId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsMcpServerId"`
// 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"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request CascadingDeleteDatabaseToolsMcpServerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CascadingDeleteDatabaseToolsMcpServerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CascadingDeleteDatabaseToolsMcpServerRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CascadingDeleteDatabaseToolsMcpServerRequest) String() string
func (request CascadingDeleteDatabaseToolsMcpServerRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CascadingDeleteDatabaseToolsMcpServerResponse wrapper for the CascadingDeleteDatabaseToolsMcpServer operation
type CascadingDeleteDatabaseToolsMcpServerResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// 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 CascadingDeleteDatabaseToolsMcpServerResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CascadingDeleteDatabaseToolsMcpServerResponse) String() string
ChangeDatabaseToolsConnectionCompartmentDetails Contains the details for the compartment to move the Database Tools connection to.
type ChangeDatabaseToolsConnectionCompartmentDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the Database Tools connection to.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
func (m ChangeDatabaseToolsConnectionCompartmentDetails) String() string
func (m ChangeDatabaseToolsConnectionCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDatabaseToolsConnectionCompartmentRequest wrapper for the ChangeDatabaseToolsConnectionCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ChangeDatabaseToolsConnectionCompartment.go.html to see an example of how to use ChangeDatabaseToolsConnectionCompartmentRequest.
type ChangeDatabaseToolsConnectionCompartmentRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools connection.
DatabaseToolsConnectionId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsConnectionId"`
// Request to change the compartment of the Database Tools connection.
ChangeDatabaseToolsConnectionCompartmentDetails `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"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Whether to override locks (if any exist).
IsLockOverride *bool `mandatory:"false" contributesTo:"query" name:"isLockOverride"`
// 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 ChangeDatabaseToolsConnectionCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeDatabaseToolsConnectionCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDatabaseToolsConnectionCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDatabaseToolsConnectionCompartmentRequest) String() string
func (request ChangeDatabaseToolsConnectionCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDatabaseToolsConnectionCompartmentResponse wrapper for the ChangeDatabaseToolsConnectionCompartment operation
type ChangeDatabaseToolsConnectionCompartmentResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// 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 ChangeDatabaseToolsConnectionCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDatabaseToolsConnectionCompartmentResponse) String() string
ChangeDatabaseToolsDatabaseApiGatewayConfigCompartmentDetails Contains the details for the compartment to move the Database Tools database API gateway config to.
type ChangeDatabaseToolsDatabaseApiGatewayConfigCompartmentDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the Database Tools database API gateway config to.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
func (m ChangeDatabaseToolsDatabaseApiGatewayConfigCompartmentDetails) String() string
func (m ChangeDatabaseToolsDatabaseApiGatewayConfigCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDatabaseToolsDatabaseApiGatewayConfigCompartmentRequest wrapper for the ChangeDatabaseToolsDatabaseApiGatewayConfigCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ChangeDatabaseToolsDatabaseApiGatewayConfigCompartment.go.html to see an example of how to use ChangeDatabaseToolsDatabaseApiGatewayConfigCompartmentRequest.
type ChangeDatabaseToolsDatabaseApiGatewayConfigCompartmentRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools database API gateway config.
DatabaseToolsDatabaseApiGatewayConfigId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsDatabaseApiGatewayConfigId"`
// Request to change the compartment of the Database Tools database API gateway config.
ChangeDatabaseToolsDatabaseApiGatewayConfigCompartmentDetails `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"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Whether to override locks (if any exist).
IsLockOverride *bool `mandatory:"false" contributesTo:"query" name:"isLockOverride"`
// 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 ChangeDatabaseToolsDatabaseApiGatewayConfigCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeDatabaseToolsDatabaseApiGatewayConfigCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDatabaseToolsDatabaseApiGatewayConfigCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDatabaseToolsDatabaseApiGatewayConfigCompartmentRequest) String() string
func (request ChangeDatabaseToolsDatabaseApiGatewayConfigCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDatabaseToolsDatabaseApiGatewayConfigCompartmentResponse wrapper for the ChangeDatabaseToolsDatabaseApiGatewayConfigCompartment operation
type ChangeDatabaseToolsDatabaseApiGatewayConfigCompartmentResponse 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 ChangeDatabaseToolsDatabaseApiGatewayConfigCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDatabaseToolsDatabaseApiGatewayConfigCompartmentResponse) String() string
ChangeDatabaseToolsIdentityCompartmentDetails Contains the details for the compartment to move the Database Tools identity to.
type ChangeDatabaseToolsIdentityCompartmentDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the Database Tools identity to.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
func (m ChangeDatabaseToolsIdentityCompartmentDetails) String() string
func (m ChangeDatabaseToolsIdentityCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDatabaseToolsIdentityCompartmentRequest wrapper for the ChangeDatabaseToolsIdentityCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ChangeDatabaseToolsIdentityCompartment.go.html to see an example of how to use ChangeDatabaseToolsIdentityCompartmentRequest.
type ChangeDatabaseToolsIdentityCompartmentRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools identity.
DatabaseToolsIdentityId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsIdentityId"`
// Request to change the compartment of the Database Tools identity.
ChangeDatabaseToolsIdentityCompartmentDetails `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"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Whether to override locks (if any exist).
IsLockOverride *bool `mandatory:"false" contributesTo:"query" name:"isLockOverride"`
// 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 ChangeDatabaseToolsIdentityCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeDatabaseToolsIdentityCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDatabaseToolsIdentityCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDatabaseToolsIdentityCompartmentRequest) String() string
func (request ChangeDatabaseToolsIdentityCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDatabaseToolsIdentityCompartmentResponse wrapper for the ChangeDatabaseToolsIdentityCompartment operation
type ChangeDatabaseToolsIdentityCompartmentResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// 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 ChangeDatabaseToolsIdentityCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDatabaseToolsIdentityCompartmentResponse) String() string
ChangeDatabaseToolsMcpServerCompartmentDetails Contains the details for the compartment to move the Database Tools MCP server to.
type ChangeDatabaseToolsMcpServerCompartmentDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the Database Tools MCP server to.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
func (m ChangeDatabaseToolsMcpServerCompartmentDetails) String() string
func (m ChangeDatabaseToolsMcpServerCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDatabaseToolsMcpServerCompartmentRequest wrapper for the ChangeDatabaseToolsMcpServerCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ChangeDatabaseToolsMcpServerCompartment.go.html to see an example of how to use ChangeDatabaseToolsMcpServerCompartmentRequest.
type ChangeDatabaseToolsMcpServerCompartmentRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools MCP server.
DatabaseToolsMcpServerId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsMcpServerId"`
// Request to change the compartment of the Database Tools MCP server.
ChangeDatabaseToolsMcpServerCompartmentDetails `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"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Whether to override locks (if any exist).
IsLockOverride *bool `mandatory:"false" contributesTo:"query" name:"isLockOverride"`
// 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 ChangeDatabaseToolsMcpServerCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeDatabaseToolsMcpServerCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDatabaseToolsMcpServerCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDatabaseToolsMcpServerCompartmentRequest) String() string
func (request ChangeDatabaseToolsMcpServerCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDatabaseToolsMcpServerCompartmentResponse wrapper for the ChangeDatabaseToolsMcpServerCompartment operation
type ChangeDatabaseToolsMcpServerCompartmentResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// 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 ChangeDatabaseToolsMcpServerCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDatabaseToolsMcpServerCompartmentResponse) String() string
ChangeDatabaseToolsMcpToolsetCompartmentDetails Contains the details for the compartment to move the Database Tools MCP Toolset to.
type ChangeDatabaseToolsMcpToolsetCompartmentDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the Database Tools MCP Toolset to.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
func (m ChangeDatabaseToolsMcpToolsetCompartmentDetails) String() string
func (m ChangeDatabaseToolsMcpToolsetCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDatabaseToolsMcpToolsetCompartmentRequest wrapper for the ChangeDatabaseToolsMcpToolsetCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ChangeDatabaseToolsMcpToolsetCompartment.go.html to see an example of how to use ChangeDatabaseToolsMcpToolsetCompartmentRequest.
type ChangeDatabaseToolsMcpToolsetCompartmentRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools MCP Toolset.
DatabaseToolsMcpToolsetId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsMcpToolsetId"`
// Request to change the compartment of the Database Tools MCP Toolset.
ChangeDatabaseToolsMcpToolsetCompartmentDetails `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"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Whether to override locks (if any exist).
IsLockOverride *bool `mandatory:"false" contributesTo:"query" name:"isLockOverride"`
// 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 ChangeDatabaseToolsMcpToolsetCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeDatabaseToolsMcpToolsetCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDatabaseToolsMcpToolsetCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDatabaseToolsMcpToolsetCompartmentRequest) String() string
func (request ChangeDatabaseToolsMcpToolsetCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDatabaseToolsMcpToolsetCompartmentResponse wrapper for the ChangeDatabaseToolsMcpToolsetCompartment operation
type ChangeDatabaseToolsMcpToolsetCompartmentResponse 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 ChangeDatabaseToolsMcpToolsetCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDatabaseToolsMcpToolsetCompartmentResponse) String() string
ChangeDatabaseToolsPrivateEndpointCompartmentDetails Contains the details for the compartment to move the Database Tools private endpoint to.
type ChangeDatabaseToolsPrivateEndpointCompartmentDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the `DatabaseConnectionProfile` to.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
func (m ChangeDatabaseToolsPrivateEndpointCompartmentDetails) String() string
func (m ChangeDatabaseToolsPrivateEndpointCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDatabaseToolsPrivateEndpointCompartmentRequest wrapper for the ChangeDatabaseToolsPrivateEndpointCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ChangeDatabaseToolsPrivateEndpointCompartment.go.html to see an example of how to use ChangeDatabaseToolsPrivateEndpointCompartmentRequest.
type ChangeDatabaseToolsPrivateEndpointCompartmentRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools private endpoint.
DatabaseToolsPrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsPrivateEndpointId"`
// Request to change the compartment of the Database Tools private endpoint.
ChangeDatabaseToolsPrivateEndpointCompartmentDetails `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"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Whether to override locks (if any exist).
IsLockOverride *bool `mandatory:"false" contributesTo:"query" name:"isLockOverride"`
// 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 ChangeDatabaseToolsPrivateEndpointCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeDatabaseToolsPrivateEndpointCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDatabaseToolsPrivateEndpointCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDatabaseToolsPrivateEndpointCompartmentRequest) String() string
func (request ChangeDatabaseToolsPrivateEndpointCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDatabaseToolsPrivateEndpointCompartmentResponse wrapper for the ChangeDatabaseToolsPrivateEndpointCompartment operation
type ChangeDatabaseToolsPrivateEndpointCompartmentResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// 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 ChangeDatabaseToolsPrivateEndpointCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDatabaseToolsPrivateEndpointCompartmentResponse) String() string
ChangeDatabaseToolsSqlReportCompartmentDetails Contains the details for the compartment to move the Database Tools SQL Report to.
type ChangeDatabaseToolsSqlReportCompartmentDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the Database Tools SQL Report to.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
func (m ChangeDatabaseToolsSqlReportCompartmentDetails) String() string
func (m ChangeDatabaseToolsSqlReportCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDatabaseToolsSqlReportCompartmentRequest wrapper for the ChangeDatabaseToolsSqlReportCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ChangeDatabaseToolsSqlReportCompartment.go.html to see an example of how to use ChangeDatabaseToolsSqlReportCompartmentRequest.
type ChangeDatabaseToolsSqlReportCompartmentRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools SQL Report.
DatabaseToolsSqlReportId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsSqlReportId"`
// Request to change the compartment of the Database Tools SQL Report.
ChangeDatabaseToolsSqlReportCompartmentDetails `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"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Whether to override locks (if any exist).
IsLockOverride *bool `mandatory:"false" contributesTo:"query" name:"isLockOverride"`
// 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 ChangeDatabaseToolsSqlReportCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeDatabaseToolsSqlReportCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDatabaseToolsSqlReportCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDatabaseToolsSqlReportCompartmentRequest) String() string
func (request ChangeDatabaseToolsSqlReportCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDatabaseToolsSqlReportCompartmentResponse wrapper for the ChangeDatabaseToolsSqlReportCompartment operation
type ChangeDatabaseToolsSqlReportCompartmentResponse 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 ChangeDatabaseToolsSqlReportCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDatabaseToolsSqlReportCompartmentResponse) String() string
ConnectionTypeEnum Enum with underlying type: string
type ConnectionTypeEnum string
Set of constants representing the allowable values for ConnectionTypeEnum
const (
ConnectionTypeOracleDatabase ConnectionTypeEnum = "ORACLE_DATABASE"
ConnectionTypeMysql ConnectionTypeEnum = "MYSQL"
ConnectionTypePostgresql ConnectionTypeEnum = "POSTGRESQL"
ConnectionTypeGenericJdbc ConnectionTypeEnum = "GENERIC_JDBC"
)
func GetConnectionTypeEnumValues() []ConnectionTypeEnum
GetConnectionTypeEnumValues Enumerates the set of values for ConnectionTypeEnum
func GetMappingConnectionTypeEnum(val string) (ConnectionTypeEnum, bool)
GetMappingConnectionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CreateDatabaseToolsConnectionDetails Details for the new Database Tools connection.
type CreateDatabaseToolsConnectionDetails interface {
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
GetDisplayName() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools connection.
GetCompartmentId() *string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Locks associated with this resource.
GetLocks() []ResourceLock
// Specifies whether this connection is supported by the Database Tools Runtime.
GetRuntimeSupport() RuntimeSupportEnum
// Specifies the identity used when accessing OCI resources at runtime. AUTHENTICATED_PRINCIPAL to use the caller’s identity (On-Behalf-Of token), or RESOURCE_PRINCIPAL to use the connection’s resource principal (RPST).
GetRuntimeIdentity() RuntimeIdentityEnum
}
CreateDatabaseToolsConnectionGenericJdbcDetails Details of the new Database Tools connection for a Generic JDBC database system.
type CreateDatabaseToolsConnectionGenericJdbcDetails struct {
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools connection.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The JDBC URL used to connect to the Generic JDBC database system.
Url *string `mandatory:"true" json:"url"`
// The database user name.
UserName *string `mandatory:"true" json:"userName"`
UserPassword DatabaseToolsUserPasswordDetails `mandatory:"true" json:"userPassword"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// The advanced connection properties key-value pair.
AdvancedProperties map[string]string `mandatory:"false" json:"advancedProperties"`
// The CA certificate to verify the server's certificate and
// the client private key and associated certificate required for client authentication.
KeyStores []DatabaseToolsKeyStoreGenericJdbcDetails `mandatory:"false" json:"keyStores"`
// Specifies whether this connection is supported by the Database Tools Runtime.
RuntimeSupport RuntimeSupportEnum `mandatory:"false" json:"runtimeSupport,omitempty"`
// Specifies the identity used when accessing OCI resources at runtime. AUTHENTICATED_PRINCIPAL to use the caller’s identity (On-Behalf-Of token), or RESOURCE_PRINCIPAL to use the connection’s resource principal (RPST).
RuntimeIdentity RuntimeIdentityEnum `mandatory:"false" json:"runtimeIdentity,omitempty"`
}
func (m CreateDatabaseToolsConnectionGenericJdbcDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateDatabaseToolsConnectionGenericJdbcDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateDatabaseToolsConnectionGenericJdbcDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateDatabaseToolsConnectionGenericJdbcDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateDatabaseToolsConnectionGenericJdbcDetails) GetLocks() []ResourceLock
GetLocks returns Locks
func (m CreateDatabaseToolsConnectionGenericJdbcDetails) GetRuntimeIdentity() RuntimeIdentityEnum
GetRuntimeIdentity returns RuntimeIdentity
func (m CreateDatabaseToolsConnectionGenericJdbcDetails) GetRuntimeSupport() RuntimeSupportEnum
GetRuntimeSupport returns RuntimeSupport
func (m CreateDatabaseToolsConnectionGenericJdbcDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDatabaseToolsConnectionGenericJdbcDetails) String() string
func (m *CreateDatabaseToolsConnectionGenericJdbcDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateDatabaseToolsConnectionGenericJdbcDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsConnectionMySqlDetails Details of the new Database Tools connection for a MySQL Server.
type CreateDatabaseToolsConnectionMySqlDetails struct {
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools connection.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The connection string used to connect to the MySQL Server.
ConnectionString *string `mandatory:"true" json:"connectionString"`
// The database user name.
UserName *string `mandatory:"true" json:"userName"`
UserPassword DatabaseToolsUserPasswordDetails `mandatory:"true" json:"userPassword"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
RelatedResource *CreateDatabaseToolsRelatedResourceMySqlDetails `mandatory:"false" json:"relatedResource"`
// The advanced connection properties key-value pair (e.g., `sslMode`).
AdvancedProperties map[string]string `mandatory:"false" json:"advancedProperties"`
// The CA certificate to verify the server's certificate and
// the client private key and associated certificate required for client authentication.
KeyStores []DatabaseToolsKeyStoreMySqlDetails `mandatory:"false" json:"keyStores"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools private endpoint used to access the database in the customer VCN.
PrivateEndpointId *string `mandatory:"false" json:"privateEndpointId"`
// Specifies whether this connection is supported by the Database Tools Runtime.
RuntimeSupport RuntimeSupportEnum `mandatory:"false" json:"runtimeSupport,omitempty"`
// Specifies the identity used when accessing OCI resources at runtime. AUTHENTICATED_PRINCIPAL to use the caller’s identity (On-Behalf-Of token), or RESOURCE_PRINCIPAL to use the connection’s resource principal (RPST).
RuntimeIdentity RuntimeIdentityEnum `mandatory:"false" json:"runtimeIdentity,omitempty"`
}
func (m CreateDatabaseToolsConnectionMySqlDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateDatabaseToolsConnectionMySqlDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateDatabaseToolsConnectionMySqlDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateDatabaseToolsConnectionMySqlDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateDatabaseToolsConnectionMySqlDetails) GetLocks() []ResourceLock
GetLocks returns Locks
func (m CreateDatabaseToolsConnectionMySqlDetails) GetRuntimeIdentity() RuntimeIdentityEnum
GetRuntimeIdentity returns RuntimeIdentity
func (m CreateDatabaseToolsConnectionMySqlDetails) GetRuntimeSupport() RuntimeSupportEnum
GetRuntimeSupport returns RuntimeSupport
func (m CreateDatabaseToolsConnectionMySqlDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDatabaseToolsConnectionMySqlDetails) String() string
func (m *CreateDatabaseToolsConnectionMySqlDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateDatabaseToolsConnectionMySqlDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsConnectionOracleDatabaseDetails Details of the new Database Tools connection for an Oracle Database.
type CreateDatabaseToolsConnectionOracleDatabaseDetails struct {
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools connection.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The connect descriptor or Easy Connect Naming method use to connect to the database.
ConnectionString *string `mandatory:"true" json:"connectionString"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
RelatedResource *CreateDatabaseToolsRelatedResourceDetails `mandatory:"false" json:"relatedResource"`
// The database user name.
UserName *string `mandatory:"false" json:"userName"`
UserPassword DatabaseToolsUserPasswordDetails `mandatory:"false" json:"userPassword"`
// The advanced connection properties key-value pair (e.g., `oracle.net.ssl_server_dn_match`).
AdvancedProperties map[string]string `mandatory:"false" json:"advancedProperties"`
// Oracle wallet or Java Keystores containing trusted certificates for authenticating the server's public certificate and
// the client private key and associated certificates required for client authentication.
KeyStores []DatabaseToolsKeyStoreDetails `mandatory:"false" json:"keyStores"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools private endpoint used to access the database in the customer VCN.
PrivateEndpointId *string `mandatory:"false" json:"privateEndpointId"`
ProxyClient DatabaseToolsConnectionOracleDatabaseProxyClientDetails `mandatory:"false" json:"proxyClient"`
// Specifies whether this connection is supported by the Database Tools Runtime.
RuntimeSupport RuntimeSupportEnum `mandatory:"false" json:"runtimeSupport,omitempty"`
// Specifies the identity used when accessing OCI resources at runtime. AUTHENTICATED_PRINCIPAL to use the caller’s identity (On-Behalf-Of token), or RESOURCE_PRINCIPAL to use the connection’s resource principal (RPST).
RuntimeIdentity RuntimeIdentityEnum `mandatory:"false" json:"runtimeIdentity,omitempty"`
// Specifies the authentication type used by the Database Tools service to authenticate with the database.
AuthenticationType AuthenticationTypeEnum `mandatory:"false" json:"authenticationType,omitempty"`
}
func (m CreateDatabaseToolsConnectionOracleDatabaseDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateDatabaseToolsConnectionOracleDatabaseDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateDatabaseToolsConnectionOracleDatabaseDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateDatabaseToolsConnectionOracleDatabaseDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateDatabaseToolsConnectionOracleDatabaseDetails) GetLocks() []ResourceLock
GetLocks returns Locks
func (m CreateDatabaseToolsConnectionOracleDatabaseDetails) GetRuntimeIdentity() RuntimeIdentityEnum
GetRuntimeIdentity returns RuntimeIdentity
func (m CreateDatabaseToolsConnectionOracleDatabaseDetails) GetRuntimeSupport() RuntimeSupportEnum
GetRuntimeSupport returns RuntimeSupport
func (m CreateDatabaseToolsConnectionOracleDatabaseDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDatabaseToolsConnectionOracleDatabaseDetails) String() string
func (m *CreateDatabaseToolsConnectionOracleDatabaseDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateDatabaseToolsConnectionOracleDatabaseDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsConnectionPostgresqlDetails Details of the new Database Tools connection for a PostgreSQL Server.
type CreateDatabaseToolsConnectionPostgresqlDetails struct {
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools connection.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The connection string used to connect to the PostgreSQL Server.
ConnectionString *string `mandatory:"true" json:"connectionString"`
// The database user name.
UserName *string `mandatory:"true" json:"userName"`
UserPassword DatabaseToolsUserPasswordDetails `mandatory:"true" json:"userPassword"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
RelatedResource *CreateDatabaseToolsRelatedResourcePostgresqlDetails `mandatory:"false" json:"relatedResource"`
// The advanced connection properties key-value pair (e.g., `sslMode`).
AdvancedProperties map[string]string `mandatory:"false" json:"advancedProperties"`
// The CA certificate to verify the server's certificate and
// the client private key and associated certificate required for client authentication.
KeyStores []DatabaseToolsKeyStorePostgresqlDetails `mandatory:"false" json:"keyStores"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools private endpoint used to access the database in the customer VCN.
PrivateEndpointId *string `mandatory:"false" json:"privateEndpointId"`
// Specifies whether this connection is supported by the Database Tools Runtime.
RuntimeSupport RuntimeSupportEnum `mandatory:"false" json:"runtimeSupport,omitempty"`
// Specifies the identity used when accessing OCI resources at runtime. AUTHENTICATED_PRINCIPAL to use the caller’s identity (On-Behalf-Of token), or RESOURCE_PRINCIPAL to use the connection’s resource principal (RPST).
RuntimeIdentity RuntimeIdentityEnum `mandatory:"false" json:"runtimeIdentity,omitempty"`
}
func (m CreateDatabaseToolsConnectionPostgresqlDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateDatabaseToolsConnectionPostgresqlDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateDatabaseToolsConnectionPostgresqlDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateDatabaseToolsConnectionPostgresqlDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateDatabaseToolsConnectionPostgresqlDetails) GetLocks() []ResourceLock
GetLocks returns Locks
func (m CreateDatabaseToolsConnectionPostgresqlDetails) GetRuntimeIdentity() RuntimeIdentityEnum
GetRuntimeIdentity returns RuntimeIdentity
func (m CreateDatabaseToolsConnectionPostgresqlDetails) GetRuntimeSupport() RuntimeSupportEnum
GetRuntimeSupport returns RuntimeSupport
func (m CreateDatabaseToolsConnectionPostgresqlDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDatabaseToolsConnectionPostgresqlDetails) String() string
func (m *CreateDatabaseToolsConnectionPostgresqlDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateDatabaseToolsConnectionPostgresqlDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsConnectionRequest wrapper for the CreateDatabaseToolsConnection operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/CreateDatabaseToolsConnection.go.html to see an example of how to use CreateDatabaseToolsConnectionRequest.
type CreateDatabaseToolsConnectionRequest struct {
// Details for the new Database Tools connection.
CreateDatabaseToolsConnectionDetails `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.
// Accepted characters: ASCII alphanumerics plus underscore (U+005F LOW LINE "_") and dash (U+002D HYPHEN-MINUS "-")
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request CreateDatabaseToolsConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDatabaseToolsConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDatabaseToolsConnectionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDatabaseToolsConnectionRequest) String() string
func (request CreateDatabaseToolsConnectionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsConnectionResponse wrapper for the CreateDatabaseToolsConnection operation
type CreateDatabaseToolsConnectionResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsConnection instance
DatabaseToolsConnection `presentIn:"body"`
// URI of the new resource which was created by the request.
Location *string `presentIn:"header" name:"location"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// 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 CreateDatabaseToolsConnectionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDatabaseToolsConnectionResponse) String() string
CreateDatabaseToolsDatabaseApiGatewayConfigDefaultDetails Details for the new Database Tools database API gateway config for the default type.
type CreateDatabaseToolsDatabaseApiGatewayConfigDefaultDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools database API gateway config.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// The RESTful service definition location.
MetadataSource DatabaseApiGatewayConfigMetadataSourceEnum `mandatory:"true" json:"metadataSource"`
}
func (m CreateDatabaseToolsDatabaseApiGatewayConfigDefaultDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateDatabaseToolsDatabaseApiGatewayConfigDefaultDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateDatabaseToolsDatabaseApiGatewayConfigDefaultDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateDatabaseToolsDatabaseApiGatewayConfigDefaultDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateDatabaseToolsDatabaseApiGatewayConfigDefaultDetails) GetLocks() []ResourceLock
GetLocks returns Locks
func (m CreateDatabaseToolsDatabaseApiGatewayConfigDefaultDetails) GetMetadataSource() DatabaseApiGatewayConfigMetadataSourceEnum
GetMetadataSource returns MetadataSource
func (m CreateDatabaseToolsDatabaseApiGatewayConfigDefaultDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDatabaseToolsDatabaseApiGatewayConfigDefaultDetails) String() string
func (m CreateDatabaseToolsDatabaseApiGatewayConfigDefaultDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsDatabaseApiGatewayConfigDetails Details for the new Database Tools database API gateway config.
type CreateDatabaseToolsDatabaseApiGatewayConfigDetails interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools database API gateway config.
GetCompartmentId() *string
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
GetDisplayName() *string
// The RESTful service definition location.
GetMetadataSource() DatabaseApiGatewayConfigMetadataSourceEnum
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Locks associated with this resource.
GetLocks() []ResourceLock
}
CreateDatabaseToolsDatabaseApiGatewayConfigRequest wrapper for the CreateDatabaseToolsDatabaseApiGatewayConfig operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/CreateDatabaseToolsDatabaseApiGatewayConfig.go.html to see an example of how to use CreateDatabaseToolsDatabaseApiGatewayConfigRequest.
type CreateDatabaseToolsDatabaseApiGatewayConfigRequest struct {
// Details for the new Database Tools database API gateway config.
CreateDatabaseToolsDatabaseApiGatewayConfigDetails `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.
// Accepted characters: ASCII alphanumerics plus underscore (U+005F LOW LINE "_") and dash (U+002D HYPHEN-MINUS "-")
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request CreateDatabaseToolsDatabaseApiGatewayConfigRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDatabaseToolsDatabaseApiGatewayConfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDatabaseToolsDatabaseApiGatewayConfigRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDatabaseToolsDatabaseApiGatewayConfigRequest) String() string
func (request CreateDatabaseToolsDatabaseApiGatewayConfigRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsDatabaseApiGatewayConfigResponse wrapper for the CreateDatabaseToolsDatabaseApiGatewayConfig operation
type CreateDatabaseToolsDatabaseApiGatewayConfigResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsDatabaseApiGatewayConfig instance
DatabaseToolsDatabaseApiGatewayConfig `presentIn:"body"`
// URI of the new resource which was created by the request.
Location *string `presentIn:"header" name:"location"`
// For optimistic concurrency control. See `if-match`.
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 CreateDatabaseToolsDatabaseApiGatewayConfigResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDatabaseToolsDatabaseApiGatewayConfigResponse) String() string
CreateDatabaseToolsIdentityDetails Details for the new Database Tools identity.
type CreateDatabaseToolsIdentityDetails interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools identity.
GetCompartmentId() *string
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
GetDisplayName() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools connection.
GetDatabaseToolsConnectionId() *string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Locks associated with this resource.
GetLocks() []ResourceLock
}
CreateDatabaseToolsIdentityOracleDatabaseResourcePrincipalDetails Details for the new Database Tools identity for the Oracle Database resource principal identity type.
type CreateDatabaseToolsIdentityOracleDatabaseResourcePrincipalDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools identity.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools connection.
DatabaseToolsConnectionId *string `mandatory:"true" json:"databaseToolsConnectionId"`
// The name of the credential object created in the Oracle Database.
CredentialKey *string `mandatory:"true" json:"credentialKey"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
}
func (m CreateDatabaseToolsIdentityOracleDatabaseResourcePrincipalDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateDatabaseToolsIdentityOracleDatabaseResourcePrincipalDetails) GetDatabaseToolsConnectionId() *string
GetDatabaseToolsConnectionId returns DatabaseToolsConnectionId
func (m CreateDatabaseToolsIdentityOracleDatabaseResourcePrincipalDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateDatabaseToolsIdentityOracleDatabaseResourcePrincipalDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateDatabaseToolsIdentityOracleDatabaseResourcePrincipalDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateDatabaseToolsIdentityOracleDatabaseResourcePrincipalDetails) GetLocks() []ResourceLock
GetLocks returns Locks
func (m CreateDatabaseToolsIdentityOracleDatabaseResourcePrincipalDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDatabaseToolsIdentityOracleDatabaseResourcePrincipalDetails) String() string
func (m CreateDatabaseToolsIdentityOracleDatabaseResourcePrincipalDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsIdentityRequest wrapper for the CreateDatabaseToolsIdentity operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/CreateDatabaseToolsIdentity.go.html to see an example of how to use CreateDatabaseToolsIdentityRequest.
type CreateDatabaseToolsIdentityRequest struct {
// Details for the new Database Tools identity.
CreateDatabaseToolsIdentityDetails `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.
// Accepted characters: ASCII alphanumerics plus underscore (U+005F LOW LINE "_") and dash (U+002D HYPHEN-MINUS "-")
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request CreateDatabaseToolsIdentityRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDatabaseToolsIdentityRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDatabaseToolsIdentityRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDatabaseToolsIdentityRequest) String() string
func (request CreateDatabaseToolsIdentityRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsIdentityResponse wrapper for the CreateDatabaseToolsIdentity operation
type CreateDatabaseToolsIdentityResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsIdentity instance
DatabaseToolsIdentity `presentIn:"body"`
// URI of the new resource which was created by the request.
Location *string `presentIn:"header" name:"location"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// 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 CreateDatabaseToolsIdentityResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDatabaseToolsIdentityResponse) String() string
CreateDatabaseToolsMcpServerDefaultDetails Details for the new Database Tools MCP server.
type CreateDatabaseToolsMcpServerDefaultDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools MCP server.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A meaningful, human-readable label displayed to end users. Not required to be unique and can be changed after creation. Do not include confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools connection.
DatabaseToolsConnectionId *string `mandatory:"true" json:"databaseToolsConnectionId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated identity domain.
DomainId *string `mandatory:"true" json:"domainId"`
Storage DatabaseToolsMcpServerStorage `mandatory:"true" json:"storage"`
// Custom Roles associated with the MCP Server.
CustomRoles []DatabaseToolsMcpServerCustomRole `mandatory:"false" json:"customRoles"`
// A human-readable description of the Database Tools MCP server.
Description *string `mandatory:"false" json:"description"`
// Access token expiry in seconds
AccessTokenExpiryInSeconds *int `mandatory:"false" json:"accessTokenExpiryInSeconds"`
// Refresh token expiry in seconds
RefreshTokenExpiryInSeconds *int `mandatory:"false" json:"refreshTokenExpiryInSeconds"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// Specifies the identity used when accessing OCI resources at runtime. AUTHENTICATED_PRINCIPAL to use the caller’s identity (On-Behalf-Of token), or RESOURCE_PRINCIPAL to use the MCP Server’s resource principal (RPST).
RuntimeIdentity DatabaseToolsMcpServerRuntimeIdentityEnum `mandatory:"false" json:"runtimeIdentity,omitempty"`
}
func (m CreateDatabaseToolsMcpServerDefaultDetails) GetAccessTokenExpiryInSeconds() *int
GetAccessTokenExpiryInSeconds returns AccessTokenExpiryInSeconds
func (m CreateDatabaseToolsMcpServerDefaultDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateDatabaseToolsMcpServerDefaultDetails) GetCustomRoles() []DatabaseToolsMcpServerCustomRole
GetCustomRoles returns CustomRoles
func (m CreateDatabaseToolsMcpServerDefaultDetails) GetDatabaseToolsConnectionId() *string
GetDatabaseToolsConnectionId returns DatabaseToolsConnectionId
func (m CreateDatabaseToolsMcpServerDefaultDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateDatabaseToolsMcpServerDefaultDetails) GetDescription() *string
GetDescription returns Description
func (m CreateDatabaseToolsMcpServerDefaultDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateDatabaseToolsMcpServerDefaultDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateDatabaseToolsMcpServerDefaultDetails) GetLocks() []ResourceLock
GetLocks returns Locks
func (m CreateDatabaseToolsMcpServerDefaultDetails) GetRefreshTokenExpiryInSeconds() *int
GetRefreshTokenExpiryInSeconds returns RefreshTokenExpiryInSeconds
func (m CreateDatabaseToolsMcpServerDefaultDetails) GetRuntimeIdentity() DatabaseToolsMcpServerRuntimeIdentityEnum
GetRuntimeIdentity returns RuntimeIdentity
func (m CreateDatabaseToolsMcpServerDefaultDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDatabaseToolsMcpServerDefaultDetails) String() string
func (m *CreateDatabaseToolsMcpServerDefaultDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateDatabaseToolsMcpServerDefaultDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsMcpServerDetails Details for the new Database Tools MCP server.
type CreateDatabaseToolsMcpServerDetails interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools MCP server.
GetCompartmentId() *string
// A meaningful, human-readable label displayed to end users. Not required to be unique and can be changed after creation. Do not include confidential information.
GetDisplayName() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools connection.
GetDatabaseToolsConnectionId() *string
// Custom Roles associated with the MCP Server.
GetCustomRoles() []DatabaseToolsMcpServerCustomRole
// A human-readable description of the Database Tools MCP server.
GetDescription() *string
// Access token expiry in seconds
GetAccessTokenExpiryInSeconds() *int
// Refresh token expiry in seconds
GetRefreshTokenExpiryInSeconds() *int
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Specifies the identity used when accessing OCI resources at runtime. AUTHENTICATED_PRINCIPAL to use the caller’s identity (On-Behalf-Of token), or RESOURCE_PRINCIPAL to use the MCP Server’s resource principal (RPST).
GetRuntimeIdentity() DatabaseToolsMcpServerRuntimeIdentityEnum
// Locks associated with this resource.
GetLocks() []ResourceLock
}
CreateDatabaseToolsMcpServerRequest wrapper for the CreateDatabaseToolsMcpServer operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/CreateDatabaseToolsMcpServer.go.html to see an example of how to use CreateDatabaseToolsMcpServerRequest.
type CreateDatabaseToolsMcpServerRequest struct {
// Details for the new Database Tools MCP server.
CreateDatabaseToolsMcpServerDetails `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.
// Accepted characters: ASCII alphanumerics plus underscore (U+005F LOW LINE "_") and dash (U+002D HYPHEN-MINUS "-")
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request CreateDatabaseToolsMcpServerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDatabaseToolsMcpServerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDatabaseToolsMcpServerRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDatabaseToolsMcpServerRequest) String() string
func (request CreateDatabaseToolsMcpServerRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsMcpServerResponse wrapper for the CreateDatabaseToolsMcpServer operation
type CreateDatabaseToolsMcpServerResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsMcpServer instance
DatabaseToolsMcpServer `presentIn:"body"`
// URI of the new resource which was created by the request.
Location *string `presentIn:"header" name:"location"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// 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 CreateDatabaseToolsMcpServerResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDatabaseToolsMcpServerResponse) String() string
CreateDatabaseToolsMcpToolsetBuiltInSqlToolsDetails Details for the new Database Tools MCP Toolset of type Built-in SQL tools.
type CreateDatabaseToolsMcpToolsetBuiltInSqlToolsDetails struct {
// The MCP toolset version
Version *int `mandatory:"true" json:"version"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools MCP server.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID of the Database Tools MCP Server
DatabaseToolsMcpServerId *string `mandatory:"true" json:"databaseToolsMcpServerId"`
// A human readable description of the Database Tools MCP toolset.
Description *string `mandatory:"false" json:"description"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// List of Database Tools BUILT_IN_SQL_TOOLS toolset tool configurations
Tools []CreateDatabaseToolsMcpToolsetToolDetails `mandatory:"false" json:"tools"`
// The default execution type for the toolset. The default value is SYNCHRONOUS.
// To use ASYNCHRONOUS execution, the MCP Server must have the storage property configured.
DefaultExecutionType DatabaseToolsMcpToolsetDefaultExecutionTypeEnum `mandatory:"false" json:"defaultExecutionType,omitempty"`
}
func (m CreateDatabaseToolsMcpToolsetBuiltInSqlToolsDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateDatabaseToolsMcpToolsetBuiltInSqlToolsDetails) GetDatabaseToolsMcpServerId() *string
GetDatabaseToolsMcpServerId returns DatabaseToolsMcpServerId
func (m CreateDatabaseToolsMcpToolsetBuiltInSqlToolsDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateDatabaseToolsMcpToolsetBuiltInSqlToolsDetails) GetDescription() *string
GetDescription returns Description
func (m CreateDatabaseToolsMcpToolsetBuiltInSqlToolsDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateDatabaseToolsMcpToolsetBuiltInSqlToolsDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateDatabaseToolsMcpToolsetBuiltInSqlToolsDetails) GetLocks() []ResourceLock
GetLocks returns Locks
func (m CreateDatabaseToolsMcpToolsetBuiltInSqlToolsDetails) GetVersion() *int
GetVersion returns Version
func (m CreateDatabaseToolsMcpToolsetBuiltInSqlToolsDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDatabaseToolsMcpToolsetBuiltInSqlToolsDetails) String() string
func (m CreateDatabaseToolsMcpToolsetBuiltInSqlToolsDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsMcpToolsetCustomSqlToolDetails Details for the new Database Tools MCP Toolset.
type CreateDatabaseToolsMcpToolsetCustomSqlToolDetails struct {
// The MCP toolset version
Version *int `mandatory:"true" json:"version"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools MCP server.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID of the Database Tools MCP Server
DatabaseToolsMcpServerId *string `mandatory:"true" json:"databaseToolsMcpServerId"`
// Name of the tool returned by the MCP Server
ToolName *string `mandatory:"true" json:"toolName"`
Source *DatabaseToolsCustomSqlToolToolsetSource `mandatory:"true" json:"source"`
// A human readable description of the Database Tools MCP toolset.
Description *string `mandatory:"false" json:"description"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// Instructions describing how to use the MCP toolset and its features. This can be used to improve the LLM's understanding of the tool.
ToolDescription *string `mandatory:"false" json:"toolDescription"`
// The variables to use with the query
Variables []DatabaseToolsMcpToolsetCustomSqlToolVariable `mandatory:"false" json:"variables"`
// The roles granted access to the MCP tool generated by this toolset
AllowedRoles []string `mandatory:"false" json:"allowedRoles"`
// The default execution type for the toolset. The default value is SYNCHRONOUS.
// To use ASYNCHRONOUS execution, the MCP Server must have the storage property configured.
DefaultExecutionType DatabaseToolsMcpToolsetDefaultExecutionTypeEnum `mandatory:"false" json:"defaultExecutionType,omitempty"`
}
func (m CreateDatabaseToolsMcpToolsetCustomSqlToolDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateDatabaseToolsMcpToolsetCustomSqlToolDetails) GetDatabaseToolsMcpServerId() *string
GetDatabaseToolsMcpServerId returns DatabaseToolsMcpServerId
func (m CreateDatabaseToolsMcpToolsetCustomSqlToolDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateDatabaseToolsMcpToolsetCustomSqlToolDetails) GetDescription() *string
GetDescription returns Description
func (m CreateDatabaseToolsMcpToolsetCustomSqlToolDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateDatabaseToolsMcpToolsetCustomSqlToolDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateDatabaseToolsMcpToolsetCustomSqlToolDetails) GetLocks() []ResourceLock
GetLocks returns Locks
func (m CreateDatabaseToolsMcpToolsetCustomSqlToolDetails) GetVersion() *int
GetVersion returns Version
func (m CreateDatabaseToolsMcpToolsetCustomSqlToolDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDatabaseToolsMcpToolsetCustomSqlToolDetails) String() string
func (m CreateDatabaseToolsMcpToolsetCustomSqlToolDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsMcpToolsetCustomizableReportingToolsDetails Database Tools MCP Toolset information to be updated for the Customizable reporting tools type.
type CreateDatabaseToolsMcpToolsetCustomizableReportingToolsDetails struct {
// The MCP toolset version
Version *int `mandatory:"true" json:"version"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools MCP server.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID of the Database Tools MCP Server
DatabaseToolsMcpServerId *string `mandatory:"true" json:"databaseToolsMcpServerId"`
// List of Database Tools SQL Reports
Reports []DatabaseToolsMcpToolsetCustomizableReportingToolsReport `mandatory:"true" json:"reports"`
// A human readable description of the Database Tools MCP toolset.
Description *string `mandatory:"false" json:"description"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// List of Database Tools CUSTOMIZABLE_REPORTING_TOOLS toolset tool configurations
Tools []CreateDatabaseToolsMcpToolsetToolDetails `mandatory:"false" json:"tools"`
// The default execution type for the toolset. The default value is SYNCHRONOUS.
// To use ASYNCHRONOUS execution, the MCP Server must have the storage property configured.
DefaultExecutionType DatabaseToolsMcpToolsetDefaultExecutionTypeEnum `mandatory:"false" json:"defaultExecutionType,omitempty"`
}
func (m CreateDatabaseToolsMcpToolsetCustomizableReportingToolsDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateDatabaseToolsMcpToolsetCustomizableReportingToolsDetails) GetDatabaseToolsMcpServerId() *string
GetDatabaseToolsMcpServerId returns DatabaseToolsMcpServerId
func (m CreateDatabaseToolsMcpToolsetCustomizableReportingToolsDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateDatabaseToolsMcpToolsetCustomizableReportingToolsDetails) GetDescription() *string
GetDescription returns Description
func (m CreateDatabaseToolsMcpToolsetCustomizableReportingToolsDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateDatabaseToolsMcpToolsetCustomizableReportingToolsDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateDatabaseToolsMcpToolsetCustomizableReportingToolsDetails) GetLocks() []ResourceLock
GetLocks returns Locks
func (m CreateDatabaseToolsMcpToolsetCustomizableReportingToolsDetails) GetVersion() *int
GetVersion returns Version
func (m CreateDatabaseToolsMcpToolsetCustomizableReportingToolsDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDatabaseToolsMcpToolsetCustomizableReportingToolsDetails) String() string
func (m CreateDatabaseToolsMcpToolsetCustomizableReportingToolsDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsMcpToolsetDetails Details for the new Database Tools MCP server.
type CreateDatabaseToolsMcpToolsetDetails interface {
// The MCP toolset version
GetVersion() *int
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools MCP server.
GetCompartmentId() *string
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
GetDisplayName() *string
// The OCID of the Database Tools MCP Server
GetDatabaseToolsMcpServerId() *string
// A human readable description of the Database Tools MCP toolset.
GetDescription() *string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Locks associated with this resource.
GetLocks() []ResourceLock
}
CreateDatabaseToolsMcpToolsetGenAiSqlAssistantDetails Details for the new Database Tools MCP Toolset of type GenAI SQL Assistant.
type CreateDatabaseToolsMcpToolsetGenAiSqlAssistantDetails struct {
// The MCP toolset version
Version *int `mandatory:"true" json:"version"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools MCP server.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID of the Database Tools MCP Server
DatabaseToolsMcpServerId *string `mandatory:"true" json:"databaseToolsMcpServerId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Generative AI Semantic Store.
GenerativeAiSemanticStoreId *string `mandatory:"true" json:"generativeAiSemanticStoreId"`
// A human readable description of the Database Tools MCP toolset.
Description *string `mandatory:"false" json:"description"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// List of Database Tools GENAI_SQL_ASSISTANT toolset tool configurations
Tools []CreateDatabaseToolsMcpToolsetToolDetails `mandatory:"false" json:"tools"`
// The default execution type for the toolset. The default value is SYNCHRONOUS.
// To use ASYNCHRONOUS execution, the MCP Server must have the storage property configured.
DefaultExecutionType DatabaseToolsMcpToolsetDefaultExecutionTypeEnum `mandatory:"false" json:"defaultExecutionType,omitempty"`
}
func (m CreateDatabaseToolsMcpToolsetGenAiSqlAssistantDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateDatabaseToolsMcpToolsetGenAiSqlAssistantDetails) GetDatabaseToolsMcpServerId() *string
GetDatabaseToolsMcpServerId returns DatabaseToolsMcpServerId
func (m CreateDatabaseToolsMcpToolsetGenAiSqlAssistantDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateDatabaseToolsMcpToolsetGenAiSqlAssistantDetails) GetDescription() *string
GetDescription returns Description
func (m CreateDatabaseToolsMcpToolsetGenAiSqlAssistantDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateDatabaseToolsMcpToolsetGenAiSqlAssistantDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateDatabaseToolsMcpToolsetGenAiSqlAssistantDetails) GetLocks() []ResourceLock
GetLocks returns Locks
func (m CreateDatabaseToolsMcpToolsetGenAiSqlAssistantDetails) GetVersion() *int
GetVersion returns Version
func (m CreateDatabaseToolsMcpToolsetGenAiSqlAssistantDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDatabaseToolsMcpToolsetGenAiSqlAssistantDetails) String() string
func (m CreateDatabaseToolsMcpToolsetGenAiSqlAssistantDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsMcpToolsetRequest wrapper for the CreateDatabaseToolsMcpToolset operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/CreateDatabaseToolsMcpToolset.go.html to see an example of how to use CreateDatabaseToolsMcpToolsetRequest.
type CreateDatabaseToolsMcpToolsetRequest struct {
// Details for the new Database Tools MCP Toolset.
CreateDatabaseToolsMcpToolsetDetails `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.
// Accepted characters: ASCII alphanumerics plus underscore (U+005F LOW LINE "_") and dash (U+002D HYPHEN-MINUS "-")
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request CreateDatabaseToolsMcpToolsetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDatabaseToolsMcpToolsetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDatabaseToolsMcpToolsetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDatabaseToolsMcpToolsetRequest) String() string
func (request CreateDatabaseToolsMcpToolsetRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsMcpToolsetResponse wrapper for the CreateDatabaseToolsMcpToolset operation
type CreateDatabaseToolsMcpToolsetResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsMcpToolset instance
DatabaseToolsMcpToolset `presentIn:"body"`
// URI of the new resource which was created by the request.
Location *string `presentIn:"header" name:"location"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// 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 CreateDatabaseToolsMcpToolsetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDatabaseToolsMcpToolsetResponse) String() string
CreateDatabaseToolsMcpToolsetToolDetails MCP toolset tool configuration
type CreateDatabaseToolsMcpToolsetToolDetails struct {
// The name of the tool
Name *string `mandatory:"true" json:"name"`
// The status of the tool
Status DatabaseToolsMcpToolsetToolStatusEnum `mandatory:"false" json:"status,omitempty"`
// The roles granted access to this tool
AllowedRoles []string `mandatory:"false" json:"allowedRoles"`
}
func (m CreateDatabaseToolsMcpToolsetToolDetails) String() string
func (m CreateDatabaseToolsMcpToolsetToolDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsPrivateEndpointDetails The details for the new Database Tools private endpoint.
type CreateDatabaseToolsPrivateEndpointDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools private endpoint.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `DatabaseToolsEndpointService`.
EndpointServiceId *string `mandatory:"true" json:"endpointServiceId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet that the private endpoint belongs to.
SubnetId *string `mandatory:"true" json:"subnetId"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Zero trust Packet Routing (ZPR) Security Attributes for this resource. Each key is predefined and scoped to a namespace.
// For more information, see ZPR Artifacts (https://docs.oracle.com/en-us/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm).
// Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}`
SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// A description of the Database Tools private endpoint.
Description *string `mandatory:"false" json:"description"`
// The private IP address that represents the access point for the associated endpoint service.
PrivateEndpointIp *string `mandatory:"false" json:"privateEndpointIp"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security groups
// that the private endpoint's VNIC belongs to. For more information about NSGs, see
// NetworkSecurityGroup.
NsgIds []string `mandatory:"false" json:"nsgIds"`
}
func (m CreateDatabaseToolsPrivateEndpointDetails) String() string
func (m CreateDatabaseToolsPrivateEndpointDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsPrivateEndpointRequest wrapper for the CreateDatabaseToolsPrivateEndpoint operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/CreateDatabaseToolsPrivateEndpoint.go.html to see an example of how to use CreateDatabaseToolsPrivateEndpointRequest.
type CreateDatabaseToolsPrivateEndpointRequest struct {
// Details for the new Database Tools private endpoint.
CreateDatabaseToolsPrivateEndpointDetails `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.
// Accepted characters: ASCII alphanumerics plus underscore (U+005F LOW LINE "_") and dash (U+002D HYPHEN-MINUS "-")
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request CreateDatabaseToolsPrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDatabaseToolsPrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDatabaseToolsPrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDatabaseToolsPrivateEndpointRequest) String() string
func (request CreateDatabaseToolsPrivateEndpointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsPrivateEndpointResponse wrapper for the CreateDatabaseToolsPrivateEndpoint operation
type CreateDatabaseToolsPrivateEndpointResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsPrivateEndpoint instance
DatabaseToolsPrivateEndpoint `presentIn:"body"`
// URI of the new resource which was created by the request.
Location *string `presentIn:"header" name:"location"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// 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 CreateDatabaseToolsPrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDatabaseToolsPrivateEndpointResponse) String() string
CreateDatabaseToolsRelatedResourceDetails The related resource
type CreateDatabaseToolsRelatedResourceDetails struct {
// The resource entity type.
EntityType RelatedResourceEntityTypeEnum `mandatory:"true" json:"entityType"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related resource.
Identifier *string `mandatory:"true" json:"identifier"`
}
func (m CreateDatabaseToolsRelatedResourceDetails) String() string
func (m CreateDatabaseToolsRelatedResourceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsRelatedResourceMySqlDetails The related resource
type CreateDatabaseToolsRelatedResourceMySqlDetails struct {
// The resource entity type.
EntityType RelatedResourceEntityTypeMySqlEnum `mandatory:"true" json:"entityType"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related resource.
Identifier *string `mandatory:"true" json:"identifier"`
}
func (m CreateDatabaseToolsRelatedResourceMySqlDetails) String() string
func (m CreateDatabaseToolsRelatedResourceMySqlDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsRelatedResourcePostgresqlDetails The related resource
type CreateDatabaseToolsRelatedResourcePostgresqlDetails struct {
// The resource entity type.
EntityType RelatedResourceEntityTypePostgresqlEnum `mandatory:"true" json:"entityType"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related resource.
Identifier *string `mandatory:"true" json:"identifier"`
}
func (m CreateDatabaseToolsRelatedResourcePostgresqlDetails) String() string
func (m CreateDatabaseToolsRelatedResourcePostgresqlDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsSqlReportDetails Details for the new Database Tools SQL report.
type CreateDatabaseToolsSqlReportDetails interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools SQL report.
GetCompartmentId() *string
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
GetDisplayName() *string
// SQL query executed to generate the report.
GetSource() *string
// A description of the SQL report.
GetDescription() *string
// Purpose of the Database Tools SQL report. Scenario or conditions describing when or why this report should be used. Provides selection criteria to AI agents to improve report selection accuracy.
GetPurpose() *string
// Instructions on how to use the SQL report. Step-by-step guidance for an AI agent on how to execute or fill in parameters for the report.
GetInstructions() *string
// Variables referenced in the Database Tools SQL Report source.
GetVariables() []DatabaseToolsSqlReportVariable
// Descriptive information on columns referenced in the Database Tools SQL Report source.
GetColumns() []DatabaseToolsSqlReportColumn
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Locks associated with this resource.
GetLocks() []ResourceLock
}
CreateDatabaseToolsSqlReportOracleDatabaseDetails Details for the new Database Tools SQL report.
type CreateDatabaseToolsSqlReportOracleDatabaseDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools SQL report.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// SQL query executed to generate the report.
Source *string `mandatory:"true" json:"source"`
// A description of the SQL report.
Description *string `mandatory:"false" json:"description"`
// Purpose of the Database Tools SQL report. Scenario or conditions describing when or why this report should be used. Provides selection criteria to AI agents to improve report selection accuracy.
Purpose *string `mandatory:"false" json:"purpose"`
// Instructions on how to use the SQL report. Step-by-step guidance for an AI agent on how to execute or fill in parameters for the report.
Instructions *string `mandatory:"false" json:"instructions"`
// Variables referenced in the Database Tools SQL Report source.
Variables []DatabaseToolsSqlReportVariable `mandatory:"false" json:"variables"`
// Descriptive information on columns referenced in the Database Tools SQL Report source.
Columns []DatabaseToolsSqlReportColumn `mandatory:"false" json:"columns"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
}
func (m CreateDatabaseToolsSqlReportOracleDatabaseDetails) GetColumns() []DatabaseToolsSqlReportColumn
GetColumns returns Columns
func (m CreateDatabaseToolsSqlReportOracleDatabaseDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateDatabaseToolsSqlReportOracleDatabaseDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateDatabaseToolsSqlReportOracleDatabaseDetails) GetDescription() *string
GetDescription returns Description
func (m CreateDatabaseToolsSqlReportOracleDatabaseDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateDatabaseToolsSqlReportOracleDatabaseDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateDatabaseToolsSqlReportOracleDatabaseDetails) GetInstructions() *string
GetInstructions returns Instructions
func (m CreateDatabaseToolsSqlReportOracleDatabaseDetails) GetLocks() []ResourceLock
GetLocks returns Locks
func (m CreateDatabaseToolsSqlReportOracleDatabaseDetails) GetPurpose() *string
GetPurpose returns Purpose
func (m CreateDatabaseToolsSqlReportOracleDatabaseDetails) GetSource() *string
GetSource returns Source
func (m CreateDatabaseToolsSqlReportOracleDatabaseDetails) GetVariables() []DatabaseToolsSqlReportVariable
GetVariables returns Variables
func (m CreateDatabaseToolsSqlReportOracleDatabaseDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDatabaseToolsSqlReportOracleDatabaseDetails) String() string
func (m CreateDatabaseToolsSqlReportOracleDatabaseDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsSqlReportRequest wrapper for the CreateDatabaseToolsSqlReport operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/CreateDatabaseToolsSqlReport.go.html to see an example of how to use CreateDatabaseToolsSqlReportRequest.
type CreateDatabaseToolsSqlReportRequest struct {
// Details for the new Database Tools Sql Report.
CreateDatabaseToolsSqlReportDetails `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.
// Accepted characters: ASCII alphanumerics plus underscore (U+005F LOW LINE "_") and dash (U+002D HYPHEN-MINUS "-")
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request CreateDatabaseToolsSqlReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDatabaseToolsSqlReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDatabaseToolsSqlReportRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDatabaseToolsSqlReportRequest) String() string
func (request CreateDatabaseToolsSqlReportRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsSqlReportResponse wrapper for the CreateDatabaseToolsSqlReport operation
type CreateDatabaseToolsSqlReportResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsSqlReport instance
DatabaseToolsSqlReport `presentIn:"body"`
// URI of the new resource which was created by the request.
Location *string `presentIn:"header" name:"location"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// 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 CreateDatabaseToolsSqlReportResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDatabaseToolsSqlReportResponse) String() string
DatabaseApiGatewayConfigMetadataSourceEnum Enum with underlying type: string
type DatabaseApiGatewayConfigMetadataSourceEnum string
Set of constants representing the allowable values for DatabaseApiGatewayConfigMetadataSourceEnum
const (
DatabaseApiGatewayConfigMetadataSourceDatabase DatabaseApiGatewayConfigMetadataSourceEnum = "DATABASE"
DatabaseApiGatewayConfigMetadataSourceCloud DatabaseApiGatewayConfigMetadataSourceEnum = "CLOUD"
)
func GetDatabaseApiGatewayConfigMetadataSourceEnumValues() []DatabaseApiGatewayConfigMetadataSourceEnum
GetDatabaseApiGatewayConfigMetadataSourceEnumValues Enumerates the set of values for DatabaseApiGatewayConfigMetadataSourceEnum
func GetMappingDatabaseApiGatewayConfigMetadataSourceEnum(val string) (DatabaseApiGatewayConfigMetadataSourceEnum, bool)
GetMappingDatabaseApiGatewayConfigMetadataSourceEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseApiGatewayConfigTypeEnum Enum with underlying type: string
type DatabaseApiGatewayConfigTypeEnum string
Set of constants representing the allowable values for DatabaseApiGatewayConfigTypeEnum
const (
DatabaseApiGatewayConfigTypeDefault DatabaseApiGatewayConfigTypeEnum = "DEFAULT"
)
func GetDatabaseApiGatewayConfigTypeEnumValues() []DatabaseApiGatewayConfigTypeEnum
GetDatabaseApiGatewayConfigTypeEnumValues Enumerates the set of values for DatabaseApiGatewayConfigTypeEnum
func GetMappingDatabaseApiGatewayConfigTypeEnum(val string) (DatabaseApiGatewayConfigTypeEnum, bool)
GetMappingDatabaseApiGatewayConfigTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsClient a client for DatabaseTools
type DatabaseToolsClient struct {
common.BaseClient
// contains filtered or unexported fields
}
func NewDatabaseToolsClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DatabaseToolsClient, err error)
NewDatabaseToolsClientWithConfigurationProvider Creates a new default DatabaseTools client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewDatabaseToolsClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DatabaseToolsClient, err error)
NewDatabaseToolsClientWithOboToken Creates a new default DatabaseTools 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 DatabaseToolsClient) AddDatabaseToolsConnectionLock(ctx context.Context, request AddDatabaseToolsConnectionLockRequest) (response AddDatabaseToolsConnectionLockResponse, err error)
AddDatabaseToolsConnectionLock Adds a lock to a DatabaseToolsConnection resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/AddDatabaseToolsConnectionLock.go.html to see an example of how to use AddDatabaseToolsConnectionLock API.
func (client DatabaseToolsClient) AddDatabaseToolsDatabaseApiGatewayConfigLock(ctx context.Context, request AddDatabaseToolsDatabaseApiGatewayConfigLockRequest) (response AddDatabaseToolsDatabaseApiGatewayConfigLockResponse, err error)
AddDatabaseToolsDatabaseApiGatewayConfigLock Adds a lock to a DatabaseToolsDatabaseApiGatewayConfig resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/AddDatabaseToolsDatabaseApiGatewayConfigLock.go.html to see an example of how to use AddDatabaseToolsDatabaseApiGatewayConfigLock API.
func (client DatabaseToolsClient) AddDatabaseToolsIdentityLock(ctx context.Context, request AddDatabaseToolsIdentityLockRequest) (response AddDatabaseToolsIdentityLockResponse, err error)
AddDatabaseToolsIdentityLock Adds a lock to a DatabaseToolsIdentity resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/AddDatabaseToolsIdentityLock.go.html to see an example of how to use AddDatabaseToolsIdentityLock API.
func (client DatabaseToolsClient) AddDatabaseToolsMcpServerLock(ctx context.Context, request AddDatabaseToolsMcpServerLockRequest) (response AddDatabaseToolsMcpServerLockResponse, err error)
AddDatabaseToolsMcpServerLock Adds a lock to a DatabaseToolsMcpServer resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/AddDatabaseToolsMcpServerLock.go.html to see an example of how to use AddDatabaseToolsMcpServerLock API.
func (client DatabaseToolsClient) AddDatabaseToolsMcpToolsetLock(ctx context.Context, request AddDatabaseToolsMcpToolsetLockRequest) (response AddDatabaseToolsMcpToolsetLockResponse, err error)
AddDatabaseToolsMcpToolsetLock Adds a lock to a DatabaseToolsMcpToolset resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/AddDatabaseToolsMcpToolsetLock.go.html to see an example of how to use AddDatabaseToolsMcpToolsetLock API.
func (client DatabaseToolsClient) AddDatabaseToolsPrivateEndpointLock(ctx context.Context, request AddDatabaseToolsPrivateEndpointLockRequest) (response AddDatabaseToolsPrivateEndpointLockResponse, err error)
AddDatabaseToolsPrivateEndpointLock Adds a lock to a DatabaseToolsPrivateEndpoint resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/AddDatabaseToolsPrivateEndpointLock.go.html to see an example of how to use AddDatabaseToolsPrivateEndpointLock API.
func (client DatabaseToolsClient) AddDatabaseToolsSqlReportLock(ctx context.Context, request AddDatabaseToolsSqlReportLockRequest) (response AddDatabaseToolsSqlReportLockResponse, err error)
AddDatabaseToolsSqlReportLock Adds a lock to a DatabaseToolsSqlReport resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/AddDatabaseToolsSqlReportLock.go.html to see an example of how to use AddDatabaseToolsSqlReportLock API.
func (client DatabaseToolsClient) CascadingDeleteDatabaseToolsMcpServer(ctx context.Context, request CascadingDeleteDatabaseToolsMcpServerRequest) (response CascadingDeleteDatabaseToolsMcpServerResponse, err error)
CascadingDeleteDatabaseToolsMcpServer Deletes Database Tools McpServer resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/CascadingDeleteDatabaseToolsMcpServer.go.html to see an example of how to use CascadingDeleteDatabaseToolsMcpServer API.
func (client DatabaseToolsClient) ChangeDatabaseToolsConnectionCompartment(ctx context.Context, request ChangeDatabaseToolsConnectionCompartmentRequest) (response ChangeDatabaseToolsConnectionCompartmentResponse, err error)
ChangeDatabaseToolsConnectionCompartment Moves the specified Database Tools connection to a different compartment in the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ChangeDatabaseToolsConnectionCompartment.go.html to see an example of how to use ChangeDatabaseToolsConnectionCompartment API.
func (client DatabaseToolsClient) ChangeDatabaseToolsDatabaseApiGatewayConfigCompartment(ctx context.Context, request ChangeDatabaseToolsDatabaseApiGatewayConfigCompartmentRequest) (response ChangeDatabaseToolsDatabaseApiGatewayConfigCompartmentResponse, err error)
ChangeDatabaseToolsDatabaseApiGatewayConfigCompartment Moves the specified Database Tools database API gateway config to a different compartment in the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/DbApiGatewayConfig/Tasks/managingcompartments.htm#moveRes).
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ChangeDatabaseToolsDatabaseApiGatewayConfigCompartment.go.html to see an example of how to use ChangeDatabaseToolsDatabaseApiGatewayConfigCompartment API.
func (client DatabaseToolsClient) ChangeDatabaseToolsIdentityCompartment(ctx context.Context, request ChangeDatabaseToolsIdentityCompartmentRequest) (response ChangeDatabaseToolsIdentityCompartmentResponse, err error)
ChangeDatabaseToolsIdentityCompartment Moves the specified Database Tools identity to a different compartment in the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ChangeDatabaseToolsIdentityCompartment.go.html to see an example of how to use ChangeDatabaseToolsIdentityCompartment API.
func (client DatabaseToolsClient) ChangeDatabaseToolsMcpServerCompartment(ctx context.Context, request ChangeDatabaseToolsMcpServerCompartmentRequest) (response ChangeDatabaseToolsMcpServerCompartmentResponse, err error)
ChangeDatabaseToolsMcpServerCompartment Moves the specified Database Tools mcpserver to a different compartment in the same tenancy.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ChangeDatabaseToolsMcpServerCompartment.go.html to see an example of how to use ChangeDatabaseToolsMcpServerCompartment API.
func (client DatabaseToolsClient) ChangeDatabaseToolsMcpToolsetCompartment(ctx context.Context, request ChangeDatabaseToolsMcpToolsetCompartmentRequest) (response ChangeDatabaseToolsMcpToolsetCompartmentResponse, err error)
ChangeDatabaseToolsMcpToolsetCompartment Moves the specified Database Tools MCP Toolset to a different compartment in the same tenancy.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ChangeDatabaseToolsMcpToolsetCompartment.go.html to see an example of how to use ChangeDatabaseToolsMcpToolsetCompartment API.
func (client DatabaseToolsClient) ChangeDatabaseToolsPrivateEndpointCompartment(ctx context.Context, request ChangeDatabaseToolsPrivateEndpointCompartmentRequest) (response ChangeDatabaseToolsPrivateEndpointCompartmentResponse, err error)
ChangeDatabaseToolsPrivateEndpointCompartment Moves a Database Tools private endpoint into a different compartment in the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ChangeDatabaseToolsPrivateEndpointCompartment.go.html to see an example of how to use ChangeDatabaseToolsPrivateEndpointCompartment API.
func (client DatabaseToolsClient) ChangeDatabaseToolsSqlReportCompartment(ctx context.Context, request ChangeDatabaseToolsSqlReportCompartmentRequest) (response ChangeDatabaseToolsSqlReportCompartmentResponse, err error)
ChangeDatabaseToolsSqlReportCompartment Moves the specified Database Tools SQL Report to a different compartment in the same tenancy.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ChangeDatabaseToolsSqlReportCompartment.go.html to see an example of how to use ChangeDatabaseToolsSqlReportCompartment API.
func (client *DatabaseToolsClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client DatabaseToolsClient) CreateDatabaseToolsConnection(ctx context.Context, request CreateDatabaseToolsConnectionRequest) (response CreateDatabaseToolsConnectionResponse, err error)
CreateDatabaseToolsConnection Creates a new Database Tools connection.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/CreateDatabaseToolsConnection.go.html to see an example of how to use CreateDatabaseToolsConnection API. A default retry strategy applies to this operation CreateDatabaseToolsConnection()
func (client DatabaseToolsClient) CreateDatabaseToolsDatabaseApiGatewayConfig(ctx context.Context, request CreateDatabaseToolsDatabaseApiGatewayConfigRequest) (response CreateDatabaseToolsDatabaseApiGatewayConfigResponse, err error)
CreateDatabaseToolsDatabaseApiGatewayConfig Creates a new Database Tools database API gateway config.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/CreateDatabaseToolsDatabaseApiGatewayConfig.go.html to see an example of how to use CreateDatabaseToolsDatabaseApiGatewayConfig API. A default retry strategy applies to this operation CreateDatabaseToolsDatabaseApiGatewayConfig()
func (client DatabaseToolsClient) CreateDatabaseToolsIdentity(ctx context.Context, request CreateDatabaseToolsIdentityRequest) (response CreateDatabaseToolsIdentityResponse, err error)
CreateDatabaseToolsIdentity Creates a new Database Tools identity.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/CreateDatabaseToolsIdentity.go.html to see an example of how to use CreateDatabaseToolsIdentity API. A default retry strategy applies to this operation CreateDatabaseToolsIdentity()
func (client DatabaseToolsClient) CreateDatabaseToolsMcpServer(ctx context.Context, request CreateDatabaseToolsMcpServerRequest) (response CreateDatabaseToolsMcpServerResponse, err error)
CreateDatabaseToolsMcpServer Creates a new Database Tools MCP server.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/CreateDatabaseToolsMcpServer.go.html to see an example of how to use CreateDatabaseToolsMcpServer API. A default retry strategy applies to this operation CreateDatabaseToolsMcpServer()
func (client DatabaseToolsClient) CreateDatabaseToolsMcpToolset(ctx context.Context, request CreateDatabaseToolsMcpToolsetRequest) (response CreateDatabaseToolsMcpToolsetResponse, err error)
CreateDatabaseToolsMcpToolset Creates a new Database Tools MCP Toolset.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/CreateDatabaseToolsMcpToolset.go.html to see an example of how to use CreateDatabaseToolsMcpToolset API. A default retry strategy applies to this operation CreateDatabaseToolsMcpToolset()
func (client DatabaseToolsClient) CreateDatabaseToolsPrivateEndpoint(ctx context.Context, request CreateDatabaseToolsPrivateEndpointRequest) (response CreateDatabaseToolsPrivateEndpointResponse, err error)
CreateDatabaseToolsPrivateEndpoint Creates a new Database Tools private endpoint.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/CreateDatabaseToolsPrivateEndpoint.go.html to see an example of how to use CreateDatabaseToolsPrivateEndpoint API. A default retry strategy applies to this operation CreateDatabaseToolsPrivateEndpoint()
func (client DatabaseToolsClient) CreateDatabaseToolsSqlReport(ctx context.Context, request CreateDatabaseToolsSqlReportRequest) (response CreateDatabaseToolsSqlReportResponse, err error)
CreateDatabaseToolsSqlReport Creates a new Database Tools Sql Report.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/CreateDatabaseToolsSqlReport.go.html to see an example of how to use CreateDatabaseToolsSqlReport API. A default retry strategy applies to this operation CreateDatabaseToolsSqlReport()
func (client DatabaseToolsClient) DeleteDatabaseToolsConnection(ctx context.Context, request DeleteDatabaseToolsConnectionRequest) (response DeleteDatabaseToolsConnectionResponse, err error)
DeleteDatabaseToolsConnection Deletes the specified Database Tools connection resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/DeleteDatabaseToolsConnection.go.html to see an example of how to use DeleteDatabaseToolsConnection API.
func (client DatabaseToolsClient) DeleteDatabaseToolsDatabaseApiGatewayConfig(ctx context.Context, request DeleteDatabaseToolsDatabaseApiGatewayConfigRequest) (response DeleteDatabaseToolsDatabaseApiGatewayConfigResponse, err error)
DeleteDatabaseToolsDatabaseApiGatewayConfig Deletes the specified Database Tools database API gateway config resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/DeleteDatabaseToolsDatabaseApiGatewayConfig.go.html to see an example of how to use DeleteDatabaseToolsDatabaseApiGatewayConfig API.
func (client DatabaseToolsClient) DeleteDatabaseToolsIdentity(ctx context.Context, request DeleteDatabaseToolsIdentityRequest) (response DeleteDatabaseToolsIdentityResponse, err error)
DeleteDatabaseToolsIdentity Deletes the specified Database Tools identity resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/DeleteDatabaseToolsIdentity.go.html to see an example of how to use DeleteDatabaseToolsIdentity API.
func (client DatabaseToolsClient) DeleteDatabaseToolsMcpServer(ctx context.Context, request DeleteDatabaseToolsMcpServerRequest) (response DeleteDatabaseToolsMcpServerResponse, err error)
DeleteDatabaseToolsMcpServer Deletes the specified Database Tools MCP server resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/DeleteDatabaseToolsMcpServer.go.html to see an example of how to use DeleteDatabaseToolsMcpServer API.
func (client DatabaseToolsClient) DeleteDatabaseToolsMcpToolset(ctx context.Context, request DeleteDatabaseToolsMcpToolsetRequest) (response DeleteDatabaseToolsMcpToolsetResponse, err error)
DeleteDatabaseToolsMcpToolset Deletes the specified Database Tools MCP Toolset resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/DeleteDatabaseToolsMcpToolset.go.html to see an example of how to use DeleteDatabaseToolsMcpToolset API.
func (client DatabaseToolsClient) DeleteDatabaseToolsPrivateEndpoint(ctx context.Context, request DeleteDatabaseToolsPrivateEndpointRequest) (response DeleteDatabaseToolsPrivateEndpointResponse, err error)
DeleteDatabaseToolsPrivateEndpoint Deletes the specified Database Tools private endpoint.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/DeleteDatabaseToolsPrivateEndpoint.go.html to see an example of how to use DeleteDatabaseToolsPrivateEndpoint API.
func (client DatabaseToolsClient) DeleteDatabaseToolsSqlReport(ctx context.Context, request DeleteDatabaseToolsSqlReportRequest) (response DeleteDatabaseToolsSqlReportResponse, err error)
DeleteDatabaseToolsSqlReport Deletes the specified Database Tools SQL Report resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/DeleteDatabaseToolsSqlReport.go.html to see an example of how to use DeleteDatabaseToolsSqlReport API.
func (client DatabaseToolsClient) GetDatabaseToolsConnection(ctx context.Context, request GetDatabaseToolsConnectionRequest) (response GetDatabaseToolsConnectionResponse, err error)
GetDatabaseToolsConnection Gets details of the specified Database Tools connection.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/GetDatabaseToolsConnection.go.html to see an example of how to use GetDatabaseToolsConnection API. A default retry strategy applies to this operation GetDatabaseToolsConnection()
func (client DatabaseToolsClient) GetDatabaseToolsDatabaseApiGatewayConfig(ctx context.Context, request GetDatabaseToolsDatabaseApiGatewayConfigRequest) (response GetDatabaseToolsDatabaseApiGatewayConfigResponse, err error)
GetDatabaseToolsDatabaseApiGatewayConfig Gets details of the specified Database Tools database API gateway config.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/GetDatabaseToolsDatabaseApiGatewayConfig.go.html to see an example of how to use GetDatabaseToolsDatabaseApiGatewayConfig API. A default retry strategy applies to this operation GetDatabaseToolsDatabaseApiGatewayConfig()
func (client DatabaseToolsClient) GetDatabaseToolsEndpointService(ctx context.Context, request GetDatabaseToolsEndpointServiceRequest) (response GetDatabaseToolsEndpointServiceResponse, err error)
GetDatabaseToolsEndpointService Gets details for the specified Database Tools endpoint service.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/GetDatabaseToolsEndpointService.go.html to see an example of how to use GetDatabaseToolsEndpointService API. A default retry strategy applies to this operation GetDatabaseToolsEndpointService()
func (client DatabaseToolsClient) GetDatabaseToolsIdentity(ctx context.Context, request GetDatabaseToolsIdentityRequest) (response GetDatabaseToolsIdentityResponse, err error)
GetDatabaseToolsIdentity Gets details of the specified Database Tools identity.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/GetDatabaseToolsIdentity.go.html to see an example of how to use GetDatabaseToolsIdentity API. A default retry strategy applies to this operation GetDatabaseToolsIdentity()
func (client DatabaseToolsClient) GetDatabaseToolsMcpServer(ctx context.Context, request GetDatabaseToolsMcpServerRequest) (response GetDatabaseToolsMcpServerResponse, err error)
GetDatabaseToolsMcpServer Gets details of the specified Database Tools MCP server.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/GetDatabaseToolsMcpServer.go.html to see an example of how to use GetDatabaseToolsMcpServer API. A default retry strategy applies to this operation GetDatabaseToolsMcpServer()
func (client DatabaseToolsClient) GetDatabaseToolsMcpToolset(ctx context.Context, request GetDatabaseToolsMcpToolsetRequest) (response GetDatabaseToolsMcpToolsetResponse, err error)
GetDatabaseToolsMcpToolset Gets details of the specified Database Tools MCP Toolset.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/GetDatabaseToolsMcpToolset.go.html to see an example of how to use GetDatabaseToolsMcpToolset API. A default retry strategy applies to this operation GetDatabaseToolsMcpToolset()
func (client DatabaseToolsClient) GetDatabaseToolsPrivateEndpoint(ctx context.Context, request GetDatabaseToolsPrivateEndpointRequest) (response GetDatabaseToolsPrivateEndpointResponse, err error)
GetDatabaseToolsPrivateEndpoint Gets details of a specified Database Tools private endpoint.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/GetDatabaseToolsPrivateEndpoint.go.html to see an example of how to use GetDatabaseToolsPrivateEndpoint API. A default retry strategy applies to this operation GetDatabaseToolsPrivateEndpoint()
func (client DatabaseToolsClient) GetDatabaseToolsSqlReport(ctx context.Context, request GetDatabaseToolsSqlReportRequest) (response GetDatabaseToolsSqlReportResponse, err error)
GetDatabaseToolsSqlReport Gets details of the specified Database Tools SQL report.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/GetDatabaseToolsSqlReport.go.html to see an example of how to use GetDatabaseToolsSqlReport API. A default retry strategy applies to this operation GetDatabaseToolsSqlReport()
func (client DatabaseToolsClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets the status of the specified work request.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()
func (client DatabaseToolsClient) ListDatabaseToolsConnections(ctx context.Context, request ListDatabaseToolsConnectionsRequest) (response ListDatabaseToolsConnectionsResponse, err error)
ListDatabaseToolsConnections Returns a list of Database Tools connections.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ListDatabaseToolsConnections.go.html to see an example of how to use ListDatabaseToolsConnections API. A default retry strategy applies to this operation ListDatabaseToolsConnections()
func (client DatabaseToolsClient) ListDatabaseToolsDatabaseApiGatewayConfigs(ctx context.Context, request ListDatabaseToolsDatabaseApiGatewayConfigsRequest) (response ListDatabaseToolsDatabaseApiGatewayConfigsResponse, err error)
ListDatabaseToolsDatabaseApiGatewayConfigs Returns a list of Database Tools database API gateway configs.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ListDatabaseToolsDatabaseApiGatewayConfigs.go.html to see an example of how to use ListDatabaseToolsDatabaseApiGatewayConfigs API. A default retry strategy applies to this operation ListDatabaseToolsDatabaseApiGatewayConfigs()
func (client DatabaseToolsClient) ListDatabaseToolsEndpointServices(ctx context.Context, request ListDatabaseToolsEndpointServicesRequest) (response ListDatabaseToolsEndpointServicesResponse, err error)
ListDatabaseToolsEndpointServices Returns a list of Database Tools endpoint services.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ListDatabaseToolsEndpointServices.go.html to see an example of how to use ListDatabaseToolsEndpointServices API. A default retry strategy applies to this operation ListDatabaseToolsEndpointServices()
func (client DatabaseToolsClient) ListDatabaseToolsIdentities(ctx context.Context, request ListDatabaseToolsIdentitiesRequest) (response ListDatabaseToolsIdentitiesResponse, err error)
ListDatabaseToolsIdentities Returns a list of Database Tools identities.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ListDatabaseToolsIdentities.go.html to see an example of how to use ListDatabaseToolsIdentities API. A default retry strategy applies to this operation ListDatabaseToolsIdentities()
func (client DatabaseToolsClient) ListDatabaseToolsMcpServers(ctx context.Context, request ListDatabaseToolsMcpServersRequest) (response ListDatabaseToolsMcpServersResponse, err error)
ListDatabaseToolsMcpServers Returns a list of Database Tools MCP servers.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ListDatabaseToolsMcpServers.go.html to see an example of how to use ListDatabaseToolsMcpServers API. A default retry strategy applies to this operation ListDatabaseToolsMcpServers()
func (client DatabaseToolsClient) ListDatabaseToolsMcpToolsetVersions(ctx context.Context, request ListDatabaseToolsMcpToolsetVersionsRequest) (response ListDatabaseToolsMcpToolsetVersionsResponse, err error)
ListDatabaseToolsMcpToolsetVersions Returns a list of Database Tools Toolset versions
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ListDatabaseToolsMcpToolsetVersions.go.html to see an example of how to use ListDatabaseToolsMcpToolsetVersions API. A default retry strategy applies to this operation ListDatabaseToolsMcpToolsetVersions()
func (client DatabaseToolsClient) ListDatabaseToolsMcpToolsets(ctx context.Context, request ListDatabaseToolsMcpToolsetsRequest) (response ListDatabaseToolsMcpToolsetsResponse, err error)
ListDatabaseToolsMcpToolsets Returns a list of Database Tools Toolsets.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ListDatabaseToolsMcpToolsets.go.html to see an example of how to use ListDatabaseToolsMcpToolsets API. A default retry strategy applies to this operation ListDatabaseToolsMcpToolsets()
func (client DatabaseToolsClient) ListDatabaseToolsPrivateEndpoints(ctx context.Context, request ListDatabaseToolsPrivateEndpointsRequest) (response ListDatabaseToolsPrivateEndpointsResponse, err error)
ListDatabaseToolsPrivateEndpoints Returns a list of Database Tools private endpoints.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ListDatabaseToolsPrivateEndpoints.go.html to see an example of how to use ListDatabaseToolsPrivateEndpoints API. A default retry strategy applies to this operation ListDatabaseToolsPrivateEndpoints()
func (client DatabaseToolsClient) ListDatabaseToolsSqlReports(ctx context.Context, request ListDatabaseToolsSqlReportsRequest) (response ListDatabaseToolsSqlReportsResponse, err error)
ListDatabaseToolsSqlReports Returns a list of Database Tools SQL reports.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ListDatabaseToolsSqlReports.go.html to see an example of how to use ListDatabaseToolsSqlReports API. A default retry strategy applies to this operation ListDatabaseToolsSqlReports()
func (client DatabaseToolsClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Returns a paginated list of errors for the specified work request.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()
func (client DatabaseToolsClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Returns a paginated list of logs for the specified work request.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()
func (client DatabaseToolsClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()
func (client DatabaseToolsClient) RefreshDatabaseToolsIdentityCredential(ctx context.Context, request RefreshDatabaseToolsIdentityCredentialRequest) (response RefreshDatabaseToolsIdentityCredentialResponse, err error)
RefreshDatabaseToolsIdentityCredential Refresh Database Tools identity credential.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/RefreshDatabaseToolsIdentityCredential.go.html to see an example of how to use RefreshDatabaseToolsIdentityCredential API.
func (client DatabaseToolsClient) RemoveDatabaseToolsConnectionLock(ctx context.Context, request RemoveDatabaseToolsConnectionLockRequest) (response RemoveDatabaseToolsConnectionLockResponse, err error)
RemoveDatabaseToolsConnectionLock Removes a lock from a DatabaseToolsConnection resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/RemoveDatabaseToolsConnectionLock.go.html to see an example of how to use RemoveDatabaseToolsConnectionLock API.
func (client DatabaseToolsClient) RemoveDatabaseToolsDatabaseApiGatewayConfigLock(ctx context.Context, request RemoveDatabaseToolsDatabaseApiGatewayConfigLockRequest) (response RemoveDatabaseToolsDatabaseApiGatewayConfigLockResponse, err error)
RemoveDatabaseToolsDatabaseApiGatewayConfigLock Removes a lock from a DatabaseToolsDatabaseApiGatewayConfig resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/RemoveDatabaseToolsDatabaseApiGatewayConfigLock.go.html to see an example of how to use RemoveDatabaseToolsDatabaseApiGatewayConfigLock API.
func (client DatabaseToolsClient) RemoveDatabaseToolsIdentityLock(ctx context.Context, request RemoveDatabaseToolsIdentityLockRequest) (response RemoveDatabaseToolsIdentityLockResponse, err error)
RemoveDatabaseToolsIdentityLock Removes a lock from a DatabaseToolsIdentity resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/RemoveDatabaseToolsIdentityLock.go.html to see an example of how to use RemoveDatabaseToolsIdentityLock API.
func (client DatabaseToolsClient) RemoveDatabaseToolsMcpServerLock(ctx context.Context, request RemoveDatabaseToolsMcpServerLockRequest) (response RemoveDatabaseToolsMcpServerLockResponse, err error)
RemoveDatabaseToolsMcpServerLock Removes a lock from a DatabaseToolsMcpServer resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/RemoveDatabaseToolsMcpServerLock.go.html to see an example of how to use RemoveDatabaseToolsMcpServerLock API.
func (client DatabaseToolsClient) RemoveDatabaseToolsMcpToolsetLock(ctx context.Context, request RemoveDatabaseToolsMcpToolsetLockRequest) (response RemoveDatabaseToolsMcpToolsetLockResponse, err error)
RemoveDatabaseToolsMcpToolsetLock Removes a lock from a DatabaseToolsMcpToolset resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/RemoveDatabaseToolsMcpToolsetLock.go.html to see an example of how to use RemoveDatabaseToolsMcpToolsetLock API.
func (client DatabaseToolsClient) RemoveDatabaseToolsPrivateEndpointLock(ctx context.Context, request RemoveDatabaseToolsPrivateEndpointLockRequest) (response RemoveDatabaseToolsPrivateEndpointLockResponse, err error)
RemoveDatabaseToolsPrivateEndpointLock Removes a lock from a DatabaseToolsPrivateEndpoint resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/RemoveDatabaseToolsPrivateEndpointLock.go.html to see an example of how to use RemoveDatabaseToolsPrivateEndpointLock API.
func (client DatabaseToolsClient) RemoveDatabaseToolsSqlReportLock(ctx context.Context, request RemoveDatabaseToolsSqlReportLockRequest) (response RemoveDatabaseToolsSqlReportLockResponse, err error)
RemoveDatabaseToolsSqlReportLock Removes a lock from a DatabaseToolsSqlReport resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/RemoveDatabaseToolsSqlReportLock.go.html to see an example of how to use RemoveDatabaseToolsSqlReportLock API.
func (client *DatabaseToolsClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client DatabaseToolsClient) UpdateDatabaseToolsConnection(ctx context.Context, request UpdateDatabaseToolsConnectionRequest) (response UpdateDatabaseToolsConnectionResponse, err error)
UpdateDatabaseToolsConnection Updates the specified Database Tools connection.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/UpdateDatabaseToolsConnection.go.html to see an example of how to use UpdateDatabaseToolsConnection API.
func (client DatabaseToolsClient) UpdateDatabaseToolsDatabaseApiGatewayConfig(ctx context.Context, request UpdateDatabaseToolsDatabaseApiGatewayConfigRequest) (response UpdateDatabaseToolsDatabaseApiGatewayConfigResponse, err error)
UpdateDatabaseToolsDatabaseApiGatewayConfig Updates the specified Database Tools database API gateway config.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/UpdateDatabaseToolsDatabaseApiGatewayConfig.go.html to see an example of how to use UpdateDatabaseToolsDatabaseApiGatewayConfig API.
func (client DatabaseToolsClient) UpdateDatabaseToolsIdentity(ctx context.Context, request UpdateDatabaseToolsIdentityRequest) (response UpdateDatabaseToolsIdentityResponse, err error)
UpdateDatabaseToolsIdentity Updates the specified Database Tools identity.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/UpdateDatabaseToolsIdentity.go.html to see an example of how to use UpdateDatabaseToolsIdentity API.
func (client DatabaseToolsClient) UpdateDatabaseToolsMcpServer(ctx context.Context, request UpdateDatabaseToolsMcpServerRequest) (response UpdateDatabaseToolsMcpServerResponse, err error)
UpdateDatabaseToolsMcpServer Updates the specified Database Tools MCP server.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/UpdateDatabaseToolsMcpServer.go.html to see an example of how to use UpdateDatabaseToolsMcpServer API.
func (client DatabaseToolsClient) UpdateDatabaseToolsMcpToolset(ctx context.Context, request UpdateDatabaseToolsMcpToolsetRequest) (response UpdateDatabaseToolsMcpToolsetResponse, err error)
UpdateDatabaseToolsMcpToolset Updates the specified Database Tools MCP Toolset.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/UpdateDatabaseToolsMcpToolset.go.html to see an example of how to use UpdateDatabaseToolsMcpToolset API.
func (client DatabaseToolsClient) UpdateDatabaseToolsPrivateEndpoint(ctx context.Context, request UpdateDatabaseToolsPrivateEndpointRequest) (response UpdateDatabaseToolsPrivateEndpointResponse, err error)
UpdateDatabaseToolsPrivateEndpoint Updates the specified Database Tools private endpoint.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/UpdateDatabaseToolsPrivateEndpoint.go.html to see an example of how to use UpdateDatabaseToolsPrivateEndpoint API.
func (client DatabaseToolsClient) UpdateDatabaseToolsSqlReport(ctx context.Context, request UpdateDatabaseToolsSqlReportRequest) (response UpdateDatabaseToolsSqlReportResponse, err error)
UpdateDatabaseToolsSqlReport Updates the specified Database Tools SQL Report.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/UpdateDatabaseToolsSqlReport.go.html to see an example of how to use UpdateDatabaseToolsSqlReport API.
func (client DatabaseToolsClient) ValidateDatabaseToolsConnection(ctx context.Context, request ValidateDatabaseToolsConnectionRequest) (response ValidateDatabaseToolsConnectionResponse, err error)
ValidateDatabaseToolsConnection Validates the Database Tools connection details by establishing a connection to the database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ValidateDatabaseToolsConnection.go.html to see an example of how to use ValidateDatabaseToolsConnection API.
func (client DatabaseToolsClient) ValidateDatabaseToolsIdentityCredential(ctx context.Context, request ValidateDatabaseToolsIdentityCredentialRequest) (response ValidateDatabaseToolsIdentityCredentialResponse, err error)
ValidateDatabaseToolsIdentityCredential Validates the Database Tools identity credentials by establishing a connection to the customer database and executing the dbms_cloud.send_request to validate the credential.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ValidateDatabaseToolsIdentityCredential.go.html to see an example of how to use ValidateDatabaseToolsIdentityCredential API.
DatabaseToolsConnection Provides connectivity details required to establish a connection to a database.
type DatabaseToolsConnection interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools connection.
GetId() *string
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
GetDisplayName() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools connection.
GetCompartmentId() *string
// The current state of the Database Tools connection.
GetLifecycleState() LifecycleStateEnum
// The time the Database Tools connection was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the Database Tools connection was updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
// Specifies whether this connection is supported by the Database Tools Runtime.
GetRuntimeSupport() RuntimeSupportEnum
// Specifies the Database Tools Runtime endpoint.
GetRuntimeEndpoint() *string
// Specifies the identity used when accessing OCI resources at runtime. AUTHENTICATED_PRINCIPAL to use the caller’s identity (On-Behalf-Of token), or RESOURCE_PRINCIPAL to use the connection’s resource principal (RPST).
GetRuntimeIdentity() RuntimeIdentityEnum
// A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
GetLifecycleDetails() *string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
GetSystemTags() map[string]map[string]interface{}
// Locks associated with this resource.
GetLocks() []ResourceLock
}
DatabaseToolsConnectionCollection List of Database Tools connection summary items.
type DatabaseToolsConnectionCollection struct {
// Array of Database Tools connection summary items.
Items []DatabaseToolsConnectionSummary `mandatory:"true" json:"items"`
}
func (m DatabaseToolsConnectionCollection) String() string
func (m *DatabaseToolsConnectionCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsConnectionCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsConnectionGenericJdbc Database Tools connection of a Generic JDBC database system.
type DatabaseToolsConnectionGenericJdbc struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools connection.
Id *string `mandatory:"true" json:"id"`
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools connection.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The time the Database Tools connection was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Database Tools connection was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Specifies the Database Tools Runtime endpoint.
RuntimeEndpoint *string `mandatory:"true" json:"runtimeEndpoint"`
// The JDBC URL used to connect to the Generic JDBC database system.
Url *string `mandatory:"true" json:"url"`
// A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// The database user name.
UserName *string `mandatory:"false" json:"userName"`
UserPassword DatabaseToolsUserPassword `mandatory:"false" json:"userPassword"`
// The advanced connection properties key-value pair.
AdvancedProperties map[string]string `mandatory:"false" json:"advancedProperties"`
// The CA certificate to verify the server's certificate and
// the client private key and associated certificate required for client authentication.
KeyStores []DatabaseToolsKeyStoreGenericJdbc `mandatory:"false" json:"keyStores"`
// The current state of the Database Tools connection.
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Specifies whether this connection is supported by the Database Tools Runtime.
RuntimeSupport RuntimeSupportEnum `mandatory:"true" json:"runtimeSupport"`
// Specifies the identity used when accessing OCI resources at runtime. AUTHENTICATED_PRINCIPAL to use the caller’s identity (On-Behalf-Of token), or RESOURCE_PRINCIPAL to use the connection’s resource principal (RPST).
RuntimeIdentity RuntimeIdentityEnum `mandatory:"true" json:"runtimeIdentity"`
}
func (m DatabaseToolsConnectionGenericJdbc) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DatabaseToolsConnectionGenericJdbc) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DatabaseToolsConnectionGenericJdbc) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsConnectionGenericJdbc) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DatabaseToolsConnectionGenericJdbc) GetId() *string
GetId returns Id
func (m DatabaseToolsConnectionGenericJdbc) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DatabaseToolsConnectionGenericJdbc) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DatabaseToolsConnectionGenericJdbc) GetLocks() []ResourceLock
GetLocks returns Locks
func (m DatabaseToolsConnectionGenericJdbc) GetRuntimeEndpoint() *string
GetRuntimeEndpoint returns RuntimeEndpoint
func (m DatabaseToolsConnectionGenericJdbc) GetRuntimeIdentity() RuntimeIdentityEnum
GetRuntimeIdentity returns RuntimeIdentity
func (m DatabaseToolsConnectionGenericJdbc) GetRuntimeSupport() RuntimeSupportEnum
GetRuntimeSupport returns RuntimeSupport
func (m DatabaseToolsConnectionGenericJdbc) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DatabaseToolsConnectionGenericJdbc) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsConnectionGenericJdbc) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsConnectionGenericJdbc) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsConnectionGenericJdbc) String() string
func (m *DatabaseToolsConnectionGenericJdbc) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsConnectionGenericJdbc) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsConnectionGenericJdbcSummary Database Tools connection summary of a Generic JDBC database system.
type DatabaseToolsConnectionGenericJdbcSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools connection.
Id *string `mandatory:"true" json:"id"`
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools connection.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The time the Database Tools connection was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Database Tools connection was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Specifies the Database Tools Runtime endpoint.
RuntimeEndpoint *string `mandatory:"true" json:"runtimeEndpoint"`
// The JDBC URL used to connect to the Generic JDBC database system.
Url *string `mandatory:"true" json:"url"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// The database user name.
UserName *string `mandatory:"false" json:"userName"`
UserPassword DatabaseToolsUserPasswordSummary `mandatory:"false" json:"userPassword"`
// The advanced connection properties key-value pair.
AdvancedProperties map[string]string `mandatory:"false" json:"advancedProperties"`
// The CA certificate to verify the server's certificate and
// the client private key and associated certificate required for client authentication.
KeyStores []DatabaseToolsKeyStoreGenericJdbcSummary `mandatory:"false" json:"keyStores"`
// The current state of the Database Tools connection.
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Specifies whether this connection is supported by the Database Tools Runtime.
RuntimeSupport RuntimeSupportEnum `mandatory:"true" json:"runtimeSupport"`
// Specifies the identity used when accessing OCI resources at runtime. AUTHENTICATED_PRINCIPAL to use the caller’s identity (On-Behalf-Of token), or RESOURCE_PRINCIPAL to use the connection’s resource principal (RPST).
RuntimeIdentity RuntimeIdentityEnum `mandatory:"true" json:"runtimeIdentity"`
}
func (m DatabaseToolsConnectionGenericJdbcSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DatabaseToolsConnectionGenericJdbcSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DatabaseToolsConnectionGenericJdbcSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsConnectionGenericJdbcSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DatabaseToolsConnectionGenericJdbcSummary) GetId() *string
GetId returns Id
func (m DatabaseToolsConnectionGenericJdbcSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DatabaseToolsConnectionGenericJdbcSummary) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DatabaseToolsConnectionGenericJdbcSummary) GetLocks() []ResourceLock
GetLocks returns Locks
func (m DatabaseToolsConnectionGenericJdbcSummary) GetRuntimeEndpoint() *string
GetRuntimeEndpoint returns RuntimeEndpoint
func (m DatabaseToolsConnectionGenericJdbcSummary) GetRuntimeIdentity() RuntimeIdentityEnum
GetRuntimeIdentity returns RuntimeIdentity
func (m DatabaseToolsConnectionGenericJdbcSummary) GetRuntimeSupport() RuntimeSupportEnum
GetRuntimeSupport returns RuntimeSupport
func (m DatabaseToolsConnectionGenericJdbcSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DatabaseToolsConnectionGenericJdbcSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsConnectionGenericJdbcSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsConnectionGenericJdbcSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsConnectionGenericJdbcSummary) String() string
func (m *DatabaseToolsConnectionGenericJdbcSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsConnectionGenericJdbcSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsConnectionMySql Database Tools connection of a MySQL Server.
type DatabaseToolsConnectionMySql struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools connection.
Id *string `mandatory:"true" json:"id"`
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools connection.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The time the Database Tools connection was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Database Tools connection was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Specifies the Database Tools Runtime endpoint.
RuntimeEndpoint *string `mandatory:"true" json:"runtimeEndpoint"`
// The connection string used to connect to the MySQL Server.
ConnectionString *string `mandatory:"true" json:"connectionString"`
// A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
RelatedResource *DatabaseToolsRelatedResourceMySql `mandatory:"false" json:"relatedResource"`
// The database user name.
UserName *string `mandatory:"false" json:"userName"`
UserPassword DatabaseToolsUserPassword `mandatory:"false" json:"userPassword"`
// The advanced connection properties key-value pair (for example, `sslMode`).
AdvancedProperties map[string]string `mandatory:"false" json:"advancedProperties"`
// The CA certificate to verify the server's certificate and
// the client private key and associated certificate required for client authentication.
KeyStores []DatabaseToolsKeyStoreMySql `mandatory:"false" json:"keyStores"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools private endpoint used to access the database in the customer VCN.
PrivateEndpointId *string `mandatory:"false" json:"privateEndpointId"`
// The current state of the Database Tools connection.
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Specifies whether this connection is supported by the Database Tools Runtime.
RuntimeSupport RuntimeSupportEnum `mandatory:"true" json:"runtimeSupport"`
// Specifies the identity used when accessing OCI resources at runtime. AUTHENTICATED_PRINCIPAL to use the caller’s identity (On-Behalf-Of token), or RESOURCE_PRINCIPAL to use the connection’s resource principal (RPST).
RuntimeIdentity RuntimeIdentityEnum `mandatory:"true" json:"runtimeIdentity"`
}
func (m DatabaseToolsConnectionMySql) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DatabaseToolsConnectionMySql) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DatabaseToolsConnectionMySql) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsConnectionMySql) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DatabaseToolsConnectionMySql) GetId() *string
GetId returns Id
func (m DatabaseToolsConnectionMySql) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DatabaseToolsConnectionMySql) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DatabaseToolsConnectionMySql) GetLocks() []ResourceLock
GetLocks returns Locks
func (m DatabaseToolsConnectionMySql) GetRuntimeEndpoint() *string
GetRuntimeEndpoint returns RuntimeEndpoint
func (m DatabaseToolsConnectionMySql) GetRuntimeIdentity() RuntimeIdentityEnum
GetRuntimeIdentity returns RuntimeIdentity
func (m DatabaseToolsConnectionMySql) GetRuntimeSupport() RuntimeSupportEnum
GetRuntimeSupport returns RuntimeSupport
func (m DatabaseToolsConnectionMySql) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DatabaseToolsConnectionMySql) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsConnectionMySql) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsConnectionMySql) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsConnectionMySql) String() string
func (m *DatabaseToolsConnectionMySql) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsConnectionMySql) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsConnectionMySqlSummary Database Tools connection summary of a MySQL Server.
type DatabaseToolsConnectionMySqlSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools connection.
Id *string `mandatory:"true" json:"id"`
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools connection.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The time the Database Tools connection was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Database Tools connection was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Specifies the Database Tools Runtime endpoint.
RuntimeEndpoint *string `mandatory:"true" json:"runtimeEndpoint"`
// The connection string used to connect to the MySQL Server.
ConnectionString *string `mandatory:"true" json:"connectionString"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
RelatedResource *DatabaseToolsRelatedResourceMySql `mandatory:"false" json:"relatedResource"`
// The database user name.
UserName *string `mandatory:"false" json:"userName"`
UserPassword DatabaseToolsUserPasswordSummary `mandatory:"false" json:"userPassword"`
// The advanced connection properties key-value pair (e.g., `sslMode`).
AdvancedProperties map[string]string `mandatory:"false" json:"advancedProperties"`
// The CA certificate to verify the server's certificate and
// the client private key and associated certificate required for client authentication.
KeyStores []DatabaseToolsKeyStoreMySqlSummary `mandatory:"false" json:"keyStores"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools private endpoint used to access the database in the customer VCN.
PrivateEndpointId *string `mandatory:"false" json:"privateEndpointId"`
// The current state of the Database Tools connection.
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Specifies whether this connection is supported by the Database Tools Runtime.
RuntimeSupport RuntimeSupportEnum `mandatory:"true" json:"runtimeSupport"`
// Specifies the identity used when accessing OCI resources at runtime. AUTHENTICATED_PRINCIPAL to use the caller’s identity (On-Behalf-Of token), or RESOURCE_PRINCIPAL to use the connection’s resource principal (RPST).
RuntimeIdentity RuntimeIdentityEnum `mandatory:"true" json:"runtimeIdentity"`
}
func (m DatabaseToolsConnectionMySqlSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DatabaseToolsConnectionMySqlSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DatabaseToolsConnectionMySqlSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsConnectionMySqlSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DatabaseToolsConnectionMySqlSummary) GetId() *string
GetId returns Id
func (m DatabaseToolsConnectionMySqlSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DatabaseToolsConnectionMySqlSummary) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DatabaseToolsConnectionMySqlSummary) GetLocks() []ResourceLock
GetLocks returns Locks
func (m DatabaseToolsConnectionMySqlSummary) GetRuntimeEndpoint() *string
GetRuntimeEndpoint returns RuntimeEndpoint
func (m DatabaseToolsConnectionMySqlSummary) GetRuntimeIdentity() RuntimeIdentityEnum
GetRuntimeIdentity returns RuntimeIdentity
func (m DatabaseToolsConnectionMySqlSummary) GetRuntimeSupport() RuntimeSupportEnum
GetRuntimeSupport returns RuntimeSupport
func (m DatabaseToolsConnectionMySqlSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DatabaseToolsConnectionMySqlSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsConnectionMySqlSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsConnectionMySqlSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsConnectionMySqlSummary) String() string
func (m *DatabaseToolsConnectionMySqlSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsConnectionMySqlSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsConnectionOracleDatabase Database Tools connection of an Oracle Database.
type DatabaseToolsConnectionOracleDatabase struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools connection.
Id *string `mandatory:"true" json:"id"`
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools connection.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The time the Database Tools connection was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Database Tools connection was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Specifies the Database Tools Runtime endpoint.
RuntimeEndpoint *string `mandatory:"true" json:"runtimeEndpoint"`
// The connect descriptor or Easy Connect Naming method used to connect to the database.
ConnectionString *string `mandatory:"true" json:"connectionString"`
// A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
RelatedResource *DatabaseToolsRelatedResource `mandatory:"false" json:"relatedResource"`
// The database user name. When authenticationType is TOKEN, if provided, userName must be in square brackets (for example, [proxyClient]).
UserName *string `mandatory:"false" json:"userName"`
UserPassword DatabaseToolsUserPassword `mandatory:"false" json:"userPassword"`
// The advanced connection properties key-value pair (for example, `oracle.net.ssl_server_dn_match`).
AdvancedProperties map[string]string `mandatory:"false" json:"advancedProperties"`
// The Oracle wallet or Java Keystores containing trusted certificates for authenticating the server's public certificate and
// the client private key and associated certificates required for client authentication.
KeyStores []DatabaseToolsKeyStore `mandatory:"false" json:"keyStores"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools private endpoint used to access the database in the customer VCN.
PrivateEndpointId *string `mandatory:"false" json:"privateEndpointId"`
ProxyClient DatabaseToolsConnectionOracleDatabaseProxyClient `mandatory:"false" json:"proxyClient"`
// The current state of the Database Tools connection.
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Specifies whether this connection is supported by the Database Tools Runtime.
RuntimeSupport RuntimeSupportEnum `mandatory:"true" json:"runtimeSupport"`
// Specifies the identity used when accessing OCI resources at runtime. AUTHENTICATED_PRINCIPAL to use the caller’s identity (On-Behalf-Of token), or RESOURCE_PRINCIPAL to use the connection’s resource principal (RPST).
RuntimeIdentity RuntimeIdentityEnum `mandatory:"true" json:"runtimeIdentity"`
// Specifies the authentication type used to connect to the database.
AuthenticationType AuthenticationTypeEnum `mandatory:"true" json:"authenticationType"`
}
func (m DatabaseToolsConnectionOracleDatabase) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DatabaseToolsConnectionOracleDatabase) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DatabaseToolsConnectionOracleDatabase) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsConnectionOracleDatabase) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DatabaseToolsConnectionOracleDatabase) GetId() *string
GetId returns Id
func (m DatabaseToolsConnectionOracleDatabase) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DatabaseToolsConnectionOracleDatabase) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DatabaseToolsConnectionOracleDatabase) GetLocks() []ResourceLock
GetLocks returns Locks
func (m DatabaseToolsConnectionOracleDatabase) GetRuntimeEndpoint() *string
GetRuntimeEndpoint returns RuntimeEndpoint
func (m DatabaseToolsConnectionOracleDatabase) GetRuntimeIdentity() RuntimeIdentityEnum
GetRuntimeIdentity returns RuntimeIdentity
func (m DatabaseToolsConnectionOracleDatabase) GetRuntimeSupport() RuntimeSupportEnum
GetRuntimeSupport returns RuntimeSupport
func (m DatabaseToolsConnectionOracleDatabase) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DatabaseToolsConnectionOracleDatabase) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsConnectionOracleDatabase) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsConnectionOracleDatabase) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsConnectionOracleDatabase) String() string
func (m *DatabaseToolsConnectionOracleDatabase) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsConnectionOracleDatabase) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsConnectionOracleDatabaseProxyClient The proxy client information.
type DatabaseToolsConnectionOracleDatabaseProxyClient interface {
}
DatabaseToolsConnectionOracleDatabaseProxyClientDetails The proxy client information.
type DatabaseToolsConnectionOracleDatabaseProxyClientDetails interface {
}
DatabaseToolsConnectionOracleDatabaseProxyClientNoProxy Represents blank proxy client information.
type DatabaseToolsConnectionOracleDatabaseProxyClientNoProxy struct {
}
func (m DatabaseToolsConnectionOracleDatabaseProxyClientNoProxy) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsConnectionOracleDatabaseProxyClientNoProxy) String() string
func (m DatabaseToolsConnectionOracleDatabaseProxyClientNoProxy) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsConnectionOracleDatabaseProxyClientNoProxyDetails Represents blank proxy client information.
type DatabaseToolsConnectionOracleDatabaseProxyClientNoProxyDetails struct {
}
func (m DatabaseToolsConnectionOracleDatabaseProxyClientNoProxyDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsConnectionOracleDatabaseProxyClientNoProxyDetails) String() string
func (m DatabaseToolsConnectionOracleDatabaseProxyClientNoProxyDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsConnectionOracleDatabaseProxyClientNoProxySummary Represents blank proxy client information.
type DatabaseToolsConnectionOracleDatabaseProxyClientNoProxySummary struct {
}
func (m DatabaseToolsConnectionOracleDatabaseProxyClientNoProxySummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsConnectionOracleDatabaseProxyClientNoProxySummary) String() string
func (m DatabaseToolsConnectionOracleDatabaseProxyClientNoProxySummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsConnectionOracleDatabaseProxyClientSummary The proxy client information.
type DatabaseToolsConnectionOracleDatabaseProxyClientSummary interface {
}
DatabaseToolsConnectionOracleDatabaseProxyClientUserName Proxy client information for user name based proxy authentication.
type DatabaseToolsConnectionOracleDatabaseProxyClientUserName struct {
// The user name.
UserName *string `mandatory:"true" json:"userName"`
UserPassword DatabaseToolsUserPassword `mandatory:"false" json:"userPassword"`
// A list of database roles for the client. These roles are enabled if the proxy is authorized to use the roles on behalf of the client.
Roles []string `mandatory:"false" json:"roles"`
}
func (m DatabaseToolsConnectionOracleDatabaseProxyClientUserName) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsConnectionOracleDatabaseProxyClientUserName) String() string
func (m *DatabaseToolsConnectionOracleDatabaseProxyClientUserName) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsConnectionOracleDatabaseProxyClientUserName) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsConnectionOracleDatabaseProxyClientUserNameAutoDetect Proxy client information for user name auto detect based proxy authentication.
type DatabaseToolsConnectionOracleDatabaseProxyClientUserNameAutoDetect struct {
// A list of database roles for the client. These roles are enabled if the proxy is authorized to use the roles on behalf of the client.
Roles []string `mandatory:"false" json:"roles"`
}
func (m DatabaseToolsConnectionOracleDatabaseProxyClientUserNameAutoDetect) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsConnectionOracleDatabaseProxyClientUserNameAutoDetect) String() string
func (m DatabaseToolsConnectionOracleDatabaseProxyClientUserNameAutoDetect) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsConnectionOracleDatabaseProxyClientUserNameAutoDetectDetails Proxy client information for user name auto detect based proxy authentication.
type DatabaseToolsConnectionOracleDatabaseProxyClientUserNameAutoDetectDetails struct {
// A list of database roles for the client. These roles are enabled if the proxy is authorized to use the roles on behalf of the client.
Roles []string `mandatory:"false" json:"roles"`
}
func (m DatabaseToolsConnectionOracleDatabaseProxyClientUserNameAutoDetectDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsConnectionOracleDatabaseProxyClientUserNameAutoDetectDetails) String() string
func (m DatabaseToolsConnectionOracleDatabaseProxyClientUserNameAutoDetectDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsConnectionOracleDatabaseProxyClientUserNameAutoDetectSummary Proxy client information for user name auto detect based proxy authentication.
type DatabaseToolsConnectionOracleDatabaseProxyClientUserNameAutoDetectSummary struct {
// A list of database roles for the client. These roles are enabled if the proxy is authorized to use the roles on behalf of the client.
Roles []string `mandatory:"false" json:"roles"`
}
func (m DatabaseToolsConnectionOracleDatabaseProxyClientUserNameAutoDetectSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsConnectionOracleDatabaseProxyClientUserNameAutoDetectSummary) String() string
func (m DatabaseToolsConnectionOracleDatabaseProxyClientUserNameAutoDetectSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails Proxy client information for user name based proxy authentication.
type DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails struct {
// The user name.
UserName *string `mandatory:"true" json:"userName"`
UserPassword DatabaseToolsUserPasswordDetails `mandatory:"false" json:"userPassword"`
// A list of database roles for the client. These roles are enabled if the proxy is authorized to use the roles on behalf of the client.
Roles []string `mandatory:"false" json:"roles"`
}
func (m DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails) String() string
func (m *DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsConnectionOracleDatabaseProxyClientUserNameSummary Proxy client information for user name based proxy authentication.
type DatabaseToolsConnectionOracleDatabaseProxyClientUserNameSummary struct {
// The user name.
UserName *string `mandatory:"true" json:"userName"`
UserPassword DatabaseToolsUserPasswordSummary `mandatory:"false" json:"userPassword"`
// A list of database roles for the client. These roles are enabled if the proxy is authorized to use the roles on behalf of the client.
Roles []string `mandatory:"false" json:"roles"`
}
func (m DatabaseToolsConnectionOracleDatabaseProxyClientUserNameSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsConnectionOracleDatabaseProxyClientUserNameSummary) String() string
func (m *DatabaseToolsConnectionOracleDatabaseProxyClientUserNameSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsConnectionOracleDatabaseProxyClientUserNameSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsConnectionOracleDatabaseSummary Database Tools connection summary of an Oracle Database.
type DatabaseToolsConnectionOracleDatabaseSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools connection.
Id *string `mandatory:"true" json:"id"`
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools connection.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The time the Database Tools connection was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Database Tools connection was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Specifies the Database Tools Runtime endpoint.
RuntimeEndpoint *string `mandatory:"true" json:"runtimeEndpoint"`
// The connect descriptor or Easy Connect Naming method used to connect to the database.
ConnectionString *string `mandatory:"true" json:"connectionString"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
RelatedResource *DatabaseToolsRelatedResource `mandatory:"false" json:"relatedResource"`
// The database user name. When authenticationType is TOKEN, if provided, userName must be in square brackets (for example, [proxyClient]).
UserName *string `mandatory:"false" json:"userName"`
UserPassword DatabaseToolsUserPasswordSummary `mandatory:"false" json:"userPassword"`
// The advanced connection properties key-value pair (e.g., `oracle.net.ssl_server_dn_match`).
AdvancedProperties map[string]string `mandatory:"false" json:"advancedProperties"`
// Oracle wallet or Java Keystores containing trusted certificates for authenticating the server's public certificate and
// the client private key and associated certificates required for client authentication.
KeyStores []DatabaseToolsKeyStoreSummary `mandatory:"false" json:"keyStores"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools private endpoint used to access the database in the customer VCN.
PrivateEndpointId *string `mandatory:"false" json:"privateEndpointId"`
ProxyClient DatabaseToolsConnectionOracleDatabaseProxyClientSummary `mandatory:"false" json:"proxyClient"`
// The current state of the Database Tools connection.
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Specifies whether this connection is supported by the Database Tools Runtime.
RuntimeSupport RuntimeSupportEnum `mandatory:"true" json:"runtimeSupport"`
// Specifies the identity used when accessing OCI resources at runtime. AUTHENTICATED_PRINCIPAL to use the caller’s identity (On-Behalf-Of token), or RESOURCE_PRINCIPAL to use the connection’s resource principal (RPST).
RuntimeIdentity RuntimeIdentityEnum `mandatory:"true" json:"runtimeIdentity"`
// Specifies the authentication type used by the Database Tools service to authenticate with the database.
AuthenticationType AuthenticationTypeEnum `mandatory:"true" json:"authenticationType"`
}
func (m DatabaseToolsConnectionOracleDatabaseSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DatabaseToolsConnectionOracleDatabaseSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DatabaseToolsConnectionOracleDatabaseSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsConnectionOracleDatabaseSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DatabaseToolsConnectionOracleDatabaseSummary) GetId() *string
GetId returns Id
func (m DatabaseToolsConnectionOracleDatabaseSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DatabaseToolsConnectionOracleDatabaseSummary) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DatabaseToolsConnectionOracleDatabaseSummary) GetLocks() []ResourceLock
GetLocks returns Locks
func (m DatabaseToolsConnectionOracleDatabaseSummary) GetRuntimeEndpoint() *string
GetRuntimeEndpoint returns RuntimeEndpoint
func (m DatabaseToolsConnectionOracleDatabaseSummary) GetRuntimeIdentity() RuntimeIdentityEnum
GetRuntimeIdentity returns RuntimeIdentity
func (m DatabaseToolsConnectionOracleDatabaseSummary) GetRuntimeSupport() RuntimeSupportEnum
GetRuntimeSupport returns RuntimeSupport
func (m DatabaseToolsConnectionOracleDatabaseSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DatabaseToolsConnectionOracleDatabaseSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsConnectionOracleDatabaseSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsConnectionOracleDatabaseSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsConnectionOracleDatabaseSummary) String() string
func (m *DatabaseToolsConnectionOracleDatabaseSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsConnectionOracleDatabaseSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsConnectionPostgresql Database Tools connection of a PostgreSQL Server.
type DatabaseToolsConnectionPostgresql struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools connection.
Id *string `mandatory:"true" json:"id"`
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools connection.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The time the Database Tools connection was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Database Tools connection was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Specifies the Database Tools Runtime endpoint.
RuntimeEndpoint *string `mandatory:"true" json:"runtimeEndpoint"`
// The connection string used to connect to the PostgreSQL Server.
ConnectionString *string `mandatory:"true" json:"connectionString"`
// A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
RelatedResource *DatabaseToolsRelatedResourcePostgresql `mandatory:"false" json:"relatedResource"`
// The database user name.
UserName *string `mandatory:"false" json:"userName"`
UserPassword DatabaseToolsUserPassword `mandatory:"false" json:"userPassword"`
// The advanced connection properties key-value pair (for example, `sslMode`).
AdvancedProperties map[string]string `mandatory:"false" json:"advancedProperties"`
// The CA certificate to verify the server's certificate and
// the client private key and associated certificate required for client authentication.
KeyStores []DatabaseToolsKeyStorePostgresql `mandatory:"false" json:"keyStores"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools private endpoint used to access the database in the customer VCN.
PrivateEndpointId *string `mandatory:"false" json:"privateEndpointId"`
// The current state of the Database Tools connection.
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Specifies whether this connection is supported by the Database Tools Runtime.
RuntimeSupport RuntimeSupportEnum `mandatory:"true" json:"runtimeSupport"`
// Specifies the identity used when accessing OCI resources at runtime. AUTHENTICATED_PRINCIPAL to use the caller’s identity (On-Behalf-Of token), or RESOURCE_PRINCIPAL to use the connection’s resource principal (RPST).
RuntimeIdentity RuntimeIdentityEnum `mandatory:"true" json:"runtimeIdentity"`
}
func (m DatabaseToolsConnectionPostgresql) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DatabaseToolsConnectionPostgresql) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DatabaseToolsConnectionPostgresql) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsConnectionPostgresql) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DatabaseToolsConnectionPostgresql) GetId() *string
GetId returns Id
func (m DatabaseToolsConnectionPostgresql) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DatabaseToolsConnectionPostgresql) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DatabaseToolsConnectionPostgresql) GetLocks() []ResourceLock
GetLocks returns Locks
func (m DatabaseToolsConnectionPostgresql) GetRuntimeEndpoint() *string
GetRuntimeEndpoint returns RuntimeEndpoint
func (m DatabaseToolsConnectionPostgresql) GetRuntimeIdentity() RuntimeIdentityEnum
GetRuntimeIdentity returns RuntimeIdentity
func (m DatabaseToolsConnectionPostgresql) GetRuntimeSupport() RuntimeSupportEnum
GetRuntimeSupport returns RuntimeSupport
func (m DatabaseToolsConnectionPostgresql) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DatabaseToolsConnectionPostgresql) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsConnectionPostgresql) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsConnectionPostgresql) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsConnectionPostgresql) String() string
func (m *DatabaseToolsConnectionPostgresql) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsConnectionPostgresql) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsConnectionPostgresqlSummary Database Tools connection summary of a PostgreSQL Server.
type DatabaseToolsConnectionPostgresqlSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools connection.
Id *string `mandatory:"true" json:"id"`
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools connection.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The time the Database Tools connection was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Database Tools connection was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Specifies the Database Tools Runtime endpoint.
RuntimeEndpoint *string `mandatory:"true" json:"runtimeEndpoint"`
// The connection string used to connect to the PostgreSQL Server.
ConnectionString *string `mandatory:"true" json:"connectionString"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
RelatedResource *DatabaseToolsRelatedResourcePostgresql `mandatory:"false" json:"relatedResource"`
// The database user name.
UserName *string `mandatory:"false" json:"userName"`
UserPassword DatabaseToolsUserPasswordSummary `mandatory:"false" json:"userPassword"`
// The advanced connection properties key-value pair (e.g., `sslMode`).
AdvancedProperties map[string]string `mandatory:"false" json:"advancedProperties"`
// The CA certificate to verify the server's certificate and
// the client private key and associated certificate required for client authentication.
KeyStores []DatabaseToolsKeyStorePostgresqlSummary `mandatory:"false" json:"keyStores"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools private endpoint used to access the database in the customer VCN.
PrivateEndpointId *string `mandatory:"false" json:"privateEndpointId"`
// The current state of the Database Tools connection.
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Specifies whether this connection is supported by the Database Tools Runtime.
RuntimeSupport RuntimeSupportEnum `mandatory:"true" json:"runtimeSupport"`
// Specifies the identity used when accessing OCI resources at runtime. AUTHENTICATED_PRINCIPAL to use the caller’s identity (On-Behalf-Of token), or RESOURCE_PRINCIPAL to use the connection’s resource principal (RPST).
RuntimeIdentity RuntimeIdentityEnum `mandatory:"true" json:"runtimeIdentity"`
}
func (m DatabaseToolsConnectionPostgresqlSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DatabaseToolsConnectionPostgresqlSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DatabaseToolsConnectionPostgresqlSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsConnectionPostgresqlSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DatabaseToolsConnectionPostgresqlSummary) GetId() *string
GetId returns Id
func (m DatabaseToolsConnectionPostgresqlSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DatabaseToolsConnectionPostgresqlSummary) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DatabaseToolsConnectionPostgresqlSummary) GetLocks() []ResourceLock
GetLocks returns Locks
func (m DatabaseToolsConnectionPostgresqlSummary) GetRuntimeEndpoint() *string
GetRuntimeEndpoint returns RuntimeEndpoint
func (m DatabaseToolsConnectionPostgresqlSummary) GetRuntimeIdentity() RuntimeIdentityEnum
GetRuntimeIdentity returns RuntimeIdentity
func (m DatabaseToolsConnectionPostgresqlSummary) GetRuntimeSupport() RuntimeSupportEnum
GetRuntimeSupport returns RuntimeSupport
func (m DatabaseToolsConnectionPostgresqlSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DatabaseToolsConnectionPostgresqlSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsConnectionPostgresqlSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsConnectionPostgresqlSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsConnectionPostgresqlSummary) String() string
func (m *DatabaseToolsConnectionPostgresqlSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsConnectionPostgresqlSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsConnectionSummary Summary of the Database Tools connection.
type DatabaseToolsConnectionSummary interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools connection.
GetId() *string
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
GetDisplayName() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools connection.
GetCompartmentId() *string
// The current state of the Database Tools connection.
GetLifecycleState() LifecycleStateEnum
// The time the Database Tools connection was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the Database Tools connection was updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
// Specifies whether this connection is supported by the Database Tools Runtime.
GetRuntimeSupport() RuntimeSupportEnum
// Specifies the Database Tools Runtime endpoint.
GetRuntimeEndpoint() *string
// Specifies the identity used when accessing OCI resources at runtime. AUTHENTICATED_PRINCIPAL to use the caller’s identity (On-Behalf-Of token), or RESOURCE_PRINCIPAL to use the connection’s resource principal (RPST).
GetRuntimeIdentity() RuntimeIdentityEnum
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
GetLifecycleDetails() *string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
GetSystemTags() map[string]map[string]interface{}
// Locks associated with this resource.
GetLocks() []ResourceLock
}
DatabaseToolsCustomSqlToolToolsetSource The SQL source. Can contain multiple statements with a mix of queries, DML, DCL, DLL and scripts.
type DatabaseToolsCustomSqlToolToolsetSource struct {
// The sql toolset sources type. INLINE is the only possible value.
Type DatabaseToolsCustomSqlToolToolsetSourceTypeEnum `mandatory:"true" json:"type"`
// The SQL source. Can contain multiple statements with a mix of queries, DML, DCL, DLL and scripts.
Value *string `mandatory:"true" json:"value"`
}
func (m DatabaseToolsCustomSqlToolToolsetSource) String() string
func (m DatabaseToolsCustomSqlToolToolsetSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsCustomSqlToolToolsetSourceTypeEnum Enum with underlying type: string
type DatabaseToolsCustomSqlToolToolsetSourceTypeEnum string
Set of constants representing the allowable values for DatabaseToolsCustomSqlToolToolsetSourceTypeEnum
const (
DatabaseToolsCustomSqlToolToolsetSourceTypeInline DatabaseToolsCustomSqlToolToolsetSourceTypeEnum = "INLINE"
)
func GetDatabaseToolsCustomSqlToolToolsetSourceTypeEnumValues() []DatabaseToolsCustomSqlToolToolsetSourceTypeEnum
GetDatabaseToolsCustomSqlToolToolsetSourceTypeEnumValues Enumerates the set of values for DatabaseToolsCustomSqlToolToolsetSourceTypeEnum
func GetMappingDatabaseToolsCustomSqlToolToolsetSourceTypeEnum(val string) (DatabaseToolsCustomSqlToolToolsetSourceTypeEnum, bool)
GetMappingDatabaseToolsCustomSqlToolToolsetSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsDatabaseApiGatewayConfig Manage configuration related to database API gateway config resources.
type DatabaseToolsDatabaseApiGatewayConfig interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools database API gateway config.
GetId() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools database API gateway config.
GetCompartmentId() *string
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
GetDisplayName() *string
// The RESTful service definition location.
GetMetadataSource() DatabaseApiGatewayConfigMetadataSourceEnum
// The current state of the Database Tools database API gateway config.
GetLifecycleState() DatabaseToolsDatabaseApiGatewayConfigLifecycleStateEnum
// The time the Database Tools database API gateway config was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the Database Tools database API gateway config was updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
// A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
GetLifecycleDetails() *string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
GetSystemTags() map[string]map[string]interface{}
// Locks associated with this resource.
GetLocks() []ResourceLock
}
DatabaseToolsDatabaseApiGatewayConfigCollection List of Database Tools database API gateway config summary items.
type DatabaseToolsDatabaseApiGatewayConfigCollection struct {
// Array of Database Tools database API gateway config summary items.
Items []DatabaseToolsDatabaseApiGatewayConfigSummary `mandatory:"true" json:"items"`
}
func (m DatabaseToolsDatabaseApiGatewayConfigCollection) String() string
func (m *DatabaseToolsDatabaseApiGatewayConfigCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsDatabaseApiGatewayConfigCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsDatabaseApiGatewayConfigDefault Manage configuration related to database API gateway config resources.
type DatabaseToolsDatabaseApiGatewayConfigDefault struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools database API gateway config.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools database API gateway config.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The time the Database Tools database API gateway config was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Database Tools database API gateway config was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// The RESTful service definition location.
MetadataSource DatabaseApiGatewayConfigMetadataSourceEnum `mandatory:"true" json:"metadataSource"`
// The current state of the Database Tools database API gateway config.
LifecycleState DatabaseToolsDatabaseApiGatewayConfigLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m DatabaseToolsDatabaseApiGatewayConfigDefault) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DatabaseToolsDatabaseApiGatewayConfigDefault) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DatabaseToolsDatabaseApiGatewayConfigDefault) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsDatabaseApiGatewayConfigDefault) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DatabaseToolsDatabaseApiGatewayConfigDefault) GetId() *string
GetId returns Id
func (m DatabaseToolsDatabaseApiGatewayConfigDefault) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DatabaseToolsDatabaseApiGatewayConfigDefault) GetLifecycleState() DatabaseToolsDatabaseApiGatewayConfigLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DatabaseToolsDatabaseApiGatewayConfigDefault) GetLocks() []ResourceLock
GetLocks returns Locks
func (m DatabaseToolsDatabaseApiGatewayConfigDefault) GetMetadataSource() DatabaseApiGatewayConfigMetadataSourceEnum
GetMetadataSource returns MetadataSource
func (m DatabaseToolsDatabaseApiGatewayConfigDefault) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DatabaseToolsDatabaseApiGatewayConfigDefault) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsDatabaseApiGatewayConfigDefault) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsDatabaseApiGatewayConfigDefault) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsDatabaseApiGatewayConfigDefault) String() string
func (m DatabaseToolsDatabaseApiGatewayConfigDefault) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsDatabaseApiGatewayConfigDefaultSummary Summary of the Database Tools database API gateway config.
type DatabaseToolsDatabaseApiGatewayConfigDefaultSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools database API gateway config.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools database API gateway config.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The time the Database Tools database API gateway config was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Database Tools database API gateway config was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// The RESTful service definition location.
MetadataSource DatabaseApiGatewayConfigMetadataSourceEnum `mandatory:"true" json:"metadataSource"`
// The current state of the Database Tools database API gateway config.
LifecycleState DatabaseToolsDatabaseApiGatewayConfigLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m DatabaseToolsDatabaseApiGatewayConfigDefaultSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DatabaseToolsDatabaseApiGatewayConfigDefaultSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DatabaseToolsDatabaseApiGatewayConfigDefaultSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsDatabaseApiGatewayConfigDefaultSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DatabaseToolsDatabaseApiGatewayConfigDefaultSummary) GetId() *string
GetId returns Id
func (m DatabaseToolsDatabaseApiGatewayConfigDefaultSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DatabaseToolsDatabaseApiGatewayConfigDefaultSummary) GetLifecycleState() DatabaseToolsDatabaseApiGatewayConfigLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DatabaseToolsDatabaseApiGatewayConfigDefaultSummary) GetLocks() []ResourceLock
GetLocks returns Locks
func (m DatabaseToolsDatabaseApiGatewayConfigDefaultSummary) GetMetadataSource() DatabaseApiGatewayConfigMetadataSourceEnum
GetMetadataSource returns MetadataSource
func (m DatabaseToolsDatabaseApiGatewayConfigDefaultSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DatabaseToolsDatabaseApiGatewayConfigDefaultSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsDatabaseApiGatewayConfigDefaultSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsDatabaseApiGatewayConfigDefaultSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsDatabaseApiGatewayConfigDefaultSummary) String() string
func (m DatabaseToolsDatabaseApiGatewayConfigDefaultSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsDatabaseApiGatewayConfigLifecycleStateEnum Enum with underlying type: string
type DatabaseToolsDatabaseApiGatewayConfigLifecycleStateEnum string
Set of constants representing the allowable values for DatabaseToolsDatabaseApiGatewayConfigLifecycleStateEnum
const (
DatabaseToolsDatabaseApiGatewayConfigLifecycleStateActive DatabaseToolsDatabaseApiGatewayConfigLifecycleStateEnum = "ACTIVE"
DatabaseToolsDatabaseApiGatewayConfigLifecycleStateDeleted DatabaseToolsDatabaseApiGatewayConfigLifecycleStateEnum = "DELETED"
)
func GetDatabaseToolsDatabaseApiGatewayConfigLifecycleStateEnumValues() []DatabaseToolsDatabaseApiGatewayConfigLifecycleStateEnum
GetDatabaseToolsDatabaseApiGatewayConfigLifecycleStateEnumValues Enumerates the set of values for DatabaseToolsDatabaseApiGatewayConfigLifecycleStateEnum
func GetMappingDatabaseToolsDatabaseApiGatewayConfigLifecycleStateEnum(val string) (DatabaseToolsDatabaseApiGatewayConfigLifecycleStateEnum, bool)
GetMappingDatabaseToolsDatabaseApiGatewayConfigLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsDatabaseApiGatewayConfigSummary Summary of the Database Tools database API gateway config.
type DatabaseToolsDatabaseApiGatewayConfigSummary interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools database API gateway config.
GetId() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools database API gateway config.
GetCompartmentId() *string
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
GetDisplayName() *string
// The RESTful service definition location.
GetMetadataSource() DatabaseApiGatewayConfigMetadataSourceEnum
// The current state of the Database Tools database API gateway config.
GetLifecycleState() DatabaseToolsDatabaseApiGatewayConfigLifecycleStateEnum
// The time the Database Tools database API gateway config was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the Database Tools database API gateway config was updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
// A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
GetLifecycleDetails() *string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
GetSystemTags() map[string]map[string]interface{}
// Locks associated with this resource.
GetLocks() []ResourceLock
}
DatabaseToolsEndpointService Description of Database Tools Endpoint Service.
type DatabaseToolsEndpointService struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools Endpoint Service.
Id *string `mandatory:"true" json:"id"`
// The time the Database Tools Endpoint Service was created. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The current state of the Database Tools Endpoint Service.
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"false" json:"displayName"`
// A unique, non-changeable resource name.
Name *string `mandatory:"false" json:"name"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools Endpoint Service.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The time the Database Tools Endpoint Service was updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// A description of the Database Tools Endpoint Service.
Description *string `mandatory:"false" json:"description"`
}
func (m DatabaseToolsEndpointService) String() string
func (m DatabaseToolsEndpointService) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsEndpointServiceCollection List of `DatabaseToolsEndpointServiceSummary` items.
type DatabaseToolsEndpointServiceCollection struct {
// Array of `DatabaseToolsEndpointServiceSummary` items.
Items []DatabaseToolsEndpointServiceSummary `mandatory:"true" json:"items"`
}
func (m DatabaseToolsEndpointServiceCollection) String() string
func (m DatabaseToolsEndpointServiceCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsEndpointServiceSummary Summary of the Database Tools Endpoint Service.
type DatabaseToolsEndpointServiceSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools Endpoint Service.
Id *string `mandatory:"true" json:"id"`
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// A unique, non-changeable resource name.
Name *string `mandatory:"false" json:"name"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools Endpoint Service.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The time the Database Tools Endpoint Service was created. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
// The time the Database Tools Endpoint Service was updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// The current state of the Database Tools Endpoint Service.
LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// A description of the Database Tools Endpoint Service.
Description *string `mandatory:"false" json:"description"`
}
func (m DatabaseToolsEndpointServiceSummary) String() string
func (m DatabaseToolsEndpointServiceSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsExternalAuthenticationStatusEnum Enum with underlying type: string
type DatabaseToolsExternalAuthenticationStatusEnum string
Set of constants representing the allowable values for DatabaseToolsExternalAuthenticationStatusEnum
const (
DatabaseToolsExternalAuthenticationStatusAvailable DatabaseToolsExternalAuthenticationStatusEnum = "AVAILABLE"
DatabaseToolsExternalAuthenticationStatusEnum = "UNAVAILABLE"
DatabaseToolsExternalAuthenticationStatusEnabled DatabaseToolsExternalAuthenticationStatusEnum = "ENABLED"
DatabaseToolsExternalAuthenticationStatusUnknown DatabaseToolsExternalAuthenticationStatusEnum = "UNKNOWN"
)
func GetDatabaseToolsExternalAuthenticationStatusEnumValues() []DatabaseToolsExternalAuthenticationStatusEnum
GetDatabaseToolsExternalAuthenticationStatusEnumValues Enumerates the set of values for DatabaseToolsExternalAuthenticationStatusEnum
func GetMappingDatabaseToolsExternalAuthenticationStatusEnum(val string) (DatabaseToolsExternalAuthenticationStatusEnum, bool)
GetMappingDatabaseToolsExternalAuthenticationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsIdentity Manages credentials in a database to access service resources.
type DatabaseToolsIdentity interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools identity.
GetId() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools identity.
GetCompartmentId() *string
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
GetDisplayName() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools connection.
GetDatabaseToolsConnectionId() *string
// The current state of the Database Tools identity.
GetLifecycleState() DatabaseToolsIdentityLifecycleStateEnum
// The time the Database Tools identity was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the Database Tools identity was updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
// A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
GetLifecycleDetails() *string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
GetSystemTags() map[string]map[string]interface{}
// Locks associated with this resource.
GetLocks() []ResourceLock
}
DatabaseToolsIdentityCollection List of Database Tools identity summary items.
type DatabaseToolsIdentityCollection struct {
// Array of Database Tools identity summary items.
Items []DatabaseToolsIdentitySummary `mandatory:"true" json:"items"`
}
func (m DatabaseToolsIdentityCollection) String() string
func (m *DatabaseToolsIdentityCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsIdentityCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsIdentityLifecycleStateEnum Enum with underlying type: string
type DatabaseToolsIdentityLifecycleStateEnum string
Set of constants representing the allowable values for DatabaseToolsIdentityLifecycleStateEnum
const (
DatabaseToolsIdentityLifecycleStateCreating DatabaseToolsIdentityLifecycleStateEnum = "CREATING"
DatabaseToolsIdentityLifecycleStateUpdating DatabaseToolsIdentityLifecycleStateEnum = "UPDATING"
DatabaseToolsIdentityLifecycleStateActive DatabaseToolsIdentityLifecycleStateEnum = "ACTIVE"
DatabaseToolsIdentityLifecycleStateDeleting DatabaseToolsIdentityLifecycleStateEnum = "DELETING"
DatabaseToolsIdentityLifecycleStateDeleted DatabaseToolsIdentityLifecycleStateEnum = "DELETED"
DatabaseToolsIdentityLifecycleStateFailed DatabaseToolsIdentityLifecycleStateEnum = "FAILED"
DatabaseToolsIdentityLifecycleStateNeedsAttention DatabaseToolsIdentityLifecycleStateEnum = "NEEDS_ATTENTION"
)
func GetDatabaseToolsIdentityLifecycleStateEnumValues() []DatabaseToolsIdentityLifecycleStateEnum
GetDatabaseToolsIdentityLifecycleStateEnumValues Enumerates the set of values for DatabaseToolsIdentityLifecycleStateEnum
func GetMappingDatabaseToolsIdentityLifecycleStateEnum(val string) (DatabaseToolsIdentityLifecycleStateEnum, bool)
GetMappingDatabaseToolsIdentityLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsIdentityOracleDatabaseResourcePrincipal Manages credentials in a database to access service resources.
type DatabaseToolsIdentityOracleDatabaseResourcePrincipal struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools identity.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools identity.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools connection.
DatabaseToolsConnectionId *string `mandatory:"true" json:"databaseToolsConnectionId"`
// The time the Database Tools identity was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Database Tools identity was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The name of the credential object created in the Oracle Database.
CredentialKey *string `mandatory:"true" json:"credentialKey"`
// A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// The current state of the Database Tools identity.
LifecycleState DatabaseToolsIdentityLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipal) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipal) GetDatabaseToolsConnectionId() *string
GetDatabaseToolsConnectionId returns DatabaseToolsConnectionId
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipal) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipal) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipal) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipal) GetId() *string
GetId returns Id
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipal) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipal) GetLifecycleState() DatabaseToolsIdentityLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipal) GetLocks() []ResourceLock
GetLocks returns Locks
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipal) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipal) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipal) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipal) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipal) String() string
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipal) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsIdentityOracleDatabaseResourcePrincipalSummary Summary of the Database Tools identity for the Oracle Database Resource Principal Identity type.
type DatabaseToolsIdentityOracleDatabaseResourcePrincipalSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools identity.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools identity.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools connection.
DatabaseToolsConnectionId *string `mandatory:"true" json:"databaseToolsConnectionId"`
// The time the Database Tools identity was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Database Tools identity was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The name of the credential object created in the Oracle Database.
CredentialKey *string `mandatory:"true" json:"credentialKey"`
// A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// The current state of the Database Tools identity.
LifecycleState DatabaseToolsIdentityLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipalSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipalSummary) GetDatabaseToolsConnectionId() *string
GetDatabaseToolsConnectionId returns DatabaseToolsConnectionId
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipalSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipalSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipalSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipalSummary) GetId() *string
GetId returns Id
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipalSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipalSummary) GetLifecycleState() DatabaseToolsIdentityLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipalSummary) GetLocks() []ResourceLock
GetLocks returns Locks
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipalSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipalSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipalSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipalSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipalSummary) String() string
func (m DatabaseToolsIdentityOracleDatabaseResourcePrincipalSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsIdentityStatusEnum Enum with underlying type: string
type DatabaseToolsIdentityStatusEnum string
Set of constants representing the allowable values for DatabaseToolsIdentityStatusEnum
const (
DatabaseToolsIdentityStatusAvailable DatabaseToolsIdentityStatusEnum = "AVAILABLE"
DatabaseToolsIdentityStatusEnum = "UNAVAILABLE"
)
func GetDatabaseToolsIdentityStatusEnumValues() []DatabaseToolsIdentityStatusEnum
GetDatabaseToolsIdentityStatusEnumValues Enumerates the set of values for DatabaseToolsIdentityStatusEnum
func GetMappingDatabaseToolsIdentityStatusEnum(val string) (DatabaseToolsIdentityStatusEnum, bool)
GetMappingDatabaseToolsIdentityStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsIdentitySummary Summary of the Database Tools identity.
type DatabaseToolsIdentitySummary interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools identity.
GetId() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools identity.
GetCompartmentId() *string
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
GetDisplayName() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools connection.
GetDatabaseToolsConnectionId() *string
// The current state of the Database Tools identity.
GetLifecycleState() DatabaseToolsIdentityLifecycleStateEnum
// The time the Database Tools identity was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the Database Tools identity was updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
// A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
GetLifecycleDetails() *string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
GetSystemTags() map[string]map[string]interface{}
// Locks associated with this resource.
GetLocks() []ResourceLock
}
DatabaseToolsKeyStore The details of the key store.
type DatabaseToolsKeyStore struct {
// The key store type.
KeyStoreType KeyStoreTypeEnum `mandatory:"false" json:"keyStoreType,omitempty"`
KeyStoreContent DatabaseToolsKeyStoreContent `mandatory:"false" json:"keyStoreContent"`
KeyStorePassword DatabaseToolsKeyStorePassword `mandatory:"false" json:"keyStorePassword"`
}
func (m DatabaseToolsKeyStore) String() string
func (m *DatabaseToolsKeyStore) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsKeyStore) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStoreContent The key store content.
type DatabaseToolsKeyStoreContent interface {
}
DatabaseToolsKeyStoreContentDetails The key store content.
type DatabaseToolsKeyStoreContentDetails interface {
}
DatabaseToolsKeyStoreContentDetailsValueTypeEnum Enum with underlying type: string
type DatabaseToolsKeyStoreContentDetailsValueTypeEnum string
Set of constants representing the allowable values for DatabaseToolsKeyStoreContentDetailsValueTypeEnum
const (
DatabaseToolsKeyStoreContentDetailsValueTypeSecretid DatabaseToolsKeyStoreContentDetailsValueTypeEnum = "SECRETID"
)
func GetDatabaseToolsKeyStoreContentDetailsValueTypeEnumValues() []DatabaseToolsKeyStoreContentDetailsValueTypeEnum
GetDatabaseToolsKeyStoreContentDetailsValueTypeEnumValues Enumerates the set of values for DatabaseToolsKeyStoreContentDetailsValueTypeEnum
func GetMappingDatabaseToolsKeyStoreContentDetailsValueTypeEnum(val string) (DatabaseToolsKeyStoreContentDetailsValueTypeEnum, bool)
GetMappingDatabaseToolsKeyStoreContentDetailsValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsKeyStoreContentGenericJdbc The key store content.
type DatabaseToolsKeyStoreContentGenericJdbc interface {
}
DatabaseToolsKeyStoreContentGenericJdbcDetails The key store content.
type DatabaseToolsKeyStoreContentGenericJdbcDetails interface {
}
DatabaseToolsKeyStoreContentGenericJdbcDetailsValueTypeEnum Enum with underlying type: string
type DatabaseToolsKeyStoreContentGenericJdbcDetailsValueTypeEnum string
Set of constants representing the allowable values for DatabaseToolsKeyStoreContentGenericJdbcDetailsValueTypeEnum
const (
DatabaseToolsKeyStoreContentGenericJdbcDetailsValueTypeSecretid DatabaseToolsKeyStoreContentGenericJdbcDetailsValueTypeEnum = "SECRETID"
)
func GetDatabaseToolsKeyStoreContentGenericJdbcDetailsValueTypeEnumValues() []DatabaseToolsKeyStoreContentGenericJdbcDetailsValueTypeEnum
GetDatabaseToolsKeyStoreContentGenericJdbcDetailsValueTypeEnumValues Enumerates the set of values for DatabaseToolsKeyStoreContentGenericJdbcDetailsValueTypeEnum
func GetMappingDatabaseToolsKeyStoreContentGenericJdbcDetailsValueTypeEnum(val string) (DatabaseToolsKeyStoreContentGenericJdbcDetailsValueTypeEnum, bool)
GetMappingDatabaseToolsKeyStoreContentGenericJdbcDetailsValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsKeyStoreContentGenericJdbcSummary The key store content.
type DatabaseToolsKeyStoreContentGenericJdbcSummary interface {
}
DatabaseToolsKeyStoreContentGenericJdbcSummaryValueTypeEnum Enum with underlying type: string
type DatabaseToolsKeyStoreContentGenericJdbcSummaryValueTypeEnum string
Set of constants representing the allowable values for DatabaseToolsKeyStoreContentGenericJdbcSummaryValueTypeEnum
const (
DatabaseToolsKeyStoreContentGenericJdbcSummaryValueTypeSecretid DatabaseToolsKeyStoreContentGenericJdbcSummaryValueTypeEnum = "SECRETID"
)
func GetDatabaseToolsKeyStoreContentGenericJdbcSummaryValueTypeEnumValues() []DatabaseToolsKeyStoreContentGenericJdbcSummaryValueTypeEnum
GetDatabaseToolsKeyStoreContentGenericJdbcSummaryValueTypeEnumValues Enumerates the set of values for DatabaseToolsKeyStoreContentGenericJdbcSummaryValueTypeEnum
func GetMappingDatabaseToolsKeyStoreContentGenericJdbcSummaryValueTypeEnum(val string) (DatabaseToolsKeyStoreContentGenericJdbcSummaryValueTypeEnum, bool)
GetMappingDatabaseToolsKeyStoreContentGenericJdbcSummaryValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsKeyStoreContentGenericJdbcValueTypeEnum Enum with underlying type: string
type DatabaseToolsKeyStoreContentGenericJdbcValueTypeEnum string
Set of constants representing the allowable values for DatabaseToolsKeyStoreContentGenericJdbcValueTypeEnum
const (
DatabaseToolsKeyStoreContentGenericJdbcValueTypeSecretid DatabaseToolsKeyStoreContentGenericJdbcValueTypeEnum = "SECRETID"
)
func GetDatabaseToolsKeyStoreContentGenericJdbcValueTypeEnumValues() []DatabaseToolsKeyStoreContentGenericJdbcValueTypeEnum
GetDatabaseToolsKeyStoreContentGenericJdbcValueTypeEnumValues Enumerates the set of values for DatabaseToolsKeyStoreContentGenericJdbcValueTypeEnum
func GetMappingDatabaseToolsKeyStoreContentGenericJdbcValueTypeEnum(val string) (DatabaseToolsKeyStoreContentGenericJdbcValueTypeEnum, bool)
GetMappingDatabaseToolsKeyStoreContentGenericJdbcValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsKeyStoreContentMySql The key store content.
type DatabaseToolsKeyStoreContentMySql interface {
}
DatabaseToolsKeyStoreContentMySqlDetails The key store content.
type DatabaseToolsKeyStoreContentMySqlDetails interface {
}
DatabaseToolsKeyStoreContentMySqlDetailsValueTypeEnum Enum with underlying type: string
type DatabaseToolsKeyStoreContentMySqlDetailsValueTypeEnum string
Set of constants representing the allowable values for DatabaseToolsKeyStoreContentMySqlDetailsValueTypeEnum
const (
DatabaseToolsKeyStoreContentMySqlDetailsValueTypeSecretid DatabaseToolsKeyStoreContentMySqlDetailsValueTypeEnum = "SECRETID"
)
func GetDatabaseToolsKeyStoreContentMySqlDetailsValueTypeEnumValues() []DatabaseToolsKeyStoreContentMySqlDetailsValueTypeEnum
GetDatabaseToolsKeyStoreContentMySqlDetailsValueTypeEnumValues Enumerates the set of values for DatabaseToolsKeyStoreContentMySqlDetailsValueTypeEnum
func GetMappingDatabaseToolsKeyStoreContentMySqlDetailsValueTypeEnum(val string) (DatabaseToolsKeyStoreContentMySqlDetailsValueTypeEnum, bool)
GetMappingDatabaseToolsKeyStoreContentMySqlDetailsValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsKeyStoreContentMySqlSummary The key store content.
type DatabaseToolsKeyStoreContentMySqlSummary interface {
}
DatabaseToolsKeyStoreContentMySqlSummaryValueTypeEnum Enum with underlying type: string
type DatabaseToolsKeyStoreContentMySqlSummaryValueTypeEnum string
Set of constants representing the allowable values for DatabaseToolsKeyStoreContentMySqlSummaryValueTypeEnum
const (
DatabaseToolsKeyStoreContentMySqlSummaryValueTypeSecretid DatabaseToolsKeyStoreContentMySqlSummaryValueTypeEnum = "SECRETID"
)
func GetDatabaseToolsKeyStoreContentMySqlSummaryValueTypeEnumValues() []DatabaseToolsKeyStoreContentMySqlSummaryValueTypeEnum
GetDatabaseToolsKeyStoreContentMySqlSummaryValueTypeEnumValues Enumerates the set of values for DatabaseToolsKeyStoreContentMySqlSummaryValueTypeEnum
func GetMappingDatabaseToolsKeyStoreContentMySqlSummaryValueTypeEnum(val string) (DatabaseToolsKeyStoreContentMySqlSummaryValueTypeEnum, bool)
GetMappingDatabaseToolsKeyStoreContentMySqlSummaryValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsKeyStoreContentMySqlValueTypeEnum Enum with underlying type: string
type DatabaseToolsKeyStoreContentMySqlValueTypeEnum string
Set of constants representing the allowable values for DatabaseToolsKeyStoreContentMySqlValueTypeEnum
const (
DatabaseToolsKeyStoreContentMySqlValueTypeSecretid DatabaseToolsKeyStoreContentMySqlValueTypeEnum = "SECRETID"
)
func GetDatabaseToolsKeyStoreContentMySqlValueTypeEnumValues() []DatabaseToolsKeyStoreContentMySqlValueTypeEnum
GetDatabaseToolsKeyStoreContentMySqlValueTypeEnumValues Enumerates the set of values for DatabaseToolsKeyStoreContentMySqlValueTypeEnum
func GetMappingDatabaseToolsKeyStoreContentMySqlValueTypeEnum(val string) (DatabaseToolsKeyStoreContentMySqlValueTypeEnum, bool)
GetMappingDatabaseToolsKeyStoreContentMySqlValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsKeyStoreContentPostgresql The key store content.
type DatabaseToolsKeyStoreContentPostgresql interface {
}
DatabaseToolsKeyStoreContentPostgresqlDetails The key store content.
type DatabaseToolsKeyStoreContentPostgresqlDetails interface {
}
DatabaseToolsKeyStoreContentPostgresqlDetailsValueTypeEnum Enum with underlying type: string
type DatabaseToolsKeyStoreContentPostgresqlDetailsValueTypeEnum string
Set of constants representing the allowable values for DatabaseToolsKeyStoreContentPostgresqlDetailsValueTypeEnum
const (
DatabaseToolsKeyStoreContentPostgresqlDetailsValueTypeSecretid DatabaseToolsKeyStoreContentPostgresqlDetailsValueTypeEnum = "SECRETID"
)
func GetDatabaseToolsKeyStoreContentPostgresqlDetailsValueTypeEnumValues() []DatabaseToolsKeyStoreContentPostgresqlDetailsValueTypeEnum
GetDatabaseToolsKeyStoreContentPostgresqlDetailsValueTypeEnumValues Enumerates the set of values for DatabaseToolsKeyStoreContentPostgresqlDetailsValueTypeEnum
func GetMappingDatabaseToolsKeyStoreContentPostgresqlDetailsValueTypeEnum(val string) (DatabaseToolsKeyStoreContentPostgresqlDetailsValueTypeEnum, bool)
GetMappingDatabaseToolsKeyStoreContentPostgresqlDetailsValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsKeyStoreContentPostgresqlSummary The key store content.
type DatabaseToolsKeyStoreContentPostgresqlSummary interface {
}
DatabaseToolsKeyStoreContentPostgresqlSummaryValueTypeEnum Enum with underlying type: string
type DatabaseToolsKeyStoreContentPostgresqlSummaryValueTypeEnum string
Set of constants representing the allowable values for DatabaseToolsKeyStoreContentPostgresqlSummaryValueTypeEnum
const (
DatabaseToolsKeyStoreContentPostgresqlSummaryValueTypeSecretid DatabaseToolsKeyStoreContentPostgresqlSummaryValueTypeEnum = "SECRETID"
)
func GetDatabaseToolsKeyStoreContentPostgresqlSummaryValueTypeEnumValues() []DatabaseToolsKeyStoreContentPostgresqlSummaryValueTypeEnum
GetDatabaseToolsKeyStoreContentPostgresqlSummaryValueTypeEnumValues Enumerates the set of values for DatabaseToolsKeyStoreContentPostgresqlSummaryValueTypeEnum
func GetMappingDatabaseToolsKeyStoreContentPostgresqlSummaryValueTypeEnum(val string) (DatabaseToolsKeyStoreContentPostgresqlSummaryValueTypeEnum, bool)
GetMappingDatabaseToolsKeyStoreContentPostgresqlSummaryValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsKeyStoreContentPostgresqlValueTypeEnum Enum with underlying type: string
type DatabaseToolsKeyStoreContentPostgresqlValueTypeEnum string
Set of constants representing the allowable values for DatabaseToolsKeyStoreContentPostgresqlValueTypeEnum
const (
DatabaseToolsKeyStoreContentPostgresqlValueTypeSecretid DatabaseToolsKeyStoreContentPostgresqlValueTypeEnum = "SECRETID"
)
func GetDatabaseToolsKeyStoreContentPostgresqlValueTypeEnumValues() []DatabaseToolsKeyStoreContentPostgresqlValueTypeEnum
GetDatabaseToolsKeyStoreContentPostgresqlValueTypeEnumValues Enumerates the set of values for DatabaseToolsKeyStoreContentPostgresqlValueTypeEnum
func GetMappingDatabaseToolsKeyStoreContentPostgresqlValueTypeEnum(val string) (DatabaseToolsKeyStoreContentPostgresqlValueTypeEnum, bool)
GetMappingDatabaseToolsKeyStoreContentPostgresqlValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsKeyStoreContentSecretId The key store content.
type DatabaseToolsKeyStoreContentSecretId struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the key store.
SecretId *string `mandatory:"false" json:"secretId"`
}
func (m DatabaseToolsKeyStoreContentSecretId) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsKeyStoreContentSecretId) String() string
func (m DatabaseToolsKeyStoreContentSecretId) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStoreContentSecretIdDetails The key store content.
type DatabaseToolsKeyStoreContentSecretIdDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the key store.
SecretId *string `mandatory:"false" json:"secretId"`
}
func (m DatabaseToolsKeyStoreContentSecretIdDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsKeyStoreContentSecretIdDetails) String() string
func (m DatabaseToolsKeyStoreContentSecretIdDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStoreContentSecretIdGenericJdbc The key store content.
type DatabaseToolsKeyStoreContentSecretIdGenericJdbc struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the key store.
SecretId *string `mandatory:"false" json:"secretId"`
}
func (m DatabaseToolsKeyStoreContentSecretIdGenericJdbc) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsKeyStoreContentSecretIdGenericJdbc) String() string
func (m DatabaseToolsKeyStoreContentSecretIdGenericJdbc) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStoreContentSecretIdGenericJdbcDetails The key store content.
type DatabaseToolsKeyStoreContentSecretIdGenericJdbcDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the key store.
SecretId *string `mandatory:"false" json:"secretId"`
}
func (m DatabaseToolsKeyStoreContentSecretIdGenericJdbcDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsKeyStoreContentSecretIdGenericJdbcDetails) String() string
func (m DatabaseToolsKeyStoreContentSecretIdGenericJdbcDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStoreContentSecretIdGenericJdbcSummary The key store content.
type DatabaseToolsKeyStoreContentSecretIdGenericJdbcSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the key store.
SecretId *string `mandatory:"false" json:"secretId"`
}
func (m DatabaseToolsKeyStoreContentSecretIdGenericJdbcSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsKeyStoreContentSecretIdGenericJdbcSummary) String() string
func (m DatabaseToolsKeyStoreContentSecretIdGenericJdbcSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStoreContentSecretIdMySql The key store content.
type DatabaseToolsKeyStoreContentSecretIdMySql struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the key store.
SecretId *string `mandatory:"false" json:"secretId"`
}
func (m DatabaseToolsKeyStoreContentSecretIdMySql) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsKeyStoreContentSecretIdMySql) String() string
func (m DatabaseToolsKeyStoreContentSecretIdMySql) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStoreContentSecretIdMySqlDetails The key store content.
type DatabaseToolsKeyStoreContentSecretIdMySqlDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the key store.
SecretId *string `mandatory:"false" json:"secretId"`
}
func (m DatabaseToolsKeyStoreContentSecretIdMySqlDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsKeyStoreContentSecretIdMySqlDetails) String() string
func (m DatabaseToolsKeyStoreContentSecretIdMySqlDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStoreContentSecretIdMySqlSummary The key store content.
type DatabaseToolsKeyStoreContentSecretIdMySqlSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the key store.
SecretId *string `mandatory:"false" json:"secretId"`
}
func (m DatabaseToolsKeyStoreContentSecretIdMySqlSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsKeyStoreContentSecretIdMySqlSummary) String() string
func (m DatabaseToolsKeyStoreContentSecretIdMySqlSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStoreContentSecretIdPostgresql The key store content.
type DatabaseToolsKeyStoreContentSecretIdPostgresql struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the key store.
SecretId *string `mandatory:"false" json:"secretId"`
}
func (m DatabaseToolsKeyStoreContentSecretIdPostgresql) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsKeyStoreContentSecretIdPostgresql) String() string
func (m DatabaseToolsKeyStoreContentSecretIdPostgresql) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStoreContentSecretIdPostgresqlDetails The key store content.
type DatabaseToolsKeyStoreContentSecretIdPostgresqlDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the key store.
SecretId *string `mandatory:"false" json:"secretId"`
}
func (m DatabaseToolsKeyStoreContentSecretIdPostgresqlDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsKeyStoreContentSecretIdPostgresqlDetails) String() string
func (m DatabaseToolsKeyStoreContentSecretIdPostgresqlDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStoreContentSecretIdPostgresqlSummary The key store content.
type DatabaseToolsKeyStoreContentSecretIdPostgresqlSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the key store.
SecretId *string `mandatory:"false" json:"secretId"`
}
func (m DatabaseToolsKeyStoreContentSecretIdPostgresqlSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsKeyStoreContentSecretIdPostgresqlSummary) String() string
func (m DatabaseToolsKeyStoreContentSecretIdPostgresqlSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStoreContentSecretIdSummary The key store content.
type DatabaseToolsKeyStoreContentSecretIdSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the key store.
SecretId *string `mandatory:"false" json:"secretId"`
}
func (m DatabaseToolsKeyStoreContentSecretIdSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsKeyStoreContentSecretIdSummary) String() string
func (m DatabaseToolsKeyStoreContentSecretIdSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStoreContentSummary The key store content.
type DatabaseToolsKeyStoreContentSummary interface {
}
DatabaseToolsKeyStoreContentSummaryValueTypeEnum Enum with underlying type: string
type DatabaseToolsKeyStoreContentSummaryValueTypeEnum string
Set of constants representing the allowable values for DatabaseToolsKeyStoreContentSummaryValueTypeEnum
const (
DatabaseToolsKeyStoreContentSummaryValueTypeSecretid DatabaseToolsKeyStoreContentSummaryValueTypeEnum = "SECRETID"
)
func GetDatabaseToolsKeyStoreContentSummaryValueTypeEnumValues() []DatabaseToolsKeyStoreContentSummaryValueTypeEnum
GetDatabaseToolsKeyStoreContentSummaryValueTypeEnumValues Enumerates the set of values for DatabaseToolsKeyStoreContentSummaryValueTypeEnum
func GetMappingDatabaseToolsKeyStoreContentSummaryValueTypeEnum(val string) (DatabaseToolsKeyStoreContentSummaryValueTypeEnum, bool)
GetMappingDatabaseToolsKeyStoreContentSummaryValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsKeyStoreContentValueTypeEnum Enum with underlying type: string
type DatabaseToolsKeyStoreContentValueTypeEnum string
Set of constants representing the allowable values for DatabaseToolsKeyStoreContentValueTypeEnum
const (
DatabaseToolsKeyStoreContentValueTypeSecretid DatabaseToolsKeyStoreContentValueTypeEnum = "SECRETID"
)
func GetDatabaseToolsKeyStoreContentValueTypeEnumValues() []DatabaseToolsKeyStoreContentValueTypeEnum
GetDatabaseToolsKeyStoreContentValueTypeEnumValues Enumerates the set of values for DatabaseToolsKeyStoreContentValueTypeEnum
func GetMappingDatabaseToolsKeyStoreContentValueTypeEnum(val string) (DatabaseToolsKeyStoreContentValueTypeEnum, bool)
GetMappingDatabaseToolsKeyStoreContentValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsKeyStoreDetails The details of the key store.
type DatabaseToolsKeyStoreDetails struct {
// The key store type.
KeyStoreType KeyStoreTypeEnum `mandatory:"false" json:"keyStoreType,omitempty"`
KeyStoreContent DatabaseToolsKeyStoreContentDetails `mandatory:"false" json:"keyStoreContent"`
KeyStorePassword DatabaseToolsKeyStorePasswordDetails `mandatory:"false" json:"keyStorePassword"`
}
func (m DatabaseToolsKeyStoreDetails) String() string
func (m *DatabaseToolsKeyStoreDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsKeyStoreDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStoreGenericJdbc The details of the key store.
type DatabaseToolsKeyStoreGenericJdbc struct {
// The key store type.
KeyStoreType KeyStoreTypeGenericJdbcEnum `mandatory:"false" json:"keyStoreType,omitempty"`
KeyStoreContent DatabaseToolsKeyStoreContentGenericJdbc `mandatory:"false" json:"keyStoreContent"`
KeyStorePassword DatabaseToolsKeyStorePasswordGenericJdbc `mandatory:"false" json:"keyStorePassword"`
}
func (m DatabaseToolsKeyStoreGenericJdbc) String() string
func (m *DatabaseToolsKeyStoreGenericJdbc) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsKeyStoreGenericJdbc) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStoreGenericJdbcDetails The details of the key store.
type DatabaseToolsKeyStoreGenericJdbcDetails struct {
// The key store type.
KeyStoreType KeyStoreTypeGenericJdbcEnum `mandatory:"false" json:"keyStoreType,omitempty"`
KeyStoreContent DatabaseToolsKeyStoreContentGenericJdbcDetails `mandatory:"false" json:"keyStoreContent"`
KeyStorePassword DatabaseToolsKeyStorePasswordGenericJdbcDetails `mandatory:"false" json:"keyStorePassword"`
}
func (m DatabaseToolsKeyStoreGenericJdbcDetails) String() string
func (m *DatabaseToolsKeyStoreGenericJdbcDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsKeyStoreGenericJdbcDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStoreGenericJdbcSummary The summary of the key store.
type DatabaseToolsKeyStoreGenericJdbcSummary struct {
// The key store type.
KeyStoreType KeyStoreTypeGenericJdbcEnum `mandatory:"false" json:"keyStoreType,omitempty"`
KeyStoreContent DatabaseToolsKeyStoreContentGenericJdbcSummary `mandatory:"false" json:"keyStoreContent"`
KeyStorePassword DatabaseToolsKeyStorePasswordGenericJdbcSummary `mandatory:"false" json:"keyStorePassword"`
}
func (m DatabaseToolsKeyStoreGenericJdbcSummary) String() string
func (m *DatabaseToolsKeyStoreGenericJdbcSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsKeyStoreGenericJdbcSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStoreMySql The details of the key store.
type DatabaseToolsKeyStoreMySql struct {
// The key store type.
KeyStoreType KeyStoreTypeMySqlEnum `mandatory:"false" json:"keyStoreType,omitempty"`
KeyStoreContent DatabaseToolsKeyStoreContentMySql `mandatory:"false" json:"keyStoreContent"`
KeyStorePassword DatabaseToolsKeyStorePasswordMySql `mandatory:"false" json:"keyStorePassword"`
}
func (m DatabaseToolsKeyStoreMySql) String() string
func (m *DatabaseToolsKeyStoreMySql) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsKeyStoreMySql) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStoreMySqlDetails The details of the key store.
type DatabaseToolsKeyStoreMySqlDetails struct {
// The key store type.
KeyStoreType KeyStoreTypeMySqlEnum `mandatory:"false" json:"keyStoreType,omitempty"`
KeyStoreContent DatabaseToolsKeyStoreContentMySqlDetails `mandatory:"false" json:"keyStoreContent"`
KeyStorePassword DatabaseToolsKeyStorePasswordMySqlDetails `mandatory:"false" json:"keyStorePassword"`
}
func (m DatabaseToolsKeyStoreMySqlDetails) String() string
func (m *DatabaseToolsKeyStoreMySqlDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsKeyStoreMySqlDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStoreMySqlSummary The key store secrets.
type DatabaseToolsKeyStoreMySqlSummary struct {
// The key store type.
KeyStoreType KeyStoreTypeMySqlEnum `mandatory:"false" json:"keyStoreType,omitempty"`
KeyStoreContent DatabaseToolsKeyStoreContentMySqlSummary `mandatory:"false" json:"keyStoreContent"`
KeyStorePassword DatabaseToolsKeyStorePasswordMySqlSummary `mandatory:"false" json:"keyStorePassword"`
}
func (m DatabaseToolsKeyStoreMySqlSummary) String() string
func (m *DatabaseToolsKeyStoreMySqlSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsKeyStoreMySqlSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStorePassword The key store password.
type DatabaseToolsKeyStorePassword interface {
}
DatabaseToolsKeyStorePasswordDetails The key store password.
type DatabaseToolsKeyStorePasswordDetails interface {
}
DatabaseToolsKeyStorePasswordDetailsValueTypeEnum Enum with underlying type: string
type DatabaseToolsKeyStorePasswordDetailsValueTypeEnum string
Set of constants representing the allowable values for DatabaseToolsKeyStorePasswordDetailsValueTypeEnum
const (
DatabaseToolsKeyStorePasswordDetailsValueTypeSecretid DatabaseToolsKeyStorePasswordDetailsValueTypeEnum = "SECRETID"
)
func GetDatabaseToolsKeyStorePasswordDetailsValueTypeEnumValues() []DatabaseToolsKeyStorePasswordDetailsValueTypeEnum
GetDatabaseToolsKeyStorePasswordDetailsValueTypeEnumValues Enumerates the set of values for DatabaseToolsKeyStorePasswordDetailsValueTypeEnum
func GetMappingDatabaseToolsKeyStorePasswordDetailsValueTypeEnum(val string) (DatabaseToolsKeyStorePasswordDetailsValueTypeEnum, bool)
GetMappingDatabaseToolsKeyStorePasswordDetailsValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsKeyStorePasswordGenericJdbc The key store password.
type DatabaseToolsKeyStorePasswordGenericJdbc interface {
}
DatabaseToolsKeyStorePasswordGenericJdbcDetails The key store password.
type DatabaseToolsKeyStorePasswordGenericJdbcDetails interface {
}
DatabaseToolsKeyStorePasswordGenericJdbcDetailsValueTypeEnum Enum with underlying type: string
type DatabaseToolsKeyStorePasswordGenericJdbcDetailsValueTypeEnum string
Set of constants representing the allowable values for DatabaseToolsKeyStorePasswordGenericJdbcDetailsValueTypeEnum
const (
DatabaseToolsKeyStorePasswordGenericJdbcDetailsValueTypeSecretid DatabaseToolsKeyStorePasswordGenericJdbcDetailsValueTypeEnum = "SECRETID"
)
func GetDatabaseToolsKeyStorePasswordGenericJdbcDetailsValueTypeEnumValues() []DatabaseToolsKeyStorePasswordGenericJdbcDetailsValueTypeEnum
GetDatabaseToolsKeyStorePasswordGenericJdbcDetailsValueTypeEnumValues Enumerates the set of values for DatabaseToolsKeyStorePasswordGenericJdbcDetailsValueTypeEnum
func GetMappingDatabaseToolsKeyStorePasswordGenericJdbcDetailsValueTypeEnum(val string) (DatabaseToolsKeyStorePasswordGenericJdbcDetailsValueTypeEnum, bool)
GetMappingDatabaseToolsKeyStorePasswordGenericJdbcDetailsValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsKeyStorePasswordGenericJdbcSummary The key store password.
type DatabaseToolsKeyStorePasswordGenericJdbcSummary interface {
}
DatabaseToolsKeyStorePasswordGenericJdbcSummaryValueTypeEnum Enum with underlying type: string
type DatabaseToolsKeyStorePasswordGenericJdbcSummaryValueTypeEnum string
Set of constants representing the allowable values for DatabaseToolsKeyStorePasswordGenericJdbcSummaryValueTypeEnum
const (
DatabaseToolsKeyStorePasswordGenericJdbcSummaryValueTypeSecretid DatabaseToolsKeyStorePasswordGenericJdbcSummaryValueTypeEnum = "SECRETID"
)
func GetDatabaseToolsKeyStorePasswordGenericJdbcSummaryValueTypeEnumValues() []DatabaseToolsKeyStorePasswordGenericJdbcSummaryValueTypeEnum
GetDatabaseToolsKeyStorePasswordGenericJdbcSummaryValueTypeEnumValues Enumerates the set of values for DatabaseToolsKeyStorePasswordGenericJdbcSummaryValueTypeEnum
func GetMappingDatabaseToolsKeyStorePasswordGenericJdbcSummaryValueTypeEnum(val string) (DatabaseToolsKeyStorePasswordGenericJdbcSummaryValueTypeEnum, bool)
GetMappingDatabaseToolsKeyStorePasswordGenericJdbcSummaryValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsKeyStorePasswordGenericJdbcValueTypeEnum Enum with underlying type: string
type DatabaseToolsKeyStorePasswordGenericJdbcValueTypeEnum string
Set of constants representing the allowable values for DatabaseToolsKeyStorePasswordGenericJdbcValueTypeEnum
const (
DatabaseToolsKeyStorePasswordGenericJdbcValueTypeSecretid DatabaseToolsKeyStorePasswordGenericJdbcValueTypeEnum = "SECRETID"
)
func GetDatabaseToolsKeyStorePasswordGenericJdbcValueTypeEnumValues() []DatabaseToolsKeyStorePasswordGenericJdbcValueTypeEnum
GetDatabaseToolsKeyStorePasswordGenericJdbcValueTypeEnumValues Enumerates the set of values for DatabaseToolsKeyStorePasswordGenericJdbcValueTypeEnum
func GetMappingDatabaseToolsKeyStorePasswordGenericJdbcValueTypeEnum(val string) (DatabaseToolsKeyStorePasswordGenericJdbcValueTypeEnum, bool)
GetMappingDatabaseToolsKeyStorePasswordGenericJdbcValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsKeyStorePasswordMySql The key store password.
type DatabaseToolsKeyStorePasswordMySql interface {
}
DatabaseToolsKeyStorePasswordMySqlDetails The key store password.
type DatabaseToolsKeyStorePasswordMySqlDetails interface {
}
DatabaseToolsKeyStorePasswordMySqlDetailsValueTypeEnum Enum with underlying type: string
type DatabaseToolsKeyStorePasswordMySqlDetailsValueTypeEnum string
Set of constants representing the allowable values for DatabaseToolsKeyStorePasswordMySqlDetailsValueTypeEnum
const (
DatabaseToolsKeyStorePasswordMySqlDetailsValueTypeSecretid DatabaseToolsKeyStorePasswordMySqlDetailsValueTypeEnum = "SECRETID"
)
func GetDatabaseToolsKeyStorePasswordMySqlDetailsValueTypeEnumValues() []DatabaseToolsKeyStorePasswordMySqlDetailsValueTypeEnum
GetDatabaseToolsKeyStorePasswordMySqlDetailsValueTypeEnumValues Enumerates the set of values for DatabaseToolsKeyStorePasswordMySqlDetailsValueTypeEnum
func GetMappingDatabaseToolsKeyStorePasswordMySqlDetailsValueTypeEnum(val string) (DatabaseToolsKeyStorePasswordMySqlDetailsValueTypeEnum, bool)
GetMappingDatabaseToolsKeyStorePasswordMySqlDetailsValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsKeyStorePasswordMySqlSummary The key store password.
type DatabaseToolsKeyStorePasswordMySqlSummary interface {
}
DatabaseToolsKeyStorePasswordMySqlSummaryValueTypeEnum Enum with underlying type: string
type DatabaseToolsKeyStorePasswordMySqlSummaryValueTypeEnum string
Set of constants representing the allowable values for DatabaseToolsKeyStorePasswordMySqlSummaryValueTypeEnum
const (
DatabaseToolsKeyStorePasswordMySqlSummaryValueTypeSecretid DatabaseToolsKeyStorePasswordMySqlSummaryValueTypeEnum = "SECRETID"
)
func GetDatabaseToolsKeyStorePasswordMySqlSummaryValueTypeEnumValues() []DatabaseToolsKeyStorePasswordMySqlSummaryValueTypeEnum
GetDatabaseToolsKeyStorePasswordMySqlSummaryValueTypeEnumValues Enumerates the set of values for DatabaseToolsKeyStorePasswordMySqlSummaryValueTypeEnum
func GetMappingDatabaseToolsKeyStorePasswordMySqlSummaryValueTypeEnum(val string) (DatabaseToolsKeyStorePasswordMySqlSummaryValueTypeEnum, bool)
GetMappingDatabaseToolsKeyStorePasswordMySqlSummaryValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsKeyStorePasswordMySqlValueTypeEnum Enum with underlying type: string
type DatabaseToolsKeyStorePasswordMySqlValueTypeEnum string
Set of constants representing the allowable values for DatabaseToolsKeyStorePasswordMySqlValueTypeEnum
const (
DatabaseToolsKeyStorePasswordMySqlValueTypeSecretid DatabaseToolsKeyStorePasswordMySqlValueTypeEnum = "SECRETID"
)
func GetDatabaseToolsKeyStorePasswordMySqlValueTypeEnumValues() []DatabaseToolsKeyStorePasswordMySqlValueTypeEnum
GetDatabaseToolsKeyStorePasswordMySqlValueTypeEnumValues Enumerates the set of values for DatabaseToolsKeyStorePasswordMySqlValueTypeEnum
func GetMappingDatabaseToolsKeyStorePasswordMySqlValueTypeEnum(val string) (DatabaseToolsKeyStorePasswordMySqlValueTypeEnum, bool)
GetMappingDatabaseToolsKeyStorePasswordMySqlValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsKeyStorePasswordPostgresql The key store password.
type DatabaseToolsKeyStorePasswordPostgresql interface {
}
DatabaseToolsKeyStorePasswordPostgresqlDetails The key store password.
type DatabaseToolsKeyStorePasswordPostgresqlDetails interface {
}
DatabaseToolsKeyStorePasswordPostgresqlDetailsValueTypeEnum Enum with underlying type: string
type DatabaseToolsKeyStorePasswordPostgresqlDetailsValueTypeEnum string
Set of constants representing the allowable values for DatabaseToolsKeyStorePasswordPostgresqlDetailsValueTypeEnum
const (
DatabaseToolsKeyStorePasswordPostgresqlDetailsValueTypeSecretid DatabaseToolsKeyStorePasswordPostgresqlDetailsValueTypeEnum = "SECRETID"
)
func GetDatabaseToolsKeyStorePasswordPostgresqlDetailsValueTypeEnumValues() []DatabaseToolsKeyStorePasswordPostgresqlDetailsValueTypeEnum
GetDatabaseToolsKeyStorePasswordPostgresqlDetailsValueTypeEnumValues Enumerates the set of values for DatabaseToolsKeyStorePasswordPostgresqlDetailsValueTypeEnum
func GetMappingDatabaseToolsKeyStorePasswordPostgresqlDetailsValueTypeEnum(val string) (DatabaseToolsKeyStorePasswordPostgresqlDetailsValueTypeEnum, bool)
GetMappingDatabaseToolsKeyStorePasswordPostgresqlDetailsValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsKeyStorePasswordPostgresqlSummary The key store password.
type DatabaseToolsKeyStorePasswordPostgresqlSummary interface {
}
DatabaseToolsKeyStorePasswordPostgresqlSummaryValueTypeEnum Enum with underlying type: string
type DatabaseToolsKeyStorePasswordPostgresqlSummaryValueTypeEnum string
Set of constants representing the allowable values for DatabaseToolsKeyStorePasswordPostgresqlSummaryValueTypeEnum
const (
DatabaseToolsKeyStorePasswordPostgresqlSummaryValueTypeSecretid DatabaseToolsKeyStorePasswordPostgresqlSummaryValueTypeEnum = "SECRETID"
)
func GetDatabaseToolsKeyStorePasswordPostgresqlSummaryValueTypeEnumValues() []DatabaseToolsKeyStorePasswordPostgresqlSummaryValueTypeEnum
GetDatabaseToolsKeyStorePasswordPostgresqlSummaryValueTypeEnumValues Enumerates the set of values for DatabaseToolsKeyStorePasswordPostgresqlSummaryValueTypeEnum
func GetMappingDatabaseToolsKeyStorePasswordPostgresqlSummaryValueTypeEnum(val string) (DatabaseToolsKeyStorePasswordPostgresqlSummaryValueTypeEnum, bool)
GetMappingDatabaseToolsKeyStorePasswordPostgresqlSummaryValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsKeyStorePasswordPostgresqlValueTypeEnum Enum with underlying type: string
type DatabaseToolsKeyStorePasswordPostgresqlValueTypeEnum string
Set of constants representing the allowable values for DatabaseToolsKeyStorePasswordPostgresqlValueTypeEnum
const (
DatabaseToolsKeyStorePasswordPostgresqlValueTypeSecretid DatabaseToolsKeyStorePasswordPostgresqlValueTypeEnum = "SECRETID"
)
func GetDatabaseToolsKeyStorePasswordPostgresqlValueTypeEnumValues() []DatabaseToolsKeyStorePasswordPostgresqlValueTypeEnum
GetDatabaseToolsKeyStorePasswordPostgresqlValueTypeEnumValues Enumerates the set of values for DatabaseToolsKeyStorePasswordPostgresqlValueTypeEnum
func GetMappingDatabaseToolsKeyStorePasswordPostgresqlValueTypeEnum(val string) (DatabaseToolsKeyStorePasswordPostgresqlValueTypeEnum, bool)
GetMappingDatabaseToolsKeyStorePasswordPostgresqlValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsKeyStorePasswordSecretId The key store password.
type DatabaseToolsKeyStorePasswordSecretId struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the key store password.
SecretId *string `mandatory:"false" json:"secretId"`
}
func (m DatabaseToolsKeyStorePasswordSecretId) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsKeyStorePasswordSecretId) String() string
func (m DatabaseToolsKeyStorePasswordSecretId) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStorePasswordSecretIdDetails The key store password.
type DatabaseToolsKeyStorePasswordSecretIdDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the key store password.
SecretId *string `mandatory:"false" json:"secretId"`
}
func (m DatabaseToolsKeyStorePasswordSecretIdDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsKeyStorePasswordSecretIdDetails) String() string
func (m DatabaseToolsKeyStorePasswordSecretIdDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStorePasswordSecretIdGenericJdbc The key store password.
type DatabaseToolsKeyStorePasswordSecretIdGenericJdbc struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the key store password.
SecretId *string `mandatory:"false" json:"secretId"`
}
func (m DatabaseToolsKeyStorePasswordSecretIdGenericJdbc) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsKeyStorePasswordSecretIdGenericJdbc) String() string
func (m DatabaseToolsKeyStorePasswordSecretIdGenericJdbc) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStorePasswordSecretIdGenericJdbcDetails The key store password.
type DatabaseToolsKeyStorePasswordSecretIdGenericJdbcDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the key store password.
SecretId *string `mandatory:"false" json:"secretId"`
}
func (m DatabaseToolsKeyStorePasswordSecretIdGenericJdbcDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsKeyStorePasswordSecretIdGenericJdbcDetails) String() string
func (m DatabaseToolsKeyStorePasswordSecretIdGenericJdbcDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStorePasswordSecretIdGenericJdbcSummary The key store password.
type DatabaseToolsKeyStorePasswordSecretIdGenericJdbcSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the key store password.
SecretId *string `mandatory:"false" json:"secretId"`
}
func (m DatabaseToolsKeyStorePasswordSecretIdGenericJdbcSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsKeyStorePasswordSecretIdGenericJdbcSummary) String() string
func (m DatabaseToolsKeyStorePasswordSecretIdGenericJdbcSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStorePasswordSecretIdMySql The key store password.
type DatabaseToolsKeyStorePasswordSecretIdMySql struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the key store password.
SecretId *string `mandatory:"false" json:"secretId"`
}
func (m DatabaseToolsKeyStorePasswordSecretIdMySql) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsKeyStorePasswordSecretIdMySql) String() string
func (m DatabaseToolsKeyStorePasswordSecretIdMySql) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStorePasswordSecretIdMySqlDetails The key store password.
type DatabaseToolsKeyStorePasswordSecretIdMySqlDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the key store password.
SecretId *string `mandatory:"false" json:"secretId"`
}
func (m DatabaseToolsKeyStorePasswordSecretIdMySqlDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsKeyStorePasswordSecretIdMySqlDetails) String() string
func (m DatabaseToolsKeyStorePasswordSecretIdMySqlDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStorePasswordSecretIdMySqlSummary The key store password.
type DatabaseToolsKeyStorePasswordSecretIdMySqlSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the key store password.
SecretId *string `mandatory:"false" json:"secretId"`
}
func (m DatabaseToolsKeyStorePasswordSecretIdMySqlSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsKeyStorePasswordSecretIdMySqlSummary) String() string
func (m DatabaseToolsKeyStorePasswordSecretIdMySqlSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStorePasswordSecretIdPostgresql The key store password.
type DatabaseToolsKeyStorePasswordSecretIdPostgresql struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the key store password.
SecretId *string `mandatory:"false" json:"secretId"`
}
func (m DatabaseToolsKeyStorePasswordSecretIdPostgresql) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsKeyStorePasswordSecretIdPostgresql) String() string
func (m DatabaseToolsKeyStorePasswordSecretIdPostgresql) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStorePasswordSecretIdPostgresqlDetails The key store password.
type DatabaseToolsKeyStorePasswordSecretIdPostgresqlDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the key store password.
SecretId *string `mandatory:"false" json:"secretId"`
}
func (m DatabaseToolsKeyStorePasswordSecretIdPostgresqlDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsKeyStorePasswordSecretIdPostgresqlDetails) String() string
func (m DatabaseToolsKeyStorePasswordSecretIdPostgresqlDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStorePasswordSecretIdPostgresqlSummary The key store password.
type DatabaseToolsKeyStorePasswordSecretIdPostgresqlSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the key store password.
SecretId *string `mandatory:"false" json:"secretId"`
}
func (m DatabaseToolsKeyStorePasswordSecretIdPostgresqlSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsKeyStorePasswordSecretIdPostgresqlSummary) String() string
func (m DatabaseToolsKeyStorePasswordSecretIdPostgresqlSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStorePasswordSecretIdSummary The key store password.
type DatabaseToolsKeyStorePasswordSecretIdSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the key store password.
SecretId *string `mandatory:"false" json:"secretId"`
}
func (m DatabaseToolsKeyStorePasswordSecretIdSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsKeyStorePasswordSecretIdSummary) String() string
func (m DatabaseToolsKeyStorePasswordSecretIdSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStorePasswordSummary The key store password.
type DatabaseToolsKeyStorePasswordSummary interface {
}
DatabaseToolsKeyStorePasswordSummaryValueTypeEnum Enum with underlying type: string
type DatabaseToolsKeyStorePasswordSummaryValueTypeEnum string
Set of constants representing the allowable values for DatabaseToolsKeyStorePasswordSummaryValueTypeEnum
const (
DatabaseToolsKeyStorePasswordSummaryValueTypeSecretid DatabaseToolsKeyStorePasswordSummaryValueTypeEnum = "SECRETID"
)
func GetDatabaseToolsKeyStorePasswordSummaryValueTypeEnumValues() []DatabaseToolsKeyStorePasswordSummaryValueTypeEnum
GetDatabaseToolsKeyStorePasswordSummaryValueTypeEnumValues Enumerates the set of values for DatabaseToolsKeyStorePasswordSummaryValueTypeEnum
func GetMappingDatabaseToolsKeyStorePasswordSummaryValueTypeEnum(val string) (DatabaseToolsKeyStorePasswordSummaryValueTypeEnum, bool)
GetMappingDatabaseToolsKeyStorePasswordSummaryValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsKeyStorePasswordValueTypeEnum Enum with underlying type: string
type DatabaseToolsKeyStorePasswordValueTypeEnum string
Set of constants representing the allowable values for DatabaseToolsKeyStorePasswordValueTypeEnum
const (
DatabaseToolsKeyStorePasswordValueTypeSecretid DatabaseToolsKeyStorePasswordValueTypeEnum = "SECRETID"
)
func GetDatabaseToolsKeyStorePasswordValueTypeEnumValues() []DatabaseToolsKeyStorePasswordValueTypeEnum
GetDatabaseToolsKeyStorePasswordValueTypeEnumValues Enumerates the set of values for DatabaseToolsKeyStorePasswordValueTypeEnum
func GetMappingDatabaseToolsKeyStorePasswordValueTypeEnum(val string) (DatabaseToolsKeyStorePasswordValueTypeEnum, bool)
GetMappingDatabaseToolsKeyStorePasswordValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsKeyStorePostgresql The details of the key store.
type DatabaseToolsKeyStorePostgresql struct {
// The key store type.
KeyStoreType KeyStoreTypePostgresqlEnum `mandatory:"false" json:"keyStoreType,omitempty"`
KeyStoreContent DatabaseToolsKeyStoreContentPostgresql `mandatory:"false" json:"keyStoreContent"`
KeyStorePassword DatabaseToolsKeyStorePasswordPostgresql `mandatory:"false" json:"keyStorePassword"`
}
func (m DatabaseToolsKeyStorePostgresql) String() string
func (m *DatabaseToolsKeyStorePostgresql) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsKeyStorePostgresql) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStorePostgresqlDetails The details of the key store.
type DatabaseToolsKeyStorePostgresqlDetails struct {
// The key store type.
KeyStoreType KeyStoreTypePostgresqlEnum `mandatory:"false" json:"keyStoreType,omitempty"`
KeyStoreContent DatabaseToolsKeyStoreContentPostgresqlDetails `mandatory:"false" json:"keyStoreContent"`
KeyStorePassword DatabaseToolsKeyStorePasswordPostgresqlDetails `mandatory:"false" json:"keyStorePassword"`
}
func (m DatabaseToolsKeyStorePostgresqlDetails) String() string
func (m *DatabaseToolsKeyStorePostgresqlDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsKeyStorePostgresqlDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStorePostgresqlSummary The key store secrets.
type DatabaseToolsKeyStorePostgresqlSummary struct {
// The key store type.
KeyStoreType KeyStoreTypePostgresqlEnum `mandatory:"false" json:"keyStoreType,omitempty"`
KeyStoreContent DatabaseToolsKeyStoreContentPostgresqlSummary `mandatory:"false" json:"keyStoreContent"`
KeyStorePassword DatabaseToolsKeyStorePasswordPostgresqlSummary `mandatory:"false" json:"keyStorePassword"`
}
func (m DatabaseToolsKeyStorePostgresqlSummary) String() string
func (m *DatabaseToolsKeyStorePostgresqlSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsKeyStorePostgresqlSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsKeyStoreSummary The key store secrets.
type DatabaseToolsKeyStoreSummary struct {
// The key store type.
KeyStoreType KeyStoreTypeEnum `mandatory:"false" json:"keyStoreType,omitempty"`
KeyStoreContent DatabaseToolsKeyStoreContentSummary `mandatory:"false" json:"keyStoreContent"`
KeyStorePassword DatabaseToolsKeyStorePasswordSummary `mandatory:"false" json:"keyStorePassword"`
}
func (m DatabaseToolsKeyStoreSummary) String() string
func (m *DatabaseToolsKeyStoreSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsKeyStoreSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpServer Allows the creation, configuration and management of an MCP server.
type DatabaseToolsMcpServer interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools MCP server.
GetId() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools MCP server.
GetCompartmentId() *string
// A meaningful, human-readable label displayed to end users. Not required to be unique and can be changed after creation. Do not include confidential information.
GetDisplayName() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools connection.
GetDatabaseToolsConnectionId() *string
GetRelatedResource() *DatabaseToolsMcpServerRelatedResource
// The current state of the Database Tools MCP server.
GetLifecycleState() DatabaseToolsMcpServerLifecycleStateEnum
// The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
// Specifies the identity used when accessing OCI resources at runtime. AUTHENTICATED_PRINCIPAL to use the caller’s identity (On-Behalf-Of token), or RESOURCE_PRINCIPAL to use the MCP Server’s resource principal (RPST).
GetRuntimeIdentity() DatabaseToolsMcpServerRuntimeIdentityEnum
// A human-readable description of the Database Tools MCP server.
GetDescription() *string
// Invoke endpoints for the MCP server.
GetEndpoints() []DatabaseToolsMcpServerEndpoint
// Built-in roles associated with the MCP Server.
GetBuiltInRoles() []DatabaseToolsMcpServerBuiltInRole
// Custom roles associated with the MCP Server.
GetCustomRoles() []DatabaseToolsMcpServerCustomRole
// Access token expiry in seconds
GetAccessTokenExpiryInSeconds() *int
// Refresh token expiry in seconds
GetRefreshTokenExpiryInSeconds() *int
// A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
GetLifecycleDetails() *string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
GetSystemTags() map[string]map[string]interface{}
// Locks associated with this resource.
GetLocks() []ResourceLock
}
DatabaseToolsMcpServerBuiltInRole Built-in MCP server roles
type DatabaseToolsMcpServerBuiltInRole struct {
// The display name of the built-in role.
DisplayName *string `mandatory:"true" json:"displayName"`
// The description of the built-in role.
Description *string `mandatory:"true" json:"description"`
}
func (m DatabaseToolsMcpServerBuiltInRole) String() string
func (m DatabaseToolsMcpServerBuiltInRole) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpServerCollection List of Database Tools MCP server summary items.
type DatabaseToolsMcpServerCollection struct {
// Array of Database Tools MCP server summary items.
Items []DatabaseToolsMcpServerSummary `mandatory:"true" json:"items"`
}
func (m DatabaseToolsMcpServerCollection) String() string
func (m *DatabaseToolsMcpServerCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsMcpServerCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpServerCustomRole DatabaseToolsMcpServerCustomRole.
type DatabaseToolsMcpServerCustomRole struct {
// The display name of the custom role.
DisplayName *string `mandatory:"true" json:"displayName"`
// The description of the custom role.
Description *string `mandatory:"true" json:"description"`
}
func (m DatabaseToolsMcpServerCustomRole) String() string
func (m DatabaseToolsMcpServerCustomRole) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpServerDefault Allows the creation, configuration and management of an MCP server.
type DatabaseToolsMcpServerDefault struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools MCP server.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools MCP server.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A meaningful, human-readable label displayed to end users. Not required to be unique and can be changed after creation. Do not include confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools connection.
DatabaseToolsConnectionId *string `mandatory:"true" json:"databaseToolsConnectionId"`
RelatedResource *DatabaseToolsMcpServerRelatedResource `mandatory:"true" json:"relatedResource"`
// The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated identity domain.
DomainId *string `mandatory:"true" json:"domainId"`
Storage DatabaseToolsMcpServerStorage `mandatory:"true" json:"storage"`
// A human-readable description of the Database Tools MCP server.
Description *string `mandatory:"false" json:"description"`
// Invoke endpoints for the MCP server.
Endpoints []DatabaseToolsMcpServerEndpoint `mandatory:"false" json:"endpoints"`
// Built-in roles associated with the MCP Server.
BuiltInRoles []DatabaseToolsMcpServerBuiltInRole `mandatory:"false" json:"builtInRoles"`
// Custom roles associated with the MCP Server.
CustomRoles []DatabaseToolsMcpServerCustomRole `mandatory:"false" json:"customRoles"`
// Access token expiry in seconds
AccessTokenExpiryInSeconds *int `mandatory:"false" json:"accessTokenExpiryInSeconds"`
// Refresh token expiry in seconds
RefreshTokenExpiryInSeconds *int `mandatory:"false" json:"refreshTokenExpiryInSeconds"`
// A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated domain application (Oracle Cloud Service).
DomainAppId *string `mandatory:"false" json:"domainAppId"`
// The current state of the Database Tools MCP server.
LifecycleState DatabaseToolsMcpServerLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Specifies the identity used when accessing OCI resources at runtime. AUTHENTICATED_PRINCIPAL to use the caller’s identity (On-Behalf-Of token), or RESOURCE_PRINCIPAL to use the MCP Server’s resource principal (RPST).
RuntimeIdentity DatabaseToolsMcpServerRuntimeIdentityEnum `mandatory:"true" json:"runtimeIdentity"`
}
func (m DatabaseToolsMcpServerDefault) GetAccessTokenExpiryInSeconds() *int
GetAccessTokenExpiryInSeconds returns AccessTokenExpiryInSeconds
func (m DatabaseToolsMcpServerDefault) GetBuiltInRoles() []DatabaseToolsMcpServerBuiltInRole
GetBuiltInRoles returns BuiltInRoles
func (m DatabaseToolsMcpServerDefault) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DatabaseToolsMcpServerDefault) GetCustomRoles() []DatabaseToolsMcpServerCustomRole
GetCustomRoles returns CustomRoles
func (m DatabaseToolsMcpServerDefault) GetDatabaseToolsConnectionId() *string
GetDatabaseToolsConnectionId returns DatabaseToolsConnectionId
func (m DatabaseToolsMcpServerDefault) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DatabaseToolsMcpServerDefault) GetDescription() *string
GetDescription returns Description
func (m DatabaseToolsMcpServerDefault) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsMcpServerDefault) GetEndpoints() []DatabaseToolsMcpServerEndpoint
GetEndpoints returns Endpoints
func (m DatabaseToolsMcpServerDefault) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DatabaseToolsMcpServerDefault) GetId() *string
GetId returns Id
func (m DatabaseToolsMcpServerDefault) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DatabaseToolsMcpServerDefault) GetLifecycleState() DatabaseToolsMcpServerLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DatabaseToolsMcpServerDefault) GetLocks() []ResourceLock
GetLocks returns Locks
func (m DatabaseToolsMcpServerDefault) GetRefreshTokenExpiryInSeconds() *int
GetRefreshTokenExpiryInSeconds returns RefreshTokenExpiryInSeconds
func (m DatabaseToolsMcpServerDefault) GetRelatedResource() *DatabaseToolsMcpServerRelatedResource
GetRelatedResource returns RelatedResource
func (m DatabaseToolsMcpServerDefault) GetRuntimeIdentity() DatabaseToolsMcpServerRuntimeIdentityEnum
GetRuntimeIdentity returns RuntimeIdentity
func (m DatabaseToolsMcpServerDefault) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DatabaseToolsMcpServerDefault) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsMcpServerDefault) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsMcpServerDefault) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsMcpServerDefault) String() string
func (m *DatabaseToolsMcpServerDefault) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsMcpServerDefault) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpServerEndpoint The details of an MCP server endpoint.
type DatabaseToolsMcpServerEndpoint struct {
// The MCP server type
Type DatabaseToolsMcpServerTypeEnum `mandatory:"false" json:"type,omitempty"`
// The URI endpoint of the MCP server
Endpoint *string `mandatory:"false" json:"endpoint"`
}
func (m DatabaseToolsMcpServerEndpoint) String() string
func (m DatabaseToolsMcpServerEndpoint) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpServerLifecycleStateEnum Enum with underlying type: string
type DatabaseToolsMcpServerLifecycleStateEnum string
Set of constants representing the allowable values for DatabaseToolsMcpServerLifecycleStateEnum
const (
DatabaseToolsMcpServerLifecycleStateCreating DatabaseToolsMcpServerLifecycleStateEnum = "CREATING"
DatabaseToolsMcpServerLifecycleStateUpdating DatabaseToolsMcpServerLifecycleStateEnum = "UPDATING"
DatabaseToolsMcpServerLifecycleStateActive DatabaseToolsMcpServerLifecycleStateEnum = "ACTIVE"
DatabaseToolsMcpServerLifecycleStateDeleting DatabaseToolsMcpServerLifecycleStateEnum = "DELETING"
DatabaseToolsMcpServerLifecycleStateDeleted DatabaseToolsMcpServerLifecycleStateEnum = "DELETED"
DatabaseToolsMcpServerLifecycleStateFailed DatabaseToolsMcpServerLifecycleStateEnum = "FAILED"
DatabaseToolsMcpServerLifecycleStateNeedsAttention DatabaseToolsMcpServerLifecycleStateEnum = "NEEDS_ATTENTION"
)
func GetDatabaseToolsMcpServerLifecycleStateEnumValues() []DatabaseToolsMcpServerLifecycleStateEnum
GetDatabaseToolsMcpServerLifecycleStateEnumValues Enumerates the set of values for DatabaseToolsMcpServerLifecycleStateEnum
func GetMappingDatabaseToolsMcpServerLifecycleStateEnum(val string) (DatabaseToolsMcpServerLifecycleStateEnum, bool)
GetMappingDatabaseToolsMcpServerLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsMcpServerRelatedResource A related resource
type DatabaseToolsMcpServerRelatedResource struct {
// The resource entity type.
EntityType DatabaseToolsMcpServerRelatedResourceEntityTypeEnum `mandatory:"true" json:"entityType"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related resource.
Identifier *string `mandatory:"true" json:"identifier"`
}
func (m DatabaseToolsMcpServerRelatedResource) String() string
func (m DatabaseToolsMcpServerRelatedResource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpServerRelatedResourceEntityTypeEnum Enum with underlying type: string
type DatabaseToolsMcpServerRelatedResourceEntityTypeEnum string
Set of constants representing the allowable values for DatabaseToolsMcpServerRelatedResourceEntityTypeEnum
const (
DatabaseToolsMcpServerRelatedResourceEntityTypeAutonomousdatabase DatabaseToolsMcpServerRelatedResourceEntityTypeEnum = "AUTONOMOUSDATABASE"
DatabaseToolsMcpServerRelatedResourceEntityTypeDatabase DatabaseToolsMcpServerRelatedResourceEntityTypeEnum = "DATABASE"
DatabaseToolsMcpServerRelatedResourceEntityTypePluggabledatabase DatabaseToolsMcpServerRelatedResourceEntityTypeEnum = "PLUGGABLEDATABASE"
DatabaseToolsMcpServerRelatedResourceEntityTypeMysqldbsystem DatabaseToolsMcpServerRelatedResourceEntityTypeEnum = "MYSQLDBSYSTEM"
)
func GetDatabaseToolsMcpServerRelatedResourceEntityTypeEnumValues() []DatabaseToolsMcpServerRelatedResourceEntityTypeEnum
GetDatabaseToolsMcpServerRelatedResourceEntityTypeEnumValues Enumerates the set of values for DatabaseToolsMcpServerRelatedResourceEntityTypeEnum
func GetMappingDatabaseToolsMcpServerRelatedResourceEntityTypeEnum(val string) (DatabaseToolsMcpServerRelatedResourceEntityTypeEnum, bool)
GetMappingDatabaseToolsMcpServerRelatedResourceEntityTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsMcpServerRuntimeIdentityEnum Enum with underlying type: string
type DatabaseToolsMcpServerRuntimeIdentityEnum string
Set of constants representing the allowable values for DatabaseToolsMcpServerRuntimeIdentityEnum
const (
DatabaseToolsMcpServerRuntimeIdentityAuthenticatedPrincipal DatabaseToolsMcpServerRuntimeIdentityEnum = "AUTHENTICATED_PRINCIPAL"
DatabaseToolsMcpServerRuntimeIdentityResourcePrincipal DatabaseToolsMcpServerRuntimeIdentityEnum = "RESOURCE_PRINCIPAL"
)
func GetDatabaseToolsMcpServerRuntimeIdentityEnumValues() []DatabaseToolsMcpServerRuntimeIdentityEnum
GetDatabaseToolsMcpServerRuntimeIdentityEnumValues Enumerates the set of values for DatabaseToolsMcpServerRuntimeIdentityEnum
func GetMappingDatabaseToolsMcpServerRuntimeIdentityEnum(val string) (DatabaseToolsMcpServerRuntimeIdentityEnum, bool)
GetMappingDatabaseToolsMcpServerRuntimeIdentityEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsMcpServerStorage The storage option used when running a tool asynchronously.
type DatabaseToolsMcpServerStorage interface {
}
DatabaseToolsMcpServerStorageNone Type used when the MCP server has no storage details configured.
type DatabaseToolsMcpServerStorageNone struct {
}
func (m DatabaseToolsMcpServerStorageNone) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsMcpServerStorageNone) String() string
func (m DatabaseToolsMcpServerStorageNone) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpServerStorageObjectStorage Object storage.
type DatabaseToolsMcpServerStorageObjectStorage struct {
Bucket *DatabaseToolsMcpServerStorageObjectStorageBucket `mandatory:"true" json:"bucket"`
}
func (m DatabaseToolsMcpServerStorageObjectStorage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsMcpServerStorageObjectStorage) String() string
func (m DatabaseToolsMcpServerStorageObjectStorage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpServerStorageObjectStorageBucket A Cloud Storage bucket for an MCP Server.
type DatabaseToolsMcpServerStorageObjectStorageBucket struct {
// The Object Storage namespace to use.
Namespace *string `mandatory:"true" json:"namespace"`
// The Object Storage bucket to use.
BucketName *string `mandatory:"true" json:"bucketName"`
}
func (m DatabaseToolsMcpServerStorageObjectStorageBucket) String() string
func (m DatabaseToolsMcpServerStorageObjectStorageBucket) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpServerStorageTypeEnum Enum with underlying type: string
type DatabaseToolsMcpServerStorageTypeEnum string
Set of constants representing the allowable values for DatabaseToolsMcpServerStorageTypeEnum
const (
DatabaseToolsMcpServerStorageTypeNone DatabaseToolsMcpServerStorageTypeEnum = "NONE"
DatabaseToolsMcpServerStorageTypeObjectStorage DatabaseToolsMcpServerStorageTypeEnum = "OBJECT_STORAGE"
)
func GetDatabaseToolsMcpServerStorageTypeEnumValues() []DatabaseToolsMcpServerStorageTypeEnum
GetDatabaseToolsMcpServerStorageTypeEnumValues Enumerates the set of values for DatabaseToolsMcpServerStorageTypeEnum
func GetMappingDatabaseToolsMcpServerStorageTypeEnum(val string) (DatabaseToolsMcpServerStorageTypeEnum, bool)
GetMappingDatabaseToolsMcpServerStorageTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsMcpServerSummary Summary of the Database Tools MCP server.
type DatabaseToolsMcpServerSummary interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools MCP server.
GetId() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools MCP server.
GetCompartmentId() *string
// A meaningful, human-readable label displayed to end users. Not required to be unique and can be changed after creation. Do not include confidential information.
GetDisplayName() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools connection.
GetDatabaseToolsConnectionId() *string
// Invoke endpoint of MCP server.
GetEndpoints() []DatabaseToolsMcpServerEndpoint
GetRelatedResource() *DatabaseToolsMcpServerRelatedResource
// The current state of the Database Tools MCP server.
GetLifecycleState() DatabaseToolsMcpServerLifecycleStateEnum
// The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
// Specifies the identity used when accessing OCI resources at runtime. AUTHENTICATED_PRINCIPAL to use the caller’s identity (On-Behalf-Of token), or RESOURCE_PRINCIPAL to use the MCP Server’s resource principal (RPST).
GetRuntimeIdentity() DatabaseToolsMcpServerRuntimeIdentityEnum
// Built-in roles associated with the MCP Server.
GetBuiltInRoles() []DatabaseToolsMcpServerBuiltInRole
// Custom roles associated with the MCP Server.
GetCustomRoles() []DatabaseToolsMcpServerCustomRole
// A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
GetLifecycleDetails() *string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
GetSystemTags() map[string]map[string]interface{}
// Locks associated with this resource.
GetLocks() []ResourceLock
}
DatabaseToolsMcpServerSummaryDefault Summary of the Database Tools MCP server.
type DatabaseToolsMcpServerSummaryDefault struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools MCP server.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools MCP server.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A meaningful, human-readable label displayed to end users. Not required to be unique and can be changed after creation. Do not include confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools connection.
DatabaseToolsConnectionId *string `mandatory:"true" json:"databaseToolsConnectionId"`
// Invoke endpoint of MCP server.
Endpoints []DatabaseToolsMcpServerEndpoint `mandatory:"true" json:"endpoints"`
RelatedResource *DatabaseToolsMcpServerRelatedResource `mandatory:"true" json:"relatedResource"`
// The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated identity domain.
DomainId *string `mandatory:"true" json:"domainId"`
Storage DatabaseToolsMcpServerStorage `mandatory:"true" json:"storage"`
// Built-in roles associated with the MCP Server.
BuiltInRoles []DatabaseToolsMcpServerBuiltInRole `mandatory:"false" json:"builtInRoles"`
// Custom roles associated with the MCP Server.
CustomRoles []DatabaseToolsMcpServerCustomRole `mandatory:"false" json:"customRoles"`
// A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated domain application (Oracle Cloud Service).
DomainAppId *string `mandatory:"false" json:"domainAppId"`
// The current state of the Database Tools MCP server.
LifecycleState DatabaseToolsMcpServerLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Specifies the identity used when accessing OCI resources at runtime. AUTHENTICATED_PRINCIPAL to use the caller’s identity (On-Behalf-Of token), or RESOURCE_PRINCIPAL to use the MCP Server’s resource principal (RPST).
RuntimeIdentity DatabaseToolsMcpServerRuntimeIdentityEnum `mandatory:"true" json:"runtimeIdentity"`
}
func (m DatabaseToolsMcpServerSummaryDefault) GetBuiltInRoles() []DatabaseToolsMcpServerBuiltInRole
GetBuiltInRoles returns BuiltInRoles
func (m DatabaseToolsMcpServerSummaryDefault) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DatabaseToolsMcpServerSummaryDefault) GetCustomRoles() []DatabaseToolsMcpServerCustomRole
GetCustomRoles returns CustomRoles
func (m DatabaseToolsMcpServerSummaryDefault) GetDatabaseToolsConnectionId() *string
GetDatabaseToolsConnectionId returns DatabaseToolsConnectionId
func (m DatabaseToolsMcpServerSummaryDefault) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DatabaseToolsMcpServerSummaryDefault) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsMcpServerSummaryDefault) GetEndpoints() []DatabaseToolsMcpServerEndpoint
GetEndpoints returns Endpoints
func (m DatabaseToolsMcpServerSummaryDefault) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DatabaseToolsMcpServerSummaryDefault) GetId() *string
GetId returns Id
func (m DatabaseToolsMcpServerSummaryDefault) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DatabaseToolsMcpServerSummaryDefault) GetLifecycleState() DatabaseToolsMcpServerLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DatabaseToolsMcpServerSummaryDefault) GetLocks() []ResourceLock
GetLocks returns Locks
func (m DatabaseToolsMcpServerSummaryDefault) GetRelatedResource() *DatabaseToolsMcpServerRelatedResource
GetRelatedResource returns RelatedResource
func (m DatabaseToolsMcpServerSummaryDefault) GetRuntimeIdentity() DatabaseToolsMcpServerRuntimeIdentityEnum
GetRuntimeIdentity returns RuntimeIdentity
func (m DatabaseToolsMcpServerSummaryDefault) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DatabaseToolsMcpServerSummaryDefault) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsMcpServerSummaryDefault) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsMcpServerSummaryDefault) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsMcpServerSummaryDefault) String() string
func (m *DatabaseToolsMcpServerSummaryDefault) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsMcpServerSummaryDefault) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpServerTypeEnum Enum with underlying type: string
type DatabaseToolsMcpServerTypeEnum string
Set of constants representing the allowable values for DatabaseToolsMcpServerTypeEnum
const (
DatabaseToolsMcpServerTypeDefault DatabaseToolsMcpServerTypeEnum = "DEFAULT"
)
func GetDatabaseToolsMcpServerTypeEnumValues() []DatabaseToolsMcpServerTypeEnum
GetDatabaseToolsMcpServerTypeEnumValues Enumerates the set of values for DatabaseToolsMcpServerTypeEnum
func GetMappingDatabaseToolsMcpServerTypeEnum(val string) (DatabaseToolsMcpServerTypeEnum, bool)
GetMappingDatabaseToolsMcpServerTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsMcpToolset Allows the creation, configuration and management of an MCP Toolset.
type DatabaseToolsMcpToolset interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools MCP Toolsets.
GetId() *string
// The MCP toolset version
GetVersion() *int
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the Database Tools MCP Toolset to.
GetCompartmentId() *string
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
GetDisplayName() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools McpServer.
GetDatabaseToolsMcpServerId() *string
// The current state of the Database Tools MCP Toolset.
GetLifecycleState() DatabaseToolsMcpToolsetLifecycleStateEnum
// The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
// A human readable description of the Database Tools MCP toolset.
GetDescription() *string
// A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
GetLifecycleDetails() *string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
GetSystemTags() map[string]map[string]interface{}
// Locks associated with this resource.
GetLocks() []ResourceLock
}
DatabaseToolsMcpToolsetBuiltInSqlTools Allows the creation, configuration and management of an McpToolset of type Built-in SQL tools.
type DatabaseToolsMcpToolsetBuiltInSqlTools struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools MCP Toolsets.
Id *string `mandatory:"true" json:"id"`
// The MCP toolset version
Version *int `mandatory:"true" json:"version"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the Database Tools MCP Toolset to.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools McpServer.
DatabaseToolsMcpServerId *string `mandatory:"true" json:"databaseToolsMcpServerId"`
// The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// A human readable description of the Database Tools MCP toolset.
Description *string `mandatory:"false" json:"description"`
// A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// List of Database Tools Built-in SQL tools
Tools []DatabaseToolsMcpToolsetToolDetails `mandatory:"false" json:"tools"`
// The current state of the Database Tools MCP Toolset.
LifecycleState DatabaseToolsMcpToolsetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The default execution type for the toolset. The default value is SYNCHRONOUS.
// To use ASYNCHRONOUS execution, the MCP Server must have the storage property configured.
DefaultExecutionType DatabaseToolsMcpToolsetDefaultExecutionTypeEnum `mandatory:"false" json:"defaultExecutionType,omitempty"`
}
func (m DatabaseToolsMcpToolsetBuiltInSqlTools) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DatabaseToolsMcpToolsetBuiltInSqlTools) GetDatabaseToolsMcpServerId() *string
GetDatabaseToolsMcpServerId returns DatabaseToolsMcpServerId
func (m DatabaseToolsMcpToolsetBuiltInSqlTools) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DatabaseToolsMcpToolsetBuiltInSqlTools) GetDescription() *string
GetDescription returns Description
func (m DatabaseToolsMcpToolsetBuiltInSqlTools) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsMcpToolsetBuiltInSqlTools) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DatabaseToolsMcpToolsetBuiltInSqlTools) GetId() *string
GetId returns Id
func (m DatabaseToolsMcpToolsetBuiltInSqlTools) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DatabaseToolsMcpToolsetBuiltInSqlTools) GetLifecycleState() DatabaseToolsMcpToolsetLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DatabaseToolsMcpToolsetBuiltInSqlTools) GetLocks() []ResourceLock
GetLocks returns Locks
func (m DatabaseToolsMcpToolsetBuiltInSqlTools) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DatabaseToolsMcpToolsetBuiltInSqlTools) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsMcpToolsetBuiltInSqlTools) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsMcpToolsetBuiltInSqlTools) GetVersion() *int
GetVersion returns Version
func (m DatabaseToolsMcpToolsetBuiltInSqlTools) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsMcpToolsetBuiltInSqlTools) String() string
func (m DatabaseToolsMcpToolsetBuiltInSqlTools) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpToolsetBuiltInSqlToolsSummary Summary of the Database Tools MCP Toolset of type Built-in SQL tools.
type DatabaseToolsMcpToolsetBuiltInSqlToolsSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools MCP Toolset.
Id *string `mandatory:"true" json:"id"`
// The toolset version
Version *int `mandatory:"true" json:"version"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools MCP server.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools McpServer.
DatabaseToolsMcpServerId *string `mandatory:"true" json:"databaseToolsMcpServerId"`
// The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// List of Database Tools Built-in SQL tools
Tools []DatabaseToolsMcpToolsetToolDetails `mandatory:"true" json:"tools"`
// A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// The current state of the Database Tools MCP Toolset.
LifecycleState DatabaseToolsMcpToolsetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The default execution type for the toolset. The default value is SYNCHRONOUS.
// To use ASYNCHRONOUS execution, the MCP Server must have the storage property configured.
DefaultExecutionType DatabaseToolsMcpToolsetDefaultExecutionTypeEnum `mandatory:"false" json:"defaultExecutionType,omitempty"`
}
func (m DatabaseToolsMcpToolsetBuiltInSqlToolsSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DatabaseToolsMcpToolsetBuiltInSqlToolsSummary) GetDatabaseToolsMcpServerId() *string
GetDatabaseToolsMcpServerId returns DatabaseToolsMcpServerId
func (m DatabaseToolsMcpToolsetBuiltInSqlToolsSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DatabaseToolsMcpToolsetBuiltInSqlToolsSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsMcpToolsetBuiltInSqlToolsSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DatabaseToolsMcpToolsetBuiltInSqlToolsSummary) GetId() *string
GetId returns Id
func (m DatabaseToolsMcpToolsetBuiltInSqlToolsSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DatabaseToolsMcpToolsetBuiltInSqlToolsSummary) GetLifecycleState() DatabaseToolsMcpToolsetLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DatabaseToolsMcpToolsetBuiltInSqlToolsSummary) GetLocks() []ResourceLock
GetLocks returns Locks
func (m DatabaseToolsMcpToolsetBuiltInSqlToolsSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DatabaseToolsMcpToolsetBuiltInSqlToolsSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsMcpToolsetBuiltInSqlToolsSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsMcpToolsetBuiltInSqlToolsSummary) GetVersion() *int
GetVersion returns Version
func (m DatabaseToolsMcpToolsetBuiltInSqlToolsSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsMcpToolsetBuiltInSqlToolsSummary) String() string
func (m DatabaseToolsMcpToolsetBuiltInSqlToolsSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpToolsetBuiltInSqlToolsVersion A specific version entry for a BUILT_IN_SQL_TOOLS MCP toolset version
type DatabaseToolsMcpToolsetBuiltInSqlToolsVersion struct {
// The version number.
Version *int `mandatory:"true" json:"version"`
// A description of this version.
Description *string `mandatory:"true" json:"description"`
// The tools available in this version.
Tools []DatabaseToolsMcpToolsetVersionTool `mandatory:"true" json:"tools"`
// Optional feature flags or attributes for this version.
Features []string `mandatory:"false" json:"features"`
}
func (m DatabaseToolsMcpToolsetBuiltInSqlToolsVersion) String() string
func (m DatabaseToolsMcpToolsetBuiltInSqlToolsVersion) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpToolsetCollection List of Database Tools MCP Toolset summary items.
type DatabaseToolsMcpToolsetCollection struct {
// Array of Database Tools MCP Toolset summary items.
Items []DatabaseToolsMcpToolsetSummary `mandatory:"true" json:"items"`
}
func (m DatabaseToolsMcpToolsetCollection) String() string
func (m *DatabaseToolsMcpToolsetCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsMcpToolsetCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpToolsetCustomSqlTool Allows the creation, configuration and management of an McpToolset.
type DatabaseToolsMcpToolsetCustomSqlTool struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools MCP Toolsets.
Id *string `mandatory:"true" json:"id"`
// The MCP toolset version
Version *int `mandatory:"true" json:"version"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the Database Tools MCP Toolset to.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools McpServer.
DatabaseToolsMcpServerId *string `mandatory:"true" json:"databaseToolsMcpServerId"`
// The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Name of the tool returned by the MCP Server
ToolName *string `mandatory:"true" json:"toolName"`
Source *DatabaseToolsCustomSqlToolToolsetSource `mandatory:"true" json:"source"`
// A human readable description of the Database Tools MCP toolset.
Description *string `mandatory:"false" json:"description"`
// A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// Instructions describing how to use the MCP toolset and its features. This can be used to improve the LLM's understanding of the tool.
ToolDescription *string `mandatory:"false" json:"toolDescription"`
// The variables to use with the query
Variables []DatabaseToolsMcpToolsetCustomSqlToolVariable `mandatory:"false" json:"variables"`
// The roles granted access to the MCP tool generated by this toolset
AllowedRoles []string `mandatory:"false" json:"allowedRoles"`
// The current state of the Database Tools MCP Toolset.
LifecycleState DatabaseToolsMcpToolsetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The default execution type for the toolset. The default value is SYNCHRONOUS.
// To use ASYNCHRONOUS execution, the MCP Server must have the storage property configured.
DefaultExecutionType DatabaseToolsMcpToolsetDefaultExecutionTypeEnum `mandatory:"false" json:"defaultExecutionType,omitempty"`
}
func (m DatabaseToolsMcpToolsetCustomSqlTool) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DatabaseToolsMcpToolsetCustomSqlTool) GetDatabaseToolsMcpServerId() *string
GetDatabaseToolsMcpServerId returns DatabaseToolsMcpServerId
func (m DatabaseToolsMcpToolsetCustomSqlTool) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DatabaseToolsMcpToolsetCustomSqlTool) GetDescription() *string
GetDescription returns Description
func (m DatabaseToolsMcpToolsetCustomSqlTool) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsMcpToolsetCustomSqlTool) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DatabaseToolsMcpToolsetCustomSqlTool) GetId() *string
GetId returns Id
func (m DatabaseToolsMcpToolsetCustomSqlTool) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DatabaseToolsMcpToolsetCustomSqlTool) GetLifecycleState() DatabaseToolsMcpToolsetLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DatabaseToolsMcpToolsetCustomSqlTool) GetLocks() []ResourceLock
GetLocks returns Locks
func (m DatabaseToolsMcpToolsetCustomSqlTool) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DatabaseToolsMcpToolsetCustomSqlTool) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsMcpToolsetCustomSqlTool) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsMcpToolsetCustomSqlTool) GetVersion() *int
GetVersion returns Version
func (m DatabaseToolsMcpToolsetCustomSqlTool) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsMcpToolsetCustomSqlTool) String() string
func (m DatabaseToolsMcpToolsetCustomSqlTool) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpToolsetCustomSqlToolSummary Summary of the Database Tools MCP Toolset.
type DatabaseToolsMcpToolsetCustomSqlToolSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools MCP Toolset.
Id *string `mandatory:"true" json:"id"`
// The toolset version
Version *int `mandatory:"true" json:"version"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools MCP server.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools McpServer.
DatabaseToolsMcpServerId *string `mandatory:"true" json:"databaseToolsMcpServerId"`
// The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Name of the tool returned by the MCP Server
ToolName *string `mandatory:"true" json:"toolName"`
// The roles granted access to this MCP tool
AllowedRoles []string `mandatory:"true" json:"allowedRoles"`
// A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// Instructions describing how to use the MCP toolset and its features. This can be used to improve the LLM's understanding of the tool.
ToolDescription *string `mandatory:"false" json:"toolDescription"`
// The current state of the Database Tools MCP Toolset.
LifecycleState DatabaseToolsMcpToolsetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The default execution type for the toolset. The default value is SYNCHRONOUS.
// To use ASYNCHRONOUS execution, the MCP Server must have the storage property configured.
DefaultExecutionType DatabaseToolsMcpToolsetDefaultExecutionTypeEnum `mandatory:"false" json:"defaultExecutionType,omitempty"`
}
func (m DatabaseToolsMcpToolsetCustomSqlToolSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DatabaseToolsMcpToolsetCustomSqlToolSummary) GetDatabaseToolsMcpServerId() *string
GetDatabaseToolsMcpServerId returns DatabaseToolsMcpServerId
func (m DatabaseToolsMcpToolsetCustomSqlToolSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DatabaseToolsMcpToolsetCustomSqlToolSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsMcpToolsetCustomSqlToolSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DatabaseToolsMcpToolsetCustomSqlToolSummary) GetId() *string
GetId returns Id
func (m DatabaseToolsMcpToolsetCustomSqlToolSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DatabaseToolsMcpToolsetCustomSqlToolSummary) GetLifecycleState() DatabaseToolsMcpToolsetLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DatabaseToolsMcpToolsetCustomSqlToolSummary) GetLocks() []ResourceLock
GetLocks returns Locks
func (m DatabaseToolsMcpToolsetCustomSqlToolSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DatabaseToolsMcpToolsetCustomSqlToolSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsMcpToolsetCustomSqlToolSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsMcpToolsetCustomSqlToolSummary) GetVersion() *int
GetVersion returns Version
func (m DatabaseToolsMcpToolsetCustomSqlToolSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsMcpToolsetCustomSqlToolSummary) String() string
func (m DatabaseToolsMcpToolsetCustomSqlToolSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpToolsetCustomSqlToolVariable A variable to use within a query
type DatabaseToolsMcpToolsetCustomSqlToolVariable struct {
// The name of the variable
Name *string `mandatory:"true" json:"name"`
// The description of the variable
Description *string `mandatory:"true" json:"description"`
// The type of the variable
Type *string `mandatory:"true" json:"type"`
}
func (m DatabaseToolsMcpToolsetCustomSqlToolVariable) String() string
func (m DatabaseToolsMcpToolsetCustomSqlToolVariable) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpToolsetCustomSqlToolVersion A specific version entry for a CUSTOM_SQL_TOOL MCP toolset version
type DatabaseToolsMcpToolsetCustomSqlToolVersion struct {
// The version number.
Version *int `mandatory:"true" json:"version"`
// A description of this version.
Description *string `mandatory:"true" json:"description"`
// The roles granted access to this toolset version by default.
DefaultAllowedRoles []string `mandatory:"true" json:"defaultAllowedRoles"`
// Optional feature flags or attributes for this version.
Features []string `mandatory:"false" json:"features"`
}
func (m DatabaseToolsMcpToolsetCustomSqlToolVersion) String() string
func (m DatabaseToolsMcpToolsetCustomSqlToolVersion) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpToolsetCustomizableReportingTools Allows the creation, configuration and management of an McpToolset of type Customizable reporting tools.
type DatabaseToolsMcpToolsetCustomizableReportingTools struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools MCP Toolsets.
Id *string `mandatory:"true" json:"id"`
// The MCP toolset version
Version *int `mandatory:"true" json:"version"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the Database Tools MCP Toolset to.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools McpServer.
DatabaseToolsMcpServerId *string `mandatory:"true" json:"databaseToolsMcpServerId"`
// The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// A human readable description of the Database Tools MCP toolset.
Description *string `mandatory:"false" json:"description"`
// A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// List of Database Tools Customizable reporting tools
Reports []DatabaseToolsMcpToolsetCustomizableReportingToolsReport `mandatory:"false" json:"reports"`
// List of Database Tools Customizable reporting tools
Tools []DatabaseToolsMcpToolsetToolDetails `mandatory:"false" json:"tools"`
// The current state of the Database Tools MCP Toolset.
LifecycleState DatabaseToolsMcpToolsetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The default execution type for the toolset. The default value is SYNCHRONOUS.
// To use ASYNCHRONOUS execution, the MCP Server must have the storage property configured.
DefaultExecutionType DatabaseToolsMcpToolsetDefaultExecutionTypeEnum `mandatory:"false" json:"defaultExecutionType,omitempty"`
}
func (m DatabaseToolsMcpToolsetCustomizableReportingTools) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DatabaseToolsMcpToolsetCustomizableReportingTools) GetDatabaseToolsMcpServerId() *string
GetDatabaseToolsMcpServerId returns DatabaseToolsMcpServerId
func (m DatabaseToolsMcpToolsetCustomizableReportingTools) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DatabaseToolsMcpToolsetCustomizableReportingTools) GetDescription() *string
GetDescription returns Description
func (m DatabaseToolsMcpToolsetCustomizableReportingTools) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsMcpToolsetCustomizableReportingTools) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DatabaseToolsMcpToolsetCustomizableReportingTools) GetId() *string
GetId returns Id
func (m DatabaseToolsMcpToolsetCustomizableReportingTools) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DatabaseToolsMcpToolsetCustomizableReportingTools) GetLifecycleState() DatabaseToolsMcpToolsetLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DatabaseToolsMcpToolsetCustomizableReportingTools) GetLocks() []ResourceLock
GetLocks returns Locks
func (m DatabaseToolsMcpToolsetCustomizableReportingTools) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DatabaseToolsMcpToolsetCustomizableReportingTools) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsMcpToolsetCustomizableReportingTools) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsMcpToolsetCustomizableReportingTools) GetVersion() *int
GetVersion returns Version
func (m DatabaseToolsMcpToolsetCustomizableReportingTools) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsMcpToolsetCustomizableReportingTools) String() string
func (m DatabaseToolsMcpToolsetCustomizableReportingTools) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpToolsetCustomizableReportingToolsReport Database Tools SQL Reports
type DatabaseToolsMcpToolsetCustomizableReportingToolsReport struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the report OCID of sql report.
DatabaseToolsSqlReportId *string `mandatory:"true" json:"databaseToolsSqlReportId"`
// The roles granted access to this report
AllowedRoles []string `mandatory:"false" json:"allowedRoles"`
}
func (m DatabaseToolsMcpToolsetCustomizableReportingToolsReport) String() string
func (m DatabaseToolsMcpToolsetCustomizableReportingToolsReport) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpToolsetCustomizableReportingToolsSummary Summary of the Database Tools MCP Toolset of type Customizable reporting tools.
type DatabaseToolsMcpToolsetCustomizableReportingToolsSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools MCP Toolset.
Id *string `mandatory:"true" json:"id"`
// The toolset version
Version *int `mandatory:"true" json:"version"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools MCP server.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools McpServer.
DatabaseToolsMcpServerId *string `mandatory:"true" json:"databaseToolsMcpServerId"`
// The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// List of Database Tools SQL Reports
Reports []DatabaseToolsMcpToolsetCustomizableReportingToolsReport `mandatory:"true" json:"reports"`
// List of Database Tools Customizable reporting tools
Tools []DatabaseToolsMcpToolsetToolDetails `mandatory:"true" json:"tools"`
// A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// The current state of the Database Tools MCP Toolset.
LifecycleState DatabaseToolsMcpToolsetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The default execution type for the toolset. The default value is SYNCHRONOUS.
// To use ASYNCHRONOUS execution, the MCP Server must have the storage property configured.
DefaultExecutionType DatabaseToolsMcpToolsetDefaultExecutionTypeEnum `mandatory:"false" json:"defaultExecutionType,omitempty"`
}
func (m DatabaseToolsMcpToolsetCustomizableReportingToolsSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DatabaseToolsMcpToolsetCustomizableReportingToolsSummary) GetDatabaseToolsMcpServerId() *string
GetDatabaseToolsMcpServerId returns DatabaseToolsMcpServerId
func (m DatabaseToolsMcpToolsetCustomizableReportingToolsSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DatabaseToolsMcpToolsetCustomizableReportingToolsSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsMcpToolsetCustomizableReportingToolsSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DatabaseToolsMcpToolsetCustomizableReportingToolsSummary) GetId() *string
GetId returns Id
func (m DatabaseToolsMcpToolsetCustomizableReportingToolsSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DatabaseToolsMcpToolsetCustomizableReportingToolsSummary) GetLifecycleState() DatabaseToolsMcpToolsetLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DatabaseToolsMcpToolsetCustomizableReportingToolsSummary) GetLocks() []ResourceLock
GetLocks returns Locks
func (m DatabaseToolsMcpToolsetCustomizableReportingToolsSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DatabaseToolsMcpToolsetCustomizableReportingToolsSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsMcpToolsetCustomizableReportingToolsSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsMcpToolsetCustomizableReportingToolsSummary) GetVersion() *int
GetVersion returns Version
func (m DatabaseToolsMcpToolsetCustomizableReportingToolsSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsMcpToolsetCustomizableReportingToolsSummary) String() string
func (m DatabaseToolsMcpToolsetCustomizableReportingToolsSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpToolsetCustomizableReportingToolsVersion A specific version entry for a CUSTOMIZABLE_REPORTING_TOOLS MCP toolset version
type DatabaseToolsMcpToolsetCustomizableReportingToolsVersion struct {
// The version number.
Version *int `mandatory:"true" json:"version"`
// A description of this version.
Description *string `mandatory:"true" json:"description"`
// The roles granted access to this toolset version by default.
DefaultReportAllowedRoles []string `mandatory:"true" json:"defaultReportAllowedRoles"`
// The tools available in this version.
Tools []DatabaseToolsMcpToolsetVersionTool `mandatory:"true" json:"tools"`
// Optional feature flags or attributes for this version.
Features []string `mandatory:"false" json:"features"`
}
func (m DatabaseToolsMcpToolsetCustomizableReportingToolsVersion) String() string
func (m DatabaseToolsMcpToolsetCustomizableReportingToolsVersion) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpToolsetDefaultExecutionTypeEnum Enum with underlying type: string
type DatabaseToolsMcpToolsetDefaultExecutionTypeEnum string
Set of constants representing the allowable values for DatabaseToolsMcpToolsetDefaultExecutionTypeEnum
const (
DatabaseToolsMcpToolsetDefaultExecutionTypeSynchronous DatabaseToolsMcpToolsetDefaultExecutionTypeEnum = "SYNCHRONOUS"
DatabaseToolsMcpToolsetDefaultExecutionTypeAsynchronous DatabaseToolsMcpToolsetDefaultExecutionTypeEnum = "ASYNCHRONOUS"
)
func GetDatabaseToolsMcpToolsetDefaultExecutionTypeEnumValues() []DatabaseToolsMcpToolsetDefaultExecutionTypeEnum
GetDatabaseToolsMcpToolsetDefaultExecutionTypeEnumValues Enumerates the set of values for DatabaseToolsMcpToolsetDefaultExecutionTypeEnum
func GetMappingDatabaseToolsMcpToolsetDefaultExecutionTypeEnum(val string) (DatabaseToolsMcpToolsetDefaultExecutionTypeEnum, bool)
GetMappingDatabaseToolsMcpToolsetDefaultExecutionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsMcpToolsetGenAiSqlAssistant Allows the creation, configuration and management of an McpToolset of type GenAI SQL Assistant.
type DatabaseToolsMcpToolsetGenAiSqlAssistant struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools MCP Toolsets.
Id *string `mandatory:"true" json:"id"`
// The MCP toolset version
Version *int `mandatory:"true" json:"version"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the Database Tools MCP Toolset to.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools McpServer.
DatabaseToolsMcpServerId *string `mandatory:"true" json:"databaseToolsMcpServerId"`
// The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Generative AI Semantic Store.
GenerativeAiSemanticStoreId *string `mandatory:"true" json:"generativeAiSemanticStoreId"`
// A human readable description of the Database Tools MCP toolset.
Description *string `mandatory:"false" json:"description"`
// A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// List of Database Tools GenAI SQL Assistant tools
Tools []DatabaseToolsMcpToolsetToolDetails `mandatory:"false" json:"tools"`
// The current state of the Database Tools MCP Toolset.
LifecycleState DatabaseToolsMcpToolsetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The default execution type for the toolset. The default value is SYNCHRONOUS.
// To use ASYNCHRONOUS execution, the MCP Server must have the storage property configured.
DefaultExecutionType DatabaseToolsMcpToolsetDefaultExecutionTypeEnum `mandatory:"false" json:"defaultExecutionType,omitempty"`
}
func (m DatabaseToolsMcpToolsetGenAiSqlAssistant) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DatabaseToolsMcpToolsetGenAiSqlAssistant) GetDatabaseToolsMcpServerId() *string
GetDatabaseToolsMcpServerId returns DatabaseToolsMcpServerId
func (m DatabaseToolsMcpToolsetGenAiSqlAssistant) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DatabaseToolsMcpToolsetGenAiSqlAssistant) GetDescription() *string
GetDescription returns Description
func (m DatabaseToolsMcpToolsetGenAiSqlAssistant) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsMcpToolsetGenAiSqlAssistant) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DatabaseToolsMcpToolsetGenAiSqlAssistant) GetId() *string
GetId returns Id
func (m DatabaseToolsMcpToolsetGenAiSqlAssistant) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DatabaseToolsMcpToolsetGenAiSqlAssistant) GetLifecycleState() DatabaseToolsMcpToolsetLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DatabaseToolsMcpToolsetGenAiSqlAssistant) GetLocks() []ResourceLock
GetLocks returns Locks
func (m DatabaseToolsMcpToolsetGenAiSqlAssistant) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DatabaseToolsMcpToolsetGenAiSqlAssistant) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsMcpToolsetGenAiSqlAssistant) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsMcpToolsetGenAiSqlAssistant) GetVersion() *int
GetVersion returns Version
func (m DatabaseToolsMcpToolsetGenAiSqlAssistant) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsMcpToolsetGenAiSqlAssistant) String() string
func (m DatabaseToolsMcpToolsetGenAiSqlAssistant) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpToolsetGenAiSqlAssistantSummary Summary of the Database Tools MCP Toolset of type GenAI SQL Assistant.
type DatabaseToolsMcpToolsetGenAiSqlAssistantSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools MCP Toolset.
Id *string `mandatory:"true" json:"id"`
// The toolset version
Version *int `mandatory:"true" json:"version"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools MCP server.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools McpServer.
DatabaseToolsMcpServerId *string `mandatory:"true" json:"databaseToolsMcpServerId"`
// The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Generative AI Semantic Store.
GenerativeAiSemanticStoreId *string `mandatory:"true" json:"generativeAiSemanticStoreId"`
// List of Database Tools GenAI SQL Assistant tools
Tools []DatabaseToolsMcpToolsetToolDetails `mandatory:"true" json:"tools"`
// A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// The current state of the Database Tools MCP Toolset.
LifecycleState DatabaseToolsMcpToolsetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The default execution type for the toolset. The default value is SYNCHRONOUS.
// To use ASYNCHRONOUS execution, the MCP Server must have the storage property configured.
DefaultExecutionType DatabaseToolsMcpToolsetDefaultExecutionTypeEnum `mandatory:"false" json:"defaultExecutionType,omitempty"`
}
func (m DatabaseToolsMcpToolsetGenAiSqlAssistantSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DatabaseToolsMcpToolsetGenAiSqlAssistantSummary) GetDatabaseToolsMcpServerId() *string
GetDatabaseToolsMcpServerId returns DatabaseToolsMcpServerId
func (m DatabaseToolsMcpToolsetGenAiSqlAssistantSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DatabaseToolsMcpToolsetGenAiSqlAssistantSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsMcpToolsetGenAiSqlAssistantSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DatabaseToolsMcpToolsetGenAiSqlAssistantSummary) GetId() *string
GetId returns Id
func (m DatabaseToolsMcpToolsetGenAiSqlAssistantSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DatabaseToolsMcpToolsetGenAiSqlAssistantSummary) GetLifecycleState() DatabaseToolsMcpToolsetLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DatabaseToolsMcpToolsetGenAiSqlAssistantSummary) GetLocks() []ResourceLock
GetLocks returns Locks
func (m DatabaseToolsMcpToolsetGenAiSqlAssistantSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DatabaseToolsMcpToolsetGenAiSqlAssistantSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsMcpToolsetGenAiSqlAssistantSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsMcpToolsetGenAiSqlAssistantSummary) GetVersion() *int
GetVersion returns Version
func (m DatabaseToolsMcpToolsetGenAiSqlAssistantSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsMcpToolsetGenAiSqlAssistantSummary) String() string
func (m DatabaseToolsMcpToolsetGenAiSqlAssistantSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpToolsetGenAiSqlAssistantVersion A specific version entry for a GENAI_SQL_ASSISTANT MCP toolset version
type DatabaseToolsMcpToolsetGenAiSqlAssistantVersion struct {
// The version number.
Version *int `mandatory:"true" json:"version"`
// A description of this version.
Description *string `mandatory:"true" json:"description"`
// The tools available in this version.
Tools []DatabaseToolsMcpToolsetVersionTool `mandatory:"true" json:"tools"`
// Optional feature flags or attributes for this version.
Features []string `mandatory:"false" json:"features"`
}
func (m DatabaseToolsMcpToolsetGenAiSqlAssistantVersion) String() string
func (m DatabaseToolsMcpToolsetGenAiSqlAssistantVersion) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpToolsetLifecycleStateEnum Enum with underlying type: string
type DatabaseToolsMcpToolsetLifecycleStateEnum string
Set of constants representing the allowable values for DatabaseToolsMcpToolsetLifecycleStateEnum
const (
DatabaseToolsMcpToolsetLifecycleStateCreating DatabaseToolsMcpToolsetLifecycleStateEnum = "CREATING"
DatabaseToolsMcpToolsetLifecycleStateUpdating DatabaseToolsMcpToolsetLifecycleStateEnum = "UPDATING"
DatabaseToolsMcpToolsetLifecycleStateActive DatabaseToolsMcpToolsetLifecycleStateEnum = "ACTIVE"
DatabaseToolsMcpToolsetLifecycleStateDeleting DatabaseToolsMcpToolsetLifecycleStateEnum = "DELETING"
DatabaseToolsMcpToolsetLifecycleStateDeleted DatabaseToolsMcpToolsetLifecycleStateEnum = "DELETED"
DatabaseToolsMcpToolsetLifecycleStateFailed DatabaseToolsMcpToolsetLifecycleStateEnum = "FAILED"
)
func GetDatabaseToolsMcpToolsetLifecycleStateEnumValues() []DatabaseToolsMcpToolsetLifecycleStateEnum
GetDatabaseToolsMcpToolsetLifecycleStateEnumValues Enumerates the set of values for DatabaseToolsMcpToolsetLifecycleStateEnum
func GetMappingDatabaseToolsMcpToolsetLifecycleStateEnum(val string) (DatabaseToolsMcpToolsetLifecycleStateEnum, bool)
GetMappingDatabaseToolsMcpToolsetLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsMcpToolsetSummary Summary of the Database Tools MCP Toolset.
type DatabaseToolsMcpToolsetSummary interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools MCP Toolset.
GetId() *string
// The toolset version
GetVersion() *int
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools MCP server.
GetCompartmentId() *string
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
GetDisplayName() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools McpServer.
GetDatabaseToolsMcpServerId() *string
// The current state of the Database Tools MCP Toolset.
GetLifecycleState() DatabaseToolsMcpToolsetLifecycleStateEnum
// The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
// A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
GetLifecycleDetails() *string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
GetSystemTags() map[string]map[string]interface{}
// Locks associated with this resource.
GetLocks() []ResourceLock
}
DatabaseToolsMcpToolsetToolDetails MCP toolset tool configuration
type DatabaseToolsMcpToolsetToolDetails struct {
// The name of the tool
Name *string `mandatory:"true" json:"name"`
// The display name of the tool
DisplayName *string `mandatory:"true" json:"displayName"`
// The status of the tool
Status DatabaseToolsMcpToolsetToolStatusEnum `mandatory:"true" json:"status"`
// The roles granted access to this MCP tool
AllowedRoles []string `mandatory:"true" json:"allowedRoles"`
}
func (m DatabaseToolsMcpToolsetToolDetails) String() string
func (m DatabaseToolsMcpToolsetToolDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpToolsetToolStatusEnum Enum with underlying type: string
type DatabaseToolsMcpToolsetToolStatusEnum string
Set of constants representing the allowable values for DatabaseToolsMcpToolsetToolStatusEnum
const (
DatabaseToolsMcpToolsetToolStatusEnabled DatabaseToolsMcpToolsetToolStatusEnum = "ENABLED"
DatabaseToolsMcpToolsetToolStatusDisabled DatabaseToolsMcpToolsetToolStatusEnum = "DISABLED"
)
func GetDatabaseToolsMcpToolsetToolStatusEnumValues() []DatabaseToolsMcpToolsetToolStatusEnum
GetDatabaseToolsMcpToolsetToolStatusEnumValues Enumerates the set of values for DatabaseToolsMcpToolsetToolStatusEnum
func GetMappingDatabaseToolsMcpToolsetToolStatusEnum(val string) (DatabaseToolsMcpToolsetToolStatusEnum, bool)
GetMappingDatabaseToolsMcpToolsetToolStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsMcpToolsetTypeEnum Enum with underlying type: string
type DatabaseToolsMcpToolsetTypeEnum string
Set of constants representing the allowable values for DatabaseToolsMcpToolsetTypeEnum
const (
DatabaseToolsMcpToolsetTypeCustomSqlTool DatabaseToolsMcpToolsetTypeEnum = "CUSTOM_SQL_TOOL"
DatabaseToolsMcpToolsetTypeBuiltInSqlTools DatabaseToolsMcpToolsetTypeEnum = "BUILT_IN_SQL_TOOLS"
DatabaseToolsMcpToolsetTypeCustomizableReportingTools DatabaseToolsMcpToolsetTypeEnum = "CUSTOMIZABLE_REPORTING_TOOLS"
DatabaseToolsMcpToolsetTypeGenaiSqlAssistant DatabaseToolsMcpToolsetTypeEnum = "GENAI_SQL_ASSISTANT"
)
func GetDatabaseToolsMcpToolsetTypeEnumValues() []DatabaseToolsMcpToolsetTypeEnum
GetDatabaseToolsMcpToolsetTypeEnumValues Enumerates the set of values for DatabaseToolsMcpToolsetTypeEnum
func GetMappingDatabaseToolsMcpToolsetTypeEnum(val string) (DatabaseToolsMcpToolsetTypeEnum, bool)
GetMappingDatabaseToolsMcpToolsetTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsMcpToolsetVersionBuiltInSqlToolsSummary Summary of versions available for the BUILT_IN_SQL_TOOLS MCP toolset type
type DatabaseToolsMcpToolsetVersionBuiltInSqlToolsSummary struct {
// The default version for this toolset type.
DefaultVersion *int `mandatory:"true" json:"defaultVersion"`
// The version configurations available for this toolset type.
Versions []DatabaseToolsMcpToolsetBuiltInSqlToolsVersion `mandatory:"true" json:"versions"`
}
func (m DatabaseToolsMcpToolsetVersionBuiltInSqlToolsSummary) GetDefaultVersion() *int
GetDefaultVersion returns DefaultVersion
func (m DatabaseToolsMcpToolsetVersionBuiltInSqlToolsSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsMcpToolsetVersionBuiltInSqlToolsSummary) String() string
func (m DatabaseToolsMcpToolsetVersionBuiltInSqlToolsSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpToolsetVersionCollection List of MCP toolset type version summary items.
type DatabaseToolsMcpToolsetVersionCollection struct {
// Array of MCP toolset type version summary items.
Items []DatabaseToolsMcpToolsetVersionSummary `mandatory:"true" json:"items"`
}
func (m DatabaseToolsMcpToolsetVersionCollection) String() string
func (m *DatabaseToolsMcpToolsetVersionCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsMcpToolsetVersionCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpToolsetVersionCustomSqlToolSummary Summary of versions available for the CUSTOM_SQL_TOOL MCP toolset type
type DatabaseToolsMcpToolsetVersionCustomSqlToolSummary struct {
// The default version for this toolset type.
DefaultVersion *int `mandatory:"true" json:"defaultVersion"`
// The version configurations available for this toolset type.
Versions []DatabaseToolsMcpToolsetCustomSqlToolVersion `mandatory:"true" json:"versions"`
}
func (m DatabaseToolsMcpToolsetVersionCustomSqlToolSummary) GetDefaultVersion() *int
GetDefaultVersion returns DefaultVersion
func (m DatabaseToolsMcpToolsetVersionCustomSqlToolSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsMcpToolsetVersionCustomSqlToolSummary) String() string
func (m DatabaseToolsMcpToolsetVersionCustomSqlToolSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpToolsetVersionCustomizableReportingToolsSummary Summary of versions available for the CUSTOMIZABLE_REPORTING_TOOLS MCP toolset type
type DatabaseToolsMcpToolsetVersionCustomizableReportingToolsSummary struct {
// The default version for this toolset type.
DefaultVersion *int `mandatory:"true" json:"defaultVersion"`
// The version configurations available for this toolset type.
Versions []DatabaseToolsMcpToolsetCustomizableReportingToolsVersion `mandatory:"true" json:"versions"`
}
func (m DatabaseToolsMcpToolsetVersionCustomizableReportingToolsSummary) GetDefaultVersion() *int
GetDefaultVersion returns DefaultVersion
func (m DatabaseToolsMcpToolsetVersionCustomizableReportingToolsSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsMcpToolsetVersionCustomizableReportingToolsSummary) String() string
func (m DatabaseToolsMcpToolsetVersionCustomizableReportingToolsSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpToolsetVersionGenAiSqlAssistantSummary Summary of versions available for the GENAI_SQL_ASSISTANT MCP toolset type
type DatabaseToolsMcpToolsetVersionGenAiSqlAssistantSummary struct {
// The default version for this toolset type.
DefaultVersion *int `mandatory:"true" json:"defaultVersion"`
// The version configurations available for this toolset type.
Versions []DatabaseToolsMcpToolsetGenAiSqlAssistantVersion `mandatory:"true" json:"versions"`
}
func (m DatabaseToolsMcpToolsetVersionGenAiSqlAssistantSummary) GetDefaultVersion() *int
GetDefaultVersion returns DefaultVersion
func (m DatabaseToolsMcpToolsetVersionGenAiSqlAssistantSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsMcpToolsetVersionGenAiSqlAssistantSummary) String() string
func (m DatabaseToolsMcpToolsetVersionGenAiSqlAssistantSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpToolsetVersionSummary Summary of versions available for a specific MCP toolset type.
type DatabaseToolsMcpToolsetVersionSummary interface {
// The default version for this toolset type.
GetDefaultVersion() *int
}
DatabaseToolsMcpToolsetVersionTool A tool definition for a specific MCP toolset version.
type DatabaseToolsMcpToolsetVersionTool struct {
// The unique name of the tool.
Name *string `mandatory:"true" json:"name"`
// The display name of the tool.
DisplayName *string `mandatory:"true" json:"displayName"`
// The description of the tool.
Description *string `mandatory:"true" json:"description"`
// The default status of the tool in this version.
DefaultStatus DatabaseToolsMcpToolsetToolStatusEnum `mandatory:"true" json:"defaultStatus"`
// The roles granted access to this tool by default.
DefaultAllowedRoles []string `mandatory:"false" json:"defaultAllowedRoles"`
}
func (m DatabaseToolsMcpToolsetVersionTool) String() string
func (m DatabaseToolsMcpToolsetVersionTool) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsMcpToolsetVersionTypeEnum Enum with underlying type: string
type DatabaseToolsMcpToolsetVersionTypeEnum string
Set of constants representing the allowable values for DatabaseToolsMcpToolsetVersionTypeEnum
const (
DatabaseToolsMcpToolsetVersionTypeCustomSqlTool DatabaseToolsMcpToolsetVersionTypeEnum = "CUSTOM_SQL_TOOL"
DatabaseToolsMcpToolsetVersionTypeBuiltInSqlTools DatabaseToolsMcpToolsetVersionTypeEnum = "BUILT_IN_SQL_TOOLS"
DatabaseToolsMcpToolsetVersionTypeCustomizableReportingTools DatabaseToolsMcpToolsetVersionTypeEnum = "CUSTOMIZABLE_REPORTING_TOOLS"
DatabaseToolsMcpToolsetVersionTypeGenaiSqlAssistant DatabaseToolsMcpToolsetVersionTypeEnum = "GENAI_SQL_ASSISTANT"
)
func GetDatabaseToolsMcpToolsetVersionTypeEnumValues() []DatabaseToolsMcpToolsetVersionTypeEnum
GetDatabaseToolsMcpToolsetVersionTypeEnumValues Enumerates the set of values for DatabaseToolsMcpToolsetVersionTypeEnum
func GetMappingDatabaseToolsMcpToolsetVersionTypeEnum(val string) (DatabaseToolsMcpToolsetVersionTypeEnum, bool)
GetMappingDatabaseToolsMcpToolsetVersionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsPrivateEndpoint Allows the Database Tools service to connect to databases in a customer's virtual cloud network (VCN).
type DatabaseToolsPrivateEndpoint struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools private endpoint.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools private endpoint.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools Endpoint Service.
EndpointServiceId *string `mandatory:"true" json:"endpointServiceId"`
// The time the Database Tools private endpoint was created. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Database Tools private endpoint was updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet that the private endpoint belongs to.
SubnetId *string `mandatory:"true" json:"subnetId"`
// The current state of the Database Tools private endpoint.
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Zero trust Packet Routing (ZPR) Security Attributes for this resource. Each key is predefined and scoped to a namespace.
// For more information, see ZPR Artifacts (https://docs.oracle.com/en-us/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm).
// Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}`
SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"false" json:"displayName"`
// A description of the Database Tools private endpoint.
Description *string `mandatory:"false" json:"description"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN that the private endpoint belongs to.
VcnId *string `mandatory:"false" json:"vcnId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint's VNIC.
PrivateEndpointVnicId *string `mandatory:"false" json:"privateEndpointVnicId"`
// The private IP address that represents the access point for the associated endpoint service.
PrivateEndpointIp *string `mandatory:"false" json:"privateEndpointIp"`
// Then FQDN to use for the private endpoint.
EndpointFqdn *string `mandatory:"false" json:"endpointFqdn"`
// A list of additional FQDNs that can be also be used for the private endpoint.
AdditionalFqdns []string `mandatory:"false" json:"additionalFqdns"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security groups
// that the private endpoint's VNIC belongs to. For more information about NSGs, see
// NetworkSecurityGroup.
NsgIds []string `mandatory:"false" json:"nsgIds"`
ReverseConnectionConfiguration *DatabaseToolsPrivateEndpointReverseConnectionConfiguration `mandatory:"false" json:"reverseConnectionConfiguration"`
}
func (m DatabaseToolsPrivateEndpoint) String() string
func (m DatabaseToolsPrivateEndpoint) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsPrivateEndpointCollection List of Database Tools private endpoint summary items.
type DatabaseToolsPrivateEndpointCollection struct {
// Array of Database Tools private endpoint summary items.
Items []DatabaseToolsPrivateEndpointSummary `mandatory:"true" json:"items"`
}
func (m DatabaseToolsPrivateEndpointCollection) String() string
func (m DatabaseToolsPrivateEndpointCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsPrivateEndpointReverseConnectionConfiguration Reverse connection configuration details of the private endpoint.
type DatabaseToolsPrivateEndpointReverseConnectionConfiguration struct {
// A list of IP addresses in the customer VCN to be used as the source IPs for reverse connection packets
// traveling from the service's VCN to the customer's VCN.
ReverseConnectionsSourceIps []DatabaseToolsPrivateEndpointReverseConnectionsSourceIp `mandatory:"false" json:"reverseConnectionsSourceIps"`
}
func (m DatabaseToolsPrivateEndpointReverseConnectionConfiguration) String() string
func (m DatabaseToolsPrivateEndpointReverseConnectionConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsPrivateEndpointReverseConnectionsSourceIp Source IP information for reverse connection configuration.
type DatabaseToolsPrivateEndpointReverseConnectionsSourceIp struct {
// The IP address in the customer's VCN to be used as the source IP for reverse connection packets
// traveling from the customer's VCN to the service's VCN.
SourceIp *string `mandatory:"false" json:"sourceIp"`
}
func (m DatabaseToolsPrivateEndpointReverseConnectionsSourceIp) String() string
func (m DatabaseToolsPrivateEndpointReverseConnectionsSourceIp) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsPrivateEndpointSummary Summary of the Database Tools private endpoint.
type DatabaseToolsPrivateEndpointSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the private endpoint.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools private endpoint.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools Endpoint Service.
EndpointServiceId *string `mandatory:"true" json:"endpointServiceId"`
// The time the Database Tools private endpoint was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Database Tools private endpoint was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet that the private endpoint belongs to.
SubnetId *string `mandatory:"true" json:"subnetId"`
// The current state of the Database Tools private endpoint.
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Zero trust Packet Routing (ZPR) Security Attributes for this resource. Each key is predefined and scoped to a namespace.
// For more information, see ZPR Artifacts (https://docs.oracle.com/en-us/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm).
// Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}`
SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"false" json:"displayName"`
// A description of the Database Tools private endpoint.
Description *string `mandatory:"false" json:"description"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN that the private endpoint belongs to.
VcnId *string `mandatory:"false" json:"vcnId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint's VNIC.
PrivateEndpointVnicId *string `mandatory:"false" json:"privateEndpointVnicId"`
// The private IP address that represents the access point for the associated endpoint service.
PrivateEndpointIp *string `mandatory:"false" json:"privateEndpointIp"`
// Then FQDN to use for the private endpoint.
EndpointFqdn *string `mandatory:"false" json:"endpointFqdn"`
// A list of additional FQDNs that can be also be used for the private endpoint.
AdditionalFqdns []string `mandatory:"false" json:"additionalFqdns"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security groups
// that the private endpoint's VNIC belongs to. For more information about NSGs, see
// NetworkSecurityGroup.
NsgIds []string `mandatory:"false" json:"nsgIds"`
ReverseConnectionConfiguration *DatabaseToolsPrivateEndpointReverseConnectionConfiguration `mandatory:"false" json:"reverseConnectionConfiguration"`
}
func (m DatabaseToolsPrivateEndpointSummary) String() string
func (m DatabaseToolsPrivateEndpointSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsRelatedResource A related resource
type DatabaseToolsRelatedResource struct {
// The resource entity type.
EntityType RelatedResourceEntityTypeEnum `mandatory:"true" json:"entityType"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related resource.
Identifier *string `mandatory:"true" json:"identifier"`
}
func (m DatabaseToolsRelatedResource) String() string
func (m DatabaseToolsRelatedResource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsRelatedResourceMySql A related resource
type DatabaseToolsRelatedResourceMySql struct {
// The resource entity type.
EntityType RelatedResourceEntityTypeMySqlEnum `mandatory:"true" json:"entityType"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related resource.
Identifier *string `mandatory:"true" json:"identifier"`
}
func (m DatabaseToolsRelatedResourceMySql) String() string
func (m DatabaseToolsRelatedResourceMySql) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsRelatedResourcePostgresql A related resource
type DatabaseToolsRelatedResourcePostgresql struct {
// The resource entity type.
EntityType RelatedResourceEntityTypePostgresqlEnum `mandatory:"true" json:"entityType"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related resource.
Identifier *string `mandatory:"true" json:"identifier"`
}
func (m DatabaseToolsRelatedResourcePostgresql) String() string
func (m DatabaseToolsRelatedResourcePostgresql) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsSqlReport Allows generating a summary of SQL query execution details for database operations.
type DatabaseToolsSqlReport interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools SQL report.
GetId() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools SQL report.
GetCompartmentId() *string
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
GetDisplayName() *string
// SQL query executed to generate the report.
GetSource() *string
// The current state of the Database Tools SQL report.
GetLifecycleState() DatabaseToolsSqlReportLifecycleStateEnum
// The time the Database Tools SQL report was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the Database Tools SQL report was updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
// A description of the SQL report.
GetDescription() *string
// Purpose of the Database Tools SQL report. Scenario or conditions describing when or why this report should be used. Provides selection criteria to AI agents to improve report selection accuracy.
GetPurpose() *string
// Instructions on how to use the SQL report. Step-by-step guidance for an AI agent on how to execute or fill in parameters for the report.
GetInstructions() *string
// Variables referenced in the Database Tools SQL Report source.
GetVariables() []DatabaseToolsSqlReportVariable
// Descriptive information on columns referenced in the Database Tools SQL Report source.
GetColumns() []DatabaseToolsSqlReportColumn
// A message describing the current state in more detail.
GetLifecycleDetails() *string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
GetSystemTags() map[string]map[string]interface{}
// Locks associated with this resource.
GetLocks() []ResourceLock
}
DatabaseToolsSqlReportCollection List of Database Tools SQL report summary items.
type DatabaseToolsSqlReportCollection struct {
// Array of Database Tools SQL report summary items.
Items []DatabaseToolsSqlReportSummary `mandatory:"true" json:"items"`
}
func (m DatabaseToolsSqlReportCollection) String() string
func (m *DatabaseToolsSqlReportCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsSqlReportCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsSqlReportColumn Descriptive information on columns referenced in the Database Tools SQL Report source.
type DatabaseToolsSqlReportColumn struct {
// The name of the column
Name *string `mandatory:"true" json:"name"`
// The description of the column
Description *string `mandatory:"true" json:"description"`
// The type of the column
Type *string `mandatory:"true" json:"type"`
}
func (m DatabaseToolsSqlReportColumn) String() string
func (m DatabaseToolsSqlReportColumn) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsSqlReportLifecycleStateEnum Enum with underlying type: string
type DatabaseToolsSqlReportLifecycleStateEnum string
Set of constants representing the allowable values for DatabaseToolsSqlReportLifecycleStateEnum
const (
DatabaseToolsSqlReportLifecycleStateActive DatabaseToolsSqlReportLifecycleStateEnum = "ACTIVE"
DatabaseToolsSqlReportLifecycleStateDeleted DatabaseToolsSqlReportLifecycleStateEnum = "DELETED"
)
func GetDatabaseToolsSqlReportLifecycleStateEnumValues() []DatabaseToolsSqlReportLifecycleStateEnum
GetDatabaseToolsSqlReportLifecycleStateEnumValues Enumerates the set of values for DatabaseToolsSqlReportLifecycleStateEnum
func GetMappingDatabaseToolsSqlReportLifecycleStateEnum(val string) (DatabaseToolsSqlReportLifecycleStateEnum, bool)
GetMappingDatabaseToolsSqlReportLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsSqlReportOracleDatabase Allows the creation, configuration and management of an SQL Report.
type DatabaseToolsSqlReportOracleDatabase struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools SQL report.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools SQL report.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// SQL query executed to generate the report.
Source *string `mandatory:"true" json:"source"`
// The time the Database Tools SQL report was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Database Tools SQL report was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// A description of the SQL report.
Description *string `mandatory:"false" json:"description"`
// Purpose of the Database Tools SQL report. Scenario or conditions describing when or why this report should be used. Provides selection criteria to AI agents to improve report selection accuracy.
Purpose *string `mandatory:"false" json:"purpose"`
// Instructions on how to use the SQL report. Step-by-step guidance for an AI agent on how to execute or fill in parameters for the report.
Instructions *string `mandatory:"false" json:"instructions"`
// Variables referenced in the Database Tools SQL Report source.
Variables []DatabaseToolsSqlReportVariable `mandatory:"false" json:"variables"`
// Descriptive information on columns referenced in the Database Tools SQL Report source.
Columns []DatabaseToolsSqlReportColumn `mandatory:"false" json:"columns"`
// A message describing the current state in more detail.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// The current state of the Database Tools SQL report.
LifecycleState DatabaseToolsSqlReportLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m DatabaseToolsSqlReportOracleDatabase) GetColumns() []DatabaseToolsSqlReportColumn
GetColumns returns Columns
func (m DatabaseToolsSqlReportOracleDatabase) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DatabaseToolsSqlReportOracleDatabase) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DatabaseToolsSqlReportOracleDatabase) GetDescription() *string
GetDescription returns Description
func (m DatabaseToolsSqlReportOracleDatabase) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsSqlReportOracleDatabase) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DatabaseToolsSqlReportOracleDatabase) GetId() *string
GetId returns Id
func (m DatabaseToolsSqlReportOracleDatabase) GetInstructions() *string
GetInstructions returns Instructions
func (m DatabaseToolsSqlReportOracleDatabase) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DatabaseToolsSqlReportOracleDatabase) GetLifecycleState() DatabaseToolsSqlReportLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DatabaseToolsSqlReportOracleDatabase) GetLocks() []ResourceLock
GetLocks returns Locks
func (m DatabaseToolsSqlReportOracleDatabase) GetPurpose() *string
GetPurpose returns Purpose
func (m DatabaseToolsSqlReportOracleDatabase) GetSource() *string
GetSource returns Source
func (m DatabaseToolsSqlReportOracleDatabase) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DatabaseToolsSqlReportOracleDatabase) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsSqlReportOracleDatabase) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsSqlReportOracleDatabase) GetVariables() []DatabaseToolsSqlReportVariable
GetVariables returns Variables
func (m DatabaseToolsSqlReportOracleDatabase) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsSqlReportOracleDatabase) String() string
func (m DatabaseToolsSqlReportOracleDatabase) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsSqlReportSummary Summary of the Database Tools SQL report.
type DatabaseToolsSqlReportSummary interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools SQL Report.
GetId() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools SQL Report.
GetCompartmentId() *string
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
GetDisplayName() *string
// The current state of the Database Tools SQL Report.
GetLifecycleState() DatabaseToolsSqlReportLifecycleStateEnum
// The time the Database Tools SQL Report was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the Database Tools SQL Report was updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
// A description of the SQL report.
GetDescription() *string
// Purpose of the Database Tools SQL report. Scenario or conditions describing when or why this report should be used. Provides selection criteria to AI agents to improve report selection accuracy.
GetPurpose() *string
// Instructions on how to use the SQL report. Step-by-step guidance for an AI agent on how to execute or fill in parameters for the report.
GetInstructions() *string
// A message describing the current state of the Database Tools SQL Report.
GetLifecycleDetails() *string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
GetSystemTags() map[string]map[string]interface{}
// Locks associated with this resource.
GetLocks() []ResourceLock
}
DatabaseToolsSqlReportSummaryOracleDatabase Summary of the Database Tools SQL report for an Oracle Database.
type DatabaseToolsSqlReportSummaryOracleDatabase struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools SQL Report.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools SQL Report.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The time the Database Tools SQL Report was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Database Tools SQL Report was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// A description of the SQL report.
Description *string `mandatory:"false" json:"description"`
// Purpose of the Database Tools SQL report. Scenario or conditions describing when or why this report should be used. Provides selection criteria to AI agents to improve report selection accuracy.
Purpose *string `mandatory:"false" json:"purpose"`
// Instructions on how to use the SQL report. Step-by-step guidance for an AI agent on how to execute or fill in parameters for the report.
Instructions *string `mandatory:"false" json:"instructions"`
// A message describing the current state of the Database Tools SQL Report.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Locks associated with this resource.
Locks []ResourceLock `mandatory:"false" json:"locks"`
// The current state of the Database Tools SQL Report.
LifecycleState DatabaseToolsSqlReportLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m DatabaseToolsSqlReportSummaryOracleDatabase) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DatabaseToolsSqlReportSummaryOracleDatabase) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DatabaseToolsSqlReportSummaryOracleDatabase) GetDescription() *string
GetDescription returns Description
func (m DatabaseToolsSqlReportSummaryOracleDatabase) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsSqlReportSummaryOracleDatabase) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DatabaseToolsSqlReportSummaryOracleDatabase) GetId() *string
GetId returns Id
func (m DatabaseToolsSqlReportSummaryOracleDatabase) GetInstructions() *string
GetInstructions returns Instructions
func (m DatabaseToolsSqlReportSummaryOracleDatabase) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DatabaseToolsSqlReportSummaryOracleDatabase) GetLifecycleState() DatabaseToolsSqlReportLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DatabaseToolsSqlReportSummaryOracleDatabase) GetLocks() []ResourceLock
GetLocks returns Locks
func (m DatabaseToolsSqlReportSummaryOracleDatabase) GetPurpose() *string
GetPurpose returns Purpose
func (m DatabaseToolsSqlReportSummaryOracleDatabase) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DatabaseToolsSqlReportSummaryOracleDatabase) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsSqlReportSummaryOracleDatabase) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsSqlReportSummaryOracleDatabase) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsSqlReportSummaryOracleDatabase) String() string
func (m DatabaseToolsSqlReportSummaryOracleDatabase) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsSqlReportTypeEnum Enum with underlying type: string
type DatabaseToolsSqlReportTypeEnum string
Set of constants representing the allowable values for DatabaseToolsSqlReportTypeEnum
const (
DatabaseToolsSqlReportTypeOracleDatabase DatabaseToolsSqlReportTypeEnum = "ORACLE_DATABASE"
)
func GetDatabaseToolsSqlReportTypeEnumValues() []DatabaseToolsSqlReportTypeEnum
GetDatabaseToolsSqlReportTypeEnumValues Enumerates the set of values for DatabaseToolsSqlReportTypeEnum
func GetMappingDatabaseToolsSqlReportTypeEnum(val string) (DatabaseToolsSqlReportTypeEnum, bool)
GetMappingDatabaseToolsSqlReportTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsSqlReportVariable A variable referenced in the Database Tools SQL Report source.
type DatabaseToolsSqlReportVariable struct {
// The name of the variable
Name *string `mandatory:"true" json:"name"`
// The description of the variable
Description *string `mandatory:"true" json:"description"`
// The type of the variable
Type *string `mandatory:"true" json:"type"`
}
func (m DatabaseToolsSqlReportVariable) String() string
func (m DatabaseToolsSqlReportVariable) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsUserPassword The database user password.
type DatabaseToolsUserPassword interface {
}
DatabaseToolsUserPasswordDetails The database user password.
type DatabaseToolsUserPasswordDetails interface {
}
DatabaseToolsUserPasswordDetailsValueTypeEnum Enum with underlying type: string
type DatabaseToolsUserPasswordDetailsValueTypeEnum string
Set of constants representing the allowable values for DatabaseToolsUserPasswordDetailsValueTypeEnum
const (
DatabaseToolsUserPasswordDetailsValueTypeSecretid DatabaseToolsUserPasswordDetailsValueTypeEnum = "SECRETID"
)
func GetDatabaseToolsUserPasswordDetailsValueTypeEnumValues() []DatabaseToolsUserPasswordDetailsValueTypeEnum
GetDatabaseToolsUserPasswordDetailsValueTypeEnumValues Enumerates the set of values for DatabaseToolsUserPasswordDetailsValueTypeEnum
func GetMappingDatabaseToolsUserPasswordDetailsValueTypeEnum(val string) (DatabaseToolsUserPasswordDetailsValueTypeEnum, bool)
GetMappingDatabaseToolsUserPasswordDetailsValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsUserPasswordSecretId The database user password.
type DatabaseToolsUserPasswordSecretId struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password.
SecretId *string `mandatory:"false" json:"secretId"`
}
func (m DatabaseToolsUserPasswordSecretId) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsUserPasswordSecretId) String() string
func (m DatabaseToolsUserPasswordSecretId) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsUserPasswordSecretIdDetails The database user password.
type DatabaseToolsUserPasswordSecretIdDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password.
SecretId *string `mandatory:"true" json:"secretId"`
}
func (m DatabaseToolsUserPasswordSecretIdDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsUserPasswordSecretIdDetails) String() string
func (m DatabaseToolsUserPasswordSecretIdDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsUserPasswordSecretIdSummary The database user password.
type DatabaseToolsUserPasswordSecretIdSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password.
SecretId *string `mandatory:"false" json:"secretId"`
}
func (m DatabaseToolsUserPasswordSecretIdSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsUserPasswordSecretIdSummary) String() string
func (m DatabaseToolsUserPasswordSecretIdSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsUserPasswordSummary The database user password.
type DatabaseToolsUserPasswordSummary interface {
}
DatabaseToolsUserPasswordSummaryValueTypeEnum Enum with underlying type: string
type DatabaseToolsUserPasswordSummaryValueTypeEnum string
Set of constants representing the allowable values for DatabaseToolsUserPasswordSummaryValueTypeEnum
const (
DatabaseToolsUserPasswordSummaryValueTypeSecretid DatabaseToolsUserPasswordSummaryValueTypeEnum = "SECRETID"
)
func GetDatabaseToolsUserPasswordSummaryValueTypeEnumValues() []DatabaseToolsUserPasswordSummaryValueTypeEnum
GetDatabaseToolsUserPasswordSummaryValueTypeEnumValues Enumerates the set of values for DatabaseToolsUserPasswordSummaryValueTypeEnum
func GetMappingDatabaseToolsUserPasswordSummaryValueTypeEnum(val string) (DatabaseToolsUserPasswordSummaryValueTypeEnum, bool)
GetMappingDatabaseToolsUserPasswordSummaryValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsUserPasswordValueTypeEnum Enum with underlying type: string
type DatabaseToolsUserPasswordValueTypeEnum string
Set of constants representing the allowable values for DatabaseToolsUserPasswordValueTypeEnum
const (
DatabaseToolsUserPasswordValueTypeSecretid DatabaseToolsUserPasswordValueTypeEnum = "SECRETID"
)
func GetDatabaseToolsUserPasswordValueTypeEnumValues() []DatabaseToolsUserPasswordValueTypeEnum
GetDatabaseToolsUserPasswordValueTypeEnumValues Enumerates the set of values for DatabaseToolsUserPasswordValueTypeEnum
func GetMappingDatabaseToolsUserPasswordValueTypeEnum(val string) (DatabaseToolsUserPasswordValueTypeEnum, bool)
GetMappingDatabaseToolsUserPasswordValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DbmsCloudStatusEnum Enum with underlying type: string
type DbmsCloudStatusEnum string
Set of constants representing the allowable values for DbmsCloudStatusEnum
const (
DbmsCloudStatusAvailable DbmsCloudStatusEnum = "AVAILABLE"
DbmsCloudStatusEnum = "UNAVAILABLE"
)
func GetDbmsCloudStatusEnumValues() []DbmsCloudStatusEnum
GetDbmsCloudStatusEnumValues Enumerates the set of values for DbmsCloudStatusEnum
func GetMappingDbmsCloudStatusEnum(val string) (DbmsCloudStatusEnum, bool)
GetMappingDbmsCloudStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DeleteDatabaseToolsConnectionRequest wrapper for the DeleteDatabaseToolsConnection operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/DeleteDatabaseToolsConnection.go.html to see an example of how to use DeleteDatabaseToolsConnectionRequest.
type DeleteDatabaseToolsConnectionRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools connection.
DatabaseToolsConnectionId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsConnectionId"`
// 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"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Whether to override locks (if any exist).
IsLockOverride *bool `mandatory:"false" contributesTo:"query" name:"isLockOverride"`
// 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 DeleteDatabaseToolsConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDatabaseToolsConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDatabaseToolsConnectionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDatabaseToolsConnectionRequest) String() string
func (request DeleteDatabaseToolsConnectionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteDatabaseToolsConnectionResponse wrapper for the DeleteDatabaseToolsConnection operation
type DeleteDatabaseToolsConnectionResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// 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 DeleteDatabaseToolsConnectionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDatabaseToolsConnectionResponse) String() string
DeleteDatabaseToolsDatabaseApiGatewayConfigRequest wrapper for the DeleteDatabaseToolsDatabaseApiGatewayConfig operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/DeleteDatabaseToolsDatabaseApiGatewayConfig.go.html to see an example of how to use DeleteDatabaseToolsDatabaseApiGatewayConfigRequest.
type DeleteDatabaseToolsDatabaseApiGatewayConfigRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools database API gateway config.
DatabaseToolsDatabaseApiGatewayConfigId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsDatabaseApiGatewayConfigId"`
// 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"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Whether to override locks (if any exist).
IsLockOverride *bool `mandatory:"false" contributesTo:"query" name:"isLockOverride"`
// 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 DeleteDatabaseToolsDatabaseApiGatewayConfigRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDatabaseToolsDatabaseApiGatewayConfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDatabaseToolsDatabaseApiGatewayConfigRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDatabaseToolsDatabaseApiGatewayConfigRequest) String() string
func (request DeleteDatabaseToolsDatabaseApiGatewayConfigRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteDatabaseToolsDatabaseApiGatewayConfigResponse wrapper for the DeleteDatabaseToolsDatabaseApiGatewayConfig operation
type DeleteDatabaseToolsDatabaseApiGatewayConfigResponse 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 DeleteDatabaseToolsDatabaseApiGatewayConfigResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDatabaseToolsDatabaseApiGatewayConfigResponse) String() string
DeleteDatabaseToolsIdentityRequest wrapper for the DeleteDatabaseToolsIdentity operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/DeleteDatabaseToolsIdentity.go.html to see an example of how to use DeleteDatabaseToolsIdentityRequest.
type DeleteDatabaseToolsIdentityRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools identity.
DatabaseToolsIdentityId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsIdentityId"`
// 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"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Whether to override locks (if any exist).
IsLockOverride *bool `mandatory:"false" contributesTo:"query" name:"isLockOverride"`
// 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 DeleteDatabaseToolsIdentityRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDatabaseToolsIdentityRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDatabaseToolsIdentityRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDatabaseToolsIdentityRequest) String() string
func (request DeleteDatabaseToolsIdentityRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteDatabaseToolsIdentityResponse wrapper for the DeleteDatabaseToolsIdentity operation
type DeleteDatabaseToolsIdentityResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// 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 DeleteDatabaseToolsIdentityResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDatabaseToolsIdentityResponse) String() string
DeleteDatabaseToolsMcpServerRequest wrapper for the DeleteDatabaseToolsMcpServer operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/DeleteDatabaseToolsMcpServer.go.html to see an example of how to use DeleteDatabaseToolsMcpServerRequest.
type DeleteDatabaseToolsMcpServerRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools MCP server.
DatabaseToolsMcpServerId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsMcpServerId"`
// 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"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Whether to override locks (if any exist).
IsLockOverride *bool `mandatory:"false" contributesTo:"query" name:"isLockOverride"`
// 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 DeleteDatabaseToolsMcpServerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDatabaseToolsMcpServerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDatabaseToolsMcpServerRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDatabaseToolsMcpServerRequest) String() string
func (request DeleteDatabaseToolsMcpServerRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteDatabaseToolsMcpServerResponse wrapper for the DeleteDatabaseToolsMcpServer operation
type DeleteDatabaseToolsMcpServerResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// 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 DeleteDatabaseToolsMcpServerResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDatabaseToolsMcpServerResponse) String() string
DeleteDatabaseToolsMcpToolsetRequest wrapper for the DeleteDatabaseToolsMcpToolset operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/DeleteDatabaseToolsMcpToolset.go.html to see an example of how to use DeleteDatabaseToolsMcpToolsetRequest.
type DeleteDatabaseToolsMcpToolsetRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools MCP Toolset.
DatabaseToolsMcpToolsetId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsMcpToolsetId"`
// 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"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Whether to override locks (if any exist).
IsLockOverride *bool `mandatory:"false" contributesTo:"query" name:"isLockOverride"`
// 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 DeleteDatabaseToolsMcpToolsetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDatabaseToolsMcpToolsetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDatabaseToolsMcpToolsetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDatabaseToolsMcpToolsetRequest) String() string
func (request DeleteDatabaseToolsMcpToolsetRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteDatabaseToolsMcpToolsetResponse wrapper for the DeleteDatabaseToolsMcpToolset operation
type DeleteDatabaseToolsMcpToolsetResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}
func (response DeleteDatabaseToolsMcpToolsetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDatabaseToolsMcpToolsetResponse) String() string
DeleteDatabaseToolsPrivateEndpointRequest wrapper for the DeleteDatabaseToolsPrivateEndpoint operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/DeleteDatabaseToolsPrivateEndpoint.go.html to see an example of how to use DeleteDatabaseToolsPrivateEndpointRequest.
type DeleteDatabaseToolsPrivateEndpointRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools private endpoint.
DatabaseToolsPrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsPrivateEndpointId"`
// 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"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Whether to override locks (if any exist).
IsLockOverride *bool `mandatory:"false" contributesTo:"query" name:"isLockOverride"`
// 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 DeleteDatabaseToolsPrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDatabaseToolsPrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDatabaseToolsPrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDatabaseToolsPrivateEndpointRequest) String() string
func (request DeleteDatabaseToolsPrivateEndpointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteDatabaseToolsPrivateEndpointResponse wrapper for the DeleteDatabaseToolsPrivateEndpoint operation
type DeleteDatabaseToolsPrivateEndpointResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// 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 DeleteDatabaseToolsPrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDatabaseToolsPrivateEndpointResponse) String() string
DeleteDatabaseToolsSqlReportRequest wrapper for the DeleteDatabaseToolsSqlReport operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/DeleteDatabaseToolsSqlReport.go.html to see an example of how to use DeleteDatabaseToolsSqlReportRequest.
type DeleteDatabaseToolsSqlReportRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools SQL Report.
DatabaseToolsSqlReportId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsSqlReportId"`
// 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"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Whether to override locks (if any exist).
IsLockOverride *bool `mandatory:"false" contributesTo:"query" name:"isLockOverride"`
// 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 DeleteDatabaseToolsSqlReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDatabaseToolsSqlReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDatabaseToolsSqlReportRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDatabaseToolsSqlReportRequest) String() string
func (request DeleteDatabaseToolsSqlReportRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteDatabaseToolsSqlReportResponse wrapper for the DeleteDatabaseToolsSqlReport operation
type DeleteDatabaseToolsSqlReportResponse 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 DeleteDatabaseToolsSqlReportResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDatabaseToolsSqlReportResponse) String() string
GetDatabaseToolsConnectionRequest wrapper for the GetDatabaseToolsConnection operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/GetDatabaseToolsConnection.go.html to see an example of how to use GetDatabaseToolsConnectionRequest.
type GetDatabaseToolsConnectionRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools connection.
DatabaseToolsConnectionId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsConnectionId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetDatabaseToolsConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDatabaseToolsConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDatabaseToolsConnectionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDatabaseToolsConnectionRequest) String() string
func (request GetDatabaseToolsConnectionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetDatabaseToolsConnectionResponse wrapper for the GetDatabaseToolsConnection operation
type GetDatabaseToolsConnectionResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsConnection instance
DatabaseToolsConnection `presentIn:"body"`
// For optimistic concurrency control. See `if-match`.
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 GetDatabaseToolsConnectionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDatabaseToolsConnectionResponse) String() string
GetDatabaseToolsDatabaseApiGatewayConfigRequest wrapper for the GetDatabaseToolsDatabaseApiGatewayConfig operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/GetDatabaseToolsDatabaseApiGatewayConfig.go.html to see an example of how to use GetDatabaseToolsDatabaseApiGatewayConfigRequest.
type GetDatabaseToolsDatabaseApiGatewayConfigRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools database API gateway config.
DatabaseToolsDatabaseApiGatewayConfigId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsDatabaseApiGatewayConfigId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetDatabaseToolsDatabaseApiGatewayConfigRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDatabaseToolsDatabaseApiGatewayConfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDatabaseToolsDatabaseApiGatewayConfigRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDatabaseToolsDatabaseApiGatewayConfigRequest) String() string
func (request GetDatabaseToolsDatabaseApiGatewayConfigRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetDatabaseToolsDatabaseApiGatewayConfigResponse wrapper for the GetDatabaseToolsDatabaseApiGatewayConfig operation
type GetDatabaseToolsDatabaseApiGatewayConfigResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsDatabaseApiGatewayConfig instance
DatabaseToolsDatabaseApiGatewayConfig `presentIn:"body"`
// For optimistic concurrency control. See `if-match`.
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 GetDatabaseToolsDatabaseApiGatewayConfigResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDatabaseToolsDatabaseApiGatewayConfigResponse) String() string
GetDatabaseToolsEndpointServiceRequest wrapper for the GetDatabaseToolsEndpointService operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/GetDatabaseToolsEndpointService.go.html to see an example of how to use GetDatabaseToolsEndpointServiceRequest.
type GetDatabaseToolsEndpointServiceRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools Endpoint Service.
DatabaseToolsEndpointServiceId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsEndpointServiceId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetDatabaseToolsEndpointServiceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDatabaseToolsEndpointServiceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDatabaseToolsEndpointServiceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDatabaseToolsEndpointServiceRequest) String() string
func (request GetDatabaseToolsEndpointServiceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetDatabaseToolsEndpointServiceResponse wrapper for the GetDatabaseToolsEndpointService operation
type GetDatabaseToolsEndpointServiceResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsEndpointService instance
DatabaseToolsEndpointService `presentIn:"body"`
// For optimistic concurrency control. See `if-match`.
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 GetDatabaseToolsEndpointServiceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDatabaseToolsEndpointServiceResponse) String() string
GetDatabaseToolsIdentityRequest wrapper for the GetDatabaseToolsIdentity operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/GetDatabaseToolsIdentity.go.html to see an example of how to use GetDatabaseToolsIdentityRequest.
type GetDatabaseToolsIdentityRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools identity.
DatabaseToolsIdentityId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsIdentityId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetDatabaseToolsIdentityRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDatabaseToolsIdentityRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDatabaseToolsIdentityRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDatabaseToolsIdentityRequest) String() string
func (request GetDatabaseToolsIdentityRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetDatabaseToolsIdentityResponse wrapper for the GetDatabaseToolsIdentity operation
type GetDatabaseToolsIdentityResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsIdentity instance
DatabaseToolsIdentity `presentIn:"body"`
// For optimistic concurrency control. See `if-match`.
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 GetDatabaseToolsIdentityResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDatabaseToolsIdentityResponse) String() string
GetDatabaseToolsMcpServerRequest wrapper for the GetDatabaseToolsMcpServer operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/GetDatabaseToolsMcpServer.go.html to see an example of how to use GetDatabaseToolsMcpServerRequest.
type GetDatabaseToolsMcpServerRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools MCP server.
DatabaseToolsMcpServerId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsMcpServerId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetDatabaseToolsMcpServerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDatabaseToolsMcpServerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDatabaseToolsMcpServerRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDatabaseToolsMcpServerRequest) String() string
func (request GetDatabaseToolsMcpServerRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetDatabaseToolsMcpServerResponse wrapper for the GetDatabaseToolsMcpServer operation
type GetDatabaseToolsMcpServerResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsMcpServer instance
DatabaseToolsMcpServer `presentIn:"body"`
// For optimistic concurrency control. See `if-match`.
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 GetDatabaseToolsMcpServerResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDatabaseToolsMcpServerResponse) String() string
GetDatabaseToolsMcpToolsetRequest wrapper for the GetDatabaseToolsMcpToolset operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/GetDatabaseToolsMcpToolset.go.html to see an example of how to use GetDatabaseToolsMcpToolsetRequest.
type GetDatabaseToolsMcpToolsetRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools MCP Toolset.
DatabaseToolsMcpToolsetId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsMcpToolsetId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetDatabaseToolsMcpToolsetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDatabaseToolsMcpToolsetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDatabaseToolsMcpToolsetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDatabaseToolsMcpToolsetRequest) String() string
func (request GetDatabaseToolsMcpToolsetRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetDatabaseToolsMcpToolsetResponse wrapper for the GetDatabaseToolsMcpToolset operation
type GetDatabaseToolsMcpToolsetResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsMcpToolset instance
DatabaseToolsMcpToolset `presentIn:"body"`
// For optimistic concurrency control. See `if-match`.
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 GetDatabaseToolsMcpToolsetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDatabaseToolsMcpToolsetResponse) String() string
GetDatabaseToolsPrivateEndpointRequest wrapper for the GetDatabaseToolsPrivateEndpoint operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/GetDatabaseToolsPrivateEndpoint.go.html to see an example of how to use GetDatabaseToolsPrivateEndpointRequest.
type GetDatabaseToolsPrivateEndpointRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools private endpoint.
DatabaseToolsPrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsPrivateEndpointId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetDatabaseToolsPrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDatabaseToolsPrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDatabaseToolsPrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDatabaseToolsPrivateEndpointRequest) String() string
func (request GetDatabaseToolsPrivateEndpointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetDatabaseToolsPrivateEndpointResponse wrapper for the GetDatabaseToolsPrivateEndpoint operation
type GetDatabaseToolsPrivateEndpointResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsPrivateEndpoint instance
DatabaseToolsPrivateEndpoint `presentIn:"body"`
// For optimistic concurrency control. See `if-match`.
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 GetDatabaseToolsPrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDatabaseToolsPrivateEndpointResponse) String() string
GetDatabaseToolsSqlReportRequest wrapper for the GetDatabaseToolsSqlReport operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/GetDatabaseToolsSqlReport.go.html to see an example of how to use GetDatabaseToolsSqlReportRequest.
type GetDatabaseToolsSqlReportRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools SQL Report.
DatabaseToolsSqlReportId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsSqlReportId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetDatabaseToolsSqlReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDatabaseToolsSqlReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDatabaseToolsSqlReportRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDatabaseToolsSqlReportRequest) String() string
func (request GetDatabaseToolsSqlReportRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetDatabaseToolsSqlReportResponse wrapper for the GetDatabaseToolsSqlReport operation
type GetDatabaseToolsSqlReportResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsSqlReport instance
DatabaseToolsSqlReport `presentIn:"body"`
// For optimistic concurrency control. See `if-match`.
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 GetDatabaseToolsSqlReportResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDatabaseToolsSqlReportResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
type GetWorkRequestRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous request.
WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetWorkRequestResponse wrapper for the GetWorkRequest operation
type GetWorkRequestResponse struct {
// The underlying http response
RawResponse *http.Response
// The WorkRequest instance
WorkRequest `presentIn:"body"`
// 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 decimal number representing the number of seconds the client should wait before polling this endpoint again.
RetryAfter *float32 `presentIn:"header" name:"retry-after"`
}
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
IdentityProviderTypeEnum Enum with underlying type: string
type IdentityProviderTypeEnum string
Set of constants representing the allowable values for IdentityProviderTypeEnum
const (
IdentityProviderTypeOciIam IdentityProviderTypeEnum = "OCI_IAM"
IdentityProviderTypeAzureAd IdentityProviderTypeEnum = "AZURE_AD"
IdentityProviderTypeNone IdentityProviderTypeEnum = "NONE"
)
func GetIdentityProviderTypeEnumValues() []IdentityProviderTypeEnum
GetIdentityProviderTypeEnumValues Enumerates the set of values for IdentityProviderTypeEnum
func GetMappingIdentityProviderTypeEnum(val string) (IdentityProviderTypeEnum, bool)
GetMappingIdentityProviderTypeEnum performs case Insensitive comparison on enum value and return the desired enum
IdentityTypeEnum Enum with underlying type: string
type IdentityTypeEnum string
Set of constants representing the allowable values for IdentityTypeEnum
const (
IdentityTypeOracleDatabaseResourcePrincipal IdentityTypeEnum = "ORACLE_DATABASE_RESOURCE_PRINCIPAL"
)
func GetIdentityTypeEnumValues() []IdentityTypeEnum
GetIdentityTypeEnumValues Enumerates the set of values for IdentityTypeEnum
func GetMappingIdentityTypeEnum(val string) (IdentityTypeEnum, bool)
GetMappingIdentityTypeEnum performs case Insensitive comparison on enum value and return the desired enum
KeyStoreTypeEnum Enum with underlying type: string
type KeyStoreTypeEnum string
Set of constants representing the allowable values for KeyStoreTypeEnum
const (
KeyStoreTypeJavaKeyStore KeyStoreTypeEnum = "JAVA_KEY_STORE"
KeyStoreTypeJavaTrustStore KeyStoreTypeEnum = "JAVA_TRUST_STORE"
KeyStoreTypePem KeyStoreTypeEnum = "PEM"
KeyStoreTypePkcs12 KeyStoreTypeEnum = "PKCS12"
KeyStoreTypeSso KeyStoreTypeEnum = "SSO"
)
func GetKeyStoreTypeEnumValues() []KeyStoreTypeEnum
GetKeyStoreTypeEnumValues Enumerates the set of values for KeyStoreTypeEnum
func GetMappingKeyStoreTypeEnum(val string) (KeyStoreTypeEnum, bool)
GetMappingKeyStoreTypeEnum performs case Insensitive comparison on enum value and return the desired enum
KeyStoreTypeGenericJdbcEnum Enum with underlying type: string
type KeyStoreTypeGenericJdbcEnum string
Set of constants representing the allowable values for KeyStoreTypeGenericJdbcEnum
const (
KeyStoreTypeGenericJdbcJavaKeyStore KeyStoreTypeGenericJdbcEnum = "JAVA_KEY_STORE"
KeyStoreTypeGenericJdbcJavaTrustStore KeyStoreTypeGenericJdbcEnum = "JAVA_TRUST_STORE"
KeyStoreTypeGenericJdbcPkcs12 KeyStoreTypeGenericJdbcEnum = "PKCS12"
KeyStoreTypeGenericJdbcSso KeyStoreTypeGenericJdbcEnum = "SSO"
KeyStoreTypeGenericJdbcClientCertificatePem KeyStoreTypeGenericJdbcEnum = "CLIENT_CERTIFICATE_PEM"
KeyStoreTypeGenericJdbcClientPrivateKeyPem KeyStoreTypeGenericJdbcEnum = "CLIENT_PRIVATE_KEY_PEM"
KeyStoreTypeGenericJdbcCaCertificatePem KeyStoreTypeGenericJdbcEnum = "CA_CERTIFICATE_PEM"
)
func GetKeyStoreTypeGenericJdbcEnumValues() []KeyStoreTypeGenericJdbcEnum
GetKeyStoreTypeGenericJdbcEnumValues Enumerates the set of values for KeyStoreTypeGenericJdbcEnum
func GetMappingKeyStoreTypeGenericJdbcEnum(val string) (KeyStoreTypeGenericJdbcEnum, bool)
GetMappingKeyStoreTypeGenericJdbcEnum performs case Insensitive comparison on enum value and return the desired enum
KeyStoreTypeMySqlEnum Enum with underlying type: string
type KeyStoreTypeMySqlEnum string
Set of constants representing the allowable values for KeyStoreTypeMySqlEnum
const (
KeyStoreTypeMySqlClientCertificatePem KeyStoreTypeMySqlEnum = "CLIENT_CERTIFICATE_PEM"
KeyStoreTypeMySqlClientPrivateKeyPem KeyStoreTypeMySqlEnum = "CLIENT_PRIVATE_KEY_PEM"
KeyStoreTypeMySqlCaCertificatePem KeyStoreTypeMySqlEnum = "CA_CERTIFICATE_PEM"
)
func GetKeyStoreTypeMySqlEnumValues() []KeyStoreTypeMySqlEnum
GetKeyStoreTypeMySqlEnumValues Enumerates the set of values for KeyStoreTypeMySqlEnum
func GetMappingKeyStoreTypeMySqlEnum(val string) (KeyStoreTypeMySqlEnum, bool)
GetMappingKeyStoreTypeMySqlEnum performs case Insensitive comparison on enum value and return the desired enum
KeyStoreTypePostgresqlEnum Enum with underlying type: string
type KeyStoreTypePostgresqlEnum string
Set of constants representing the allowable values for KeyStoreTypePostgresqlEnum
const (
KeyStoreTypePostgresqlClientCertificatePem KeyStoreTypePostgresqlEnum = "CLIENT_CERTIFICATE_PEM"
KeyStoreTypePostgresqlClientPrivateKeyPem KeyStoreTypePostgresqlEnum = "CLIENT_PRIVATE_KEY_PEM"
KeyStoreTypePostgresqlCaCertificatePem KeyStoreTypePostgresqlEnum = "CA_CERTIFICATE_PEM"
)
func GetKeyStoreTypePostgresqlEnumValues() []KeyStoreTypePostgresqlEnum
GetKeyStoreTypePostgresqlEnumValues Enumerates the set of values for KeyStoreTypePostgresqlEnum
func GetMappingKeyStoreTypePostgresqlEnum(val string) (KeyStoreTypePostgresqlEnum, bool)
GetMappingKeyStoreTypePostgresqlEnum performs case Insensitive comparison on enum value and return the desired enum
LifecycleStateEnum Enum with underlying type: string
type LifecycleStateEnum string
Set of constants representing the allowable values for LifecycleStateEnum
const (
LifecycleStateCreating LifecycleStateEnum = "CREATING"
LifecycleStateUpdating LifecycleStateEnum = "UPDATING"
LifecycleStateActive LifecycleStateEnum = "ACTIVE"
LifecycleStateDeleting LifecycleStateEnum = "DELETING"
LifecycleStateDeleted LifecycleStateEnum = "DELETED"
LifecycleStateFailed LifecycleStateEnum = "FAILED"
LifecycleStateInactive LifecycleStateEnum = "INACTIVE"
)
func GetLifecycleStateEnumValues() []LifecycleStateEnum
GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum
func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool)
GetMappingLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsConnectionsLifecycleStateEnum Enum with underlying type: string
type ListDatabaseToolsConnectionsLifecycleStateEnum string
Set of constants representing the allowable values for ListDatabaseToolsConnectionsLifecycleStateEnum
const (
ListDatabaseToolsConnectionsLifecycleStateCreating ListDatabaseToolsConnectionsLifecycleStateEnum = "CREATING"
ListDatabaseToolsConnectionsLifecycleStateUpdating ListDatabaseToolsConnectionsLifecycleStateEnum = "UPDATING"
ListDatabaseToolsConnectionsLifecycleStateActive ListDatabaseToolsConnectionsLifecycleStateEnum = "ACTIVE"
ListDatabaseToolsConnectionsLifecycleStateDeleting ListDatabaseToolsConnectionsLifecycleStateEnum = "DELETING"
ListDatabaseToolsConnectionsLifecycleStateDeleted ListDatabaseToolsConnectionsLifecycleStateEnum = "DELETED"
ListDatabaseToolsConnectionsLifecycleStateFailed ListDatabaseToolsConnectionsLifecycleStateEnum = "FAILED"
ListDatabaseToolsConnectionsLifecycleStateInactive ListDatabaseToolsConnectionsLifecycleStateEnum = "INACTIVE"
)
func GetListDatabaseToolsConnectionsLifecycleStateEnumValues() []ListDatabaseToolsConnectionsLifecycleStateEnum
GetListDatabaseToolsConnectionsLifecycleStateEnumValues Enumerates the set of values for ListDatabaseToolsConnectionsLifecycleStateEnum
func GetMappingListDatabaseToolsConnectionsLifecycleStateEnum(val string) (ListDatabaseToolsConnectionsLifecycleStateEnum, bool)
GetMappingListDatabaseToolsConnectionsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsConnectionsRequest wrapper for the ListDatabaseToolsConnections operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ListDatabaseToolsConnections.go.html to see an example of how to use ListDatabaseToolsConnectionsRequest.
type ListDatabaseToolsConnectionsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// A filter to return only resources their `lifecycleState` matches the specified `lifecycleState`.
LifecycleState ListDatabaseToolsConnectionsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`
// A filter to return only resources that match the entire specified display name.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// A filter to return only resources their type matches the specified type.
Type []ConnectionTypeEnum `contributesTo:"query" name:"type" omitEmpty:"true" collectionFormat:"multi"`
// A filter to return only resources with one of the specified type values.
RuntimeSupport []RuntimeSupportEnum `contributesTo:"query" name:"runtimeSupport" omitEmpty:"true" collectionFormat:"multi"`
// A filter to return only resources with one of the specified runtimeIdentity values.
RuntimeIdentity []RuntimeIdentityEnum `contributesTo:"query" name:"runtimeIdentity" omitEmpty:"true" collectionFormat:"multi"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related resource.
RelatedResourceIdentifier *string `mandatory:"false" contributesTo:"query" name:"relatedResourceIdentifier"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'asc' or 'desc'.
SortOrder ListDatabaseToolsConnectionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
SortBy ListDatabaseToolsConnectionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListDatabaseToolsConnectionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDatabaseToolsConnectionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDatabaseToolsConnectionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDatabaseToolsConnectionsRequest) String() string
func (request ListDatabaseToolsConnectionsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListDatabaseToolsConnectionsResponse wrapper for the ListDatabaseToolsConnections operation
type ListDatabaseToolsConnectionsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of DatabaseToolsConnectionCollection instances
DatabaseToolsConnectionCollection `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For pagination of a list of items. When paging through a list, if this header appears in the response,
// then a partial list might have been returned. Include this value as the `page` parameter for the
// subsequent GET request to get the next batch of items.
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}
func (response ListDatabaseToolsConnectionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDatabaseToolsConnectionsResponse) String() string
ListDatabaseToolsConnectionsSortByEnum Enum with underlying type: string
type ListDatabaseToolsConnectionsSortByEnum string
Set of constants representing the allowable values for ListDatabaseToolsConnectionsSortByEnum
const (
ListDatabaseToolsConnectionsSortByTimecreated ListDatabaseToolsConnectionsSortByEnum = "timeCreated"
ListDatabaseToolsConnectionsSortByDisplayname ListDatabaseToolsConnectionsSortByEnum = "displayName"
)
func GetListDatabaseToolsConnectionsSortByEnumValues() []ListDatabaseToolsConnectionsSortByEnum
GetListDatabaseToolsConnectionsSortByEnumValues Enumerates the set of values for ListDatabaseToolsConnectionsSortByEnum
func GetMappingListDatabaseToolsConnectionsSortByEnum(val string) (ListDatabaseToolsConnectionsSortByEnum, bool)
GetMappingListDatabaseToolsConnectionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsConnectionsSortOrderEnum Enum with underlying type: string
type ListDatabaseToolsConnectionsSortOrderEnum string
Set of constants representing the allowable values for ListDatabaseToolsConnectionsSortOrderEnum
const (
ListDatabaseToolsConnectionsSortOrderAsc ListDatabaseToolsConnectionsSortOrderEnum = "ASC"
ListDatabaseToolsConnectionsSortOrderDesc ListDatabaseToolsConnectionsSortOrderEnum = "DESC"
)
func GetListDatabaseToolsConnectionsSortOrderEnumValues() []ListDatabaseToolsConnectionsSortOrderEnum
GetListDatabaseToolsConnectionsSortOrderEnumValues Enumerates the set of values for ListDatabaseToolsConnectionsSortOrderEnum
func GetMappingListDatabaseToolsConnectionsSortOrderEnum(val string) (ListDatabaseToolsConnectionsSortOrderEnum, bool)
GetMappingListDatabaseToolsConnectionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsDatabaseApiGatewayConfigsLifecycleStateEnum Enum with underlying type: string
type ListDatabaseToolsDatabaseApiGatewayConfigsLifecycleStateEnum string
Set of constants representing the allowable values for ListDatabaseToolsDatabaseApiGatewayConfigsLifecycleStateEnum
const (
ListDatabaseToolsDatabaseApiGatewayConfigsLifecycleStateActive ListDatabaseToolsDatabaseApiGatewayConfigsLifecycleStateEnum = "ACTIVE"
ListDatabaseToolsDatabaseApiGatewayConfigsLifecycleStateDeleted ListDatabaseToolsDatabaseApiGatewayConfigsLifecycleStateEnum = "DELETED"
)
func GetListDatabaseToolsDatabaseApiGatewayConfigsLifecycleStateEnumValues() []ListDatabaseToolsDatabaseApiGatewayConfigsLifecycleStateEnum
GetListDatabaseToolsDatabaseApiGatewayConfigsLifecycleStateEnumValues Enumerates the set of values for ListDatabaseToolsDatabaseApiGatewayConfigsLifecycleStateEnum
func GetMappingListDatabaseToolsDatabaseApiGatewayConfigsLifecycleStateEnum(val string) (ListDatabaseToolsDatabaseApiGatewayConfigsLifecycleStateEnum, bool)
GetMappingListDatabaseToolsDatabaseApiGatewayConfigsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsDatabaseApiGatewayConfigsRequest wrapper for the ListDatabaseToolsDatabaseApiGatewayConfigs operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ListDatabaseToolsDatabaseApiGatewayConfigs.go.html to see an example of how to use ListDatabaseToolsDatabaseApiGatewayConfigsRequest.
type ListDatabaseToolsDatabaseApiGatewayConfigsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// A filter to return resources only when their `lifecycleState` matches the specified `lifecycleState`.
LifecycleState ListDatabaseToolsDatabaseApiGatewayConfigsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`
// A filter to return only resources that match the entire specified display name.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'asc' or 'desc'.
SortOrder ListDatabaseToolsDatabaseApiGatewayConfigsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
SortBy ListDatabaseToolsDatabaseApiGatewayConfigsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// A filter to return only resources with one of the specified type values.
Type []DatabaseApiGatewayConfigTypeEnum `contributesTo:"query" name:"type" omitEmpty:"true" collectionFormat:"multi"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListDatabaseToolsDatabaseApiGatewayConfigsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDatabaseToolsDatabaseApiGatewayConfigsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDatabaseToolsDatabaseApiGatewayConfigsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDatabaseToolsDatabaseApiGatewayConfigsRequest) String() string
func (request ListDatabaseToolsDatabaseApiGatewayConfigsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListDatabaseToolsDatabaseApiGatewayConfigsResponse wrapper for the ListDatabaseToolsDatabaseApiGatewayConfigs operation
type ListDatabaseToolsDatabaseApiGatewayConfigsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of DatabaseToolsDatabaseApiGatewayConfigCollection instances
DatabaseToolsDatabaseApiGatewayConfigCollection `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For pagination of a list of items. When paging through a list, if this header appears in the response,
// then a partial list might have been returned. Include this value as the `page` parameter for the
// subsequent GET request to get the next batch of items.
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}
func (response ListDatabaseToolsDatabaseApiGatewayConfigsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDatabaseToolsDatabaseApiGatewayConfigsResponse) String() string
ListDatabaseToolsDatabaseApiGatewayConfigsSortByEnum Enum with underlying type: string
type ListDatabaseToolsDatabaseApiGatewayConfigsSortByEnum string
Set of constants representing the allowable values for ListDatabaseToolsDatabaseApiGatewayConfigsSortByEnum
const (
ListDatabaseToolsDatabaseApiGatewayConfigsSortByTimecreated ListDatabaseToolsDatabaseApiGatewayConfigsSortByEnum = "timeCreated"
ListDatabaseToolsDatabaseApiGatewayConfigsSortByDisplayname ListDatabaseToolsDatabaseApiGatewayConfigsSortByEnum = "displayName"
)
func GetListDatabaseToolsDatabaseApiGatewayConfigsSortByEnumValues() []ListDatabaseToolsDatabaseApiGatewayConfigsSortByEnum
GetListDatabaseToolsDatabaseApiGatewayConfigsSortByEnumValues Enumerates the set of values for ListDatabaseToolsDatabaseApiGatewayConfigsSortByEnum
func GetMappingListDatabaseToolsDatabaseApiGatewayConfigsSortByEnum(val string) (ListDatabaseToolsDatabaseApiGatewayConfigsSortByEnum, bool)
GetMappingListDatabaseToolsDatabaseApiGatewayConfigsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsDatabaseApiGatewayConfigsSortOrderEnum Enum with underlying type: string
type ListDatabaseToolsDatabaseApiGatewayConfigsSortOrderEnum string
Set of constants representing the allowable values for ListDatabaseToolsDatabaseApiGatewayConfigsSortOrderEnum
const (
ListDatabaseToolsDatabaseApiGatewayConfigsSortOrderAsc ListDatabaseToolsDatabaseApiGatewayConfigsSortOrderEnum = "ASC"
ListDatabaseToolsDatabaseApiGatewayConfigsSortOrderDesc ListDatabaseToolsDatabaseApiGatewayConfigsSortOrderEnum = "DESC"
)
func GetListDatabaseToolsDatabaseApiGatewayConfigsSortOrderEnumValues() []ListDatabaseToolsDatabaseApiGatewayConfigsSortOrderEnum
GetListDatabaseToolsDatabaseApiGatewayConfigsSortOrderEnumValues Enumerates the set of values for ListDatabaseToolsDatabaseApiGatewayConfigsSortOrderEnum
func GetMappingListDatabaseToolsDatabaseApiGatewayConfigsSortOrderEnum(val string) (ListDatabaseToolsDatabaseApiGatewayConfigsSortOrderEnum, bool)
GetMappingListDatabaseToolsDatabaseApiGatewayConfigsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsEndpointServicesLifecycleStateEnum Enum with underlying type: string
type ListDatabaseToolsEndpointServicesLifecycleStateEnum string
Set of constants representing the allowable values for ListDatabaseToolsEndpointServicesLifecycleStateEnum
const (
ListDatabaseToolsEndpointServicesLifecycleStateCreating ListDatabaseToolsEndpointServicesLifecycleStateEnum = "CREATING"
ListDatabaseToolsEndpointServicesLifecycleStateUpdating ListDatabaseToolsEndpointServicesLifecycleStateEnum = "UPDATING"
ListDatabaseToolsEndpointServicesLifecycleStateActive ListDatabaseToolsEndpointServicesLifecycleStateEnum = "ACTIVE"
ListDatabaseToolsEndpointServicesLifecycleStateDeleting ListDatabaseToolsEndpointServicesLifecycleStateEnum = "DELETING"
ListDatabaseToolsEndpointServicesLifecycleStateDeleted ListDatabaseToolsEndpointServicesLifecycleStateEnum = "DELETED"
ListDatabaseToolsEndpointServicesLifecycleStateFailed ListDatabaseToolsEndpointServicesLifecycleStateEnum = "FAILED"
ListDatabaseToolsEndpointServicesLifecycleStateInactive ListDatabaseToolsEndpointServicesLifecycleStateEnum = "INACTIVE"
)
func GetListDatabaseToolsEndpointServicesLifecycleStateEnumValues() []ListDatabaseToolsEndpointServicesLifecycleStateEnum
GetListDatabaseToolsEndpointServicesLifecycleStateEnumValues Enumerates the set of values for ListDatabaseToolsEndpointServicesLifecycleStateEnum
func GetMappingListDatabaseToolsEndpointServicesLifecycleStateEnum(val string) (ListDatabaseToolsEndpointServicesLifecycleStateEnum, bool)
GetMappingListDatabaseToolsEndpointServicesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsEndpointServicesRequest wrapper for the ListDatabaseToolsEndpointServices operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ListDatabaseToolsEndpointServices.go.html to see an example of how to use ListDatabaseToolsEndpointServicesRequest.
type ListDatabaseToolsEndpointServicesRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'asc' or 'desc'.
SortOrder ListDatabaseToolsEndpointServicesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
SortBy ListDatabaseToolsEndpointServicesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A filter to return only resources their `lifecycleState` matches the specified `lifecycleState`.
LifecycleState ListDatabaseToolsEndpointServicesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`
// A filter to return only resources that match the entire specified display name.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// A filter to return only resources that match the entire specified name.
Name *string `mandatory:"false" contributesTo:"query" name:"name"`
// 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 ListDatabaseToolsEndpointServicesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDatabaseToolsEndpointServicesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDatabaseToolsEndpointServicesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDatabaseToolsEndpointServicesRequest) String() string
func (request ListDatabaseToolsEndpointServicesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListDatabaseToolsEndpointServicesResponse wrapper for the ListDatabaseToolsEndpointServices operation
type ListDatabaseToolsEndpointServicesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of DatabaseToolsEndpointServiceCollection instances
DatabaseToolsEndpointServiceCollection `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For pagination of a list of items. When paging through a list, if this header appears in the response,
// then a partial list might have been returned. Include this value as the `page` parameter for the
// subsequent GET request to get the next batch of items.
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}
func (response ListDatabaseToolsEndpointServicesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDatabaseToolsEndpointServicesResponse) String() string
ListDatabaseToolsEndpointServicesSortByEnum Enum with underlying type: string
type ListDatabaseToolsEndpointServicesSortByEnum string
Set of constants representing the allowable values for ListDatabaseToolsEndpointServicesSortByEnum
const (
ListDatabaseToolsEndpointServicesSortByTimecreated ListDatabaseToolsEndpointServicesSortByEnum = "timeCreated"
ListDatabaseToolsEndpointServicesSortByDisplayname ListDatabaseToolsEndpointServicesSortByEnum = "displayName"
)
func GetListDatabaseToolsEndpointServicesSortByEnumValues() []ListDatabaseToolsEndpointServicesSortByEnum
GetListDatabaseToolsEndpointServicesSortByEnumValues Enumerates the set of values for ListDatabaseToolsEndpointServicesSortByEnum
func GetMappingListDatabaseToolsEndpointServicesSortByEnum(val string) (ListDatabaseToolsEndpointServicesSortByEnum, bool)
GetMappingListDatabaseToolsEndpointServicesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsEndpointServicesSortOrderEnum Enum with underlying type: string
type ListDatabaseToolsEndpointServicesSortOrderEnum string
Set of constants representing the allowable values for ListDatabaseToolsEndpointServicesSortOrderEnum
const (
ListDatabaseToolsEndpointServicesSortOrderAsc ListDatabaseToolsEndpointServicesSortOrderEnum = "ASC"
ListDatabaseToolsEndpointServicesSortOrderDesc ListDatabaseToolsEndpointServicesSortOrderEnum = "DESC"
)
func GetListDatabaseToolsEndpointServicesSortOrderEnumValues() []ListDatabaseToolsEndpointServicesSortOrderEnum
GetListDatabaseToolsEndpointServicesSortOrderEnumValues Enumerates the set of values for ListDatabaseToolsEndpointServicesSortOrderEnum
func GetMappingListDatabaseToolsEndpointServicesSortOrderEnum(val string) (ListDatabaseToolsEndpointServicesSortOrderEnum, bool)
GetMappingListDatabaseToolsEndpointServicesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsIdentitiesLifecycleStateEnum Enum with underlying type: string
type ListDatabaseToolsIdentitiesLifecycleStateEnum string
Set of constants representing the allowable values for ListDatabaseToolsIdentitiesLifecycleStateEnum
const (
ListDatabaseToolsIdentitiesLifecycleStateCreating ListDatabaseToolsIdentitiesLifecycleStateEnum = "CREATING"
ListDatabaseToolsIdentitiesLifecycleStateUpdating ListDatabaseToolsIdentitiesLifecycleStateEnum = "UPDATING"
ListDatabaseToolsIdentitiesLifecycleStateActive ListDatabaseToolsIdentitiesLifecycleStateEnum = "ACTIVE"
ListDatabaseToolsIdentitiesLifecycleStateDeleting ListDatabaseToolsIdentitiesLifecycleStateEnum = "DELETING"
ListDatabaseToolsIdentitiesLifecycleStateDeleted ListDatabaseToolsIdentitiesLifecycleStateEnum = "DELETED"
ListDatabaseToolsIdentitiesLifecycleStateFailed ListDatabaseToolsIdentitiesLifecycleStateEnum = "FAILED"
ListDatabaseToolsIdentitiesLifecycleStateNeedsAttention ListDatabaseToolsIdentitiesLifecycleStateEnum = "NEEDS_ATTENTION"
)
func GetListDatabaseToolsIdentitiesLifecycleStateEnumValues() []ListDatabaseToolsIdentitiesLifecycleStateEnum
GetListDatabaseToolsIdentitiesLifecycleStateEnumValues Enumerates the set of values for ListDatabaseToolsIdentitiesLifecycleStateEnum
func GetMappingListDatabaseToolsIdentitiesLifecycleStateEnum(val string) (ListDatabaseToolsIdentitiesLifecycleStateEnum, bool)
GetMappingListDatabaseToolsIdentitiesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsIdentitiesRequest wrapper for the ListDatabaseToolsIdentities operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ListDatabaseToolsIdentities.go.html to see an example of how to use ListDatabaseToolsIdentitiesRequest.
type ListDatabaseToolsIdentitiesRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// A filter to return resources only when their `databaseToolsIdentityLifecycleState` matches the specified `databaseToolsIdentityLifecycleState`.
LifecycleState ListDatabaseToolsIdentitiesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`
// A filter to return only resources that match the entire specified display name.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// A filter to return only resources when their `databaseToolsConnectionId` matches the specified `databaseToolsConnectionId`.
DatabaseToolsConnectionId *string `mandatory:"false" contributesTo:"query" name:"databaseToolsConnectionId"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'asc' or 'desc'.
SortOrder ListDatabaseToolsIdentitiesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
SortBy ListDatabaseToolsIdentitiesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A filter to return only resources with one of the specified type values.
Type []IdentityTypeEnum `contributesTo:"query" name:"type" omitEmpty:"true" collectionFormat:"multi"`
// 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 ListDatabaseToolsIdentitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDatabaseToolsIdentitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDatabaseToolsIdentitiesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDatabaseToolsIdentitiesRequest) String() string
func (request ListDatabaseToolsIdentitiesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListDatabaseToolsIdentitiesResponse wrapper for the ListDatabaseToolsIdentities operation
type ListDatabaseToolsIdentitiesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of DatabaseToolsIdentityCollection instances
DatabaseToolsIdentityCollection `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For pagination of a list of items. When paging through a list, if this header appears in the response,
// then a partial list might have been returned. Include this value as the `page` parameter for the
// subsequent GET request to get the next batch of items.
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}
func (response ListDatabaseToolsIdentitiesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDatabaseToolsIdentitiesResponse) String() string
ListDatabaseToolsIdentitiesSortByEnum Enum with underlying type: string
type ListDatabaseToolsIdentitiesSortByEnum string
Set of constants representing the allowable values for ListDatabaseToolsIdentitiesSortByEnum
const (
ListDatabaseToolsIdentitiesSortByTimecreated ListDatabaseToolsIdentitiesSortByEnum = "timeCreated"
ListDatabaseToolsIdentitiesSortByDisplayname ListDatabaseToolsIdentitiesSortByEnum = "displayName"
)
func GetListDatabaseToolsIdentitiesSortByEnumValues() []ListDatabaseToolsIdentitiesSortByEnum
GetListDatabaseToolsIdentitiesSortByEnumValues Enumerates the set of values for ListDatabaseToolsIdentitiesSortByEnum
func GetMappingListDatabaseToolsIdentitiesSortByEnum(val string) (ListDatabaseToolsIdentitiesSortByEnum, bool)
GetMappingListDatabaseToolsIdentitiesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsIdentitiesSortOrderEnum Enum with underlying type: string
type ListDatabaseToolsIdentitiesSortOrderEnum string
Set of constants representing the allowable values for ListDatabaseToolsIdentitiesSortOrderEnum
const (
ListDatabaseToolsIdentitiesSortOrderAsc ListDatabaseToolsIdentitiesSortOrderEnum = "ASC"
ListDatabaseToolsIdentitiesSortOrderDesc ListDatabaseToolsIdentitiesSortOrderEnum = "DESC"
)
func GetListDatabaseToolsIdentitiesSortOrderEnumValues() []ListDatabaseToolsIdentitiesSortOrderEnum
GetListDatabaseToolsIdentitiesSortOrderEnumValues Enumerates the set of values for ListDatabaseToolsIdentitiesSortOrderEnum
func GetMappingListDatabaseToolsIdentitiesSortOrderEnum(val string) (ListDatabaseToolsIdentitiesSortOrderEnum, bool)
GetMappingListDatabaseToolsIdentitiesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsMcpServersLifecycleStateEnum Enum with underlying type: string
type ListDatabaseToolsMcpServersLifecycleStateEnum string
Set of constants representing the allowable values for ListDatabaseToolsMcpServersLifecycleStateEnum
const (
ListDatabaseToolsMcpServersLifecycleStateCreating ListDatabaseToolsMcpServersLifecycleStateEnum = "CREATING"
ListDatabaseToolsMcpServersLifecycleStateUpdating ListDatabaseToolsMcpServersLifecycleStateEnum = "UPDATING"
ListDatabaseToolsMcpServersLifecycleStateActive ListDatabaseToolsMcpServersLifecycleStateEnum = "ACTIVE"
ListDatabaseToolsMcpServersLifecycleStateDeleting ListDatabaseToolsMcpServersLifecycleStateEnum = "DELETING"
ListDatabaseToolsMcpServersLifecycleStateDeleted ListDatabaseToolsMcpServersLifecycleStateEnum = "DELETED"
ListDatabaseToolsMcpServersLifecycleStateFailed ListDatabaseToolsMcpServersLifecycleStateEnum = "FAILED"
ListDatabaseToolsMcpServersLifecycleStateNeedsAttention ListDatabaseToolsMcpServersLifecycleStateEnum = "NEEDS_ATTENTION"
)
func GetListDatabaseToolsMcpServersLifecycleStateEnumValues() []ListDatabaseToolsMcpServersLifecycleStateEnum
GetListDatabaseToolsMcpServersLifecycleStateEnumValues Enumerates the set of values for ListDatabaseToolsMcpServersLifecycleStateEnum
func GetMappingListDatabaseToolsMcpServersLifecycleStateEnum(val string) (ListDatabaseToolsMcpServersLifecycleStateEnum, bool)
GetMappingListDatabaseToolsMcpServersLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsMcpServersRequest wrapper for the ListDatabaseToolsMcpServers operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ListDatabaseToolsMcpServers.go.html to see an example of how to use ListDatabaseToolsMcpServersRequest.
type ListDatabaseToolsMcpServersRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// A filter to return resources only when their `databaseToolsMcpServerLifecycleState` matches the specified `databaseToolsMcpServerLifecycleState`.
LifecycleState ListDatabaseToolsMcpServersLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`
// A filter to return only resources that match the entire specified display name.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// A filter to return only resources when their `databaseToolsConnectionId` matches the specified `databaseToolsConnectionId`.
DatabaseToolsConnectionId *string `mandatory:"false" contributesTo:"query" name:"databaseToolsConnectionId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related resource.
RelatedResourceIdentifier *string `mandatory:"false" contributesTo:"query" name:"relatedResourceIdentifier"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'asc' or 'desc'.
SortOrder ListDatabaseToolsMcpServersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
SortBy ListDatabaseToolsMcpServersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A filter to return only resources with one of the specified type values.
Type []DatabaseToolsMcpServerTypeEnum `contributesTo:"query" name:"type" omitEmpty:"true" collectionFormat:"multi"`
// 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 ListDatabaseToolsMcpServersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDatabaseToolsMcpServersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDatabaseToolsMcpServersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDatabaseToolsMcpServersRequest) String() string
func (request ListDatabaseToolsMcpServersRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListDatabaseToolsMcpServersResponse wrapper for the ListDatabaseToolsMcpServers operation
type ListDatabaseToolsMcpServersResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of DatabaseToolsMcpServerCollection instances
DatabaseToolsMcpServerCollection `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For pagination of a list of items. When paging through a list, if this header appears in the response,
// then a partial list might have been returned. Include this value as the `page` parameter for the
// subsequent GET request to get the next batch of items.
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}
func (response ListDatabaseToolsMcpServersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDatabaseToolsMcpServersResponse) String() string
ListDatabaseToolsMcpServersSortByEnum Enum with underlying type: string
type ListDatabaseToolsMcpServersSortByEnum string
Set of constants representing the allowable values for ListDatabaseToolsMcpServersSortByEnum
const (
ListDatabaseToolsMcpServersSortByTimecreated ListDatabaseToolsMcpServersSortByEnum = "timeCreated"
ListDatabaseToolsMcpServersSortByDisplayname ListDatabaseToolsMcpServersSortByEnum = "displayName"
)
func GetListDatabaseToolsMcpServersSortByEnumValues() []ListDatabaseToolsMcpServersSortByEnum
GetListDatabaseToolsMcpServersSortByEnumValues Enumerates the set of values for ListDatabaseToolsMcpServersSortByEnum
func GetMappingListDatabaseToolsMcpServersSortByEnum(val string) (ListDatabaseToolsMcpServersSortByEnum, bool)
GetMappingListDatabaseToolsMcpServersSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsMcpServersSortOrderEnum Enum with underlying type: string
type ListDatabaseToolsMcpServersSortOrderEnum string
Set of constants representing the allowable values for ListDatabaseToolsMcpServersSortOrderEnum
const (
ListDatabaseToolsMcpServersSortOrderAsc ListDatabaseToolsMcpServersSortOrderEnum = "ASC"
ListDatabaseToolsMcpServersSortOrderDesc ListDatabaseToolsMcpServersSortOrderEnum = "DESC"
)
func GetListDatabaseToolsMcpServersSortOrderEnumValues() []ListDatabaseToolsMcpServersSortOrderEnum
GetListDatabaseToolsMcpServersSortOrderEnumValues Enumerates the set of values for ListDatabaseToolsMcpServersSortOrderEnum
func GetMappingListDatabaseToolsMcpServersSortOrderEnum(val string) (ListDatabaseToolsMcpServersSortOrderEnum, bool)
GetMappingListDatabaseToolsMcpServersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsMcpToolsetVersionsRequest wrapper for the ListDatabaseToolsMcpToolsetVersions operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ListDatabaseToolsMcpToolsetVersions.go.html to see an example of how to use ListDatabaseToolsMcpToolsetVersionsRequest.
type ListDatabaseToolsMcpToolsetVersionsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// A filter to return only resources matching the specified `databaseToolsMcpServerId`.
DatabaseToolsMcpServerId *string `mandatory:"false" contributesTo:"query" name:"databaseToolsMcpServerId"`
// A filter to return only resources that match the entire specified display name.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListDatabaseToolsMcpToolsetVersionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDatabaseToolsMcpToolsetVersionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDatabaseToolsMcpToolsetVersionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDatabaseToolsMcpToolsetVersionsRequest) String() string
func (request ListDatabaseToolsMcpToolsetVersionsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListDatabaseToolsMcpToolsetVersionsResponse wrapper for the ListDatabaseToolsMcpToolsetVersions operation
type ListDatabaseToolsMcpToolsetVersionsResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsMcpToolsetVersionCollection instance
DatabaseToolsMcpToolsetVersionCollection `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For pagination of a list of items. When paging through a list, if this header appears in the response,
// then a partial list might have been returned. Include this value as the `page` parameter for the
// subsequent GET request to get the next batch of items.
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}
func (response ListDatabaseToolsMcpToolsetVersionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDatabaseToolsMcpToolsetVersionsResponse) String() string
ListDatabaseToolsMcpToolsetsLifecycleStateEnum Enum with underlying type: string
type ListDatabaseToolsMcpToolsetsLifecycleStateEnum string
Set of constants representing the allowable values for ListDatabaseToolsMcpToolsetsLifecycleStateEnum
const (
ListDatabaseToolsMcpToolsetsLifecycleStateCreating ListDatabaseToolsMcpToolsetsLifecycleStateEnum = "CREATING"
ListDatabaseToolsMcpToolsetsLifecycleStateUpdating ListDatabaseToolsMcpToolsetsLifecycleStateEnum = "UPDATING"
ListDatabaseToolsMcpToolsetsLifecycleStateActive ListDatabaseToolsMcpToolsetsLifecycleStateEnum = "ACTIVE"
ListDatabaseToolsMcpToolsetsLifecycleStateDeleting ListDatabaseToolsMcpToolsetsLifecycleStateEnum = "DELETING"
ListDatabaseToolsMcpToolsetsLifecycleStateDeleted ListDatabaseToolsMcpToolsetsLifecycleStateEnum = "DELETED"
ListDatabaseToolsMcpToolsetsLifecycleStateFailed ListDatabaseToolsMcpToolsetsLifecycleStateEnum = "FAILED"
)
func GetListDatabaseToolsMcpToolsetsLifecycleStateEnumValues() []ListDatabaseToolsMcpToolsetsLifecycleStateEnum
GetListDatabaseToolsMcpToolsetsLifecycleStateEnumValues Enumerates the set of values for ListDatabaseToolsMcpToolsetsLifecycleStateEnum
func GetMappingListDatabaseToolsMcpToolsetsLifecycleStateEnum(val string) (ListDatabaseToolsMcpToolsetsLifecycleStateEnum, bool)
GetMappingListDatabaseToolsMcpToolsetsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsMcpToolsetsRequest wrapper for the ListDatabaseToolsMcpToolsets operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ListDatabaseToolsMcpToolsets.go.html to see an example of how to use ListDatabaseToolsMcpToolsetsRequest.
type ListDatabaseToolsMcpToolsetsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// A filter to return resources only when their `databaseToolsMcpToolsetLifecycleState` matches the specified `databaseToolsMcpToolsetLifecycleState`.
LifecycleState ListDatabaseToolsMcpToolsetsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`
// A filter to return only resources that match the entire specified display name.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'asc' or 'desc'.
SortOrder ListDatabaseToolsMcpToolsetsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
SortBy ListDatabaseToolsMcpToolsetsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A filter to return only resources with one of the specified type values.
Type []DatabaseToolsMcpToolsetTypeEnum `contributesTo:"query" name:"type" omitEmpty:"true" collectionFormat:"multi"`
// A filter to return only resources matching the specified `databaseToolsMcpServerId`.
DatabaseToolsMcpServerId *string `mandatory:"false" contributesTo:"query" name:"databaseToolsMcpServerId"`
// 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 ListDatabaseToolsMcpToolsetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDatabaseToolsMcpToolsetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDatabaseToolsMcpToolsetsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDatabaseToolsMcpToolsetsRequest) String() string
func (request ListDatabaseToolsMcpToolsetsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListDatabaseToolsMcpToolsetsResponse wrapper for the ListDatabaseToolsMcpToolsets operation
type ListDatabaseToolsMcpToolsetsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of DatabaseToolsMcpToolsetCollection instances
DatabaseToolsMcpToolsetCollection `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For pagination of a list of items. When paging through a list, if this header appears in the response,
// then a partial list might have been returned. Include this value as the `page` parameter for the
// subsequent GET request to get the next batch of items.
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}
func (response ListDatabaseToolsMcpToolsetsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDatabaseToolsMcpToolsetsResponse) String() string
ListDatabaseToolsMcpToolsetsSortByEnum Enum with underlying type: string
type ListDatabaseToolsMcpToolsetsSortByEnum string
Set of constants representing the allowable values for ListDatabaseToolsMcpToolsetsSortByEnum
const (
ListDatabaseToolsMcpToolsetsSortByTimecreated ListDatabaseToolsMcpToolsetsSortByEnum = "timeCreated"
ListDatabaseToolsMcpToolsetsSortByDisplayname ListDatabaseToolsMcpToolsetsSortByEnum = "displayName"
)
func GetListDatabaseToolsMcpToolsetsSortByEnumValues() []ListDatabaseToolsMcpToolsetsSortByEnum
GetListDatabaseToolsMcpToolsetsSortByEnumValues Enumerates the set of values for ListDatabaseToolsMcpToolsetsSortByEnum
func GetMappingListDatabaseToolsMcpToolsetsSortByEnum(val string) (ListDatabaseToolsMcpToolsetsSortByEnum, bool)
GetMappingListDatabaseToolsMcpToolsetsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsMcpToolsetsSortOrderEnum Enum with underlying type: string
type ListDatabaseToolsMcpToolsetsSortOrderEnum string
Set of constants representing the allowable values for ListDatabaseToolsMcpToolsetsSortOrderEnum
const (
ListDatabaseToolsMcpToolsetsSortOrderAsc ListDatabaseToolsMcpToolsetsSortOrderEnum = "ASC"
ListDatabaseToolsMcpToolsetsSortOrderDesc ListDatabaseToolsMcpToolsetsSortOrderEnum = "DESC"
)
func GetListDatabaseToolsMcpToolsetsSortOrderEnumValues() []ListDatabaseToolsMcpToolsetsSortOrderEnum
GetListDatabaseToolsMcpToolsetsSortOrderEnumValues Enumerates the set of values for ListDatabaseToolsMcpToolsetsSortOrderEnum
func GetMappingListDatabaseToolsMcpToolsetsSortOrderEnum(val string) (ListDatabaseToolsMcpToolsetsSortOrderEnum, bool)
GetMappingListDatabaseToolsMcpToolsetsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsPrivateEndpointsLifecycleStateEnum Enum with underlying type: string
type ListDatabaseToolsPrivateEndpointsLifecycleStateEnum string
Set of constants representing the allowable values for ListDatabaseToolsPrivateEndpointsLifecycleStateEnum
const (
ListDatabaseToolsPrivateEndpointsLifecycleStateCreating ListDatabaseToolsPrivateEndpointsLifecycleStateEnum = "CREATING"
ListDatabaseToolsPrivateEndpointsLifecycleStateUpdating ListDatabaseToolsPrivateEndpointsLifecycleStateEnum = "UPDATING"
ListDatabaseToolsPrivateEndpointsLifecycleStateActive ListDatabaseToolsPrivateEndpointsLifecycleStateEnum = "ACTIVE"
ListDatabaseToolsPrivateEndpointsLifecycleStateDeleting ListDatabaseToolsPrivateEndpointsLifecycleStateEnum = "DELETING"
ListDatabaseToolsPrivateEndpointsLifecycleStateDeleted ListDatabaseToolsPrivateEndpointsLifecycleStateEnum = "DELETED"
ListDatabaseToolsPrivateEndpointsLifecycleStateFailed ListDatabaseToolsPrivateEndpointsLifecycleStateEnum = "FAILED"
ListDatabaseToolsPrivateEndpointsLifecycleStateInactive ListDatabaseToolsPrivateEndpointsLifecycleStateEnum = "INACTIVE"
)
func GetListDatabaseToolsPrivateEndpointsLifecycleStateEnumValues() []ListDatabaseToolsPrivateEndpointsLifecycleStateEnum
GetListDatabaseToolsPrivateEndpointsLifecycleStateEnumValues Enumerates the set of values for ListDatabaseToolsPrivateEndpointsLifecycleStateEnum
func GetMappingListDatabaseToolsPrivateEndpointsLifecycleStateEnum(val string) (ListDatabaseToolsPrivateEndpointsLifecycleStateEnum, bool)
GetMappingListDatabaseToolsPrivateEndpointsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsPrivateEndpointsRequest wrapper for the ListDatabaseToolsPrivateEndpoints operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ListDatabaseToolsPrivateEndpoints.go.html to see an example of how to use ListDatabaseToolsPrivateEndpointsRequest.
type ListDatabaseToolsPrivateEndpointsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// A filter to return only resources their `subnetId` matches the specified `subnetId`.
SubnetId *string `mandatory:"false" contributesTo:"query" name:"subnetId"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'asc' or 'desc'.
SortOrder ListDatabaseToolsPrivateEndpointsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
SortBy ListDatabaseToolsPrivateEndpointsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A filter to return only resources their `endpointServiceId` matches the specified `endpointServiceId`.
EndpointServiceId *string `mandatory:"false" contributesTo:"query" name:"endpointServiceId"`
// A filter to return only resources their `lifecycleState` matches the specified `lifecycleState`.
LifecycleState ListDatabaseToolsPrivateEndpointsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`
// A filter to return only resources that match the entire specified display name.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// 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 ListDatabaseToolsPrivateEndpointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDatabaseToolsPrivateEndpointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDatabaseToolsPrivateEndpointsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDatabaseToolsPrivateEndpointsRequest) String() string
func (request ListDatabaseToolsPrivateEndpointsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListDatabaseToolsPrivateEndpointsResponse wrapper for the ListDatabaseToolsPrivateEndpoints operation
type ListDatabaseToolsPrivateEndpointsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of DatabaseToolsPrivateEndpointCollection instances
DatabaseToolsPrivateEndpointCollection `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For pagination of a list of items. When paging through a list, if this header appears in the response,
// then a partial list might have been returned. Include this value as the `page` parameter for the
// subsequent GET request to get the next batch of items.
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}
func (response ListDatabaseToolsPrivateEndpointsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDatabaseToolsPrivateEndpointsResponse) String() string
ListDatabaseToolsPrivateEndpointsSortByEnum Enum with underlying type: string
type ListDatabaseToolsPrivateEndpointsSortByEnum string
Set of constants representing the allowable values for ListDatabaseToolsPrivateEndpointsSortByEnum
const (
ListDatabaseToolsPrivateEndpointsSortByTimecreated ListDatabaseToolsPrivateEndpointsSortByEnum = "timeCreated"
ListDatabaseToolsPrivateEndpointsSortByDisplayname ListDatabaseToolsPrivateEndpointsSortByEnum = "displayName"
)
func GetListDatabaseToolsPrivateEndpointsSortByEnumValues() []ListDatabaseToolsPrivateEndpointsSortByEnum
GetListDatabaseToolsPrivateEndpointsSortByEnumValues Enumerates the set of values for ListDatabaseToolsPrivateEndpointsSortByEnum
func GetMappingListDatabaseToolsPrivateEndpointsSortByEnum(val string) (ListDatabaseToolsPrivateEndpointsSortByEnum, bool)
GetMappingListDatabaseToolsPrivateEndpointsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsPrivateEndpointsSortOrderEnum Enum with underlying type: string
type ListDatabaseToolsPrivateEndpointsSortOrderEnum string
Set of constants representing the allowable values for ListDatabaseToolsPrivateEndpointsSortOrderEnum
const (
ListDatabaseToolsPrivateEndpointsSortOrderAsc ListDatabaseToolsPrivateEndpointsSortOrderEnum = "ASC"
ListDatabaseToolsPrivateEndpointsSortOrderDesc ListDatabaseToolsPrivateEndpointsSortOrderEnum = "DESC"
)
func GetListDatabaseToolsPrivateEndpointsSortOrderEnumValues() []ListDatabaseToolsPrivateEndpointsSortOrderEnum
GetListDatabaseToolsPrivateEndpointsSortOrderEnumValues Enumerates the set of values for ListDatabaseToolsPrivateEndpointsSortOrderEnum
func GetMappingListDatabaseToolsPrivateEndpointsSortOrderEnum(val string) (ListDatabaseToolsPrivateEndpointsSortOrderEnum, bool)
GetMappingListDatabaseToolsPrivateEndpointsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsSqlReportsLifecycleStateEnum Enum with underlying type: string
type ListDatabaseToolsSqlReportsLifecycleStateEnum string
Set of constants representing the allowable values for ListDatabaseToolsSqlReportsLifecycleStateEnum
const (
ListDatabaseToolsSqlReportsLifecycleStateActive ListDatabaseToolsSqlReportsLifecycleStateEnum = "ACTIVE"
ListDatabaseToolsSqlReportsLifecycleStateDeleted ListDatabaseToolsSqlReportsLifecycleStateEnum = "DELETED"
)
func GetListDatabaseToolsSqlReportsLifecycleStateEnumValues() []ListDatabaseToolsSqlReportsLifecycleStateEnum
GetListDatabaseToolsSqlReportsLifecycleStateEnumValues Enumerates the set of values for ListDatabaseToolsSqlReportsLifecycleStateEnum
func GetMappingListDatabaseToolsSqlReportsLifecycleStateEnum(val string) (ListDatabaseToolsSqlReportsLifecycleStateEnum, bool)
GetMappingListDatabaseToolsSqlReportsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsSqlReportsRequest wrapper for the ListDatabaseToolsSqlReports operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ListDatabaseToolsSqlReports.go.html to see an example of how to use ListDatabaseToolsSqlReportsRequest.
type ListDatabaseToolsSqlReportsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// A filter to return resources only when their `databaseToolsSqlReportLifecycleState` matches the specified `databaseToolsSqlReportLifecycleState`.
LifecycleState ListDatabaseToolsSqlReportsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`
// A filter to return only resources that match the entire specified display name.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'asc' or 'desc'.
SortOrder ListDatabaseToolsSqlReportsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
SortBy ListDatabaseToolsSqlReportsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A filter to return only resources with one of the specified type values.
Type []DatabaseToolsSqlReportTypeEnum `contributesTo:"query" name:"type" omitEmpty:"true" collectionFormat:"multi"`
// 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 ListDatabaseToolsSqlReportsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDatabaseToolsSqlReportsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDatabaseToolsSqlReportsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDatabaseToolsSqlReportsRequest) String() string
func (request ListDatabaseToolsSqlReportsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListDatabaseToolsSqlReportsResponse wrapper for the ListDatabaseToolsSqlReports operation
type ListDatabaseToolsSqlReportsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of DatabaseToolsSqlReportCollection instances
DatabaseToolsSqlReportCollection `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For pagination of a list of items. When paging through a list, if this header appears in the response,
// then a partial list might have been returned. Include this value as the `page` parameter for the
// subsequent GET request to get the next batch of items.
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}
func (response ListDatabaseToolsSqlReportsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDatabaseToolsSqlReportsResponse) String() string
ListDatabaseToolsSqlReportsSortByEnum Enum with underlying type: string
type ListDatabaseToolsSqlReportsSortByEnum string
Set of constants representing the allowable values for ListDatabaseToolsSqlReportsSortByEnum
const (
ListDatabaseToolsSqlReportsSortByTimecreated ListDatabaseToolsSqlReportsSortByEnum = "timeCreated"
ListDatabaseToolsSqlReportsSortByDisplayname ListDatabaseToolsSqlReportsSortByEnum = "displayName"
)
func GetListDatabaseToolsSqlReportsSortByEnumValues() []ListDatabaseToolsSqlReportsSortByEnum
GetListDatabaseToolsSqlReportsSortByEnumValues Enumerates the set of values for ListDatabaseToolsSqlReportsSortByEnum
func GetMappingListDatabaseToolsSqlReportsSortByEnum(val string) (ListDatabaseToolsSqlReportsSortByEnum, bool)
GetMappingListDatabaseToolsSqlReportsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsSqlReportsSortOrderEnum Enum with underlying type: string
type ListDatabaseToolsSqlReportsSortOrderEnum string
Set of constants representing the allowable values for ListDatabaseToolsSqlReportsSortOrderEnum
const (
ListDatabaseToolsSqlReportsSortOrderAsc ListDatabaseToolsSqlReportsSortOrderEnum = "ASC"
ListDatabaseToolsSqlReportsSortOrderDesc ListDatabaseToolsSqlReportsSortOrderEnum = "DESC"
)
func GetListDatabaseToolsSqlReportsSortOrderEnumValues() []ListDatabaseToolsSqlReportsSortOrderEnum
GetListDatabaseToolsSqlReportsSortOrderEnumValues Enumerates the set of values for ListDatabaseToolsSqlReportsSortOrderEnum
func GetMappingListDatabaseToolsSqlReportsSortOrderEnum(val string) (ListDatabaseToolsSqlReportsSortOrderEnum, bool)
GetMappingListDatabaseToolsSqlReportsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
type ListWorkRequestErrorsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous request.
WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// The sort order to use, either 'asc' or 'desc'.
SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
type ListWorkRequestErrorsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of WorkRequestErrorCollection instances
WorkRequestErrorCollection `presentIn:"body"`
// For pagination of a list of items. When paging through a list, if this header appears in the response,
// then a partial list might have been returned. Include this value as the `page` parameter for the
// subsequent GET request to get the next batch of items.
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
type ListWorkRequestErrorsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
const (
ListWorkRequestErrorsSortByTimecreated ListWorkRequestErrorsSortByEnum = "timeCreated"
ListWorkRequestErrorsSortByDisplayname ListWorkRequestErrorsSortByEnum = "displayName"
)
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
type ListWorkRequestErrorsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
const (
ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC"
ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC"
)
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
type ListWorkRequestLogsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous request.
WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// The sort order to use, either 'asc' or 'desc'.
SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
type ListWorkRequestLogsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of WorkRequestLogEntryCollection instances
WorkRequestLogEntryCollection `presentIn:"body"`
// For pagination of a list of items. When paging through a list, if this header appears in the response,
// then a partial list might have been returned. Include this value as the `page` parameter for the
// subsequent GET request to get the next batch of items.
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
type ListWorkRequestLogsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
const (
ListWorkRequestLogsSortByTimecreated ListWorkRequestLogsSortByEnum = "timeCreated"
ListWorkRequestLogsSortByDisplayname ListWorkRequestLogsSortByEnum = "displayName"
)
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
type ListWorkRequestLogsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
const (
ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC"
ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC"
)
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
type ListWorkRequestsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource.
ResourceIdentifier *string `mandatory:"false" contributesTo:"query" name:"resourceIdentifier"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// The sort order to use, either 'asc' or 'desc'.
SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending. If no value is specified timeAccepted is default.
SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
type ListWorkRequestsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of WorkRequestCollection instances
WorkRequestCollection `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For pagination of a list of items. When paging through a list, if this header appears in the response,
// then a partial list might have been returned. Include this value as the `page` parameter for the
// subsequent GET request to get the next batch of items.
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
ListWorkRequestsSortByEnum Enum with underlying type: string
type ListWorkRequestsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
const (
ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
ListWorkRequestsSortByTimeupdated ListWorkRequestsSortByEnum = "timeUpdated"
)
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsSortOrderEnum Enum with underlying type: string
type ListWorkRequestsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
const (
ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC"
ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC"
)
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
OperationStatusEnum Enum with underlying type: string
type OperationStatusEnum string
Set of constants representing the allowable values for OperationStatusEnum
const (
OperationStatusAccepted OperationStatusEnum = "ACCEPTED"
OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS"
OperationStatusFailed OperationStatusEnum = "FAILED"
OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED"
OperationStatusCanceling OperationStatusEnum = "CANCELING"
OperationStatusCanceled OperationStatusEnum = "CANCELED"
OperationStatusWaiting OperationStatusEnum = "WAITING"
OperationStatusNeedsAttention OperationStatusEnum = "NEEDS_ATTENTION"
)
func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
OperationTypeEnum Enum with underlying type: string
type OperationTypeEnum string
Set of constants representing the allowable values for OperationTypeEnum
const (
OperationTypeCreateDatabaseToolsConnection OperationTypeEnum = "CREATE_DATABASE_TOOLS_CONNECTION"
OperationTypeUpdateDatabaseToolsConnection OperationTypeEnum = "UPDATE_DATABASE_TOOLS_CONNECTION"
OperationTypeDeleteDatabaseToolsConnection OperationTypeEnum = "DELETE_DATABASE_TOOLS_CONNECTION"
OperationTypeCreateDatabaseToolsServiceInstance OperationTypeEnum = "CREATE_DATABASE_TOOLS_SERVICE_INSTANCE"
OperationTypeUpdateDatabaseToolsServiceInstance OperationTypeEnum = "UPDATE_DATABASE_TOOLS_SERVICE_INSTANCE"
OperationTypeDeleteDatabaseToolsServiceInstance OperationTypeEnum = "DELETE_DATABASE_TOOLS_SERVICE_INSTANCE"
OperationTypeCreateDatabaseToolsPrivateEndpoint OperationTypeEnum = "CREATE_DATABASE_TOOLS_PRIVATE_ENDPOINT"
OperationTypeUpdateDatabaseToolsPrivateEndpoint OperationTypeEnum = "UPDATE_DATABASE_TOOLS_PRIVATE_ENDPOINT"
OperationTypeDeleteDatabaseToolsPrivateEndpoint OperationTypeEnum = "DELETE_DATABASE_TOOLS_PRIVATE_ENDPOINT"
OperationTypeCreateDatabaseToolsIdentity OperationTypeEnum = "CREATE_DATABASE_TOOLS_IDENTITY"
OperationTypeDeleteDatabaseToolsIdentity OperationTypeEnum = "DELETE_DATABASE_TOOLS_IDENTITY"
OperationTypeUpdateDatabaseToolsIdentity OperationTypeEnum = "UPDATE_DATABASE_TOOLS_IDENTITY"
OperationTypeRefreshDatabaseToolsIdentityCredential OperationTypeEnum = "REFRESH_DATABASE_TOOLS_IDENTITY_CREDENTIAL"
OperationTypeCreateDatabaseToolsMcpServer OperationTypeEnum = "CREATE_DATABASE_TOOLS_MCP_SERVER"
OperationTypeDeleteDatabaseToolsMcpServer OperationTypeEnum = "DELETE_DATABASE_TOOLS_MCP_SERVER"
OperationTypeUpdateDatabaseToolsMcpServer OperationTypeEnum = "UPDATE_DATABASE_TOOLS_MCP_SERVER"
OperationTypeCreateDatabaseToolsMcpToolset OperationTypeEnum = "CREATE_DATABASE_TOOLS_MCP_TOOLSET"
OperationTypeDeleteDatabaseToolsMcpToolset OperationTypeEnum = "DELETE_DATABASE_TOOLS_MCP_TOOLSET"
OperationTypeUpdateDatabaseToolsMcpToolset OperationTypeEnum = "UPDATE_DATABASE_TOOLS_MCP_TOOLSET"
)
func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
ProxyAuthenticationTypeEnum Enum with underlying type: string
type ProxyAuthenticationTypeEnum string
Set of constants representing the allowable values for ProxyAuthenticationTypeEnum
const (
ProxyAuthenticationTypeUserName ProxyAuthenticationTypeEnum = "USER_NAME"
ProxyAuthenticationTypeUserNameAutoDetect ProxyAuthenticationTypeEnum = "USER_NAME_AUTO_DETECT"
ProxyAuthenticationTypeNoProxy ProxyAuthenticationTypeEnum = "NO_PROXY"
)
func GetMappingProxyAuthenticationTypeEnum(val string) (ProxyAuthenticationTypeEnum, bool)
GetMappingProxyAuthenticationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetProxyAuthenticationTypeEnumValues() []ProxyAuthenticationTypeEnum
GetProxyAuthenticationTypeEnumValues Enumerates the set of values for ProxyAuthenticationTypeEnum
RefreshDatabaseToolsIdentityCredentialDetails The Database Tools identity refresh credential details.
type RefreshDatabaseToolsIdentityCredentialDetails interface {
}
RefreshDatabaseToolsIdentityCredentialRequest wrapper for the RefreshDatabaseToolsIdentityCredential operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/RefreshDatabaseToolsIdentityCredential.go.html to see an example of how to use RefreshDatabaseToolsIdentityCredentialRequest.
type RefreshDatabaseToolsIdentityCredentialRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools identity.
DatabaseToolsIdentityId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsIdentityId"`
// Request to refresh Database Tools identity credential.
RefreshDatabaseToolsIdentityCredentialDetails `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"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request RefreshDatabaseToolsIdentityCredentialRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RefreshDatabaseToolsIdentityCredentialRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RefreshDatabaseToolsIdentityCredentialRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RefreshDatabaseToolsIdentityCredentialRequest) String() string
func (request RefreshDatabaseToolsIdentityCredentialRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RefreshDatabaseToolsIdentityCredentialResponse wrapper for the RefreshDatabaseToolsIdentityCredential operation
type RefreshDatabaseToolsIdentityCredentialResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// 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 RefreshDatabaseToolsIdentityCredentialResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RefreshDatabaseToolsIdentityCredentialResponse) String() string
RefreshDatabaseToolsIdentityOracleDatabaseResourcePrincipalCredentialDetails The Database Tools identity refresh credential details for the Oracle Database resource principal identity type.
type RefreshDatabaseToolsIdentityOracleDatabaseResourcePrincipalCredentialDetails struct {
}
func (m RefreshDatabaseToolsIdentityOracleDatabaseResourcePrincipalCredentialDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m RefreshDatabaseToolsIdentityOracleDatabaseResourcePrincipalCredentialDetails) String() string
func (m RefreshDatabaseToolsIdentityOracleDatabaseResourcePrincipalCredentialDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RelatedResourceEntityTypeEnum Enum with underlying type: string
type RelatedResourceEntityTypeEnum string
Set of constants representing the allowable values for RelatedResourceEntityTypeEnum
const (
RelatedResourceEntityTypeAutonomousdatabase RelatedResourceEntityTypeEnum = "AUTONOMOUSDATABASE"
RelatedResourceEntityTypeDatabase RelatedResourceEntityTypeEnum = "DATABASE"
RelatedResourceEntityTypePluggabledatabase RelatedResourceEntityTypeEnum = "PLUGGABLEDATABASE"
)
func GetMappingRelatedResourceEntityTypeEnum(val string) (RelatedResourceEntityTypeEnum, bool)
GetMappingRelatedResourceEntityTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRelatedResourceEntityTypeEnumValues() []RelatedResourceEntityTypeEnum
GetRelatedResourceEntityTypeEnumValues Enumerates the set of values for RelatedResourceEntityTypeEnum
RelatedResourceEntityTypeMySqlEnum Enum with underlying type: string
type RelatedResourceEntityTypeMySqlEnum string
Set of constants representing the allowable values for RelatedResourceEntityTypeMySqlEnum
const (
RelatedResourceEntityTypeMySqlMysqldbsystem RelatedResourceEntityTypeMySqlEnum = "MYSQLDBSYSTEM"
)
func GetMappingRelatedResourceEntityTypeMySqlEnum(val string) (RelatedResourceEntityTypeMySqlEnum, bool)
GetMappingRelatedResourceEntityTypeMySqlEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRelatedResourceEntityTypeMySqlEnumValues() []RelatedResourceEntityTypeMySqlEnum
GetRelatedResourceEntityTypeMySqlEnumValues Enumerates the set of values for RelatedResourceEntityTypeMySqlEnum
RelatedResourceEntityTypePostgresqlEnum Enum with underlying type: string
type RelatedResourceEntityTypePostgresqlEnum string
Set of constants representing the allowable values for RelatedResourceEntityTypePostgresqlEnum
const (
RelatedResourceEntityTypePostgresqlPostgresqldbsystem RelatedResourceEntityTypePostgresqlEnum = "POSTGRESQLDBSYSTEM"
)
func GetMappingRelatedResourceEntityTypePostgresqlEnum(val string) (RelatedResourceEntityTypePostgresqlEnum, bool)
GetMappingRelatedResourceEntityTypePostgresqlEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRelatedResourceEntityTypePostgresqlEnumValues() []RelatedResourceEntityTypePostgresqlEnum
GetRelatedResourceEntityTypePostgresqlEnumValues Enumerates the set of values for RelatedResourceEntityTypePostgresqlEnum
RemoveDatabaseToolsConnectionLockRequest wrapper for the RemoveDatabaseToolsConnectionLock operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/RemoveDatabaseToolsConnectionLock.go.html to see an example of how to use RemoveDatabaseToolsConnectionLockRequest.
type RemoveDatabaseToolsConnectionLockRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools connection.
DatabaseToolsConnectionId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsConnectionId"`
// RemoveResourceLockDetails body parameter
RemoveResourceLockDetails `contributesTo:"body"`
// Unique identifier for the request.
// If you need to contact Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
// parameter to the value of the etag from a previous GET or POST response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request RemoveDatabaseToolsConnectionLockRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RemoveDatabaseToolsConnectionLockRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RemoveDatabaseToolsConnectionLockRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RemoveDatabaseToolsConnectionLockRequest) String() string
func (request RemoveDatabaseToolsConnectionLockRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RemoveDatabaseToolsConnectionLockResponse wrapper for the RemoveDatabaseToolsConnectionLock operation
type RemoveDatabaseToolsConnectionLockResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsConnection instance
DatabaseToolsConnection `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"`
// etag for the returned DatabaseToolsConnection resource.
Etag *string `presentIn:"header" name:"etag"`
}
func (response RemoveDatabaseToolsConnectionLockResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RemoveDatabaseToolsConnectionLockResponse) String() string
RemoveDatabaseToolsDatabaseApiGatewayConfigLockRequest wrapper for the RemoveDatabaseToolsDatabaseApiGatewayConfigLock operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/RemoveDatabaseToolsDatabaseApiGatewayConfigLock.go.html to see an example of how to use RemoveDatabaseToolsDatabaseApiGatewayConfigLockRequest.
type RemoveDatabaseToolsDatabaseApiGatewayConfigLockRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools database API gateway config.
DatabaseToolsDatabaseApiGatewayConfigId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsDatabaseApiGatewayConfigId"`
// RemoveResourceLockDetails body parameter
RemoveResourceLockDetails `contributesTo:"body"`
// Unique identifier for the request.
// If you need to contact Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
// parameter to the value of the etag from a previous GET or POST response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request RemoveDatabaseToolsDatabaseApiGatewayConfigLockRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RemoveDatabaseToolsDatabaseApiGatewayConfigLockRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RemoveDatabaseToolsDatabaseApiGatewayConfigLockRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RemoveDatabaseToolsDatabaseApiGatewayConfigLockRequest) String() string
func (request RemoveDatabaseToolsDatabaseApiGatewayConfigLockRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RemoveDatabaseToolsDatabaseApiGatewayConfigLockResponse wrapper for the RemoveDatabaseToolsDatabaseApiGatewayConfigLock operation
type RemoveDatabaseToolsDatabaseApiGatewayConfigLockResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsDatabaseApiGatewayConfig instance
DatabaseToolsDatabaseApiGatewayConfig `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"`
// etag for the returned DatabaseToolsDatabaseApiGatewayConfig resource.
Etag *string `presentIn:"header" name:"etag"`
}
func (response RemoveDatabaseToolsDatabaseApiGatewayConfigLockResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RemoveDatabaseToolsDatabaseApiGatewayConfigLockResponse) String() string
RemoveDatabaseToolsIdentityLockRequest wrapper for the RemoveDatabaseToolsIdentityLock operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/RemoveDatabaseToolsIdentityLock.go.html to see an example of how to use RemoveDatabaseToolsIdentityLockRequest.
type RemoveDatabaseToolsIdentityLockRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools identity.
DatabaseToolsIdentityId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsIdentityId"`
// RemoveResourceLockDetails body parameter
RemoveResourceLockDetails `contributesTo:"body"`
// Unique identifier for the request.
// If you need to contact Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
// parameter to the value of the etag from a previous GET or POST response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request RemoveDatabaseToolsIdentityLockRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RemoveDatabaseToolsIdentityLockRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RemoveDatabaseToolsIdentityLockRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RemoveDatabaseToolsIdentityLockRequest) String() string
func (request RemoveDatabaseToolsIdentityLockRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RemoveDatabaseToolsIdentityLockResponse wrapper for the RemoveDatabaseToolsIdentityLock operation
type RemoveDatabaseToolsIdentityLockResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsIdentity instance
DatabaseToolsIdentity `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"`
// etag for the returned DatabaseToolsIdentity resource.
Etag *string `presentIn:"header" name:"etag"`
}
func (response RemoveDatabaseToolsIdentityLockResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RemoveDatabaseToolsIdentityLockResponse) String() string
RemoveDatabaseToolsMcpServerLockRequest wrapper for the RemoveDatabaseToolsMcpServerLock operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/RemoveDatabaseToolsMcpServerLock.go.html to see an example of how to use RemoveDatabaseToolsMcpServerLockRequest.
type RemoveDatabaseToolsMcpServerLockRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools MCP server.
DatabaseToolsMcpServerId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsMcpServerId"`
// RemoveResourceLockDetails body parameter
RemoveResourceLockDetails `contributesTo:"body"`
// Unique identifier for the request.
// If you need to contact Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
// parameter to the value of the etag from a previous GET or POST response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request RemoveDatabaseToolsMcpServerLockRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RemoveDatabaseToolsMcpServerLockRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RemoveDatabaseToolsMcpServerLockRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RemoveDatabaseToolsMcpServerLockRequest) String() string
func (request RemoveDatabaseToolsMcpServerLockRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RemoveDatabaseToolsMcpServerLockResponse wrapper for the RemoveDatabaseToolsMcpServerLock operation
type RemoveDatabaseToolsMcpServerLockResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsMcpServer instance
DatabaseToolsMcpServer `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"`
// etag for the returned DatabaseToolsMcpServer resource.
Etag *string `presentIn:"header" name:"etag"`
}
func (response RemoveDatabaseToolsMcpServerLockResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RemoveDatabaseToolsMcpServerLockResponse) String() string
RemoveDatabaseToolsMcpToolsetLockRequest wrapper for the RemoveDatabaseToolsMcpToolsetLock operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/RemoveDatabaseToolsMcpToolsetLock.go.html to see an example of how to use RemoveDatabaseToolsMcpToolsetLockRequest.
type RemoveDatabaseToolsMcpToolsetLockRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools MCP Toolset.
DatabaseToolsMcpToolsetId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsMcpToolsetId"`
// RemoveResourceLockDetails body parameter
RemoveResourceLockDetails `contributesTo:"body"`
// Unique identifier for the request.
// If you need to contact Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
// parameter to the value of the etag from a previous GET or POST response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request RemoveDatabaseToolsMcpToolsetLockRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RemoveDatabaseToolsMcpToolsetLockRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RemoveDatabaseToolsMcpToolsetLockRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RemoveDatabaseToolsMcpToolsetLockRequest) String() string
func (request RemoveDatabaseToolsMcpToolsetLockRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RemoveDatabaseToolsMcpToolsetLockResponse wrapper for the RemoveDatabaseToolsMcpToolsetLock operation
type RemoveDatabaseToolsMcpToolsetLockResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsMcpToolset instance
DatabaseToolsMcpToolset `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"`
// etag for the returned DatabaseToolsMcpToolset resource.
Etag *string `presentIn:"header" name:"etag"`
}
func (response RemoveDatabaseToolsMcpToolsetLockResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RemoveDatabaseToolsMcpToolsetLockResponse) String() string
RemoveDatabaseToolsPrivateEndpointLockRequest wrapper for the RemoveDatabaseToolsPrivateEndpointLock operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/RemoveDatabaseToolsPrivateEndpointLock.go.html to see an example of how to use RemoveDatabaseToolsPrivateEndpointLockRequest.
type RemoveDatabaseToolsPrivateEndpointLockRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools private endpoint.
DatabaseToolsPrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsPrivateEndpointId"`
// RemoveResourceLockDetails body parameter
RemoveResourceLockDetails `contributesTo:"body"`
// Unique identifier for the request.
// If you need to contact Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
// parameter to the value of the etag from a previous GET or POST response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request RemoveDatabaseToolsPrivateEndpointLockRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RemoveDatabaseToolsPrivateEndpointLockRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RemoveDatabaseToolsPrivateEndpointLockRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RemoveDatabaseToolsPrivateEndpointLockRequest) String() string
func (request RemoveDatabaseToolsPrivateEndpointLockRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RemoveDatabaseToolsPrivateEndpointLockResponse wrapper for the RemoveDatabaseToolsPrivateEndpointLock operation
type RemoveDatabaseToolsPrivateEndpointLockResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsPrivateEndpoint instance
DatabaseToolsPrivateEndpoint `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"`
// etag for the returned DatabaseToolsPrivateEndpoint resource.
Etag *string `presentIn:"header" name:"etag"`
}
func (response RemoveDatabaseToolsPrivateEndpointLockResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RemoveDatabaseToolsPrivateEndpointLockResponse) String() string
RemoveDatabaseToolsSqlReportLockRequest wrapper for the RemoveDatabaseToolsSqlReportLock operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/RemoveDatabaseToolsSqlReportLock.go.html to see an example of how to use RemoveDatabaseToolsSqlReportLockRequest.
type RemoveDatabaseToolsSqlReportLockRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools SQL Report.
DatabaseToolsSqlReportId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsSqlReportId"`
// RemoveResourceLockDetails body parameter
RemoveResourceLockDetails `contributesTo:"body"`
// Unique identifier for the request.
// If you need to contact Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
// parameter to the value of the etag from a previous GET or POST response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request RemoveDatabaseToolsSqlReportLockRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RemoveDatabaseToolsSqlReportLockRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RemoveDatabaseToolsSqlReportLockRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RemoveDatabaseToolsSqlReportLockRequest) String() string
func (request RemoveDatabaseToolsSqlReportLockRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RemoveDatabaseToolsSqlReportLockResponse wrapper for the RemoveDatabaseToolsSqlReportLock operation
type RemoveDatabaseToolsSqlReportLockResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsSqlReport instance
DatabaseToolsSqlReport `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"`
// etag for the returned DatabaseToolsSqlReport resource.
Etag *string `presentIn:"header" name:"etag"`
}
func (response RemoveDatabaseToolsSqlReportLockResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RemoveDatabaseToolsSqlReportLockResponse) String() string
RemoveResourceLockDetails The representation of RemoveResourceLockDetails
type RemoveResourceLockDetails struct {
// Type of the lock.
Type RemoveResourceLockDetailsTypeEnum `mandatory:"true" json:"type"`
// The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
RelatedResourceId *string `mandatory:"false" json:"relatedResourceId"`
// A message added by the creator of the lock. This is typically used to give an
// indication of why the resource is locked.
Message *string `mandatory:"false" json:"message"`
// When the lock was created.
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}
func (m RemoveResourceLockDetails) String() string
func (m RemoveResourceLockDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RemoveResourceLockDetailsTypeEnum Enum with underlying type: string
type RemoveResourceLockDetailsTypeEnum string
Set of constants representing the allowable values for RemoveResourceLockDetailsTypeEnum
const (
RemoveResourceLockDetailsTypeFull RemoveResourceLockDetailsTypeEnum = "FULL"
RemoveResourceLockDetailsTypeDelete RemoveResourceLockDetailsTypeEnum = "DELETE"
)
func GetMappingRemoveResourceLockDetailsTypeEnum(val string) (RemoveResourceLockDetailsTypeEnum, bool)
GetMappingRemoveResourceLockDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRemoveResourceLockDetailsTypeEnumValues() []RemoveResourceLockDetailsTypeEnum
GetRemoveResourceLockDetailsTypeEnumValues Enumerates the set of values for RemoveResourceLockDetailsTypeEnum
ResourceLock Resource locks are used to prevent certain APIs from being called for the resource. A full lock prevents both updating the resource and deleting the resource. A delete lock prevents deleting the resource.
type ResourceLock struct {
// Type of the lock.
Type ResourceLockTypeEnum `mandatory:"true" json:"type"`
// The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
RelatedResourceId *string `mandatory:"false" json:"relatedResourceId"`
// A message added by the creator of the lock. This is typically used to give an
// indication of why the resource is locked.
Message *string `mandatory:"false" json:"message"`
// When the lock was created.
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}
func (m ResourceLock) String() string
func (m ResourceLock) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ResourceLockTypeEnum Enum with underlying type: string
type ResourceLockTypeEnum string
Set of constants representing the allowable values for ResourceLockTypeEnum
const (
ResourceLockTypeFull ResourceLockTypeEnum = "FULL"
ResourceLockTypeDelete ResourceLockTypeEnum = "DELETE"
)
func GetMappingResourceLockTypeEnum(val string) (ResourceLockTypeEnum, bool)
GetMappingResourceLockTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetResourceLockTypeEnumValues() []ResourceLockTypeEnum
GetResourceLockTypeEnumValues Enumerates the set of values for ResourceLockTypeEnum
RuntimeIdentityEnum Enum with underlying type: string
type RuntimeIdentityEnum string
Set of constants representing the allowable values for RuntimeIdentityEnum
const (
RuntimeIdentityAuthenticatedPrincipal RuntimeIdentityEnum = "AUTHENTICATED_PRINCIPAL"
RuntimeIdentityResourcePrincipal RuntimeIdentityEnum = "RESOURCE_PRINCIPAL"
)
func GetMappingRuntimeIdentityEnum(val string) (RuntimeIdentityEnum, bool)
GetMappingRuntimeIdentityEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRuntimeIdentityEnumValues() []RuntimeIdentityEnum
GetRuntimeIdentityEnumValues Enumerates the set of values for RuntimeIdentityEnum
RuntimeSupportEnum Enum with underlying type: string
type RuntimeSupportEnum string
Set of constants representing the allowable values for RuntimeSupportEnum
const (
RuntimeSupportSupported RuntimeSupportEnum = "SUPPORTED"
RuntimeSupportUnsupported RuntimeSupportEnum = "UNSUPPORTED"
)
func GetMappingRuntimeSupportEnum(val string) (RuntimeSupportEnum, bool)
GetMappingRuntimeSupportEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRuntimeSupportEnumValues() []RuntimeSupportEnum
GetRuntimeSupportEnumValues Enumerates the set of values for RuntimeSupportEnum
SortOrderEnum Enum with underlying type: string
type SortOrderEnum string
Set of constants representing the allowable values for SortOrderEnum
const (
SortOrderAsc SortOrderEnum = "ASC"
SortOrderDesc SortOrderEnum = "DESC"
)
func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
UpdateDatabaseToolsConnectionDetails The information to be updated.
type UpdateDatabaseToolsConnectionDetails interface {
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
GetDisplayName() *string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
}
UpdateDatabaseToolsConnectionGenericJdbcDetails The update details for a Database Tools Generic JDBC database system connection.
type UpdateDatabaseToolsConnectionGenericJdbcDetails struct {
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"false" json:"displayName"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// The JDBC URL used to connect to the Generic JDBC database system.
Url *string `mandatory:"false" json:"url"`
// The database user name.
UserName *string `mandatory:"false" json:"userName"`
UserPassword DatabaseToolsUserPasswordDetails `mandatory:"false" json:"userPassword"`
// The advanced connection properties key-value pair.
AdvancedProperties map[string]string `mandatory:"false" json:"advancedProperties"`
// The CA certificate to verify the server's certificate and
// the client private key and associated certificate required for client authentication.
KeyStores []DatabaseToolsKeyStoreGenericJdbcDetails `mandatory:"false" json:"keyStores"`
}
func (m UpdateDatabaseToolsConnectionGenericJdbcDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateDatabaseToolsConnectionGenericJdbcDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateDatabaseToolsConnectionGenericJdbcDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateDatabaseToolsConnectionGenericJdbcDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateDatabaseToolsConnectionGenericJdbcDetails) String() string
func (m *UpdateDatabaseToolsConnectionGenericJdbcDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateDatabaseToolsConnectionGenericJdbcDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsConnectionMySqlDetails The update details for a Database Tools MySQL Server connection.
type UpdateDatabaseToolsConnectionMySqlDetails struct {
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"false" json:"displayName"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
RelatedResource *UpdateDatabaseToolsRelatedResourceMySqlDetails `mandatory:"false" json:"relatedResource"`
// The connection string used to connect to the MySQL Server.
ConnectionString *string `mandatory:"false" json:"connectionString"`
// The database user name.
UserName *string `mandatory:"false" json:"userName"`
UserPassword DatabaseToolsUserPasswordDetails `mandatory:"false" json:"userPassword"`
// The advanced connection properties key-value pair (e.g., `sslMode`).
AdvancedProperties map[string]string `mandatory:"false" json:"advancedProperties"`
// The CA certificate to verify the server's certificate and
// the client private key and associated certificate required for client authentication.
KeyStores []DatabaseToolsKeyStoreMySqlDetails `mandatory:"false" json:"keyStores"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools private endpoint used to access the database in the Customer VCN.
PrivateEndpointId *string `mandatory:"false" json:"privateEndpointId"`
}
func (m UpdateDatabaseToolsConnectionMySqlDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateDatabaseToolsConnectionMySqlDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateDatabaseToolsConnectionMySqlDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateDatabaseToolsConnectionMySqlDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateDatabaseToolsConnectionMySqlDetails) String() string
func (m *UpdateDatabaseToolsConnectionMySqlDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateDatabaseToolsConnectionMySqlDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsConnectionOracleDatabaseDetails The update details for a Database Tools Oracle Database connection.
type UpdateDatabaseToolsConnectionOracleDatabaseDetails struct {
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"false" json:"displayName"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
RelatedResource *UpdateDatabaseToolsRelatedResourceDetails `mandatory:"false" json:"relatedResource"`
// The connect descriptor or Easy Connect Naming method used to connect to the database.
ConnectionString *string `mandatory:"false" json:"connectionString"`
// The database user name.
UserName *string `mandatory:"false" json:"userName"`
UserPassword DatabaseToolsUserPasswordDetails `mandatory:"false" json:"userPassword"`
// The advanced connection properties key-value pair (e.g., `oracle.net.ssl_server_dn_match`).
AdvancedProperties map[string]string `mandatory:"false" json:"advancedProperties"`
// Oracle wallet or Java Keystores containing trusted certificates for authenticating the server's public certificate and
// the client private key and associated certificates required for client authentication.
KeyStores []DatabaseToolsKeyStoreDetails `mandatory:"false" json:"keyStores"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools private endpoint used to access the database in the Customer VCN.
PrivateEndpointId *string `mandatory:"false" json:"privateEndpointId"`
ProxyClient DatabaseToolsConnectionOracleDatabaseProxyClientDetails `mandatory:"false" json:"proxyClient"`
}
func (m UpdateDatabaseToolsConnectionOracleDatabaseDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateDatabaseToolsConnectionOracleDatabaseDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateDatabaseToolsConnectionOracleDatabaseDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateDatabaseToolsConnectionOracleDatabaseDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateDatabaseToolsConnectionOracleDatabaseDetails) String() string
func (m *UpdateDatabaseToolsConnectionOracleDatabaseDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateDatabaseToolsConnectionOracleDatabaseDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsConnectionPostgresqlDetails The update details for a Database Tools PostgreSQL Server connection.
type UpdateDatabaseToolsConnectionPostgresqlDetails struct {
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"false" json:"displayName"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
RelatedResource *UpdateDatabaseToolsRelatedResourcePostgresqlDetails `mandatory:"false" json:"relatedResource"`
// The connection string used to connect to the PostgreSQL Server.
ConnectionString *string `mandatory:"false" json:"connectionString"`
// The database user name.
UserName *string `mandatory:"false" json:"userName"`
UserPassword DatabaseToolsUserPasswordDetails `mandatory:"false" json:"userPassword"`
// The advanced connection properties key-value pair (e.g., `sslMode`).
AdvancedProperties map[string]string `mandatory:"false" json:"advancedProperties"`
// The CA certificate to verify the server's certificate and
// the client private key and associated certificate required for client authentication.
KeyStores []DatabaseToolsKeyStorePostgresqlDetails `mandatory:"false" json:"keyStores"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools private endpoint used to access the database in the Customer VCN.
PrivateEndpointId *string `mandatory:"false" json:"privateEndpointId"`
}
func (m UpdateDatabaseToolsConnectionPostgresqlDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateDatabaseToolsConnectionPostgresqlDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateDatabaseToolsConnectionPostgresqlDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateDatabaseToolsConnectionPostgresqlDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateDatabaseToolsConnectionPostgresqlDetails) String() string
func (m *UpdateDatabaseToolsConnectionPostgresqlDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateDatabaseToolsConnectionPostgresqlDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsConnectionRequest wrapper for the UpdateDatabaseToolsConnection operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/UpdateDatabaseToolsConnection.go.html to see an example of how to use UpdateDatabaseToolsConnectionRequest.
type UpdateDatabaseToolsConnectionRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools connection.
DatabaseToolsConnectionId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsConnectionId"`
// The information to be updated.
UpdateDatabaseToolsConnectionDetails `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"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Whether to override locks (if any exist).
IsLockOverride *bool `mandatory:"false" contributesTo:"query" name:"isLockOverride"`
// 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 UpdateDatabaseToolsConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDatabaseToolsConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDatabaseToolsConnectionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDatabaseToolsConnectionRequest) String() string
func (request UpdateDatabaseToolsConnectionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsConnectionResponse wrapper for the UpdateDatabaseToolsConnection operation
type UpdateDatabaseToolsConnectionResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// 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 UpdateDatabaseToolsConnectionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDatabaseToolsConnectionResponse) String() string
UpdateDatabaseToolsDatabaseApiGatewayConfigDefaultDetails Database Tools database API gateway config information to be updated for the default type.
type UpdateDatabaseToolsDatabaseApiGatewayConfigDefaultDetails struct {
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"false" json:"displayName"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigDefaultDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigDefaultDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigDefaultDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigDefaultDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigDefaultDetails) String() string
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigDefaultDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsDatabaseApiGatewayConfigDetails Database Tools database API gateway config information to be updated.
type UpdateDatabaseToolsDatabaseApiGatewayConfigDetails interface {
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
GetDisplayName() *string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
}
UpdateDatabaseToolsDatabaseApiGatewayConfigRequest wrapper for the UpdateDatabaseToolsDatabaseApiGatewayConfig operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/UpdateDatabaseToolsDatabaseApiGatewayConfig.go.html to see an example of how to use UpdateDatabaseToolsDatabaseApiGatewayConfigRequest.
type UpdateDatabaseToolsDatabaseApiGatewayConfigRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools database API gateway config.
DatabaseToolsDatabaseApiGatewayConfigId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsDatabaseApiGatewayConfigId"`
// The information to be updated.
UpdateDatabaseToolsDatabaseApiGatewayConfigDetails `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"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Whether to override locks (if any exist).
IsLockOverride *bool `mandatory:"false" contributesTo:"query" name:"isLockOverride"`
// 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 UpdateDatabaseToolsDatabaseApiGatewayConfigRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDatabaseToolsDatabaseApiGatewayConfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDatabaseToolsDatabaseApiGatewayConfigRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDatabaseToolsDatabaseApiGatewayConfigRequest) String() string
func (request UpdateDatabaseToolsDatabaseApiGatewayConfigRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsDatabaseApiGatewayConfigResponse wrapper for the UpdateDatabaseToolsDatabaseApiGatewayConfig operation
type UpdateDatabaseToolsDatabaseApiGatewayConfigResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsDatabaseApiGatewayConfig instance
DatabaseToolsDatabaseApiGatewayConfig `presentIn:"body"`
// For optimistic concurrency control. See `if-match`.
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 UpdateDatabaseToolsDatabaseApiGatewayConfigResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDatabaseToolsDatabaseApiGatewayConfigResponse) String() string
UpdateDatabaseToolsIdentityDetails Database Tools identity information to be updated.
type UpdateDatabaseToolsIdentityDetails interface {
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
GetDisplayName() *string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
}
UpdateDatabaseToolsIdentityOracleDatabaseResourcePrincipalDetails Database Tools identity information to be updated for the Oracle Database resource principal identity type.
type UpdateDatabaseToolsIdentityOracleDatabaseResourcePrincipalDetails struct {
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
DisplayName *string `mandatory:"false" json:"displayName"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}
func (m UpdateDatabaseToolsIdentityOracleDatabaseResourcePrincipalDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateDatabaseToolsIdentityOracleDatabaseResourcePrincipalDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateDatabaseToolsIdentityOracleDatabaseResourcePrincipalDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateDatabaseToolsIdentityOracleDatabaseResourcePrincipalDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateDatabaseToolsIdentityOracleDatabaseResourcePrincipalDetails) String() string
func (m UpdateDatabaseToolsIdentityOracleDatabaseResourcePrincipalDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsIdentityRequest wrapper for the UpdateDatabaseToolsIdentity operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/UpdateDatabaseToolsIdentity.go.html to see an example of how to use UpdateDatabaseToolsIdentityRequest.
type UpdateDatabaseToolsIdentityRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools identity.
DatabaseToolsIdentityId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsIdentityId"`
// The information to be updated.
UpdateDatabaseToolsIdentityDetails `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"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Whether to override locks (if any exist).
IsLockOverride *bool `mandatory:"false" contributesTo:"query" name:"isLockOverride"`
// 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 UpdateDatabaseToolsIdentityRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDatabaseToolsIdentityRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDatabaseToolsIdentityRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDatabaseToolsIdentityRequest) String() string
func (request UpdateDatabaseToolsIdentityRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsIdentityResponse wrapper for the UpdateDatabaseToolsIdentity operation
type UpdateDatabaseToolsIdentityResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// 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 UpdateDatabaseToolsIdentityResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDatabaseToolsIdentityResponse) String() string
UpdateDatabaseToolsMcpServerDetails Database Tools MCP server information to be updated.
type UpdateDatabaseToolsMcpServerDetails interface {
// A meaningful, human-readable label displayed to end users. Not required to be unique and can be changed after creation. Do not include confidential information.
GetDisplayName() *string
// A human-readable description of the Database Tools MCP server.
GetDescription() *string
// Custom roles associated with the MCP Server.
GetCustomRoles() []DatabaseToolsMcpServerCustomRole
// Access token expiry in seconds
GetAccessTokenExpiryInSeconds() *int
// Refresh token expiry in seconds
GetRefreshTokenExpiryInSeconds() *int
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
}
UpdateDatabaseToolsMcpServerDetailsDefault Database Tools MCP server information to be updated for the default type.
type UpdateDatabaseToolsMcpServerDetailsDefault struct {
// A meaningful, human-readable label displayed to end users. Not required to be unique and can be changed after creation. Do not include confidential information.
DisplayName *string `mandatory:"false" json:"displayName"`
// A human-readable description of the Database Tools MCP server.
Description *string `mandatory:"false" json:"description"`
// Custom roles associated with the MCP Server.
CustomRoles []DatabaseToolsMcpServerCustomRole `mandatory:"false" json:"customRoles"`
// Access token expiry in seconds
AccessTokenExpiryInSeconds *int `mandatory:"false" json:"accessTokenExpiryInSeconds"`
// Refresh token expiry in seconds
RefreshTokenExpiryInSeconds *int `mandatory:"false" json:"refreshTokenExpiryInSeconds"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
Storage DatabaseToolsMcpServerStorage `mandatory:"false" json:"storage"`
}
func (m UpdateDatabaseToolsMcpServerDetailsDefault) GetAccessTokenExpiryInSeconds() *int
GetAccessTokenExpiryInSeconds returns AccessTokenExpiryInSeconds
func (m UpdateDatabaseToolsMcpServerDetailsDefault) GetCustomRoles() []DatabaseToolsMcpServerCustomRole
GetCustomRoles returns CustomRoles
func (m UpdateDatabaseToolsMcpServerDetailsDefault) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateDatabaseToolsMcpServerDetailsDefault) GetDescription() *string
GetDescription returns Description
func (m UpdateDatabaseToolsMcpServerDetailsDefault) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateDatabaseToolsMcpServerDetailsDefault) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateDatabaseToolsMcpServerDetailsDefault) GetRefreshTokenExpiryInSeconds() *int
GetRefreshTokenExpiryInSeconds returns RefreshTokenExpiryInSeconds
func (m UpdateDatabaseToolsMcpServerDetailsDefault) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateDatabaseToolsMcpServerDetailsDefault) String() string
func (m *UpdateDatabaseToolsMcpServerDetailsDefault) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateDatabaseToolsMcpServerDetailsDefault) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsMcpServerRequest wrapper for the UpdateDatabaseToolsMcpServer operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/UpdateDatabaseToolsMcpServer.go.html to see an example of how to use UpdateDatabaseToolsMcpServerRequest.
type UpdateDatabaseToolsMcpServerRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools MCP server.
DatabaseToolsMcpServerId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsMcpServerId"`
// The information to be updated.
UpdateDatabaseToolsMcpServerDetails `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"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Whether to override locks (if any exist).
IsLockOverride *bool `mandatory:"false" contributesTo:"query" name:"isLockOverride"`
// 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 UpdateDatabaseToolsMcpServerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDatabaseToolsMcpServerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDatabaseToolsMcpServerRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDatabaseToolsMcpServerRequest) String() string
func (request UpdateDatabaseToolsMcpServerRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsMcpServerResponse wrapper for the UpdateDatabaseToolsMcpServer operation
type UpdateDatabaseToolsMcpServerResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// 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 UpdateDatabaseToolsMcpServerResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDatabaseToolsMcpServerResponse) String() string
UpdateDatabaseToolsMcpToolsetBuiltInSqlToolsDetails Database Tools MCP Toolset information to be updated for the Built-in SQL tools type.
type UpdateDatabaseToolsMcpToolsetBuiltInSqlToolsDetails struct {
// The MCP toolset version
Version *int `mandatory:"false" json:"version"`
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
DisplayName *string `mandatory:"false" json:"displayName"`
// A human readable description of the Database Tools MCP toolset.
Description *string `mandatory:"false" json:"description"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// List of Database Tools BUILT_IN_SQL_TOOLS toolset tool configurations
Tools []UpdateDatabaseToolsMcpToolsetToolDetails `mandatory:"false" json:"tools"`
// The default execution type for the toolset. The default value is SYNCHRONOUS.
// To use ASYNCHRONOUS execution, the MCP Server must have the storage property configured.
DefaultExecutionType DatabaseToolsMcpToolsetDefaultExecutionTypeEnum `mandatory:"false" json:"defaultExecutionType,omitempty"`
}
func (m UpdateDatabaseToolsMcpToolsetBuiltInSqlToolsDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateDatabaseToolsMcpToolsetBuiltInSqlToolsDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateDatabaseToolsMcpToolsetBuiltInSqlToolsDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateDatabaseToolsMcpToolsetBuiltInSqlToolsDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateDatabaseToolsMcpToolsetBuiltInSqlToolsDetails) GetVersion() *int
GetVersion returns Version
func (m UpdateDatabaseToolsMcpToolsetBuiltInSqlToolsDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateDatabaseToolsMcpToolsetBuiltInSqlToolsDetails) String() string
func (m UpdateDatabaseToolsMcpToolsetBuiltInSqlToolsDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsMcpToolsetCustomSqlToolDetails Database Tools MCP Toolset information to be updated for the CUSTOM_SQL_TOOL type.
type UpdateDatabaseToolsMcpToolsetCustomSqlToolDetails struct {
// The MCP toolset version
Version *int `mandatory:"false" json:"version"`
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
DisplayName *string `mandatory:"false" json:"displayName"`
// A human readable description of the Database Tools MCP toolset.
Description *string `mandatory:"false" json:"description"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Instructions describing how to use the MCP toolset and its features. This can be used to improve the LLM's understanding of the tool.
ToolDescription *string `mandatory:"false" json:"toolDescription"`
// Name of the tool returned by the MCP Server
ToolName *string `mandatory:"false" json:"toolName"`
Source *DatabaseToolsCustomSqlToolToolsetSource `mandatory:"false" json:"source"`
// The variables to use with the query
Variables []DatabaseToolsMcpToolsetCustomSqlToolVariable `mandatory:"false" json:"variables"`
// The roles granted access to the MCP tool generated by this toolset
AllowedRoles []string `mandatory:"false" json:"allowedRoles"`
// The default execution type for the toolset. The default value is SYNCHRONOUS.
// To use ASYNCHRONOUS execution, the MCP Server must have the storage property configured.
DefaultExecutionType DatabaseToolsMcpToolsetDefaultExecutionTypeEnum `mandatory:"false" json:"defaultExecutionType,omitempty"`
}
func (m UpdateDatabaseToolsMcpToolsetCustomSqlToolDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateDatabaseToolsMcpToolsetCustomSqlToolDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateDatabaseToolsMcpToolsetCustomSqlToolDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateDatabaseToolsMcpToolsetCustomSqlToolDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateDatabaseToolsMcpToolsetCustomSqlToolDetails) GetVersion() *int
GetVersion returns Version
func (m UpdateDatabaseToolsMcpToolsetCustomSqlToolDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateDatabaseToolsMcpToolsetCustomSqlToolDetails) String() string
func (m UpdateDatabaseToolsMcpToolsetCustomSqlToolDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsMcpToolsetCustomizableReportingToolsDetails Database Tools MCP Toolset information to be updated for the Customizable reporting tools type.
type UpdateDatabaseToolsMcpToolsetCustomizableReportingToolsDetails struct {
// The MCP toolset version
Version *int `mandatory:"false" json:"version"`
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
DisplayName *string `mandatory:"false" json:"displayName"`
// A human readable description of the Database Tools MCP toolset.
Description *string `mandatory:"false" json:"description"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// List of Database Tools SQL Reports
Reports []DatabaseToolsMcpToolsetCustomizableReportingToolsReport `mandatory:"false" json:"reports"`
// List of Database Tools CUSTOMIZABLE_REPORTING_TOOLS toolset tool configurations
Tools []UpdateDatabaseToolsMcpToolsetToolDetails `mandatory:"false" json:"tools"`
// The default execution type for the toolset. The default value is SYNCHRONOUS.
// To use ASYNCHRONOUS execution, the MCP Server must have the storage property configured.
DefaultExecutionType DatabaseToolsMcpToolsetDefaultExecutionTypeEnum `mandatory:"false" json:"defaultExecutionType,omitempty"`
}
func (m UpdateDatabaseToolsMcpToolsetCustomizableReportingToolsDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateDatabaseToolsMcpToolsetCustomizableReportingToolsDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateDatabaseToolsMcpToolsetCustomizableReportingToolsDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateDatabaseToolsMcpToolsetCustomizableReportingToolsDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateDatabaseToolsMcpToolsetCustomizableReportingToolsDetails) GetVersion() *int
GetVersion returns Version
func (m UpdateDatabaseToolsMcpToolsetCustomizableReportingToolsDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateDatabaseToolsMcpToolsetCustomizableReportingToolsDetails) String() string
func (m UpdateDatabaseToolsMcpToolsetCustomizableReportingToolsDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsMcpToolsetDetails Database Tools MCP Toolset information to be updated.
type UpdateDatabaseToolsMcpToolsetDetails interface {
// The MCP toolset version
GetVersion() *int
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
GetDisplayName() *string
// A human readable description of the Database Tools MCP toolset.
GetDescription() *string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
}
UpdateDatabaseToolsMcpToolsetGenAiSqlAssistantDetails Database Tools MCP Toolset information to be updated for the GenAI SQL Assistant type.
type UpdateDatabaseToolsMcpToolsetGenAiSqlAssistantDetails struct {
// The MCP toolset version
Version *int `mandatory:"false" json:"version"`
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
DisplayName *string `mandatory:"false" json:"displayName"`
// A human readable description of the Database Tools MCP toolset.
Description *string `mandatory:"false" json:"description"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Generative AI Semantic Store.
GenerativeAiSemanticStoreId *string `mandatory:"false" json:"generativeAiSemanticStoreId"`
// List of Database Tools GENAI_SQL_ASSISTANT toolset tool configurations
Tools []UpdateDatabaseToolsMcpToolsetToolDetails `mandatory:"false" json:"tools"`
// The default execution type for the toolset. The default value is SYNCHRONOUS.
// To use ASYNCHRONOUS execution, the MCP Server must have the storage property configured.
DefaultExecutionType DatabaseToolsMcpToolsetDefaultExecutionTypeEnum `mandatory:"false" json:"defaultExecutionType,omitempty"`
}
func (m UpdateDatabaseToolsMcpToolsetGenAiSqlAssistantDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateDatabaseToolsMcpToolsetGenAiSqlAssistantDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateDatabaseToolsMcpToolsetGenAiSqlAssistantDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateDatabaseToolsMcpToolsetGenAiSqlAssistantDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateDatabaseToolsMcpToolsetGenAiSqlAssistantDetails) GetVersion() *int
GetVersion returns Version
func (m UpdateDatabaseToolsMcpToolsetGenAiSqlAssistantDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateDatabaseToolsMcpToolsetGenAiSqlAssistantDetails) String() string
func (m UpdateDatabaseToolsMcpToolsetGenAiSqlAssistantDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsMcpToolsetRequest wrapper for the UpdateDatabaseToolsMcpToolset operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/UpdateDatabaseToolsMcpToolset.go.html to see an example of how to use UpdateDatabaseToolsMcpToolsetRequest.
type UpdateDatabaseToolsMcpToolsetRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools MCP Toolset.
DatabaseToolsMcpToolsetId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsMcpToolsetId"`
// The information to be updated.
UpdateDatabaseToolsMcpToolsetDetails `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"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Whether to override locks (if any exist).
IsLockOverride *bool `mandatory:"false" contributesTo:"query" name:"isLockOverride"`
// 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 UpdateDatabaseToolsMcpToolsetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDatabaseToolsMcpToolsetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDatabaseToolsMcpToolsetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDatabaseToolsMcpToolsetRequest) String() string
func (request UpdateDatabaseToolsMcpToolsetRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsMcpToolsetResponse wrapper for the UpdateDatabaseToolsMcpToolset operation
type UpdateDatabaseToolsMcpToolsetResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// 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 UpdateDatabaseToolsMcpToolsetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDatabaseToolsMcpToolsetResponse) String() string
UpdateDatabaseToolsMcpToolsetToolDetails MCP toolset tool configuration
type UpdateDatabaseToolsMcpToolsetToolDetails struct {
// The name of the tool
Name *string `mandatory:"true" json:"name"`
// The status of the tool
Status DatabaseToolsMcpToolsetToolStatusEnum `mandatory:"false" json:"status,omitempty"`
// The roles granted access to this tool
AllowedRoles []string `mandatory:"false" json:"allowedRoles"`
}
func (m UpdateDatabaseToolsMcpToolsetToolDetails) String() string
func (m UpdateDatabaseToolsMcpToolsetToolDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsPrivateEndpointDetails The information to be updated.
type UpdateDatabaseToolsPrivateEndpointDetails struct {
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Zero trust Packet Routing (ZPR) Security Attributes for this resource. Each key is predefined and scoped to a namespace.
// For more information, see ZPR Artifacts (https://docs.oracle.com/en-us/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm).
// Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}`
SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"`
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"false" json:"displayName"`
// A description of the Database Tools private endpoint.
Description *string `mandatory:"false" json:"description"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security groups
// that the private endpoint's VNIC belongs to. For more information about NSGs, see
// NetworkSecurityGroup.
NsgIds []string `mandatory:"false" json:"nsgIds"`
}
func (m UpdateDatabaseToolsPrivateEndpointDetails) String() string
func (m UpdateDatabaseToolsPrivateEndpointDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsPrivateEndpointRequest wrapper for the UpdateDatabaseToolsPrivateEndpoint operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/UpdateDatabaseToolsPrivateEndpoint.go.html to see an example of how to use UpdateDatabaseToolsPrivateEndpointRequest.
type UpdateDatabaseToolsPrivateEndpointRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools private endpoint.
DatabaseToolsPrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsPrivateEndpointId"`
// The information to be updated.
UpdateDatabaseToolsPrivateEndpointDetails `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"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Whether to override locks (if any exist).
IsLockOverride *bool `mandatory:"false" contributesTo:"query" name:"isLockOverride"`
// 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 UpdateDatabaseToolsPrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDatabaseToolsPrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDatabaseToolsPrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDatabaseToolsPrivateEndpointRequest) String() string
func (request UpdateDatabaseToolsPrivateEndpointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsPrivateEndpointResponse wrapper for the UpdateDatabaseToolsPrivateEndpoint operation
type UpdateDatabaseToolsPrivateEndpointResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// 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 UpdateDatabaseToolsPrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDatabaseToolsPrivateEndpointResponse) String() string
UpdateDatabaseToolsRelatedResourceDetails The related resource
type UpdateDatabaseToolsRelatedResourceDetails struct {
// The resource entity type.
EntityType RelatedResourceEntityTypeEnum `mandatory:"false" json:"entityType,omitempty"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related resource.
Identifier *string `mandatory:"false" json:"identifier"`
}
func (m UpdateDatabaseToolsRelatedResourceDetails) String() string
func (m UpdateDatabaseToolsRelatedResourceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsRelatedResourceMySqlDetails The related resource
type UpdateDatabaseToolsRelatedResourceMySqlDetails struct {
// The resource entity type.
EntityType RelatedResourceEntityTypeMySqlEnum `mandatory:"false" json:"entityType,omitempty"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related resource.
Identifier *string `mandatory:"false" json:"identifier"`
}
func (m UpdateDatabaseToolsRelatedResourceMySqlDetails) String() string
func (m UpdateDatabaseToolsRelatedResourceMySqlDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsRelatedResourcePostgresqlDetails The related resource
type UpdateDatabaseToolsRelatedResourcePostgresqlDetails struct {
// The resource entity type.
EntityType RelatedResourceEntityTypePostgresqlEnum `mandatory:"false" json:"entityType,omitempty"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related resource.
Identifier *string `mandatory:"false" json:"identifier"`
}
func (m UpdateDatabaseToolsRelatedResourcePostgresqlDetails) String() string
func (m UpdateDatabaseToolsRelatedResourcePostgresqlDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsSqlReportDetails Database Tools SQL report information to be updated.
type UpdateDatabaseToolsSqlReportDetails interface {
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
GetDisplayName() *string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// SQL query executed to generate the report.
GetSource() *string
// A description of the SQL report.
GetDescription() *string
// Purpose of the Database Tools SQL report. Scenario or conditions describing when or why this report should be used. Provides selection criteria to AI agents to improve report selection accuracy.
GetPurpose() *string
// Instructions on how to use the SQL report. Step-by-step guidance for an AI agent on how to execute or fill in parameters for the report.
GetInstructions() *string
// Variables referenced in the Database Tools SQL Report source.
GetVariables() []DatabaseToolsSqlReportVariable
// Descriptive information on columns referenced in the Database Tools SQL Report source.
GetColumns() []DatabaseToolsSqlReportColumn
}
UpdateDatabaseToolsSqlReportDetailsOracleDatabase Database Tools SQL report information to be updated for a report of type ORACLE_DATABASE.
type UpdateDatabaseToolsSqlReportDetailsOracleDatabase struct {
// A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
DisplayName *string `mandatory:"false" json:"displayName"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// SQL query executed to generate the report.
Source *string `mandatory:"false" json:"source"`
// A description of the SQL report.
Description *string `mandatory:"false" json:"description"`
// Purpose of the Database Tools SQL report. Scenario or conditions describing when or why this report should be used. Provides selection criteria to AI agents to improve report selection accuracy.
Purpose *string `mandatory:"false" json:"purpose"`
// Instructions on how to use the SQL report. Step-by-step guidance for an AI agent on how to execute or fill in parameters for the report.
Instructions *string `mandatory:"false" json:"instructions"`
// Variables referenced in the Database Tools SQL Report source.
Variables []DatabaseToolsSqlReportVariable `mandatory:"false" json:"variables"`
// Descriptive information on columns referenced in the Database Tools SQL Report source.
Columns []DatabaseToolsSqlReportColumn `mandatory:"false" json:"columns"`
}
func (m UpdateDatabaseToolsSqlReportDetailsOracleDatabase) GetColumns() []DatabaseToolsSqlReportColumn
GetColumns returns Columns
func (m UpdateDatabaseToolsSqlReportDetailsOracleDatabase) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateDatabaseToolsSqlReportDetailsOracleDatabase) GetDescription() *string
GetDescription returns Description
func (m UpdateDatabaseToolsSqlReportDetailsOracleDatabase) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateDatabaseToolsSqlReportDetailsOracleDatabase) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateDatabaseToolsSqlReportDetailsOracleDatabase) GetInstructions() *string
GetInstructions returns Instructions
func (m UpdateDatabaseToolsSqlReportDetailsOracleDatabase) GetPurpose() *string
GetPurpose returns Purpose
func (m UpdateDatabaseToolsSqlReportDetailsOracleDatabase) GetSource() *string
GetSource returns Source
func (m UpdateDatabaseToolsSqlReportDetailsOracleDatabase) GetVariables() []DatabaseToolsSqlReportVariable
GetVariables returns Variables
func (m UpdateDatabaseToolsSqlReportDetailsOracleDatabase) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateDatabaseToolsSqlReportDetailsOracleDatabase) String() string
func (m UpdateDatabaseToolsSqlReportDetailsOracleDatabase) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsSqlReportRequest wrapper for the UpdateDatabaseToolsSqlReport operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/UpdateDatabaseToolsSqlReport.go.html to see an example of how to use UpdateDatabaseToolsSqlReportRequest.
type UpdateDatabaseToolsSqlReportRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools SQL Report.
DatabaseToolsSqlReportId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsSqlReportId"`
// The information to be updated.
UpdateDatabaseToolsSqlReportDetails `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"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Whether to override locks (if any exist).
IsLockOverride *bool `mandatory:"false" contributesTo:"query" name:"isLockOverride"`
// 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 UpdateDatabaseToolsSqlReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDatabaseToolsSqlReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDatabaseToolsSqlReportRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDatabaseToolsSqlReportRequest) String() string
func (request UpdateDatabaseToolsSqlReportRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsSqlReportResponse wrapper for the UpdateDatabaseToolsSqlReport operation
type UpdateDatabaseToolsSqlReportResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsSqlReport instance
DatabaseToolsSqlReport `presentIn:"body"`
// For optimistic concurrency control. See `if-match`.
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 UpdateDatabaseToolsSqlReportResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDatabaseToolsSqlReportResponse) String() string
ValidateDatabaseToolsConnectionDetails Connection validation details.
type ValidateDatabaseToolsConnectionDetails interface {
}
ValidateDatabaseToolsConnectionMySqlDetails Connection validation details for the MySQL Server.
type ValidateDatabaseToolsConnectionMySqlDetails struct {
}
func (m ValidateDatabaseToolsConnectionMySqlDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ValidateDatabaseToolsConnectionMySqlDetails) String() string
func (m ValidateDatabaseToolsConnectionMySqlDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ValidateDatabaseToolsConnectionMySqlResult Connection validation result for the MySQL Server.
type ValidateDatabaseToolsConnectionMySqlResult struct {
// A short code that defines the result of the validation, meant for programmatic parsing. The value OK indicates that the validation was successful.
Code *string `mandatory:"true" json:"code"`
// A human-readable message that describes the result of the validation.
Message *string `mandatory:"true" json:"message"`
// The database version.
DatabaseVersion *string `mandatory:"true" json:"databaseVersion"`
// A human-readable message that describes possible causes for the validation error.
Cause *string `mandatory:"false" json:"cause"`
// A human-readable message that suggests a remedial action to resolve the validation error.
Action *string `mandatory:"false" json:"action"`
// The database name.
DatabaseName *string `mandatory:"false" json:"databaseName"`
}
func (m ValidateDatabaseToolsConnectionMySqlResult) GetAction() *string
GetAction returns Action
func (m ValidateDatabaseToolsConnectionMySqlResult) GetCause() *string
GetCause returns Cause
func (m ValidateDatabaseToolsConnectionMySqlResult) GetCode() *string
GetCode returns Code
func (m ValidateDatabaseToolsConnectionMySqlResult) GetMessage() *string
GetMessage returns Message
func (m ValidateDatabaseToolsConnectionMySqlResult) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ValidateDatabaseToolsConnectionMySqlResult) String() string
func (m ValidateDatabaseToolsConnectionMySqlResult) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ValidateDatabaseToolsConnectionOracleDatabaseDetails Connection validation details for the Oracle Database.
type ValidateDatabaseToolsConnectionOracleDatabaseDetails struct {
}
func (m ValidateDatabaseToolsConnectionOracleDatabaseDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ValidateDatabaseToolsConnectionOracleDatabaseDetails) String() string
func (m ValidateDatabaseToolsConnectionOracleDatabaseDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ValidateDatabaseToolsConnectionOracleDatabaseResult Connection validation result for the Oracle Database.
type ValidateDatabaseToolsConnectionOracleDatabaseResult struct {
// A short code that defines the result of the validation, meant for programmatic parsing. The value OK indicates that the validation was successful.
Code *string `mandatory:"true" json:"code"`
// A human-readable message that describes the result of the validation.
Message *string `mandatory:"true" json:"message"`
// The database version.
DatabaseVersion *string `mandatory:"true" json:"databaseVersion"`
// A human-readable message that describes possible causes for the validation error.
Cause *string `mandatory:"false" json:"cause"`
// A human-readable message that suggests a remedial action to resolve the validation error.
Action *string `mandatory:"false" json:"action"`
// The database name.
DatabaseName *string `mandatory:"false" json:"databaseName"`
// The name of the currently active default schema.
CurrentSchema *string `mandatory:"false" json:"currentSchema"`
// The name of the session user (the user who logged on).
SessionUser *string `mandatory:"false" json:"sessionUser"`
// Name of the database user who opened the current session on behalf of sessionUser.
ProxyUser *string `mandatory:"false" json:"proxyUser"`
// Returns the identity used in authentication.
AuthenticatedIdentity *string `mandatory:"false" json:"authenticatedIdentity"`
// Returns the method of authentication.
AuthenticationMethod *string `mandatory:"false" json:"authenticationMethod"`
// Displays the CLOUD_SERVICE value within the USERENV context
CloudService *string `mandatory:"false" json:"cloudService"`
// Status on whether a Database Tools identity type can be used with this connection or not.
DatabaseToolsIdentityStatuses []ValidationIdentityStatus `mandatory:"false" json:"databaseToolsIdentityStatuses"`
// Displays the enterprise identity value within the USERENV context
EnterpriseIdentity *string `mandatory:"false" json:"enterpriseIdentity"`
// Displays the proxy enterprise identity value within the USERENV context
ProxyEnterpriseIdentity *string `mandatory:"false" json:"proxyEnterpriseIdentity"`
// Status on whether an external authentication can be used with this connection or not.
ExternalAuthenticationStatuses []ValidationExternalAuthenticationStatus `mandatory:"false" json:"externalAuthenticationStatuses"`
// The DBMS_CLOUD package installation status.
DbmsCloudStatus DbmsCloudStatusEnum `mandatory:"true" json:"dbmsCloudStatus"`
}
func (m ValidateDatabaseToolsConnectionOracleDatabaseResult) GetAction() *string
GetAction returns Action
func (m ValidateDatabaseToolsConnectionOracleDatabaseResult) GetCause() *string
GetCause returns Cause
func (m ValidateDatabaseToolsConnectionOracleDatabaseResult) GetCode() *string
GetCode returns Code
func (m ValidateDatabaseToolsConnectionOracleDatabaseResult) GetMessage() *string
GetMessage returns Message
func (m ValidateDatabaseToolsConnectionOracleDatabaseResult) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ValidateDatabaseToolsConnectionOracleDatabaseResult) String() string
func (m ValidateDatabaseToolsConnectionOracleDatabaseResult) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ValidateDatabaseToolsConnectionPostgresqlDetails Connection validation details for the PostgreSQL Server.
type ValidateDatabaseToolsConnectionPostgresqlDetails struct {
}
func (m ValidateDatabaseToolsConnectionPostgresqlDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ValidateDatabaseToolsConnectionPostgresqlDetails) String() string
func (m ValidateDatabaseToolsConnectionPostgresqlDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ValidateDatabaseToolsConnectionPostgresqlResult Connection validation result for the PostgreSQL Server.
type ValidateDatabaseToolsConnectionPostgresqlResult struct {
// A short code that defines the result of the validation, meant for programmatic parsing. The value OK indicates that the validation was successful.
Code *string `mandatory:"true" json:"code"`
// A human-readable message that describes the result of the validation.
Message *string `mandatory:"true" json:"message"`
// The database version.
DatabaseVersion *string `mandatory:"true" json:"databaseVersion"`
// A human-readable message that describes possible causes for the validation error.
Cause *string `mandatory:"false" json:"cause"`
// A human-readable message that suggests a remedial action to resolve the validation error.
Action *string `mandatory:"false" json:"action"`
// The database name.
DatabaseName *string `mandatory:"false" json:"databaseName"`
}
func (m ValidateDatabaseToolsConnectionPostgresqlResult) GetAction() *string
GetAction returns Action
func (m ValidateDatabaseToolsConnectionPostgresqlResult) GetCause() *string
GetCause returns Cause
func (m ValidateDatabaseToolsConnectionPostgresqlResult) GetCode() *string
GetCode returns Code
func (m ValidateDatabaseToolsConnectionPostgresqlResult) GetMessage() *string
GetMessage returns Message
func (m ValidateDatabaseToolsConnectionPostgresqlResult) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ValidateDatabaseToolsConnectionPostgresqlResult) String() string
func (m ValidateDatabaseToolsConnectionPostgresqlResult) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ValidateDatabaseToolsConnectionRequest wrapper for the ValidateDatabaseToolsConnection operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ValidateDatabaseToolsConnection.go.html to see an example of how to use ValidateDatabaseToolsConnectionRequest.
type ValidateDatabaseToolsConnectionRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools connection.
DatabaseToolsConnectionId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsConnectionId"`
// Request to validate a Database Tools connection.
ValidateDatabaseToolsConnectionDetails `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"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ValidateDatabaseToolsConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ValidateDatabaseToolsConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ValidateDatabaseToolsConnectionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ValidateDatabaseToolsConnectionRequest) String() string
func (request ValidateDatabaseToolsConnectionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ValidateDatabaseToolsConnectionResponse wrapper for the ValidateDatabaseToolsConnection operation
type ValidateDatabaseToolsConnectionResponse struct {
// The underlying http response
RawResponse *http.Response
// The ValidateDatabaseToolsConnectionResult instance
ValidateDatabaseToolsConnectionResult `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response ValidateDatabaseToolsConnectionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ValidateDatabaseToolsConnectionResponse) String() string
ValidateDatabaseToolsConnectionResult Connection validation result.
type ValidateDatabaseToolsConnectionResult interface {
// A short code that defines the result of the validation, meant for programmatic parsing. The value OK indicates that the validation was successful.
GetCode() *string
// A human-readable message that describes the result of the validation.
GetMessage() *string
// A human-readable message that describes possible causes for the validation error.
GetCause() *string
// A human-readable message that suggests a remedial action to resolve the validation error.
GetAction() *string
}
ValidateDatabaseToolsIdentityCredentialDetails Identity Credential validation details.
type ValidateDatabaseToolsIdentityCredentialDetails interface {
}
ValidateDatabaseToolsIdentityCredentialOracleDatabaseResourcePrincipalDetails The Database Tools identity validate credential details for the Oracle Database resource principal identity type.
type ValidateDatabaseToolsIdentityCredentialOracleDatabaseResourcePrincipalDetails struct {
}
func (m ValidateDatabaseToolsIdentityCredentialOracleDatabaseResourcePrincipalDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ValidateDatabaseToolsIdentityCredentialOracleDatabaseResourcePrincipalDetails) String() string
func (m ValidateDatabaseToolsIdentityCredentialOracleDatabaseResourcePrincipalDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ValidateDatabaseToolsIdentityCredentialOracleDatabaseResourcePrincipalResult The Database Tools identity validate credentials result for the Oracle Database resource principal identity type.
type ValidateDatabaseToolsIdentityCredentialOracleDatabaseResourcePrincipalResult struct {
// A short code that defines the result of the validation, meant for programmatic parsing. The value OK indicates that the validation was successful.
Code *string `mandatory:"true" json:"code"`
// A human-readable message that describes the result of the validation.
Message *string `mandatory:"true" json:"message"`
// A human-readable message that describes possible causes for the validation error.
Cause *string `mandatory:"false" json:"cause"`
// A human-readable message that suggests a remedial action to resolve the validation error.
Action *string `mandatory:"false" json:"action"`
}
func (m ValidateDatabaseToolsIdentityCredentialOracleDatabaseResourcePrincipalResult) GetAction() *string
GetAction returns Action
func (m ValidateDatabaseToolsIdentityCredentialOracleDatabaseResourcePrincipalResult) GetCause() *string
GetCause returns Cause
func (m ValidateDatabaseToolsIdentityCredentialOracleDatabaseResourcePrincipalResult) GetCode() *string
GetCode returns Code
func (m ValidateDatabaseToolsIdentityCredentialOracleDatabaseResourcePrincipalResult) GetMessage() *string
GetMessage returns Message
func (m ValidateDatabaseToolsIdentityCredentialOracleDatabaseResourcePrincipalResult) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ValidateDatabaseToolsIdentityCredentialOracleDatabaseResourcePrincipalResult) String() string
func (m ValidateDatabaseToolsIdentityCredentialOracleDatabaseResourcePrincipalResult) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ValidateDatabaseToolsIdentityCredentialRequest wrapper for the ValidateDatabaseToolsIdentityCredential operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetools/ValidateDatabaseToolsIdentityCredential.go.html to see an example of how to use ValidateDatabaseToolsIdentityCredentialRequest.
type ValidateDatabaseToolsIdentityCredentialRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools identity.
DatabaseToolsIdentityId *string `mandatory:"true" contributesTo:"path" name:"databaseToolsIdentityId"`
// Request to validate a Database Tools identity Credential.
ValidateDatabaseToolsIdentityCredentialDetails `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"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ValidateDatabaseToolsIdentityCredentialRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ValidateDatabaseToolsIdentityCredentialRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ValidateDatabaseToolsIdentityCredentialRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ValidateDatabaseToolsIdentityCredentialRequest) String() string
func (request ValidateDatabaseToolsIdentityCredentialRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ValidateDatabaseToolsIdentityCredentialResponse wrapper for the ValidateDatabaseToolsIdentityCredential operation
type ValidateDatabaseToolsIdentityCredentialResponse struct {
// The underlying http response
RawResponse *http.Response
// The ValidateDatabaseToolsIdentityCredentialResult instance
ValidateDatabaseToolsIdentityCredentialResult `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response ValidateDatabaseToolsIdentityCredentialResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ValidateDatabaseToolsIdentityCredentialResponse) String() string
ValidateDatabaseToolsIdentityCredentialResult Identity validation result.
type ValidateDatabaseToolsIdentityCredentialResult interface {
// A short code that defines the result of the validation, meant for programmatic parsing. The value OK indicates that the validation was successful.
GetCode() *string
// A human-readable message that describes the result of the validation.
GetMessage() *string
// A human-readable message that describes possible causes for the validation error.
GetCause() *string
// A human-readable message that suggests a remedial action to resolve the validation error.
GetAction() *string
}
ValidationExternalAuthenticationStatus Status details for an external authentication
type ValidationExternalAuthenticationStatus struct {
// The Database Tools identity provider type.
Type IdentityProviderTypeEnum `mandatory:"false" json:"type,omitempty"`
// The status of the external authentication. AVAILABLE if the external authentication can be used with this connection. UNAVAILABLE if not.
// ENABLED if the external authentication is enabled.
Status DatabaseToolsExternalAuthenticationStatusEnum `mandatory:"false" json:"status,omitempty"`
// If the status is UNAVAILABLE this displays the cause.
StatusDetails *string `mandatory:"false" json:"statusDetails"`
}
func (m ValidationExternalAuthenticationStatus) String() string
func (m ValidationExternalAuthenticationStatus) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ValidationIdentityStatus Status details for an identity type
type ValidationIdentityStatus struct {
// The Database Tools identity type.
Type IdentityTypeEnum `mandatory:"false" json:"type,omitempty"`
// The status of the identity. AVAILABLE if the identity type can be used with this connection. UNAVAILABLE if not.
Status DatabaseToolsIdentityStatusEnum `mandatory:"false" json:"status,omitempty"`
// If the status is UNAVAILABLE this displays the cause.
StatusDetails *string `mandatory:"false" json:"statusDetails"`
}
func (m ValidationIdentityStatus) String() string
func (m ValidationIdentityStatus) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequest An asynchronous work request.
type WorkRequest struct {
// The asynchronous operation tracked by this work request.
OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`
// The status of the work request.
Status OperationStatusEnum `mandatory:"true" json:"status"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The resources affected by this work request.
Resources []WorkRequestResource `mandatory:"true" json:"resources"`
// Percentage of the request completed.
PercentComplete *float32 `mandatory:"true" json:"percentComplete"`
// The date and time the work request was created, in the format defined by RFC3339.
TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`
// The date and time the work request transitioned from `ACCEPTED` to `IN_PROGRESS`,
// in the format defined by RFC3339.
TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`
// The date and time the work request reached a terminal state, either `FAILED` or `SUCCEEDED`.
// Format is defined by RFC3339.
TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
// The date and time the work request was last updated,
// in the format defined by RFC3339.
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}
func (m WorkRequest) String() string
func (m WorkRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestCollection List of `WorkRequestSummary` items.
type WorkRequestCollection struct {
// Array of `WorkRequestSummary` items.
Items []WorkRequestSummary `mandatory:"true" json:"items"`
}
func (m WorkRequestCollection) String() string
func (m WorkRequestCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestError An error encountered while executing a work request.
type WorkRequestError struct {
// A machine-usable code for the error that occured. Error codes are listed on
// (https://docs.oracle.com/iaas/Content/API/References/apierrors.htm)
Code *string `mandatory:"true" json:"code"`
// A human readable description of the issue encountered.
Message *string `mandatory:"true" json:"message"`
// The time the error occured. An RFC3339 formatted datetime string.
Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}
func (m WorkRequestError) String() string
func (m WorkRequestError) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestErrorCollection List of WorkRequestError items.
type WorkRequestErrorCollection struct {
// Array of Work Request Error items.
Items []WorkRequestError `mandatory:"true" json:"items"`
}
func (m WorkRequestErrorCollection) String() string
func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestLogEntry A log message from the execution of a work request.
type WorkRequestLogEntry struct {
// Human-readable log message.
Message *string `mandatory:"true" json:"message"`
// The time the log message was written. An RFC3339 formatted datetime string.
Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}
func (m WorkRequestLogEntry) String() string
func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestLogEntryCollection List of work request log items.
type WorkRequestLogEntryCollection struct {
// Array of work request log items.
Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}
func (m WorkRequestLogEntryCollection) String() string
func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestResource A resource created or operated on by a work request.
type WorkRequestResource struct {
// The resource type the work request affects.
EntityType *string `mandatory:"true" json:"entityType"`
// The way in which this resource is affected by the work tracked in the work request.
// 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 ActionTypeEnum `mandatory:"true" json:"actionType"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource the work request affects.
Identifier *string `mandatory:"true" json:"identifier"`
// The URI path that the user can use for a GET operation to access the resource metadata.
EntityUri *string `mandatory:"false" json:"entityUri"`
}
func (m WorkRequestResource) String() string
func (m WorkRequestResource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestSummary A summary of the status of a work request.
type WorkRequestSummary struct {
// The asynchronous operation tracked by this work request.
OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`
// The status of the work request.
Status OperationStatusEnum `mandatory:"true" json:"status"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// Percentage of the request completed.
PercentComplete *float32 `mandatory:"true" json:"percentComplete"`
// The date and time the work request was created, in the format defined by RFC3339.
TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`
// The resources affected by this work request.
Resources []WorkRequestResource `mandatory:"false" json:"resources"`
// The date and time the work request transitioned from `ACCEPTED` to `IN_PROGRESS`,
// in the format defined by RFC3339.
TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`
// The date and time the work request reached a terminal state, either `FAILED` or `SUCCEEDED`.
// Format is defined by RFC3339.
TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
// The date and time the work request was last updated,
// in the format defined by RFC3339.
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}
func (m WorkRequestSummary) String() string
func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly