func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetApexFaIntegrationPrerequisitesCheckStatusEnumStringValues() []string
GetApexFaIntegrationPrerequisitesCheckStatusEnumStringValues Enumerates the set of values in String for ApexFaIntegrationPrerequisitesCheckStatusEnum
func GetConnectionTypeEnumStringValues() []string
GetConnectionTypeEnumStringValues Enumerates the set of values in String for ConnectionTypeEnum
func GetCreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnumStringValues() []string
GetCreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnumStringValues Enumerates the set of values in String for CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum
func GetCreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnumStringValues() []string
GetCreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnumStringValues Enumerates the set of values in String for CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum
func GetCreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnumStringValues() []string
GetCreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnumStringValues Enumerates the set of values in String for CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum
func GetCreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnumStringValues() []string
GetCreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnumStringValues Enumerates the set of values in String for CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum
func GetCreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnumStringValues() []string
GetCreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnumStringValues Enumerates the set of values in String for CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum
func GetCredentialKeyTypeEnumStringValues() []string
GetCredentialKeyTypeEnumStringValues Enumerates the set of values in String for CredentialKeyTypeEnum
func GetCredentialRelatedResourceTypeEnumStringValues() []string
GetCredentialRelatedResourceTypeEnumStringValues Enumerates the set of values in String for CredentialRelatedResourceTypeEnum
func GetCredentialTypeEnumStringValues() []string
GetCredentialTypeEnumStringValues Enumerates the set of values in String for CredentialTypeEnum
func GetDatabaseApiGatewayConfigAdvancedPropertyConfigTypeEnumStringValues() []string
GetDatabaseApiGatewayConfigAdvancedPropertyConfigTypeEnumStringValues Enumerates the set of values in String for DatabaseApiGatewayConfigAdvancedPropertyConfigTypeEnum
func GetDatabaseApiGatewayConfigCertificateBundleTypeEnumStringValues() []string
GetDatabaseApiGatewayConfigCertificateBundleTypeEnumStringValues Enumerates the set of values in String for DatabaseApiGatewayConfigCertificateBundleTypeEnum
func GetDatabaseApiGatewayConfigCertificatePrivateKeyFileNameFormatEnumStringValues() []string
GetDatabaseApiGatewayConfigCertificatePrivateKeyFileNameFormatEnumStringValues Enumerates the set of values in String for DatabaseApiGatewayConfigCertificatePrivateKeyFileNameFormatEnum
func GetDatabaseApiGatewayConfigCertificatePublicFileNameFormatEnumStringValues() []string
GetDatabaseApiGatewayConfigCertificatePublicFileNameFormatEnumStringValues Enumerates the set of values in String for DatabaseApiGatewayConfigCertificatePublicFileNameFormatEnum
func GetDatabaseApiGatewayConfigGlobalKeyEnumStringValues() []string
GetDatabaseApiGatewayConfigGlobalKeyEnumStringValues Enumerates the set of values in String for DatabaseApiGatewayConfigGlobalKeyEnum
func GetDatabaseApiGatewayConfigTypeEnumStringValues() []string
GetDatabaseApiGatewayConfigTypeEnumStringValues Enumerates the set of values in String for DatabaseApiGatewayConfigTypeEnum
func GetDatabaseToolsConnectionLifecycleStateEnumStringValues() []string
GetDatabaseToolsConnectionLifecycleStateEnumStringValues Enumerates the set of values in String for DatabaseToolsConnectionLifecycleStateEnum
func GetDatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDataTypeEnumStringValues() []string
GetDatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDataTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDataTypeEnum
func GetDatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDatabaseToolsConnectionTypesEnumStringValues() []string
GetDatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDatabaseToolsConnectionTypesEnumStringValues Enumerates the set of values in String for DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDatabaseToolsConnectionTypesEnum
func GetDatabaseToolsDatabaseApiGatewayConfigGlobalDatabaseApiStatusEnumStringValues() []string
GetDatabaseToolsDatabaseApiGatewayConfigGlobalDatabaseApiStatusEnumStringValues Enumerates the set of values in String for DatabaseToolsDatabaseApiGatewayConfigGlobalDatabaseApiStatusEnum
func GetDatabaseToolsDatabaseApiGatewayConfigGlobalMetadataSourceEnumStringValues() []string
GetDatabaseToolsDatabaseApiGatewayConfigGlobalMetadataSourceEnumStringValues Enumerates the set of values in String for DatabaseToolsDatabaseApiGatewayConfigGlobalMetadataSourceEnum
func GetDatabaseToolsDatabaseApiGatewayConfigGlobalPoolRouteEnumStringValues() []string
GetDatabaseToolsDatabaseApiGatewayConfigGlobalPoolRouteEnumStringValues Enumerates the set of values in String for DatabaseToolsDatabaseApiGatewayConfigGlobalPoolRouteEnum
func GetDatabaseToolsDatabaseApiGatewayConfigLifecycleStateEnumStringValues() []string
GetDatabaseToolsDatabaseApiGatewayConfigLifecycleStateEnumStringValues Enumerates the set of values in String for DatabaseToolsDatabaseApiGatewayConfigLifecycleStateEnum
func GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeEnumStringValues() []string
GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeEnumStringValues Enumerates the set of values in String for DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeEnum
func GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecOperationsEnumStringValues() []string
GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecOperationsEnumStringValues Enumerates the set of values in String for DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecOperationsEnum
func GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecSecuritySchemesEnumStringValues() []string
GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecSecuritySchemesEnumStringValues Enumerates the set of values in String for DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecSecuritySchemesEnum
func GetDatabaseToolsDatabaseApiGatewayConfigPoolContentDatabaseActionsStatusEnumStringValues() []string
GetDatabaseToolsDatabaseApiGatewayConfigPoolContentDatabaseActionsStatusEnumStringValues Enumerates the set of values in String for DatabaseToolsDatabaseApiGatewayConfigPoolContentDatabaseActionsStatusEnum
func GetDatabaseToolsDatabaseApiGatewayConfigPoolContentRestEnabledSqlStatusEnumStringValues() []string
GetDatabaseToolsDatabaseApiGatewayConfigPoolContentRestEnabledSqlStatusEnumStringValues Enumerates the set of values in String for DatabaseToolsDatabaseApiGatewayConfigPoolContentRestEnabledSqlStatusEnum
func GetDatabaseToolsDatabaseApiGatewayConfigPoolDatabaseActionsStatusEnumStringValues() []string
GetDatabaseToolsDatabaseApiGatewayConfigPoolDatabaseActionsStatusEnumStringValues Enumerates the set of values in String for DatabaseToolsDatabaseApiGatewayConfigPoolDatabaseActionsStatusEnum
func GetDatabaseToolsDatabaseApiGatewayConfigPoolRestEnabledSqlStatusEnumStringValues() []string
GetDatabaseToolsDatabaseApiGatewayConfigPoolRestEnabledSqlStatusEnumStringValues Enumerates the set of values in String for DatabaseToolsDatabaseApiGatewayConfigPoolRestEnabledSqlStatusEnum
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 GetDbmsCloudStatusEnumStringValues() []string
GetDbmsCloudStatusEnumStringValues Enumerates the set of values in String for DbmsCloudStatusEnum
func GetExecuteSqlAsynchronousInputDetailsTypeEnumStringValues() []string
GetExecuteSqlAsynchronousInputDetailsTypeEnumStringValues Enumerates the set of values in String for ExecuteSqlAsynchronousInputDetailsTypeEnum
func GetExecuteSqlBindModeEnumStringValues() []string
GetExecuteSqlBindModeEnumStringValues Enumerates the set of values in String for ExecuteSqlBindModeEnum
func GetExecuteSqlDatabaseToolsConnectionDetailsTypeEnumStringValues() []string
GetExecuteSqlDatabaseToolsConnectionDetailsTypeEnumStringValues Enumerates the set of values in String for ExecuteSqlDatabaseToolsConnectionDetailsTypeEnum
func GetExecuteSqlOutputDetailsTypeEnumStringValues() []string
GetExecuteSqlOutputDetailsTypeEnumStringValues Enumerates the set of values in String for ExecuteSqlOutputDetailsTypeEnum
func GetExecuteSqlOutputDispositionDetailsTypeEnumStringValues() []string
GetExecuteSqlOutputDispositionDetailsTypeEnumStringValues Enumerates the set of values in String for ExecuteSqlOutputDispositionDetailsTypeEnum
func GetExecuteSqlOutputDispositionObjectStorageDetailsStorageTierEnumStringValues() []string
GetExecuteSqlOutputDispositionObjectStorageDetailsStorageTierEnumStringValues Enumerates the set of values in String for ExecuteSqlOutputDispositionObjectStorageDetailsStorageTierEnum
func GetGetDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnumStringValues() []string
GetGetDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnumStringValues Enumerates the set of values in String for GetDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnum
func GetGetPropertySetPropertySetKeyEnumStringValues() []string
GetGetPropertySetPropertySetKeyEnumStringValues Enumerates the set of values in String for GetPropertySetPropertySetKeyEnum
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 GetListCredentialExecuteGranteesSortOrderEnumStringValues() []string
GetListCredentialExecuteGranteesSortOrderEnumStringValues Enumerates the set of values in String for ListCredentialExecuteGranteesSortOrderEnum
func GetListCredentialPublicSynonymsSortOrderEnumStringValues() []string
GetListCredentialPublicSynonymsSortOrderEnumStringValues Enumerates the set of values in String for ListCredentialPublicSynonymsSortOrderEnum
func GetListCredentialsSortOrderEnumStringValues() []string
GetListCredentialsSortOrderEnumStringValues Enumerates the set of values in String for ListCredentialsSortOrderEnum
func GetListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortByEnumStringValues() []string
GetListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortByEnumStringValues Enumerates the set of values in String for ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortByEnum
func GetListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortOrderEnumStringValues() []string
GetListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortOrderEnumStringValues Enumerates the set of values in String for ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortOrderEnum
func GetListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortByEnumStringValues() []string
GetListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortByEnumStringValues Enumerates the set of values in String for ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortByEnum
func GetListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortOrderEnumStringValues() []string
GetListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortOrderEnumStringValues Enumerates the set of values in String for ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortOrderEnum
func GetListDatabaseToolsDatabaseApiGatewayConfigPoolsSortByEnumStringValues() []string
GetListDatabaseToolsDatabaseApiGatewayConfigPoolsSortByEnumStringValues Enumerates the set of values in String for ListDatabaseToolsDatabaseApiGatewayConfigPoolsSortByEnum
func GetListDatabaseToolsDatabaseApiGatewayConfigPoolsSortOrderEnumStringValues() []string
GetListDatabaseToolsDatabaseApiGatewayConfigPoolsSortOrderEnumStringValues Enumerates the set of values in String for ListDatabaseToolsDatabaseApiGatewayConfigPoolsSortOrderEnum
func GetListUserCredentialsSortOrderEnumStringValues() []string
GetListUserCredentialsSortOrderEnumStringValues Enumerates the set of values in String for ListUserCredentialsSortOrderEnum
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 GetPayloadTypeEnumStringValues() []string
GetPayloadTypeEnumStringValues Enumerates the set of values in String for PayloadTypeEnum
func GetPropertySetApexDocumentGeneratorAutonomousDatabaseResourcePrincipalStatusEnumStringValues() []string
GetPropertySetApexDocumentGeneratorAutonomousDatabaseResourcePrincipalStatusEnumStringValues Enumerates the set of values in String for PropertySetApexDocumentGeneratorAutonomousDatabaseResourcePrincipalStatusEnum
func GetPropertySetApexDocumentGeneratorPrintServerTypeEnumStringValues() []string
GetPropertySetApexDocumentGeneratorPrintServerTypeEnumStringValues Enumerates the set of values in String for PropertySetApexDocumentGeneratorPrintServerTypeEnum
func GetPropertySetKeyEnumStringValues() []string
GetPropertySetKeyEnumStringValues Enumerates the set of values in String for PropertySetKeyEnum
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
func GetStatementTypeEnumStringValues() []string
GetStatementTypeEnumStringValues Enumerates the set of values in String for StatementTypeEnum
func GetUpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsDatabaseApiStatusEnumStringValues() []string
GetUpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsDatabaseApiStatusEnumStringValues Enumerates the set of values in String for UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsDatabaseApiStatusEnum
func GetUpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsPoolRouteEnumStringValues() []string
GetUpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsPoolRouteEnumStringValues Enumerates the set of values in String for UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsPoolRouteEnum
func GetUpdateDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnumStringValues() []string
GetUpdateDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnumStringValues Enumerates the set of values in String for UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnum
func GetUpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnumStringValues() []string
GetUpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnumStringValues Enumerates the set of values in String for UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum
func GetUpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnumStringValues() []string
GetUpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnumStringValues Enumerates the set of values in String for UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum
func GetUpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnumStringValues() []string
GetUpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnumStringValues Enumerates the set of values in String for UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum
func GetUpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnumStringValues() []string
GetUpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnumStringValues Enumerates the set of values in String for UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum
func GetUpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnumStringValues() []string
GetUpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnumStringValues Enumerates the set of values in String for UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum
func GetUpdatePropertySetPropertySetKeyEnumStringValues() []string
GetUpdatePropertySetPropertySetKeyEnumStringValues Enumerates the set of values in String for UpdatePropertySetPropertySetKeyEnum
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"
ActionTypeFailed ActionTypeEnum = "FAILED"
ActionTypeCanceled ActionTypeEnum = "CANCELED"
)
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
ApexFaIntegrationPrerequisitesCheck The results of a prerequisites check for APEX FA integration
type ApexFaIntegrationPrerequisitesCheck struct {
// Status indicating the outcome of the prerequisites check.
Status ApexFaIntegrationPrerequisitesCheckStatusEnum `mandatory:"false" json:"status,omitempty"`
// Messages describing the prerequisites check outcome. Messages can provide actionable information when the status indicates a failure.
StatusDetails []string `mandatory:"false" json:"statusDetails"`
}
func (m ApexFaIntegrationPrerequisitesCheck) String() string
func (m ApexFaIntegrationPrerequisitesCheck) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ApexFaIntegrationPrerequisitesCheckStatusEnum Enum with underlying type: string
type ApexFaIntegrationPrerequisitesCheckStatusEnum string
Set of constants representing the allowable values for ApexFaIntegrationPrerequisitesCheckStatusEnum
const (
ApexFaIntegrationPrerequisitesCheckStatusPass ApexFaIntegrationPrerequisitesCheckStatusEnum = "PASS"
ApexFaIntegrationPrerequisitesCheckStatusFail ApexFaIntegrationPrerequisitesCheckStatusEnum = "FAIL"
ApexFaIntegrationPrerequisitesCheckStatusError ApexFaIntegrationPrerequisitesCheckStatusEnum = "ERROR"
ApexFaIntegrationPrerequisitesCheckStatusUnknown ApexFaIntegrationPrerequisitesCheckStatusEnum = "UNKNOWN"
)
func GetApexFaIntegrationPrerequisitesCheckStatusEnumValues() []ApexFaIntegrationPrerequisitesCheckStatusEnum
GetApexFaIntegrationPrerequisitesCheckStatusEnumValues Enumerates the set of values for ApexFaIntegrationPrerequisitesCheckStatusEnum
func GetMappingApexFaIntegrationPrerequisitesCheckStatusEnum(val string) (ApexFaIntegrationPrerequisitesCheckStatusEnum, bool)
GetMappingApexFaIntegrationPrerequisitesCheckStatusEnum performs case Insensitive comparison on enum value and return the desired enum
CancelWorkRequestRequest wrapper for the CancelWorkRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest.
type CancelWorkRequestRequest struct {
// The ID of the asynchronous request.
WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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 CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CancelWorkRequestRequest) String() string
func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CancelWorkRequestResponse wrapper for the CancelWorkRequest operation
type CancelWorkRequestResponse 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 CancelWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CancelWorkRequestResponse) 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"
)
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
CreateCredentialBasicDetails Details for the Credential for the Basic type.
type CreateCredentialBasicDetails struct {
// The credential_name to be created
Key *string `mandatory:"true" json:"key"`
// The username for the new credential.
UserName *string `mandatory:"true" json:"userName"`
// The password for the new credential.
Password *string `mandatory:"true" json:"password"`
}
func (m CreateCredentialBasicDetails) GetKey() *string
GetKey returns Key
func (m CreateCredentialBasicDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateCredentialBasicDetails) String() string
func (m CreateCredentialBasicDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateCredentialDetails Details for the new credential.
type CreateCredentialDetails interface {
// The credential_name to be created
GetKey() *string
}
CreateCredentialExecuteGranteeDetails Specifies the database user, the grantee, who is granted the execute privilege on the credential.
type CreateCredentialExecuteGranteeDetails struct {
// The name of the user to grant the EXECUTE privilege on the credential.
Key *string `mandatory:"true" json:"key"`
}
func (m CreateCredentialExecuteGranteeDetails) String() string
func (m CreateCredentialExecuteGranteeDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateCredentialExecuteGranteeRequest wrapper for the CreateCredentialExecuteGrantee operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/CreateCredentialExecuteGrantee.go.html to see an example of how to use CreateCredentialExecuteGranteeRequest.
type CreateCredentialExecuteGranteeRequest 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 name of the credential
CredentialKey *string `mandatory:"true" contributesTo:"path" name:"credentialKey"`
// The payload to create an execute grantee.
CreateCredentialExecuteGranteeDetails `contributesTo:"body"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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 CreateCredentialExecuteGranteeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateCredentialExecuteGranteeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateCredentialExecuteGranteeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateCredentialExecuteGranteeRequest) String() string
func (request CreateCredentialExecuteGranteeRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateCredentialExecuteGranteeResponse wrapper for the CreateCredentialExecuteGrantee operation
type CreateCredentialExecuteGranteeResponse struct {
// The underlying http response
RawResponse *http.Response
// The CredentialExecuteGrantee instance
CredentialExecuteGrantee `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"`
// URI of the new resource which was created by the request.
Location *string `presentIn:"header" name:"location"`
}
func (response CreateCredentialExecuteGranteeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateCredentialExecuteGranteeResponse) String() string
CreateCredentialPublicSynonymDetails The public synonym information
type CreateCredentialPublicSynonymDetails struct {
// The name of the public synonym for the credential
Key *string `mandatory:"true" json:"key"`
}
func (m CreateCredentialPublicSynonymDetails) String() string
func (m CreateCredentialPublicSynonymDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateCredentialPublicSynonymRequest wrapper for the CreateCredentialPublicSynonym operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/CreateCredentialPublicSynonym.go.html to see an example of how to use CreateCredentialPublicSynonymRequest.
type CreateCredentialPublicSynonymRequest 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 name of the credential
CredentialKey *string `mandatory:"true" contributesTo:"path" name:"credentialKey"`
// The payload to create a public synonym for the given credentials.
CreateCredentialPublicSynonymDetails `contributesTo:"body"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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 CreateCredentialPublicSynonymRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateCredentialPublicSynonymRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateCredentialPublicSynonymRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateCredentialPublicSynonymRequest) String() string
func (request CreateCredentialPublicSynonymRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateCredentialPublicSynonymResponse wrapper for the CreateCredentialPublicSynonym operation
type CreateCredentialPublicSynonymResponse struct {
// The underlying http response
RawResponse *http.Response
// The CredentialPublicSynonym instance
CredentialPublicSynonym `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"`
// URI of the new resource which was created by the request.
Location *string `presentIn:"header" name:"location"`
}
func (response CreateCredentialPublicSynonymResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateCredentialPublicSynonymResponse) String() string
CreateCredentialRequest wrapper for the CreateCredential operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/CreateCredential.go.html to see an example of how to use CreateCredentialRequest.
type CreateCredentialRequest 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 payload to create credential.
CreateCredentialDetails `contributesTo:"body"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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 CreateCredentialRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateCredentialRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateCredentialRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateCredentialRequest) String() string
func (request CreateCredentialRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateCredentialResponse wrapper for the CreateCredential operation
type CreateCredentialResponse struct {
// The underlying http response
RawResponse *http.Response
// The Credential instance
Credential `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"`
// URI of the new resource which was created by the request.
Location *string `presentIn:"header" name:"location"`
}
func (response CreateCredentialResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateCredentialResponse) String() string
CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefaultDetails The content of a Database Tools database API gateway config API spec sub resource to be created.
type CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefaultDetails 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 content of a string-escaped Open API spec in JSON format.
Content *string `mandatory:"true" json:"content"`
}
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefaultDetails) GetContent() *string
GetContent returns Content
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefaultDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefaultDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefaultDetails) String() string
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefaultDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDetails The content of a Database Tools database API gateway config API spec sub resource to be created.
type CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDetails interface {
// A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
GetDisplayName() *string
// The content of a string-escaped Open API spec in JSON format.
GetContent() *string
}
CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest wrapper for the CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.go.html to see an example of how to use CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest.
type CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest 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 key of the pool config.
PoolKey *string `mandatory:"true" contributesTo:"path" name:"poolKey"`
// Details for the new Database Tools database API gateway config API spec resource.
CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDetails `contributesTo:"body"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// 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"`
// 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 CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest) String() string
func (request CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResponse wrapper for the CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec operation
type CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec instance
DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec `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 CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResponse) String() string
CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails The content of a Database Tools database API gateway config auto API spec sub resource to be created.
type CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails 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 name of the database object.
DatabaseObjectName *string `mandatory:"true" json:"databaseObjectName"`
// Description of the autoApiSpec.
Description *string `mandatory:"false" json:"description"`
// Used as the URI path element for this object. When not specified the objectName lowercase is the default value.
Alias *string `mandatory:"false" json:"alias"`
// The name of the database API gateway config privilege protecting the resource. Only valid for SCOPE JWT Profile pools and BEARER securitySchemes.
Scope *string `mandatory:"false" json:"scope"`
// The name of the database API gateway config roles protecting the resource. Only valid for RBAC JWT Profile pools and BEARER securitySchemes.
Roles []string `mandatory:"false" json:"roles"`
// The type of the database object.
DatabaseObjectType CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum `mandatory:"true" json:"databaseObjectType"`
// The operations to limit access to this resource. If not specified then the default is ["READ","WRITE"].
Operations []CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum `mandatory:"false" json:"operations,omitempty"`
// The security schemes that can access this resource. If not specified then the resource is public.
SecuritySchemes []CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum `mandatory:"false" json:"securitySchemes,omitempty"`
}
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails) GetAlias() *string
GetAlias returns Alias
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails) GetDatabaseObjectName() *string
GetDatabaseObjectName returns DatabaseObjectName
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails) GetDatabaseObjectType() CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum
GetDatabaseObjectType returns DatabaseObjectType
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails) GetDescription() *string
GetDescription returns Description
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails) GetOperations() []CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum
GetOperations returns Operations
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails) GetRoles() []string
GetRoles returns Roles
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails) GetScope() *string
GetScope returns Scope
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails) GetSecuritySchemes() []CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum
GetSecuritySchemes returns SecuritySchemes
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails) String() string
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails The content of a Database Tools database API gateway config auto API spec sub resource to be created.
type CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails interface {
// A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
GetDisplayName() *string
// The name of the database object.
GetDatabaseObjectName() *string
// The type of the database object.
GetDatabaseObjectType() CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum
// Description of the autoApiSpec.
GetDescription() *string
// Used as the URI path element for this object. When not specified the objectName lowercase is the default value.
GetAlias() *string
// The operations to limit access to this resource. If not specified then the default is ["READ","WRITE"].
GetOperations() []CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum
// The security schemes that can access this resource. If not specified then the resource is public.
GetSecuritySchemes() []CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum
// The name of the database API gateway config privilege protecting the resource. Only valid for SCOPE JWT Profile pools and BEARER securitySchemes.
GetScope() *string
// The name of the database API gateway config roles protecting the resource. Only valid for RBAC JWT Profile pools and BEARER securitySchemes.
GetRoles() []string
}
CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum Enum with underlying type: string
type CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum string
Set of constants representing the allowable values for CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum
const (
CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeFunction CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum = "FUNCTION"
CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeMview CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum = "MVIEW"
CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypePackage CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum = "PACKAGE"
CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeProcedure CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum = "PROCEDURE"
CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeTable CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum = "TABLE"
CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeView CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum = "VIEW"
CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeDualityview CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum = "DUALITYVIEW"
)
func GetCreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnumValues() []CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum
GetCreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnumValues Enumerates the set of values for CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum
func GetMappingCreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum(val string) (CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum, bool)
GetMappingCreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum Enum with underlying type: string
type CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum string
Set of constants representing the allowable values for CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum
const (
CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsRead CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum = "READ"
CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsWrite CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum = "WRITE"
)
func GetCreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnumValues() []CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum
GetCreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnumValues Enumerates the set of values for CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum
func GetMappingCreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum(val string) (CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum, bool)
GetMappingCreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum performs case Insensitive comparison on enum value and return the desired enum
CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum Enum with underlying type: string
type CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum string
Set of constants representing the allowable values for CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum
const (
CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesBasic CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum = "BASIC"
CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesBearer CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum = "BEARER"
)
func GetCreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnumValues() []CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum
GetCreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnumValues Enumerates the set of values for CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum
func GetMappingCreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum(val string) (CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum, bool)
GetMappingCreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum performs case Insensitive comparison on enum value and return the desired enum
CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest wrapper for the CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.go.html to see an example of how to use CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest.
type CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest 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 key of the pool config.
PoolKey *string `mandatory:"true" contributesTo:"path" name:"poolKey"`
// Details for the new Database Tools database API gateway config auto API spec resource.
CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails `contributesTo:"body"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// 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"`
// 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 CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest) String() string
func (request CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResponse wrapper for the CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec operation
type CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec instance
DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec `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 CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResponse) String() string
CreateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails The content of a Database Tools database API gateway config pool sub resource to be created.
type CreateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails 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 pool route value provided in requests to target this pool.
PoolRouteValue *string `mandatory:"true" json:"poolRouteValue"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools connection. Specifies the OCI database tools connection ocid to build the connection pool from.
DatabaseToolsConnectionId *string `mandatory:"true" json:"databaseToolsConnectionId"`
// Specifies the maximum number of database connections allowed for the pool.
MaxPoolSize *int `mandatory:"false" json:"maxPoolSize"`
// Specifies the minimum number of database connections allowed for the pool.
MinPoolSize *int `mandatory:"false" json:"minPoolSize"`
// Specifies the initial size for the number of database connections that will be created for the pool.
InitialPoolSize *int `mandatory:"false" json:"initialPoolSize"`
// Specifies the URL of the JSON Web Key (JWK) that is used to verify the signature of the JWT token.
JwtProfileJwkUrl *string `mandatory:"false" json:"jwtProfileJwkUrl"`
// Specifies the issuer of the JWT token. This value is used to validate the iss claim in the JWT token.
JwtProfileIssuer *string `mandatory:"false" json:"jwtProfileIssuer"`
// Specifies the expected audience for the JWT token. This value is used to validate the aud claim in the JWT token.
JwtProfileAudience *string `mandatory:"false" json:"jwtProfileAudience"`
// Specifies the JSON pointer to the claim in the JWT token that contains the roles of the users.
JwtProfileRoleClaimName *string `mandatory:"false" json:"jwtProfileRoleClaimName"`
// Advanced pool properties.
AdvancedProperties map[string]string `mandatory:"false" json:"advancedProperties"`
// Specifies to enable the Database Actions feature.
DatabaseActionsStatus CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum `mandatory:"false" json:"databaseActionsStatus,omitempty"`
// Specifies whether the REST-Enabled SQL service is active.
RestEnabledSqlStatus CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum `mandatory:"false" json:"restEnabledSqlStatus,omitempty"`
}
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) GetAdvancedProperties() map[string]string
GetAdvancedProperties returns AdvancedProperties
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) GetDatabaseActionsStatus() CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum
GetDatabaseActionsStatus returns DatabaseActionsStatus
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) GetDatabaseToolsConnectionId() *string
GetDatabaseToolsConnectionId returns DatabaseToolsConnectionId
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) GetInitialPoolSize() *int
GetInitialPoolSize returns InitialPoolSize
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) GetJwtProfileAudience() *string
GetJwtProfileAudience returns JwtProfileAudience
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) GetJwtProfileIssuer() *string
GetJwtProfileIssuer returns JwtProfileIssuer
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) GetJwtProfileJwkUrl() *string
GetJwtProfileJwkUrl returns JwtProfileJwkUrl
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) GetJwtProfileRoleClaimName() *string
GetJwtProfileRoleClaimName returns JwtProfileRoleClaimName
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) GetMaxPoolSize() *int
GetMaxPoolSize returns MaxPoolSize
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) GetMinPoolSize() *int
GetMinPoolSize returns MinPoolSize
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) GetPoolRouteValue() *string
GetPoolRouteValue returns PoolRouteValue
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) GetRestEnabledSqlStatus() CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum
GetRestEnabledSqlStatus returns RestEnabledSqlStatus
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) String() string
func (m CreateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetails The content of a Database Tools database API gateway config pool sub resource to be created.
type CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetails interface {
// A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
GetDisplayName() *string
// The pool route value provided in requests to target this pool.
GetPoolRouteValue() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools connection. Specifies the OCI database tools connection ocid to build the connection pool from.
GetDatabaseToolsConnectionId() *string
// Specifies the maximum number of database connections allowed for the pool.
GetMaxPoolSize() *int
// Specifies the minimum number of database connections allowed for the pool.
GetMinPoolSize() *int
// Specifies the initial size for the number of database connections that will be created for the pool.
GetInitialPoolSize() *int
// Specifies the URL of the JSON Web Key (JWK) that is used to verify the signature of the JWT token.
GetJwtProfileJwkUrl() *string
// Specifies the issuer of the JWT token. This value is used to validate the iss claim in the JWT token.
GetJwtProfileIssuer() *string
// Specifies the expected audience for the JWT token. This value is used to validate the aud claim in the JWT token.
GetJwtProfileAudience() *string
// Specifies the JSON pointer to the claim in the JWT token that contains the roles of the users.
GetJwtProfileRoleClaimName() *string
// Specifies to enable the Database Actions feature.
GetDatabaseActionsStatus() CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum
// Specifies whether the REST-Enabled SQL service is active.
GetRestEnabledSqlStatus() CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum
// Advanced pool properties.
GetAdvancedProperties() map[string]string
}
CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum Enum with underlying type: string
type CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum string
Set of constants representing the allowable values for CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum
const (
CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnabled CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum = "ENABLED"
CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusDisabled CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum = "DISABLED"
)
func GetCreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnumValues() []CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum
GetCreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnumValues Enumerates the set of values for CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum
func GetMappingCreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum(val string) (CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum, bool)
GetMappingCreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum Enum with underlying type: string
type CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum string
Set of constants representing the allowable values for CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum
const (
CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnabled CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum = "ENABLED"
CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusDisabled CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum = "DISABLED"
)
func GetCreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnumValues() []CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum
GetCreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnumValues Enumerates the set of values for CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum
func GetMappingCreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum(val string) (CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum, bool)
GetMappingCreateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum performs case Insensitive comparison on enum value and return the desired enum
CreateDatabaseToolsDatabaseApiGatewayConfigPoolRequest wrapper for the CreateDatabaseToolsDatabaseApiGatewayConfigPool operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/CreateDatabaseToolsDatabaseApiGatewayConfigPool.go.html to see an example of how to use CreateDatabaseToolsDatabaseApiGatewayConfigPoolRequest.
type CreateDatabaseToolsDatabaseApiGatewayConfigPoolRequest 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"`
// Details for the new Database Tools database API gateway config pool resource.
CreateDatabaseToolsDatabaseApiGatewayConfigPoolDetails `contributesTo:"body"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// 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"`
// 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 CreateDatabaseToolsDatabaseApiGatewayConfigPoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDatabaseToolsDatabaseApiGatewayConfigPoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDatabaseToolsDatabaseApiGatewayConfigPoolRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDatabaseToolsDatabaseApiGatewayConfigPoolRequest) String() string
func (request CreateDatabaseToolsDatabaseApiGatewayConfigPoolRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseToolsDatabaseApiGatewayConfigPoolResponse wrapper for the CreateDatabaseToolsDatabaseApiGatewayConfigPool operation
type CreateDatabaseToolsDatabaseApiGatewayConfigPoolResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsDatabaseApiGatewayConfigPool instance
DatabaseToolsDatabaseApiGatewayConfigPool `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 CreateDatabaseToolsDatabaseApiGatewayConfigPoolResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDatabaseToolsDatabaseApiGatewayConfigPoolResponse) String() string
Credential Credential information
type Credential struct {
// Name of the credential
Key *string `mandatory:"true" json:"key"`
// Name of the user that will be used to log in to the remote database or the remote or local operating system
UserName *string `mandatory:"true" json:"userName"`
// Indicates whether this credential is enabled (TRUE) or not (FALSE)
Enabled *string `mandatory:"true" json:"enabled"`
// Owner of the credential
Owner *string `mandatory:"true" json:"owner"`
// For a Windows target, the Windows domain to use when logging in
WindowsDomain *string `mandatory:"false" json:"windowsDomain"`
// Indicates whether this refers to a public synonym or not.
KeyType CredentialKeyTypeEnum `mandatory:"false" json:"keyType,omitempty"`
RelatedResource *CredentialRelatedResource `mandatory:"false" json:"relatedResource"`
}
func (m Credential) String() string
func (m Credential) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CredentialCollection List of `CredentialSummary` items.
type CredentialCollection struct {
// Array of `CredentialSummary` items.
Items []CredentialSummary `mandatory:"true" json:"items"`
}
func (m CredentialCollection) String() string
func (m CredentialCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CredentialExecuteGrantee Specifies the database user, the grantee, who is granted the execute privilege on the credential.
type CredentialExecuteGrantee struct {
// The name of the user to grant the EXECUTE privilege on the credential.
Key *string `mandatory:"true" json:"key"`
}
func (m CredentialExecuteGrantee) String() string
func (m CredentialExecuteGrantee) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CredentialExecuteGranteeCollection List of `CredentialExecuteGranteeSummary` items.
type CredentialExecuteGranteeCollection struct {
// Array of `CredentialExecuteGranteeSummary` items.
Items []CredentialExecuteGranteeSummary `mandatory:"true" json:"items"`
}
func (m CredentialExecuteGranteeCollection) String() string
func (m CredentialExecuteGranteeCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CredentialExecuteGranteeSummary Specifies the database user, the grantee, who is granted the execute privilege on the credential.
type CredentialExecuteGranteeSummary struct {
// The name of the user to grant the EXECUTE privilege on the credential.
Key *string `mandatory:"true" json:"key"`
}
func (m CredentialExecuteGranteeSummary) String() string
func (m CredentialExecuteGranteeSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CredentialKeyTypeEnum Enum with underlying type: string
type CredentialKeyTypeEnum string
Set of constants representing the allowable values for CredentialKeyTypeEnum
const (
CredentialKeyTypeCredentialName CredentialKeyTypeEnum = "CREDENTIAL_NAME"
CredentialKeyTypePublicSynonym CredentialKeyTypeEnum = "PUBLIC_SYNONYM"
)
func GetCredentialKeyTypeEnumValues() []CredentialKeyTypeEnum
GetCredentialKeyTypeEnumValues Enumerates the set of values for CredentialKeyTypeEnum
func GetMappingCredentialKeyTypeEnum(val string) (CredentialKeyTypeEnum, bool)
GetMappingCredentialKeyTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CredentialPublicSynonym The public synonym information
type CredentialPublicSynonym struct {
// The name of the public synonym for the credential
Key *string `mandatory:"true" json:"key"`
}
func (m CredentialPublicSynonym) String() string
func (m CredentialPublicSynonym) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CredentialPublicSynonymCollection List of `CredentialPublicSynonymSummary` items.
type CredentialPublicSynonymCollection struct {
// Array of `CredentialPublicSynonymSummary` items.
Items []CredentialPublicSynonymSummary `mandatory:"true" json:"items"`
}
func (m CredentialPublicSynonymCollection) String() string
func (m CredentialPublicSynonymCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CredentialPublicSynonymSummary The public synonym information
type CredentialPublicSynonymSummary struct {
// The name of the public synonym for the credential
Key *string `mandatory:"true" json:"key"`
}
func (m CredentialPublicSynonymSummary) String() string
func (m CredentialPublicSynonymSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CredentialRelatedResource A related resource for a credential.
type CredentialRelatedResource struct {
// The related resource type.
Type CredentialRelatedResourceTypeEnum `mandatory:"true" json:"type"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related resource.
Identifier *string `mandatory:"true" json:"identifier"`
}
func (m CredentialRelatedResource) String() string
func (m CredentialRelatedResource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CredentialRelatedResourceTypeEnum Enum with underlying type: string
type CredentialRelatedResourceTypeEnum string
Set of constants representing the allowable values for CredentialRelatedResourceTypeEnum
const (
CredentialRelatedResourceTypeDatabaseToolsIdentity CredentialRelatedResourceTypeEnum = "DATABASE_TOOLS_IDENTITY"
)
func GetCredentialRelatedResourceTypeEnumValues() []CredentialRelatedResourceTypeEnum
GetCredentialRelatedResourceTypeEnumValues Enumerates the set of values for CredentialRelatedResourceTypeEnum
func GetMappingCredentialRelatedResourceTypeEnum(val string) (CredentialRelatedResourceTypeEnum, bool)
GetMappingCredentialRelatedResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CredentialSummary Credential information
type CredentialSummary struct {
// Name of the credential
Key *string `mandatory:"true" json:"key"`
// Name of the user that will be used to log in to the remote database or the remote or local operating system
UserName *string `mandatory:"true" json:"userName"`
// Indicates whether this credential is enabled (TRUE) or not (FALSE)
Enabled *string `mandatory:"true" json:"enabled"`
// Owner of the credential
Owner *string `mandatory:"true" json:"owner"`
// For a Windows target, the Windows domain to use when logging in
WindowsDomain *string `mandatory:"false" json:"windowsDomain"`
// Indicates whether this refers to a public synonym or not.
KeyType CredentialKeyTypeEnum `mandatory:"false" json:"keyType,omitempty"`
RelatedResource *CredentialRelatedResource `mandatory:"false" json:"relatedResource"`
}
func (m CredentialSummary) String() string
func (m CredentialSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CredentialTypeEnum Enum with underlying type: string
type CredentialTypeEnum string
Set of constants representing the allowable values for CredentialTypeEnum
const (
CredentialTypeBasic CredentialTypeEnum = "BASIC"
)
func GetCredentialTypeEnumValues() []CredentialTypeEnum
GetCredentialTypeEnumValues Enumerates the set of values for CredentialTypeEnum
func GetMappingCredentialTypeEnum(val string) (CredentialTypeEnum, bool)
GetMappingCredentialTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseApiGatewayConfigAdvancedPropertyConfigTypeEnum Enum with underlying type: string
type DatabaseApiGatewayConfigAdvancedPropertyConfigTypeEnum string
Set of constants representing the allowable values for DatabaseApiGatewayConfigAdvancedPropertyConfigTypeEnum
const (
DatabaseApiGatewayConfigAdvancedPropertyConfigTypeGlobal DatabaseApiGatewayConfigAdvancedPropertyConfigTypeEnum = "GLOBAL"
DatabaseApiGatewayConfigAdvancedPropertyConfigTypePool DatabaseApiGatewayConfigAdvancedPropertyConfigTypeEnum = "POOL"
)
func GetDatabaseApiGatewayConfigAdvancedPropertyConfigTypeEnumValues() []DatabaseApiGatewayConfigAdvancedPropertyConfigTypeEnum
GetDatabaseApiGatewayConfigAdvancedPropertyConfigTypeEnumValues Enumerates the set of values for DatabaseApiGatewayConfigAdvancedPropertyConfigTypeEnum
func GetMappingDatabaseApiGatewayConfigAdvancedPropertyConfigTypeEnum(val string) (DatabaseApiGatewayConfigAdvancedPropertyConfigTypeEnum, bool)
GetMappingDatabaseApiGatewayConfigAdvancedPropertyConfigTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseApiGatewayConfigCertificateBundle The certificate bundle that describes the SSL certicicate. Ignored if the httpsPort is 0.
type DatabaseApiGatewayConfigCertificateBundle interface {
}
DatabaseApiGatewayConfigCertificateBundleFileName The certificate bundle that describes the SSL certicicate files.
type DatabaseApiGatewayConfigCertificateBundleFileName struct {
CertificatePublic *DatabaseApiGatewayConfigCertificatePublicFileName `mandatory:"false" json:"certificatePublic"`
CertificatePrivateKey *DatabaseApiGatewayConfigCertificatePrivateKeyFileName `mandatory:"false" json:"certificatePrivateKey"`
}
func (m DatabaseApiGatewayConfigCertificateBundleFileName) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseApiGatewayConfigCertificateBundleFileName) String() string
func (m DatabaseApiGatewayConfigCertificateBundleFileName) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseApiGatewayConfigCertificateBundleSelfSigned The certificate bundle that denotes the use of a self signed certificate.
type DatabaseApiGatewayConfigCertificateBundleSelfSigned struct {
}
func (m DatabaseApiGatewayConfigCertificateBundleSelfSigned) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseApiGatewayConfigCertificateBundleSelfSigned) String() string
func (m DatabaseApiGatewayConfigCertificateBundleSelfSigned) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseApiGatewayConfigCertificateBundleTypeEnum Enum with underlying type: string
type DatabaseApiGatewayConfigCertificateBundleTypeEnum string
Set of constants representing the allowable values for DatabaseApiGatewayConfigCertificateBundleTypeEnum
const (
DatabaseApiGatewayConfigCertificateBundleTypeFilename DatabaseApiGatewayConfigCertificateBundleTypeEnum = "FILENAME"
DatabaseApiGatewayConfigCertificateBundleTypeSelfSigned DatabaseApiGatewayConfigCertificateBundleTypeEnum = "SELF_SIGNED"
)
func GetDatabaseApiGatewayConfigCertificateBundleTypeEnumValues() []DatabaseApiGatewayConfigCertificateBundleTypeEnum
GetDatabaseApiGatewayConfigCertificateBundleTypeEnumValues Enumerates the set of values for DatabaseApiGatewayConfigCertificateBundleTypeEnum
func GetMappingDatabaseApiGatewayConfigCertificateBundleTypeEnum(val string) (DatabaseApiGatewayConfigCertificateBundleTypeEnum, bool)
GetMappingDatabaseApiGatewayConfigCertificateBundleTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseApiGatewayConfigCertificatePrivateKeyFileName Describes a certificate private key file to be used with SSL
type DatabaseApiGatewayConfigCertificatePrivateKeyFileName struct {
// The format of the file
Format DatabaseApiGatewayConfigCertificatePrivateKeyFileNameFormatEnum `mandatory:"false" json:"format,omitempty"`
// The path to the file
Path *string `mandatory:"false" json:"path"`
}
func (m DatabaseApiGatewayConfigCertificatePrivateKeyFileName) String() string
func (m DatabaseApiGatewayConfigCertificatePrivateKeyFileName) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseApiGatewayConfigCertificatePrivateKeyFileNameFormatEnum Enum with underlying type: string
type DatabaseApiGatewayConfigCertificatePrivateKeyFileNameFormatEnum string
Set of constants representing the allowable values for DatabaseApiGatewayConfigCertificatePrivateKeyFileNameFormatEnum
const (
DatabaseApiGatewayConfigCertificatePrivateKeyFileNameFormatDer DatabaseApiGatewayConfigCertificatePrivateKeyFileNameFormatEnum = "DER"
DatabaseApiGatewayConfigCertificatePrivateKeyFileNameFormatPem DatabaseApiGatewayConfigCertificatePrivateKeyFileNameFormatEnum = "PEM"
)
func GetDatabaseApiGatewayConfigCertificatePrivateKeyFileNameFormatEnumValues() []DatabaseApiGatewayConfigCertificatePrivateKeyFileNameFormatEnum
GetDatabaseApiGatewayConfigCertificatePrivateKeyFileNameFormatEnumValues Enumerates the set of values for DatabaseApiGatewayConfigCertificatePrivateKeyFileNameFormatEnum
func GetMappingDatabaseApiGatewayConfigCertificatePrivateKeyFileNameFormatEnum(val string) (DatabaseApiGatewayConfigCertificatePrivateKeyFileNameFormatEnum, bool)
GetMappingDatabaseApiGatewayConfigCertificatePrivateKeyFileNameFormatEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseApiGatewayConfigCertificatePublicFileName Describes a certificate file to be used with SSL. Ignored if the httpsPort is 0.
type DatabaseApiGatewayConfigCertificatePublicFileName struct {
// The format of the file
Format DatabaseApiGatewayConfigCertificatePublicFileNameFormatEnum `mandatory:"false" json:"format,omitempty"`
// The path to the file
Path *string `mandatory:"false" json:"path"`
}
func (m DatabaseApiGatewayConfigCertificatePublicFileName) String() string
func (m DatabaseApiGatewayConfigCertificatePublicFileName) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseApiGatewayConfigCertificatePublicFileNameFormatEnum Enum with underlying type: string
type DatabaseApiGatewayConfigCertificatePublicFileNameFormatEnum string
Set of constants representing the allowable values for DatabaseApiGatewayConfigCertificatePublicFileNameFormatEnum
const (
DatabaseApiGatewayConfigCertificatePublicFileNameFormatPem DatabaseApiGatewayConfigCertificatePublicFileNameFormatEnum = "PEM"
)
func GetDatabaseApiGatewayConfigCertificatePublicFileNameFormatEnumValues() []DatabaseApiGatewayConfigCertificatePublicFileNameFormatEnum
GetDatabaseApiGatewayConfigCertificatePublicFileNameFormatEnumValues Enumerates the set of values for DatabaseApiGatewayConfigCertificatePublicFileNameFormatEnum
func GetMappingDatabaseApiGatewayConfigCertificatePublicFileNameFormatEnum(val string) (DatabaseApiGatewayConfigCertificatePublicFileNameFormatEnum, bool)
GetMappingDatabaseApiGatewayConfigCertificatePublicFileNameFormatEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseApiGatewayConfigGlobalKeyEnum Enum with underlying type: string
type DatabaseApiGatewayConfigGlobalKeyEnum string
Set of constants representing the allowable values for DatabaseApiGatewayConfigGlobalKeyEnum
const (
DatabaseApiGatewayConfigGlobalKeySettings DatabaseApiGatewayConfigGlobalKeyEnum = "SETTINGS"
)
func GetDatabaseApiGatewayConfigGlobalKeyEnumValues() []DatabaseApiGatewayConfigGlobalKeyEnum
GetDatabaseApiGatewayConfigGlobalKeyEnumValues Enumerates the set of values for DatabaseApiGatewayConfigGlobalKeyEnum
func GetMappingDatabaseApiGatewayConfigGlobalKeyEnum(val string) (DatabaseApiGatewayConfigGlobalKeyEnum, bool)
GetMappingDatabaseApiGatewayConfigGlobalKeyEnum 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
DatabaseToolsConnection Simplified DatabaseToolsConnection representation for splat usage only
type DatabaseToolsConnection 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 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 compartment containing the Database Tools connection.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The current state of the Database Tools connection.
LifecycleState DatabaseToolsConnectionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The time the Database Tools connection was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the DatabaseToolsConnection was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The Database Tools connection type.
Type ConnectionTypeEnum `mandatory:"true" json:"type"`
// 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"`
}
func (m DatabaseToolsConnection) String() string
func (m DatabaseToolsConnection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsConnectionLifecycleStateEnum Enum with underlying type: string
type DatabaseToolsConnectionLifecycleStateEnum string
Set of constants representing the allowable values for DatabaseToolsConnectionLifecycleStateEnum
const (
DatabaseToolsConnectionLifecycleStateCreating DatabaseToolsConnectionLifecycleStateEnum = "CREATING"
DatabaseToolsConnectionLifecycleStateUpdating DatabaseToolsConnectionLifecycleStateEnum = "UPDATING"
DatabaseToolsConnectionLifecycleStateActive DatabaseToolsConnectionLifecycleStateEnum = "ACTIVE"
DatabaseToolsConnectionLifecycleStateInactive DatabaseToolsConnectionLifecycleStateEnum = "INACTIVE"
DatabaseToolsConnectionLifecycleStateDeleting DatabaseToolsConnectionLifecycleStateEnum = "DELETING"
DatabaseToolsConnectionLifecycleStateDeleted DatabaseToolsConnectionLifecycleStateEnum = "DELETED"
DatabaseToolsConnectionLifecycleStateFailed DatabaseToolsConnectionLifecycleStateEnum = "FAILED"
)
func GetDatabaseToolsConnectionLifecycleStateEnumValues() []DatabaseToolsConnectionLifecycleStateEnum
GetDatabaseToolsConnectionLifecycleStateEnumValues Enumerates the set of values for DatabaseToolsConnectionLifecycleStateEnum
func GetMappingDatabaseToolsConnectionLifecycleStateEnum(val string) (DatabaseToolsConnectionLifecycleStateEnum, bool)
GetMappingDatabaseToolsConnectionLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsDatabaseApiGatewayConfig Simplified DatabaseToolsDatabaseApiGatewayConfig representation for splat usage only.
type DatabaseToolsDatabaseApiGatewayConfig 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 Database Tools database API gateway config type.
Type DatabaseApiGatewayConfigTypeEnum `mandatory:"true" json:"type"`
// 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 current state of the Database Tools database API gateway config.
LifecycleState DatabaseToolsDatabaseApiGatewayConfigLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// 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"`
}
func (m DatabaseToolsDatabaseApiGatewayConfig) String() string
func (m DatabaseToolsDatabaseApiGatewayConfig) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummary Description of a database API gateway config setting to be provided as an advanced property.
type DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummary struct {
// A string that uniquely identifies a Database Tools database API gateway config global settings resource.
Key *string `mandatory:"true" json:"key"`
// A user-friendly name.
DisplayName *string `mandatory:"true" json:"displayName"`
// The data type of a database API gateway config setting.
DataType DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDataTypeEnum `mandatory:"true" json:"dataType"`
// The config types that support this advanced property. The supported types are GLOBAL and POOL.
ConfigTypes []DatabaseApiGatewayConfigAdvancedPropertyConfigTypeEnum `mandatory:"false" json:"configTypes,omitempty"`
// The category of the Database Tools database API gateway config global setting.
CategoryKey *string `mandatory:"false" json:"categoryKey"`
// A user-friendly name of a category.
CategoryDisplayName *string `mandatory:"false" json:"categoryDisplayName"`
// The type of database (as determined by a type of Database Tools connection) to which this setting applies.
// The advancedProperty applies to all types of Database Tools connection when null. This is only applicable
// when configTypes includes POOL.
DatabaseToolsConnectionTypes []DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDatabaseToolsConnectionTypesEnum `mandatory:"false" json:"databaseToolsConnectionTypes,omitempty"`
// Uniform resource locator (URL) of documentation related to this setting.
DocumentationUrl *string `mandatory:"false" json:"documentationUrl"`
// A user-friendly description of a database API gateway config setting.
Description *string `mandatory:"false" json:"description"`
// The default value (if applicable) of a database API gateway config setting.
DefaultValue *string `mandatory:"false" json:"defaultValue"`
// A minimum numeric value (if applicable) of a database API gateway config setting.
MinValue *int `mandatory:"false" json:"minValue"`
// A maximum numeric value (if applicable) of a database API gateway config setting.
MaxValue *int `mandatory:"false" json:"maxValue"`
// A list of string values (if applicable) supported by this database API gateway config setting.
ListOfValues []string `mandatory:"false" json:"listOfValues"`
// Hint text for a database API gateway config setting.
HintText *string `mandatory:"false" json:"hintText"`
}
func (m DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummary) String() string
func (m DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryCollection List of database API gateway config setting descriptions to be provided as advanced properties.
type DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryCollection struct {
// List of database API gateway config setting descriptions to be provided as advanced properties.
Items []DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummary `mandatory:"true" json:"items"`
}
func (m DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryCollection) String() string
func (m DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDataTypeEnum Enum with underlying type: string
type DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDataTypeEnum string
Set of constants representing the allowable values for DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDataTypeEnum
const (
DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDataTypeString DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDataTypeEnum = "STRING"
DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDataTypeNumber DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDataTypeEnum = "NUMBER"
DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDataTypeDuration DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDataTypeEnum = "DURATION"
DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDataTypeBoolean DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDataTypeEnum = "BOOLEAN"
)
func GetDatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDataTypeEnumValues() []DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDataTypeEnum
GetDatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDataTypeEnumValues Enumerates the set of values for DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDataTypeEnum
func GetMappingDatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDataTypeEnum(val string) (DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDataTypeEnum, bool)
GetMappingDatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDataTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDatabaseToolsConnectionTypesEnum Enum with underlying type: string
type DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDatabaseToolsConnectionTypesEnum string
Set of constants representing the allowable values for DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDatabaseToolsConnectionTypesEnum
const (
DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDatabaseToolsConnectionTypesOracleDatabase DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDatabaseToolsConnectionTypesEnum = "ORACLE_DATABASE"
DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDatabaseToolsConnectionTypesMysql DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDatabaseToolsConnectionTypesEnum = "MYSQL"
)
func GetDatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDatabaseToolsConnectionTypesEnumValues() []DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDatabaseToolsConnectionTypesEnum
GetDatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDatabaseToolsConnectionTypesEnumValues Enumerates the set of values for DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDatabaseToolsConnectionTypesEnum
func GetMappingDatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDatabaseToolsConnectionTypesEnum(val string) (DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDatabaseToolsConnectionTypesEnum, bool)
GetMappingDatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryDatabaseToolsConnectionTypesEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsDatabaseApiGatewayConfigContent The content of a Database Tools database API gateway config global resource.
type DatabaseToolsDatabaseApiGatewayConfigContent struct {
Global DatabaseToolsDatabaseApiGatewayConfigGlobal `mandatory:"true" json:"global"`
// The content of the Database Tools database API gateway config pools each with API spec and auto API spec definitions.
Pools []DatabaseToolsDatabaseApiGatewayConfigPoolContent `mandatory:"false" json:"pools"`
}
func (m DatabaseToolsDatabaseApiGatewayConfigContent) String() string
func (m *DatabaseToolsDatabaseApiGatewayConfigContent) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsDatabaseApiGatewayConfigContent) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsDatabaseApiGatewayConfigGlobal The content of a Database Tools database API gateway config global resource.
type DatabaseToolsDatabaseApiGatewayConfigGlobal interface {
// A string that uniquely identifies a Database Tools database API gateway config global settings resource.
GetKey() *string
// The time the resource was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the resource was updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
// How the target pool route value is determined for a HTTP request.
GetPoolRoute() DatabaseToolsDatabaseApiGatewayConfigGlobalPoolRouteEnum
// The request header name providing the pool route value.
GetPoolRoutingHeader() *string
// ORDS database API is a database management and monitoring REST API. Database Actions requires this feature.
GetDatabaseApiStatus() DatabaseToolsDatabaseApiGatewayConfigGlobalDatabaseApiStatusEnum
// The RESTful service definition location.
GetMetadataSource() DatabaseToolsDatabaseApiGatewayConfigGlobalMetadataSourceEnum
// Specifies the HTTP listen port. 0 disables HTTP. Use of ports below 1024 requires elevated (root) privileges and is generally discouraged; deployment on non-privileged ports (1024–65535) is recommended.
GetHttpPort() *int
// Specifies the HTTPS listen port. 0 disables HTTPS. Use of ports below 1024 requires elevated (root) privileges and is generally discouraged; deployment on non-privileged ports (1024–65535) is recommended. ORDS will use a self-signed certificate if a certificate bundle is not provided.
GetHttpsPort() *int
GetCertificateBundle() DatabaseApiGatewayConfigCertificateBundle
// The location of the static resources to be served under the / root server path.
GetDocumentRoot() *string
// Advanced global properties.
GetAdvancedProperties() map[string]string
}
DatabaseToolsDatabaseApiGatewayConfigGlobalDatabaseApiStatusEnum Enum with underlying type: string
type DatabaseToolsDatabaseApiGatewayConfigGlobalDatabaseApiStatusEnum string
Set of constants representing the allowable values for DatabaseToolsDatabaseApiGatewayConfigGlobalDatabaseApiStatusEnum
const (
DatabaseToolsDatabaseApiGatewayConfigGlobalDatabaseApiStatusEnabled DatabaseToolsDatabaseApiGatewayConfigGlobalDatabaseApiStatusEnum = "ENABLED"
DatabaseToolsDatabaseApiGatewayConfigGlobalDatabaseApiStatusDisabled DatabaseToolsDatabaseApiGatewayConfigGlobalDatabaseApiStatusEnum = "DISABLED"
)
func GetDatabaseToolsDatabaseApiGatewayConfigGlobalDatabaseApiStatusEnumValues() []DatabaseToolsDatabaseApiGatewayConfigGlobalDatabaseApiStatusEnum
GetDatabaseToolsDatabaseApiGatewayConfigGlobalDatabaseApiStatusEnumValues Enumerates the set of values for DatabaseToolsDatabaseApiGatewayConfigGlobalDatabaseApiStatusEnum
func GetMappingDatabaseToolsDatabaseApiGatewayConfigGlobalDatabaseApiStatusEnum(val string) (DatabaseToolsDatabaseApiGatewayConfigGlobalDatabaseApiStatusEnum, bool)
GetMappingDatabaseToolsDatabaseApiGatewayConfigGlobalDatabaseApiStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsDatabaseApiGatewayConfigGlobalDefault The content of a Database Tools database API gateway config global resource.
type DatabaseToolsDatabaseApiGatewayConfigGlobalDefault struct {
// A string that uniquely identifies a Database Tools database API gateway config global settings resource.
Key *string `mandatory:"true" json:"key"`
// The time the resource was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the resource was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The request header name providing the pool route value.
PoolRoutingHeader *string `mandatory:"false" json:"poolRoutingHeader"`
// Specifies the HTTP listen port. 0 disables HTTP. Use of ports below 1024 requires elevated (root) privileges and is generally discouraged; deployment on non-privileged ports (1024–65535) is recommended.
HttpPort *int `mandatory:"false" json:"httpPort"`
// Specifies the HTTPS listen port. 0 disables HTTPS. Use of ports below 1024 requires elevated (root) privileges and is generally discouraged; deployment on non-privileged ports (1024–65535) is recommended. ORDS will use a self-signed certificate if a certificate bundle is not provided.
HttpsPort *int `mandatory:"false" json:"httpsPort"`
CertificateBundle DatabaseApiGatewayConfigCertificateBundle `mandatory:"false" json:"certificateBundle"`
// The location of the static resources to be served under the / root server path.
DocumentRoot *string `mandatory:"false" json:"documentRoot"`
// Advanced global properties.
AdvancedProperties map[string]string `mandatory:"false" json:"advancedProperties"`
// How the target pool route value is determined for a HTTP request.
PoolRoute DatabaseToolsDatabaseApiGatewayConfigGlobalPoolRouteEnum `mandatory:"false" json:"poolRoute,omitempty"`
// ORDS database API is a database management and monitoring REST API. Database Actions requires this feature.
DatabaseApiStatus DatabaseToolsDatabaseApiGatewayConfigGlobalDatabaseApiStatusEnum `mandatory:"false" json:"databaseApiStatus,omitempty"`
// The RESTful service definition location.
MetadataSource DatabaseToolsDatabaseApiGatewayConfigGlobalMetadataSourceEnum `mandatory:"false" json:"metadataSource,omitempty"`
}
func (m DatabaseToolsDatabaseApiGatewayConfigGlobalDefault) GetAdvancedProperties() map[string]string
GetAdvancedProperties returns AdvancedProperties
func (m DatabaseToolsDatabaseApiGatewayConfigGlobalDefault) GetCertificateBundle() DatabaseApiGatewayConfigCertificateBundle
GetCertificateBundle returns CertificateBundle
func (m DatabaseToolsDatabaseApiGatewayConfigGlobalDefault) GetDatabaseApiStatus() DatabaseToolsDatabaseApiGatewayConfigGlobalDatabaseApiStatusEnum
GetDatabaseApiStatus returns DatabaseApiStatus
func (m DatabaseToolsDatabaseApiGatewayConfigGlobalDefault) GetDocumentRoot() *string
GetDocumentRoot returns DocumentRoot
func (m DatabaseToolsDatabaseApiGatewayConfigGlobalDefault) GetHttpPort() *int
GetHttpPort returns HttpPort
func (m DatabaseToolsDatabaseApiGatewayConfigGlobalDefault) GetHttpsPort() *int
GetHttpsPort returns HttpsPort
func (m DatabaseToolsDatabaseApiGatewayConfigGlobalDefault) GetKey() *string
GetKey returns Key
func (m DatabaseToolsDatabaseApiGatewayConfigGlobalDefault) GetMetadataSource() DatabaseToolsDatabaseApiGatewayConfigGlobalMetadataSourceEnum
GetMetadataSource returns MetadataSource
func (m DatabaseToolsDatabaseApiGatewayConfigGlobalDefault) GetPoolRoute() DatabaseToolsDatabaseApiGatewayConfigGlobalPoolRouteEnum
GetPoolRoute returns PoolRoute
func (m DatabaseToolsDatabaseApiGatewayConfigGlobalDefault) GetPoolRoutingHeader() *string
GetPoolRoutingHeader returns PoolRoutingHeader
func (m DatabaseToolsDatabaseApiGatewayConfigGlobalDefault) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsDatabaseApiGatewayConfigGlobalDefault) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsDatabaseApiGatewayConfigGlobalDefault) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsDatabaseApiGatewayConfigGlobalDefault) String() string
func (m *DatabaseToolsDatabaseApiGatewayConfigGlobalDefault) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsDatabaseApiGatewayConfigGlobalDefault) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsDatabaseApiGatewayConfigGlobalMetadataSourceEnum Enum with underlying type: string
type DatabaseToolsDatabaseApiGatewayConfigGlobalMetadataSourceEnum string
Set of constants representing the allowable values for DatabaseToolsDatabaseApiGatewayConfigGlobalMetadataSourceEnum
const (
DatabaseToolsDatabaseApiGatewayConfigGlobalMetadataSourceDatabase DatabaseToolsDatabaseApiGatewayConfigGlobalMetadataSourceEnum = "DATABASE"
DatabaseToolsDatabaseApiGatewayConfigGlobalMetadataSourceCloud DatabaseToolsDatabaseApiGatewayConfigGlobalMetadataSourceEnum = "CLOUD"
)
func GetDatabaseToolsDatabaseApiGatewayConfigGlobalMetadataSourceEnumValues() []DatabaseToolsDatabaseApiGatewayConfigGlobalMetadataSourceEnum
GetDatabaseToolsDatabaseApiGatewayConfigGlobalMetadataSourceEnumValues Enumerates the set of values for DatabaseToolsDatabaseApiGatewayConfigGlobalMetadataSourceEnum
func GetMappingDatabaseToolsDatabaseApiGatewayConfigGlobalMetadataSourceEnum(val string) (DatabaseToolsDatabaseApiGatewayConfigGlobalMetadataSourceEnum, bool)
GetMappingDatabaseToolsDatabaseApiGatewayConfigGlobalMetadataSourceEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsDatabaseApiGatewayConfigGlobalPoolRouteEnum Enum with underlying type: string
type DatabaseToolsDatabaseApiGatewayConfigGlobalPoolRouteEnum string
Set of constants representing the allowable values for DatabaseToolsDatabaseApiGatewayConfigGlobalPoolRouteEnum
const (
DatabaseToolsDatabaseApiGatewayConfigGlobalPoolRoutePath DatabaseToolsDatabaseApiGatewayConfigGlobalPoolRouteEnum = "PATH"
DatabaseToolsDatabaseApiGatewayConfigGlobalPoolRouteHeader DatabaseToolsDatabaseApiGatewayConfigGlobalPoolRouteEnum = "HEADER"
)
func GetDatabaseToolsDatabaseApiGatewayConfigGlobalPoolRouteEnumValues() []DatabaseToolsDatabaseApiGatewayConfigGlobalPoolRouteEnum
GetDatabaseToolsDatabaseApiGatewayConfigGlobalPoolRouteEnumValues Enumerates the set of values for DatabaseToolsDatabaseApiGatewayConfigGlobalPoolRouteEnum
func GetMappingDatabaseToolsDatabaseApiGatewayConfigGlobalPoolRouteEnum(val string) (DatabaseToolsDatabaseApiGatewayConfigGlobalPoolRouteEnum, bool)
GetMappingDatabaseToolsDatabaseApiGatewayConfigGlobalPoolRouteEnum performs case Insensitive comparison on enum value and return the desired enum
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
DatabaseToolsDatabaseApiGatewayConfigPool The content of a Database Tools database API gateway config pool sub resource.
type DatabaseToolsDatabaseApiGatewayConfigPool interface {
// A system generated string that uniquely identifies a pool sub resource.
GetKey() *string
// The time the resource was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the resource was updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
// A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
GetDisplayName() *string
// The pool route value provided in requests to target this pool.
GetPoolRouteValue() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools connection. Specifies the OCI database tools connection ocid to build the connection pool from.
GetDatabaseToolsConnectionId() *string
// Specifies the maximum number of database connections allowed for the pool.
GetMaxPoolSize() *int
// Specifies the minimum number of database connections allowed for the pool.
GetMinPoolSize() *int
// Specifies the initial size for the number of database connections that will be created for the pool.
GetInitialPoolSize() *int
// Specifies the URL of the JSON Web Key (JWK) that is used to verify the signature of the JWT token.
GetJwtProfileJwkUrl() *string
// Specifies the issuer of the JWT token. This value is used to validate the iss claim in the JWT token.
GetJwtProfileIssuer() *string
// Specifies the expected audience for the JWT token. This value is used to validate the aud claim in the JWT token.
GetJwtProfileAudience() *string
// Specifies the JSON pointer to the claim in the JWT token that contains the roles of the users.
GetJwtProfileRoleClaimName() *string
// Specifies to enable the Database Actions feature.
GetDatabaseActionsStatus() DatabaseToolsDatabaseApiGatewayConfigPoolDatabaseActionsStatusEnum
// Specifies whether the REST-Enabled SQL service is active.
GetRestEnabledSqlStatus() DatabaseToolsDatabaseApiGatewayConfigPoolRestEnabledSqlStatusEnum
// Advanced pool properties.
GetAdvancedProperties() map[string]string
}
DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec The content of a Database Tools database API gateway config API spec sub resource defined within a pool.
type DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec interface {
// A system generated string that uniquely identifies an API spec sub resource within a given pool.
GetKey() *string
// A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
GetDisplayName() *string
// The content of a string-escaped Open API spec in JSON format.
GetContent() *string
// The time the resource was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the resource was updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
}
DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecCollection List of Database Tools database API gateway config API spec summary items.
type DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecCollection struct {
// Array of Database Tools database API gateway config API spec summary items.
Items []DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecSummary `mandatory:"true" json:"items"`
}
func (m DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecCollection) String() string
func (m *DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefault The content of a Database Tools database API gateway config API spec sub resource defined within a pool.
type DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefault struct {
// A system generated string that uniquely identifies an API spec sub resource within a given pool.
Key *string `mandatory:"true" json:"key"`
// 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 content of a string-escaped Open API spec in JSON format.
Content *string `mandatory:"true" json:"content"`
// The time the resource was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the resource was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
}
func (m DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefault) GetContent() *string
GetContent returns Content
func (m DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefault) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefault) GetKey() *string
GetKey returns Key
func (m DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefault) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefault) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefault) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefault) String() string
func (m DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefault) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefaultSummary Summary of the Database Tools database API gateway config API spec resource.
type DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefaultSummary struct {
// A system generated string that uniquely identifies an API spec sub resource within a pool.
Key *string `mandatory:"true" json:"key"`
// 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 resource was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the resource was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
}
func (m DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefaultSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefaultSummary) GetKey() *string
GetKey returns Key
func (m DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefaultSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefaultSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefaultSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefaultSummary) String() string
func (m DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefaultSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecSummary Summary of the Database Tools database API gateway config API spec resource.
type DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecSummary interface {
// A system generated string that uniquely identifies an API spec sub resource within a pool.
GetKey() *string
// A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
GetDisplayName() *string
// The time the resource was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the resource was updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
}
DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec The content of a Database Tools database API gateway config auto API spec sub resource defined within a pool.
type DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec interface {
// A system generated string that uniquely identifies an auto API spec sub resource within a given pool.
GetKey() *string
// A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
GetDisplayName() *string
// The time the resource was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the resource was updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
// The name of the database object.
GetDatabaseObjectName() *string
// The type of the database object.
GetDatabaseObjectType() DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeEnum
// Description of the autoApiSpec.
GetDescription() *string
// Used as the URI path element for this object. When not specified the objectName lowercase is the default value.
GetAlias() *string
// The operations to limit access to this resource. If not specified then the default is ["READ","WRITE"].
GetOperations() []DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecOperationsEnum
// The security schemes that can access this resource. If not specified then the resource is public.
GetSecuritySchemes() []DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecSecuritySchemesEnum
// The name of the database API gateway config privilege protecting the resource. Only valid for SCOPE JWT Profile pools and BEARER securitySchemes.
GetScope() *string
// The name of the database API gateway config roles protecting the resource. Only valid for RBAC JWT Profile pools and BEARER securitySchemes.
GetRoles() []string
}
DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecCollection List of Database Tools database API gateway config auto API spec summary items.
type DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecCollection struct {
// Array of Database Tools database API gateway config auto API spec summary items.
Items []DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecSummary `mandatory:"true" json:"items"`
}
func (m DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecCollection) String() string
func (m *DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeEnum Enum with underlying type: string
type DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeEnum string
Set of constants representing the allowable values for DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeEnum
const (
DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeFunction DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeEnum = "FUNCTION"
DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeMview DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeEnum = "MVIEW"
DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypePackage DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeEnum = "PACKAGE"
DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeProcedure DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeEnum = "PROCEDURE"
DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeTable DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeEnum = "TABLE"
DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeView DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeEnum = "VIEW"
DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeDualityview DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeEnum = "DUALITYVIEW"
)
func GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeEnumValues() []DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeEnum
GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeEnumValues Enumerates the set of values for DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeEnum
func GetMappingDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeEnum(val string) (DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeEnum, bool)
GetMappingDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault The content of a Database Tools database API gateway config auto API spec sub resource defined within a pool.
type DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault struct {
// A system generated string that uniquely identifies an auto API spec sub resource within a given pool.
Key *string `mandatory:"true" json:"key"`
// 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 resource was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the resource was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The name of the database object.
DatabaseObjectName *string `mandatory:"false" json:"databaseObjectName"`
// Description of the autoApiSpec.
Description *string `mandatory:"false" json:"description"`
// Used as the URI path element for this object. When not specified the objectName lowercase is the default value.
Alias *string `mandatory:"false" json:"alias"`
// The name of the database API gateway config privilege protecting the resource. Only valid for SCOPE JWT Profile pools and BEARER securitySchemes.
Scope *string `mandatory:"false" json:"scope"`
// The name of the database API gateway config roles protecting the resource. Only valid for RBAC JWT Profile pools and BEARER securitySchemes.
Roles []string `mandatory:"false" json:"roles"`
// The type of the database object.
DatabaseObjectType DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeEnum `mandatory:"false" json:"databaseObjectType,omitempty"`
// The operations to limit access to this resource. If not specified then the default is ["READ","WRITE"].
Operations []DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecOperationsEnum `mandatory:"false" json:"operations,omitempty"`
// The security schemes that can access this resource. If not specified then the resource is public.
SecuritySchemes []DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecSecuritySchemesEnum `mandatory:"false" json:"securitySchemes,omitempty"`
}
func (m DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault) GetAlias() *string
GetAlias returns Alias
func (m DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault) GetDatabaseObjectName() *string
GetDatabaseObjectName returns DatabaseObjectName
func (m DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault) GetDatabaseObjectType() DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectTypeEnum
GetDatabaseObjectType returns DatabaseObjectType
func (m DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault) GetDescription() *string
GetDescription returns Description
func (m DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault) GetKey() *string
GetKey returns Key
func (m DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault) GetOperations() []DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecOperationsEnum
GetOperations returns Operations
func (m DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault) GetRoles() []string
GetRoles returns Roles
func (m DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault) GetScope() *string
GetScope returns Scope
func (m DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault) GetSecuritySchemes() []DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecSecuritySchemesEnum
GetSecuritySchemes returns SecuritySchemes
func (m DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault) String() string
func (m DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultSummary Summary of the Database Tools database API gateway config auto API spec resource.
type DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultSummary struct {
// A system generated string that uniquely identifies an auto API spec sub resource within a pool.
Key *string `mandatory:"true" json:"key"`
// 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 resource was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the resource was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
}
func (m DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultSummary) GetKey() *string
GetKey returns Key
func (m DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultSummary) String() string
func (m DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecOperationsEnum Enum with underlying type: string
type DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecOperationsEnum string
Set of constants representing the allowable values for DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecOperationsEnum
const (
DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecOperationsRead DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecOperationsEnum = "READ"
DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecOperationsWrite DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecOperationsEnum = "WRITE"
)
func GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecOperationsEnumValues() []DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecOperationsEnum
GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecOperationsEnumValues Enumerates the set of values for DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecOperationsEnum
func GetMappingDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecOperationsEnum(val string) (DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecOperationsEnum, bool)
GetMappingDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecOperationsEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecSecuritySchemesEnum Enum with underlying type: string
type DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecSecuritySchemesEnum string
Set of constants representing the allowable values for DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecSecuritySchemesEnum
const (
DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecSecuritySchemesBasic DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecSecuritySchemesEnum = "BASIC"
DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecSecuritySchemesBearer DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecSecuritySchemesEnum = "BEARER"
)
func GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecSecuritySchemesEnumValues() []DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecSecuritySchemesEnum
GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecSecuritySchemesEnumValues Enumerates the set of values for DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecSecuritySchemesEnum
func GetMappingDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecSecuritySchemesEnum(val string) (DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecSecuritySchemesEnum, bool)
GetMappingDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecSecuritySchemesEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecSummary Summary of the Database Tools database API gateway config auto API spec resource.
type DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecSummary interface {
// A system generated string that uniquely identifies an auto API spec sub resource within a pool.
GetKey() *string
// A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
GetDisplayName() *string
// The time the resource was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the resource was updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
}
DatabaseToolsDatabaseApiGatewayConfigPoolCollection List of Database Tools database API gateway config pool summary items.
type DatabaseToolsDatabaseApiGatewayConfigPoolCollection struct {
// Array of Database Tools database API gateway config pool summary items.
Items []DatabaseToolsDatabaseApiGatewayConfigPoolSummary `mandatory:"true" json:"items"`
}
func (m DatabaseToolsDatabaseApiGatewayConfigPoolCollection) String() string
func (m *DatabaseToolsDatabaseApiGatewayConfigPoolCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsDatabaseApiGatewayConfigPoolCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsDatabaseApiGatewayConfigPoolContent The content of a Database Tools database API gateway config pool sub resource.
type DatabaseToolsDatabaseApiGatewayConfigPoolContent interface {
// A system generated string that uniquely identifies a pool sub resource.
GetKey() *string
// A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
GetDisplayName() *string
// The pool route value provided in requests to target this pool.
GetPoolRouteValue() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools connection. Specifies the OCI database tools connection ocid to build the connection pool from.
GetDatabaseToolsConnectionId() *string
// Specifies the maximum number of database connections allowed for the pool.
GetMaxPoolSize() *int
// Specifies the minimum number of database connections allowed for the pool.
GetMinPoolSize() *int
// Specifies the initial size for the number of database connections that will be created for the pool.
GetInitialPoolSize() *int
// Specifies the URL of the JSON Web Key (JWK) that is used to verify the signature of the JWT token.
GetJwtProfileJwkUrl() *string
// Specifies the issuer of the JWT token. This value is used to validate the iss claim in the JWT token.
GetJwtProfileIssuer() *string
// Specifies the expected audience for the JWT token. This value is used to validate the aud claim in the JWT token.
GetJwtProfileAudience() *string
// Specifies the JSON pointer to the claim in the JWT token that contains the roles of the users.
GetJwtProfileRoleClaimName() *string
// Specifies to enable the Database Actions feature.
GetDatabaseActionsStatus() DatabaseToolsDatabaseApiGatewayConfigPoolContentDatabaseActionsStatusEnum
// Specifies whether the REST-Enabled SQL service is active.
GetRestEnabledSqlStatus() DatabaseToolsDatabaseApiGatewayConfigPoolContentRestEnabledSqlStatusEnum
// Advanced pool properties.
GetAdvancedProperties() map[string]string
// Array of Database Tools database API gateway config API spec items.
GetApiSpecs() []DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec
// Array of Database Tools database API gateway config auto API spec items.
GetAutoApiSpecs() []DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec
// The time the resource was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the resource was updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
}
DatabaseToolsDatabaseApiGatewayConfigPoolContentDatabaseActionsStatusEnum Enum with underlying type: string
type DatabaseToolsDatabaseApiGatewayConfigPoolContentDatabaseActionsStatusEnum string
Set of constants representing the allowable values for DatabaseToolsDatabaseApiGatewayConfigPoolContentDatabaseActionsStatusEnum
const (
DatabaseToolsDatabaseApiGatewayConfigPoolContentDatabaseActionsStatusEnabled DatabaseToolsDatabaseApiGatewayConfigPoolContentDatabaseActionsStatusEnum = "ENABLED"
DatabaseToolsDatabaseApiGatewayConfigPoolContentDatabaseActionsStatusDisabled DatabaseToolsDatabaseApiGatewayConfigPoolContentDatabaseActionsStatusEnum = "DISABLED"
)
func GetDatabaseToolsDatabaseApiGatewayConfigPoolContentDatabaseActionsStatusEnumValues() []DatabaseToolsDatabaseApiGatewayConfigPoolContentDatabaseActionsStatusEnum
GetDatabaseToolsDatabaseApiGatewayConfigPoolContentDatabaseActionsStatusEnumValues Enumerates the set of values for DatabaseToolsDatabaseApiGatewayConfigPoolContentDatabaseActionsStatusEnum
func GetMappingDatabaseToolsDatabaseApiGatewayConfigPoolContentDatabaseActionsStatusEnum(val string) (DatabaseToolsDatabaseApiGatewayConfigPoolContentDatabaseActionsStatusEnum, bool)
GetMappingDatabaseToolsDatabaseApiGatewayConfigPoolContentDatabaseActionsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsDatabaseApiGatewayConfigPoolContentDefault The content of a Database Tools database API gateway config pool sub resource.
type DatabaseToolsDatabaseApiGatewayConfigPoolContentDefault struct {
// A system generated string that uniquely identifies a pool sub resource.
Key *string `mandatory:"true" json:"key"`
// A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"false" json:"displayName"`
// The pool route value provided in requests to target this pool.
PoolRouteValue *string `mandatory:"false" json:"poolRouteValue"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools connection. Specifies the OCI database tools connection ocid to build the connection pool from.
DatabaseToolsConnectionId *string `mandatory:"false" json:"databaseToolsConnectionId"`
// Specifies the maximum number of database connections allowed for the pool.
MaxPoolSize *int `mandatory:"false" json:"maxPoolSize"`
// Specifies the minimum number of database connections allowed for the pool.
MinPoolSize *int `mandatory:"false" json:"minPoolSize"`
// Specifies the initial size for the number of database connections that will be created for the pool.
InitialPoolSize *int `mandatory:"false" json:"initialPoolSize"`
// Specifies the URL of the JSON Web Key (JWK) that is used to verify the signature of the JWT token.
JwtProfileJwkUrl *string `mandatory:"false" json:"jwtProfileJwkUrl"`
// Specifies the issuer of the JWT token. This value is used to validate the iss claim in the JWT token.
JwtProfileIssuer *string `mandatory:"false" json:"jwtProfileIssuer"`
// Specifies the expected audience for the JWT token. This value is used to validate the aud claim in the JWT token.
JwtProfileAudience *string `mandatory:"false" json:"jwtProfileAudience"`
// Specifies the JSON pointer to the claim in the JWT token that contains the roles of the users.
JwtProfileRoleClaimName *string `mandatory:"false" json:"jwtProfileRoleClaimName"`
// Advanced pool properties.
AdvancedProperties map[string]string `mandatory:"false" json:"advancedProperties"`
// Array of Database Tools database API gateway config API spec items.
ApiSpecs []DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec `mandatory:"false" json:"apiSpecs"`
// Array of Database Tools database API gateway config auto API spec items.
AutoApiSpecs []DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec `mandatory:"false" json:"autoApiSpecs"`
// The time the resource was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
// The time the resource was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// Specifies to enable the Database Actions feature.
DatabaseActionsStatus DatabaseToolsDatabaseApiGatewayConfigPoolContentDatabaseActionsStatusEnum `mandatory:"false" json:"databaseActionsStatus,omitempty"`
// Specifies whether the REST-Enabled SQL service is active.
RestEnabledSqlStatus DatabaseToolsDatabaseApiGatewayConfigPoolContentRestEnabledSqlStatusEnum `mandatory:"false" json:"restEnabledSqlStatus,omitempty"`
}
func (m DatabaseToolsDatabaseApiGatewayConfigPoolContentDefault) GetAdvancedProperties() map[string]string
GetAdvancedProperties returns AdvancedProperties
func (m DatabaseToolsDatabaseApiGatewayConfigPoolContentDefault) GetApiSpecs() []DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec
GetApiSpecs returns ApiSpecs
func (m DatabaseToolsDatabaseApiGatewayConfigPoolContentDefault) GetAutoApiSpecs() []DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec
GetAutoApiSpecs returns AutoApiSpecs
func (m DatabaseToolsDatabaseApiGatewayConfigPoolContentDefault) GetDatabaseActionsStatus() DatabaseToolsDatabaseApiGatewayConfigPoolContentDatabaseActionsStatusEnum
GetDatabaseActionsStatus returns DatabaseActionsStatus
func (m DatabaseToolsDatabaseApiGatewayConfigPoolContentDefault) GetDatabaseToolsConnectionId() *string
GetDatabaseToolsConnectionId returns DatabaseToolsConnectionId
func (m DatabaseToolsDatabaseApiGatewayConfigPoolContentDefault) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsDatabaseApiGatewayConfigPoolContentDefault) GetInitialPoolSize() *int
GetInitialPoolSize returns InitialPoolSize
func (m DatabaseToolsDatabaseApiGatewayConfigPoolContentDefault) GetJwtProfileAudience() *string
GetJwtProfileAudience returns JwtProfileAudience
func (m DatabaseToolsDatabaseApiGatewayConfigPoolContentDefault) GetJwtProfileIssuer() *string
GetJwtProfileIssuer returns JwtProfileIssuer
func (m DatabaseToolsDatabaseApiGatewayConfigPoolContentDefault) GetJwtProfileJwkUrl() *string
GetJwtProfileJwkUrl returns JwtProfileJwkUrl
func (m DatabaseToolsDatabaseApiGatewayConfigPoolContentDefault) GetJwtProfileRoleClaimName() *string
GetJwtProfileRoleClaimName returns JwtProfileRoleClaimName
func (m DatabaseToolsDatabaseApiGatewayConfigPoolContentDefault) GetKey() *string
GetKey returns Key
func (m DatabaseToolsDatabaseApiGatewayConfigPoolContentDefault) GetMaxPoolSize() *int
GetMaxPoolSize returns MaxPoolSize
func (m DatabaseToolsDatabaseApiGatewayConfigPoolContentDefault) GetMinPoolSize() *int
GetMinPoolSize returns MinPoolSize
func (m DatabaseToolsDatabaseApiGatewayConfigPoolContentDefault) GetPoolRouteValue() *string
GetPoolRouteValue returns PoolRouteValue
func (m DatabaseToolsDatabaseApiGatewayConfigPoolContentDefault) GetRestEnabledSqlStatus() DatabaseToolsDatabaseApiGatewayConfigPoolContentRestEnabledSqlStatusEnum
GetRestEnabledSqlStatus returns RestEnabledSqlStatus
func (m DatabaseToolsDatabaseApiGatewayConfigPoolContentDefault) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsDatabaseApiGatewayConfigPoolContentDefault) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsDatabaseApiGatewayConfigPoolContentDefault) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsDatabaseApiGatewayConfigPoolContentDefault) String() string
func (m *DatabaseToolsDatabaseApiGatewayConfigPoolContentDefault) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseToolsDatabaseApiGatewayConfigPoolContentDefault) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsDatabaseApiGatewayConfigPoolContentRestEnabledSqlStatusEnum Enum with underlying type: string
type DatabaseToolsDatabaseApiGatewayConfigPoolContentRestEnabledSqlStatusEnum string
Set of constants representing the allowable values for DatabaseToolsDatabaseApiGatewayConfigPoolContentRestEnabledSqlStatusEnum
const (
DatabaseToolsDatabaseApiGatewayConfigPoolContentRestEnabledSqlStatusEnabled DatabaseToolsDatabaseApiGatewayConfigPoolContentRestEnabledSqlStatusEnum = "ENABLED"
DatabaseToolsDatabaseApiGatewayConfigPoolContentRestEnabledSqlStatusDisabled DatabaseToolsDatabaseApiGatewayConfigPoolContentRestEnabledSqlStatusEnum = "DISABLED"
)
func GetDatabaseToolsDatabaseApiGatewayConfigPoolContentRestEnabledSqlStatusEnumValues() []DatabaseToolsDatabaseApiGatewayConfigPoolContentRestEnabledSqlStatusEnum
GetDatabaseToolsDatabaseApiGatewayConfigPoolContentRestEnabledSqlStatusEnumValues Enumerates the set of values for DatabaseToolsDatabaseApiGatewayConfigPoolContentRestEnabledSqlStatusEnum
func GetMappingDatabaseToolsDatabaseApiGatewayConfigPoolContentRestEnabledSqlStatusEnum(val string) (DatabaseToolsDatabaseApiGatewayConfigPoolContentRestEnabledSqlStatusEnum, bool)
GetMappingDatabaseToolsDatabaseApiGatewayConfigPoolContentRestEnabledSqlStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsDatabaseApiGatewayConfigPoolDatabaseActionsStatusEnum Enum with underlying type: string
type DatabaseToolsDatabaseApiGatewayConfigPoolDatabaseActionsStatusEnum string
Set of constants representing the allowable values for DatabaseToolsDatabaseApiGatewayConfigPoolDatabaseActionsStatusEnum
const (
DatabaseToolsDatabaseApiGatewayConfigPoolDatabaseActionsStatusEnabled DatabaseToolsDatabaseApiGatewayConfigPoolDatabaseActionsStatusEnum = "ENABLED"
DatabaseToolsDatabaseApiGatewayConfigPoolDatabaseActionsStatusDisabled DatabaseToolsDatabaseApiGatewayConfigPoolDatabaseActionsStatusEnum = "DISABLED"
)
func GetDatabaseToolsDatabaseApiGatewayConfigPoolDatabaseActionsStatusEnumValues() []DatabaseToolsDatabaseApiGatewayConfigPoolDatabaseActionsStatusEnum
GetDatabaseToolsDatabaseApiGatewayConfigPoolDatabaseActionsStatusEnumValues Enumerates the set of values for DatabaseToolsDatabaseApiGatewayConfigPoolDatabaseActionsStatusEnum
func GetMappingDatabaseToolsDatabaseApiGatewayConfigPoolDatabaseActionsStatusEnum(val string) (DatabaseToolsDatabaseApiGatewayConfigPoolDatabaseActionsStatusEnum, bool)
GetMappingDatabaseToolsDatabaseApiGatewayConfigPoolDatabaseActionsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsDatabaseApiGatewayConfigPoolDefault The content of a Database Tools database API gateway config pool sub resource.
type DatabaseToolsDatabaseApiGatewayConfigPoolDefault struct {
// A system generated string that uniquely identifies a pool sub resource.
Key *string `mandatory:"true" json:"key"`
// The time the resource was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the resource was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"false" json:"displayName"`
// The pool route value provided in requests to target this pool.
PoolRouteValue *string `mandatory:"false" json:"poolRouteValue"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools connection. Specifies the OCI database tools connection ocid to build the connection pool from.
DatabaseToolsConnectionId *string `mandatory:"false" json:"databaseToolsConnectionId"`
// Specifies the maximum number of database connections allowed for the pool.
MaxPoolSize *int `mandatory:"false" json:"maxPoolSize"`
// Specifies the minimum number of database connections allowed for the pool.
MinPoolSize *int `mandatory:"false" json:"minPoolSize"`
// Specifies the initial size for the number of database connections that will be created for the pool.
InitialPoolSize *int `mandatory:"false" json:"initialPoolSize"`
// Specifies the URL of the JSON Web Key (JWK) that is used to verify the signature of the JWT token.
JwtProfileJwkUrl *string `mandatory:"false" json:"jwtProfileJwkUrl"`
// Specifies the issuer of the JWT token. This value is used to validate the iss claim in the JWT token.
JwtProfileIssuer *string `mandatory:"false" json:"jwtProfileIssuer"`
// Specifies the expected audience for the JWT token. This value is used to validate the aud claim in the JWT token.
JwtProfileAudience *string `mandatory:"false" json:"jwtProfileAudience"`
// Specifies the JSON pointer to the claim in the JWT token that contains the roles of the users.
JwtProfileRoleClaimName *string `mandatory:"false" json:"jwtProfileRoleClaimName"`
// Advanced pool properties.
AdvancedProperties map[string]string `mandatory:"false" json:"advancedProperties"`
// Specifies to enable the Database Actions feature.
DatabaseActionsStatus DatabaseToolsDatabaseApiGatewayConfigPoolDatabaseActionsStatusEnum `mandatory:"false" json:"databaseActionsStatus,omitempty"`
// Specifies whether the REST-Enabled SQL service is active.
RestEnabledSqlStatus DatabaseToolsDatabaseApiGatewayConfigPoolRestEnabledSqlStatusEnum `mandatory:"false" json:"restEnabledSqlStatus,omitempty"`
}
func (m DatabaseToolsDatabaseApiGatewayConfigPoolDefault) GetAdvancedProperties() map[string]string
GetAdvancedProperties returns AdvancedProperties
func (m DatabaseToolsDatabaseApiGatewayConfigPoolDefault) GetDatabaseActionsStatus() DatabaseToolsDatabaseApiGatewayConfigPoolDatabaseActionsStatusEnum
GetDatabaseActionsStatus returns DatabaseActionsStatus
func (m DatabaseToolsDatabaseApiGatewayConfigPoolDefault) GetDatabaseToolsConnectionId() *string
GetDatabaseToolsConnectionId returns DatabaseToolsConnectionId
func (m DatabaseToolsDatabaseApiGatewayConfigPoolDefault) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsDatabaseApiGatewayConfigPoolDefault) GetInitialPoolSize() *int
GetInitialPoolSize returns InitialPoolSize
func (m DatabaseToolsDatabaseApiGatewayConfigPoolDefault) GetJwtProfileAudience() *string
GetJwtProfileAudience returns JwtProfileAudience
func (m DatabaseToolsDatabaseApiGatewayConfigPoolDefault) GetJwtProfileIssuer() *string
GetJwtProfileIssuer returns JwtProfileIssuer
func (m DatabaseToolsDatabaseApiGatewayConfigPoolDefault) GetJwtProfileJwkUrl() *string
GetJwtProfileJwkUrl returns JwtProfileJwkUrl
func (m DatabaseToolsDatabaseApiGatewayConfigPoolDefault) GetJwtProfileRoleClaimName() *string
GetJwtProfileRoleClaimName returns JwtProfileRoleClaimName
func (m DatabaseToolsDatabaseApiGatewayConfigPoolDefault) GetKey() *string
GetKey returns Key
func (m DatabaseToolsDatabaseApiGatewayConfigPoolDefault) GetMaxPoolSize() *int
GetMaxPoolSize returns MaxPoolSize
func (m DatabaseToolsDatabaseApiGatewayConfigPoolDefault) GetMinPoolSize() *int
GetMinPoolSize returns MinPoolSize
func (m DatabaseToolsDatabaseApiGatewayConfigPoolDefault) GetPoolRouteValue() *string
GetPoolRouteValue returns PoolRouteValue
func (m DatabaseToolsDatabaseApiGatewayConfigPoolDefault) GetRestEnabledSqlStatus() DatabaseToolsDatabaseApiGatewayConfigPoolRestEnabledSqlStatusEnum
GetRestEnabledSqlStatus returns RestEnabledSqlStatus
func (m DatabaseToolsDatabaseApiGatewayConfigPoolDefault) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsDatabaseApiGatewayConfigPoolDefault) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsDatabaseApiGatewayConfigPoolDefault) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsDatabaseApiGatewayConfigPoolDefault) String() string
func (m DatabaseToolsDatabaseApiGatewayConfigPoolDefault) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsDatabaseApiGatewayConfigPoolDefaultSummary Summary of the Database Tools database API gateway config pool resource.
type DatabaseToolsDatabaseApiGatewayConfigPoolDefaultSummary struct {
// A system generated string that uniquely identifies a pool sub resource.
Key *string `mandatory:"true" json:"key"`
// 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 related Database Tools connection.
DatabaseToolsConnectionId *string `mandatory:"true" json:"databaseToolsConnectionId"`
// The time the resource was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the resource was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
}
func (m DatabaseToolsDatabaseApiGatewayConfigPoolDefaultSummary) GetDatabaseToolsConnectionId() *string
GetDatabaseToolsConnectionId returns DatabaseToolsConnectionId
func (m DatabaseToolsDatabaseApiGatewayConfigPoolDefaultSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseToolsDatabaseApiGatewayConfigPoolDefaultSummary) GetKey() *string
GetKey returns Key
func (m DatabaseToolsDatabaseApiGatewayConfigPoolDefaultSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DatabaseToolsDatabaseApiGatewayConfigPoolDefaultSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DatabaseToolsDatabaseApiGatewayConfigPoolDefaultSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseToolsDatabaseApiGatewayConfigPoolDefaultSummary) String() string
func (m DatabaseToolsDatabaseApiGatewayConfigPoolDefaultSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseToolsDatabaseApiGatewayConfigPoolRestEnabledSqlStatusEnum Enum with underlying type: string
type DatabaseToolsDatabaseApiGatewayConfigPoolRestEnabledSqlStatusEnum string
Set of constants representing the allowable values for DatabaseToolsDatabaseApiGatewayConfigPoolRestEnabledSqlStatusEnum
const (
DatabaseToolsDatabaseApiGatewayConfigPoolRestEnabledSqlStatusEnabled DatabaseToolsDatabaseApiGatewayConfigPoolRestEnabledSqlStatusEnum = "ENABLED"
DatabaseToolsDatabaseApiGatewayConfigPoolRestEnabledSqlStatusDisabled DatabaseToolsDatabaseApiGatewayConfigPoolRestEnabledSqlStatusEnum = "DISABLED"
)
func GetDatabaseToolsDatabaseApiGatewayConfigPoolRestEnabledSqlStatusEnumValues() []DatabaseToolsDatabaseApiGatewayConfigPoolRestEnabledSqlStatusEnum
GetDatabaseToolsDatabaseApiGatewayConfigPoolRestEnabledSqlStatusEnumValues Enumerates the set of values for DatabaseToolsDatabaseApiGatewayConfigPoolRestEnabledSqlStatusEnum
func GetMappingDatabaseToolsDatabaseApiGatewayConfigPoolRestEnabledSqlStatusEnum(val string) (DatabaseToolsDatabaseApiGatewayConfigPoolRestEnabledSqlStatusEnum, bool)
GetMappingDatabaseToolsDatabaseApiGatewayConfigPoolRestEnabledSqlStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseToolsDatabaseApiGatewayConfigPoolSummary Summary of the Database Tools database API gateway config pool resource.
type DatabaseToolsDatabaseApiGatewayConfigPoolSummary interface {
// A system generated string that uniquely identifies a pool sub resource.
GetKey() *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 related Database Tools connection.
GetDatabaseToolsConnectionId() *string
// The time the resource was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the resource was updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
}
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{}
}
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"`
// 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) 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
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
DatabaseToolsRuntimeClient a client for DatabaseToolsRuntime
type DatabaseToolsRuntimeClient struct {
common.BaseClient
// contains filtered or unexported fields
}
func NewDatabaseToolsRuntimeClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DatabaseToolsRuntimeClient, err error)
NewDatabaseToolsRuntimeClientWithConfigurationProvider Creates a new default DatabaseToolsRuntime client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewDatabaseToolsRuntimeClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DatabaseToolsRuntimeClient, err error)
NewDatabaseToolsRuntimeClientWithOboToken Creates a new default DatabaseToolsRuntime 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 DatabaseToolsRuntimeClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
CancelWorkRequest Attempts to cancel the specified work request.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API. A default retry strategy applies to this operation CancelWorkRequest()
func (client *DatabaseToolsRuntimeClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client DatabaseToolsRuntimeClient) CreateCredential(ctx context.Context, request CreateCredentialRequest) (response CreateCredentialResponse, err error)
CreateCredential Creates a credential for the user specified by the key.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/CreateCredential.go.html to see an example of how to use CreateCredential API. A default retry strategy applies to this operation CreateCredential()
func (client DatabaseToolsRuntimeClient) CreateCredentialExecuteGrantee(ctx context.Context, request CreateCredentialExecuteGranteeRequest) (response CreateCredentialExecuteGranteeResponse, err error)
CreateCredentialExecuteGrantee Grants the EXECUTE privilege on the credential to the user specified by the key.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/CreateCredentialExecuteGrantee.go.html to see an example of how to use CreateCredentialExecuteGrantee API. A default retry strategy applies to this operation CreateCredentialExecuteGrantee()
func (client DatabaseToolsRuntimeClient) CreateCredentialPublicSynonym(ctx context.Context, request CreateCredentialPublicSynonymRequest) (response CreateCredentialPublicSynonymResponse, err error)
CreateCredentialPublicSynonym Creates a public synonym for the given credentials
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/CreateCredentialPublicSynonym.go.html to see an example of how to use CreateCredentialPublicSynonym API. A default retry strategy applies to this operation CreateCredentialPublicSynonym()
func (client DatabaseToolsRuntimeClient) CreateDatabaseToolsDatabaseApiGatewayConfigPool(ctx context.Context, request CreateDatabaseToolsDatabaseApiGatewayConfigPoolRequest) (response CreateDatabaseToolsDatabaseApiGatewayConfigPoolResponse, err error)
CreateDatabaseToolsDatabaseApiGatewayConfigPool Create a Database Tools database API gateway config pool resource
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/CreateDatabaseToolsDatabaseApiGatewayConfigPool.go.html to see an example of how to use CreateDatabaseToolsDatabaseApiGatewayConfigPool API. A default retry strategy applies to this operation CreateDatabaseToolsDatabaseApiGatewayConfigPool()
func (client DatabaseToolsRuntimeClient) CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec(ctx context.Context, request CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest) (response CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResponse, err error)
CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec Create a Database Tools database API gateway config API spec resource
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.go.html to see an example of how to use CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec API. A default retry strategy applies to this operation CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec()
func (client DatabaseToolsRuntimeClient) CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec(ctx context.Context, request CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest) (response CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResponse, err error)
CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec Create a Database Tools database API gateway config auto API spec resource
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.go.html to see an example of how to use CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec API. A default retry strategy applies to this operation CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec()
func (client DatabaseToolsRuntimeClient) DeleteCredential(ctx context.Context, request DeleteCredentialRequest) (response DeleteCredentialResponse, err error)
DeleteCredential Delete credential
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/DeleteCredential.go.html to see an example of how to use DeleteCredential API. A default retry strategy applies to this operation DeleteCredential()
func (client DatabaseToolsRuntimeClient) DeleteCredentialExecuteGrantee(ctx context.Context, request DeleteCredentialExecuteGranteeRequest) (response DeleteCredentialExecuteGranteeResponse, err error)
DeleteCredentialExecuteGrantee Delete execute grantee
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/DeleteCredentialExecuteGrantee.go.html to see an example of how to use DeleteCredentialExecuteGrantee API. A default retry strategy applies to this operation DeleteCredentialExecuteGrantee()
func (client DatabaseToolsRuntimeClient) DeleteCredentialPublicSynonym(ctx context.Context, request DeleteCredentialPublicSynonymRequest) (response DeleteCredentialPublicSynonymResponse, err error)
DeleteCredentialPublicSynonym Deletes the public synonym
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/DeleteCredentialPublicSynonym.go.html to see an example of how to use DeleteCredentialPublicSynonym API. A default retry strategy applies to this operation DeleteCredentialPublicSynonym()
func (client DatabaseToolsRuntimeClient) DeleteDatabaseToolsDatabaseApiGatewayConfigPool(ctx context.Context, request DeleteDatabaseToolsDatabaseApiGatewayConfigPoolRequest) (response DeleteDatabaseToolsDatabaseApiGatewayConfigPoolResponse, err error)
DeleteDatabaseToolsDatabaseApiGatewayConfigPool Deletes the specified Database Tools database API gateway config pool resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/DeleteDatabaseToolsDatabaseApiGatewayConfigPool.go.html to see an example of how to use DeleteDatabaseToolsDatabaseApiGatewayConfigPool API. A default retry strategy applies to this operation DeleteDatabaseToolsDatabaseApiGatewayConfigPool()
func (client DatabaseToolsRuntimeClient) DeleteDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec(ctx context.Context, request DeleteDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest) (response DeleteDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResponse, err error)
DeleteDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec Deletes the specified Database Tools database API gateway config API spec resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/DeleteDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.go.html to see an example of how to use DeleteDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec API. A default retry strategy applies to this operation DeleteDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec()
func (client DatabaseToolsRuntimeClient) DeleteDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec(ctx context.Context, request DeleteDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest) (response DeleteDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResponse, err error)
DeleteDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec Deletes the specified Database Tools database API gateway config auto API spec resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/DeleteDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.go.html to see an example of how to use DeleteDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec API. A default retry strategy applies to this operation DeleteDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec()
func (client DatabaseToolsRuntimeClient) ExecuteSqlDatabaseToolsConnection(ctx context.Context, request ExecuteSqlDatabaseToolsConnectionRequest) (response ExecuteSqlDatabaseToolsConnectionResponse, err error)
ExecuteSqlDatabaseToolsConnection Execute statements on a database tools connection.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/ExecuteSqlDatabaseToolsConnection.go.html to see an example of how to use ExecuteSqlDatabaseToolsConnection API. A default retry strategy applies to this operation ExecuteSqlDatabaseToolsConnection()
func (client DatabaseToolsRuntimeClient) GetCredential(ctx context.Context, request GetCredentialRequest) (response GetCredentialResponse, err error)
GetCredential Get a credential
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/GetCredential.go.html to see an example of how to use GetCredential API. A default retry strategy applies to this operation GetCredential()
func (client DatabaseToolsRuntimeClient) GetCredentialExecuteGrantee(ctx context.Context, request GetCredentialExecuteGranteeRequest) (response GetCredentialExecuteGranteeResponse, err error)
GetCredentialExecuteGrantee Get a credential execute grantee
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/GetCredentialExecuteGrantee.go.html to see an example of how to use GetCredentialExecuteGrantee API. A default retry strategy applies to this operation GetCredentialExecuteGrantee()
func (client DatabaseToolsRuntimeClient) GetCredentialPublicSynonym(ctx context.Context, request GetCredentialPublicSynonymRequest) (response GetCredentialPublicSynonymResponse, err error)
GetCredentialPublicSynonym Get a public synonym
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/GetCredentialPublicSynonym.go.html to see an example of how to use GetCredentialPublicSynonym API. A default retry strategy applies to this operation GetCredentialPublicSynonym()
func (client DatabaseToolsRuntimeClient) GetDatabaseToolsDatabaseApiGatewayConfigContent(ctx context.Context, request GetDatabaseToolsDatabaseApiGatewayConfigContentRequest) (response GetDatabaseToolsDatabaseApiGatewayConfigContentResponse, err error)
GetDatabaseToolsDatabaseApiGatewayConfigContent Get the content of a Database Tools database API gateway config
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/GetDatabaseToolsDatabaseApiGatewayConfigContent.go.html to see an example of how to use GetDatabaseToolsDatabaseApiGatewayConfigContent API. A default retry strategy applies to this operation GetDatabaseToolsDatabaseApiGatewayConfigContent()
func (client DatabaseToolsRuntimeClient) GetDatabaseToolsDatabaseApiGatewayConfigGlobal(ctx context.Context, request GetDatabaseToolsDatabaseApiGatewayConfigGlobalRequest) (response GetDatabaseToolsDatabaseApiGatewayConfigGlobalResponse, err error)
GetDatabaseToolsDatabaseApiGatewayConfigGlobal Get a Database Tools database API gateway config global resource
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/GetDatabaseToolsDatabaseApiGatewayConfigGlobal.go.html to see an example of how to use GetDatabaseToolsDatabaseApiGatewayConfigGlobal API. A default retry strategy applies to this operation GetDatabaseToolsDatabaseApiGatewayConfigGlobal()
func (client DatabaseToolsRuntimeClient) GetDatabaseToolsDatabaseApiGatewayConfigPool(ctx context.Context, request GetDatabaseToolsDatabaseApiGatewayConfigPoolRequest) (response GetDatabaseToolsDatabaseApiGatewayConfigPoolResponse, err error)
GetDatabaseToolsDatabaseApiGatewayConfigPool Get a Database Tools database API gateway config pool resource
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/GetDatabaseToolsDatabaseApiGatewayConfigPool.go.html to see an example of how to use GetDatabaseToolsDatabaseApiGatewayConfigPool API. A default retry strategy applies to this operation GetDatabaseToolsDatabaseApiGatewayConfigPool()
func (client DatabaseToolsRuntimeClient) GetDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec(ctx context.Context, request GetDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest) (response GetDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResponse, err error)
GetDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec Get a Database Tools database API gateway config API spec resource
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/GetDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.go.html to see an example of how to use GetDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec API. A default retry strategy applies to this operation GetDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec()
func (client DatabaseToolsRuntimeClient) GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec(ctx context.Context, request GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest) (response GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResponse, err error)
GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec Get a Database Tools database API gateway config auto API spec resource
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.go.html to see an example of how to use GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec API. A default retry strategy applies to this operation GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec()
func (client DatabaseToolsRuntimeClient) GetPropertySet(ctx context.Context, request GetPropertySetRequest) (response GetPropertySetResponse, err error)
GetPropertySet Get a property set
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/GetPropertySet.go.html to see an example of how to use GetPropertySet API. A default retry strategy applies to this operation GetPropertySet()
func (client DatabaseToolsRuntimeClient) GetUserCredential(ctx context.Context, request GetUserCredentialRequest) (response GetUserCredentialResponse, err error)
GetUserCredential Get a user credential
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/GetUserCredential.go.html to see an example of how to use GetUserCredential API. A default retry strategy applies to this operation GetUserCredential()
func (client DatabaseToolsRuntimeClient) 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/databasetoolsruntime/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()
func (client DatabaseToolsRuntimeClient) ListCredentialExecuteGrantees(ctx context.Context, request ListCredentialExecuteGranteesRequest) (response ListCredentialExecuteGranteesResponse, err error)
ListCredentialExecuteGrantees Get a list of all execute grantees
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/ListCredentialExecuteGrantees.go.html to see an example of how to use ListCredentialExecuteGrantees API. A default retry strategy applies to this operation ListCredentialExecuteGrantees()
func (client DatabaseToolsRuntimeClient) ListCredentialPublicSynonyms(ctx context.Context, request ListCredentialPublicSynonymsRequest) (response ListCredentialPublicSynonymsResponse, err error)
ListCredentialPublicSynonyms Get a list of all public synonyms for the given credential
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/ListCredentialPublicSynonyms.go.html to see an example of how to use ListCredentialPublicSynonyms API. A default retry strategy applies to this operation ListCredentialPublicSynonyms()
func (client DatabaseToolsRuntimeClient) ListCredentials(ctx context.Context, request ListCredentialsRequest) (response ListCredentialsResponse, err error)
ListCredentials Returns a paginated list of `CredentialSummary` for the specified request.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/ListCredentials.go.html to see an example of how to use ListCredentials API. A default retry strategy applies to this operation ListCredentials()
func (client DatabaseToolsRuntimeClient) ListDatabaseToolsDatabaseApiGatewayConfigAdvancedProperties(ctx context.Context, request ListDatabaseToolsDatabaseApiGatewayConfigAdvancedPropertiesRequest) (response ListDatabaseToolsDatabaseApiGatewayConfigAdvancedPropertiesResponse, err error)
ListDatabaseToolsDatabaseApiGatewayConfigAdvancedProperties Returns list of database API gateway config setting descriptions to be provided as advanced properties.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/ListDatabaseToolsDatabaseApiGatewayConfigAdvancedProperties.go.html to see an example of how to use ListDatabaseToolsDatabaseApiGatewayConfigAdvancedProperties API. A default retry strategy applies to this operation ListDatabaseToolsDatabaseApiGatewayConfigAdvancedProperties()
func (client DatabaseToolsRuntimeClient) ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs(ctx context.Context, request ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsRequest) (response ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsResponse, err error)
ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs Returns a list of Database Tools database API gateway config API spec resources
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs.go.html to see an example of how to use ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs API. A default retry strategy applies to this operation ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs()
func (client DatabaseToolsRuntimeClient) ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecs(ctx context.Context, request ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsRequest) (response ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsResponse, err error)
ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecs Returns a list of Database Tools database API gateway config auto API spec resources
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecs.go.html to see an example of how to use ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecs API. A default retry strategy applies to this operation ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecs()
func (client DatabaseToolsRuntimeClient) ListDatabaseToolsDatabaseApiGatewayConfigPools(ctx context.Context, request ListDatabaseToolsDatabaseApiGatewayConfigPoolsRequest) (response ListDatabaseToolsDatabaseApiGatewayConfigPoolsResponse, err error)
ListDatabaseToolsDatabaseApiGatewayConfigPools Returns a list of Database Tools database API gateway config pool resources
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/ListDatabaseToolsDatabaseApiGatewayConfigPools.go.html to see an example of how to use ListDatabaseToolsDatabaseApiGatewayConfigPools API. A default retry strategy applies to this operation ListDatabaseToolsDatabaseApiGatewayConfigPools()
func (client DatabaseToolsRuntimeClient) ListUserCredentials(ctx context.Context, request ListUserCredentialsRequest) (response ListUserCredentialsResponse, err error)
ListUserCredentials Returns a paginated list of user `UserCredentialSummary` for the specified request.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/ListUserCredentials.go.html to see an example of how to use ListUserCredentials API. A default retry strategy applies to this operation ListUserCredentials()
func (client DatabaseToolsRuntimeClient) 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/databasetoolsruntime/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()
func (client DatabaseToolsRuntimeClient) 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/databasetoolsruntime/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()
func (client DatabaseToolsRuntimeClient) 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/databasetoolsruntime/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()
func (client *DatabaseToolsRuntimeClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client DatabaseToolsRuntimeClient) UpdateCredential(ctx context.Context, request UpdateCredentialRequest) (response UpdateCredentialResponse, err error)
UpdateCredential Update a credential
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/UpdateCredential.go.html to see an example of how to use UpdateCredential API. A default retry strategy applies to this operation UpdateCredential()
func (client DatabaseToolsRuntimeClient) UpdateDatabaseToolsDatabaseApiGatewayConfigGlobal(ctx context.Context, request UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalRequest) (response UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalResponse, err error)
UpdateDatabaseToolsDatabaseApiGatewayConfigGlobal Update a Database Tools database API gateway config global resource
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/UpdateDatabaseToolsDatabaseApiGatewayConfigGlobal.go.html to see an example of how to use UpdateDatabaseToolsDatabaseApiGatewayConfigGlobal API. A default retry strategy applies to this operation UpdateDatabaseToolsDatabaseApiGatewayConfigGlobal()
func (client DatabaseToolsRuntimeClient) UpdateDatabaseToolsDatabaseApiGatewayConfigPool(ctx context.Context, request UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest) (response UpdateDatabaseToolsDatabaseApiGatewayConfigPoolResponse, err error)
UpdateDatabaseToolsDatabaseApiGatewayConfigPool Update a Database Tools database API gateway config pool resource
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/UpdateDatabaseToolsDatabaseApiGatewayConfigPool.go.html to see an example of how to use UpdateDatabaseToolsDatabaseApiGatewayConfigPool API. A default retry strategy applies to this operation UpdateDatabaseToolsDatabaseApiGatewayConfigPool()
func (client DatabaseToolsRuntimeClient) UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec(ctx context.Context, request UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest) (response UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResponse, err error)
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec Update a Database Tools database API gateway config API spec resource
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.go.html to see an example of how to use UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec API. A default retry strategy applies to this operation UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec()
func (client DatabaseToolsRuntimeClient) UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec(ctx context.Context, request UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest) (response UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResponse, err error)
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec Update a Database Tools database API gateway config auto API spec resource
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.go.html to see an example of how to use UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec API. A default retry strategy applies to this operation UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec()
func (client DatabaseToolsRuntimeClient) UpdatePropertySet(ctx context.Context, request UpdatePropertySetRequest) (response UpdatePropertySetResponse, err error)
UpdatePropertySet Update a property set
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/UpdatePropertySet.go.html to see an example of how to use UpdatePropertySet API. A default retry strategy applies to this operation UpdatePropertySet()
func (client DatabaseToolsRuntimeClient) ValidateDatabaseToolsConnection(ctx context.Context, request ValidateDatabaseToolsConnectionRequest) (response ValidateDatabaseToolsConnectionResponse, err error)
ValidateDatabaseToolsConnection Validates the specified Database Tools connection.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/ValidateDatabaseToolsConnection.go.html to see an example of how to use ValidateDatabaseToolsConnection API. A default retry strategy applies to this operation ValidateDatabaseToolsConnection()
func (client DatabaseToolsRuntimeClient) 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/databasetoolsruntime/ValidateDatabaseToolsIdentityCredential.go.html to see an example of how to use ValidateDatabaseToolsIdentityCredential API. A default retry strategy applies to this operation ValidateDatabaseToolsIdentityCredential()
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
DeleteCredentialExecuteGranteeRequest wrapper for the DeleteCredentialExecuteGrantee operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/DeleteCredentialExecuteGrantee.go.html to see an example of how to use DeleteCredentialExecuteGranteeRequest.
type DeleteCredentialExecuteGranteeRequest 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 name of the credential
CredentialKey *string `mandatory:"true" contributesTo:"path" name:"credentialKey"`
// The name of the user granted the EXECUTE privilege on the credential.
ExecuteGranteeKey *string `mandatory:"true" contributesTo:"path" name:"executeGranteeKey"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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 DeleteCredentialExecuteGranteeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteCredentialExecuteGranteeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteCredentialExecuteGranteeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteCredentialExecuteGranteeRequest) String() string
func (request DeleteCredentialExecuteGranteeRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteCredentialExecuteGranteeResponse wrapper for the DeleteCredentialExecuteGrantee operation
type DeleteCredentialExecuteGranteeResponse 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 DeleteCredentialExecuteGranteeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteCredentialExecuteGranteeResponse) String() string
DeleteCredentialPublicSynonymRequest wrapper for the DeleteCredentialPublicSynonym operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/DeleteCredentialPublicSynonym.go.html to see an example of how to use DeleteCredentialPublicSynonymRequest.
type DeleteCredentialPublicSynonymRequest 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 name of the credential
CredentialKey *string `mandatory:"true" contributesTo:"path" name:"credentialKey"`
// The name of the public synonym for the credential
PublicSynonymKey *string `mandatory:"true" contributesTo:"path" name:"publicSynonymKey"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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 DeleteCredentialPublicSynonymRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteCredentialPublicSynonymRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteCredentialPublicSynonymRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteCredentialPublicSynonymRequest) String() string
func (request DeleteCredentialPublicSynonymRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteCredentialPublicSynonymResponse wrapper for the DeleteCredentialPublicSynonym operation
type DeleteCredentialPublicSynonymResponse 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 DeleteCredentialPublicSynonymResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteCredentialPublicSynonymResponse) String() string
DeleteCredentialRequest wrapper for the DeleteCredential operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/DeleteCredential.go.html to see an example of how to use DeleteCredentialRequest.
type DeleteCredentialRequest 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 name of the credential
CredentialKey *string `mandatory:"true" contributesTo:"path" name:"credentialKey"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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 DeleteCredentialRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteCredentialRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteCredentialRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteCredentialRequest) String() string
func (request DeleteCredentialRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteCredentialResponse wrapper for the DeleteCredential operation
type DeleteCredentialResponse 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 DeleteCredentialResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteCredentialResponse) String() string
DeleteDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest wrapper for the DeleteDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/DeleteDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.go.html to see an example of how to use DeleteDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest.
type DeleteDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest 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 key of the pool config.
PoolKey *string `mandatory:"true" contributesTo:"path" name:"poolKey"`
// The key of the API spec config.
ApiSpecKey *string `mandatory:"true" contributesTo:"path" name:"apiSpecKey"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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 DeleteDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest) String() string
func (request DeleteDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResponse wrapper for the DeleteDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec operation
type DeleteDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResponse 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 DeleteDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResponse) String() string
DeleteDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest wrapper for the DeleteDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/DeleteDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.go.html to see an example of how to use DeleteDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest.
type DeleteDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest 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 key of the pool config.
PoolKey *string `mandatory:"true" contributesTo:"path" name:"poolKey"`
// The key of the auto API spec config.
AutoApiSpecKey *string `mandatory:"true" contributesTo:"path" name:"autoApiSpecKey"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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 DeleteDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest) String() string
func (request DeleteDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResponse wrapper for the DeleteDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec operation
type DeleteDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResponse 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 DeleteDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResponse) String() string
DeleteDatabaseToolsDatabaseApiGatewayConfigPoolRequest wrapper for the DeleteDatabaseToolsDatabaseApiGatewayConfigPool operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/DeleteDatabaseToolsDatabaseApiGatewayConfigPool.go.html to see an example of how to use DeleteDatabaseToolsDatabaseApiGatewayConfigPoolRequest.
type DeleteDatabaseToolsDatabaseApiGatewayConfigPoolRequest 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 key of the pool config.
PoolKey *string `mandatory:"true" contributesTo:"path" name:"poolKey"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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 DeleteDatabaseToolsDatabaseApiGatewayConfigPoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDatabaseToolsDatabaseApiGatewayConfigPoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDatabaseToolsDatabaseApiGatewayConfigPoolRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDatabaseToolsDatabaseApiGatewayConfigPoolRequest) String() string
func (request DeleteDatabaseToolsDatabaseApiGatewayConfigPoolRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteDatabaseToolsDatabaseApiGatewayConfigPoolResponse wrapper for the DeleteDatabaseToolsDatabaseApiGatewayConfigPool operation
type DeleteDatabaseToolsDatabaseApiGatewayConfigPoolResponse 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 DeleteDatabaseToolsDatabaseApiGatewayConfigPoolResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDatabaseToolsDatabaseApiGatewayConfigPoolResponse) String() string
ExecuteSqlAsynchronousInputDetails Async request script input details
type ExecuteSqlAsynchronousInputDetails interface {
}
ExecuteSqlAsynchronousInputDetailsTypeEnum Enum with underlying type: string
type ExecuteSqlAsynchronousInputDetailsTypeEnum string
Set of constants representing the allowable values for ExecuteSqlAsynchronousInputDetailsTypeEnum
const (
ExecuteSqlAsynchronousInputDetailsTypeObjectStorage ExecuteSqlAsynchronousInputDetailsTypeEnum = "OBJECT_STORAGE"
ExecuteSqlAsynchronousInputDetailsTypeInline ExecuteSqlAsynchronousInputDetailsTypeEnum = "INLINE"
)
func GetExecuteSqlAsynchronousInputDetailsTypeEnumValues() []ExecuteSqlAsynchronousInputDetailsTypeEnum
GetExecuteSqlAsynchronousInputDetailsTypeEnumValues Enumerates the set of values for ExecuteSqlAsynchronousInputDetailsTypeEnum
func GetMappingExecuteSqlAsynchronousInputDetailsTypeEnum(val string) (ExecuteSqlAsynchronousInputDetailsTypeEnum, bool)
GetMappingExecuteSqlAsynchronousInputDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ExecuteSqlAsynchronousInputInlineDetails Inline scipt input.
type ExecuteSqlAsynchronousInputInlineDetails struct {
Content ExecuteSqlInputDetails `mandatory:"true" json:"content"`
}
func (m ExecuteSqlAsynchronousInputInlineDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ExecuteSqlAsynchronousInputInlineDetails) String() string
func (m *ExecuteSqlAsynchronousInputInlineDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ExecuteSqlAsynchronousInputInlineDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlAsynchronousInputObjectStorageDetails Object Storage script input.
type ExecuteSqlAsynchronousInputObjectStorageDetails struct {
Object *ExecuteSqlObjectStorageLocation `mandatory:"true" json:"object"`
}
func (m ExecuteSqlAsynchronousInputObjectStorageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ExecuteSqlAsynchronousInputObjectStorageDetails) String() string
func (m ExecuteSqlAsynchronousInputObjectStorageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlBind Bind information.
type ExecuteSqlBind struct {
// The data type.
DataType *string `mandatory:"true" json:"dataType"`
// Name of the bind.
Name *string `mandatory:"false" json:"name"`
// Index of the bind. Index of the first bind is 1.
Index *int `mandatory:"false" json:"index"`
// The mode in which the bind is used.
Mode ExecuteSqlBindModeEnum `mandatory:"false" json:"mode,omitempty"`
// values
Values []interface{} `mandatory:"false" json:"values"`
// results
Results []interface{} `mandatory:"false" json:"results"`
PlsqlTableTypeDetails *ExecuteSqlBindPlsqlTable `mandatory:"false" json:"plsqlTableTypeDetails"`
}
func (m ExecuteSqlBind) String() string
func (m ExecuteSqlBind) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlBindModeEnum Enum with underlying type: string
type ExecuteSqlBindModeEnum string
Set of constants representing the allowable values for ExecuteSqlBindModeEnum
const (
ExecuteSqlBindModeIn ExecuteSqlBindModeEnum = "IN"
ExecuteSqlBindModeInout ExecuteSqlBindModeEnum = "INOUT"
ExecuteSqlBindModeOut ExecuteSqlBindModeEnum = "OUT"
)
func GetExecuteSqlBindModeEnumValues() []ExecuteSqlBindModeEnum
GetExecuteSqlBindModeEnumValues Enumerates the set of values for ExecuteSqlBindModeEnum
func GetMappingExecuteSqlBindModeEnum(val string) (ExecuteSqlBindModeEnum, bool)
GetMappingExecuteSqlBindModeEnum performs case Insensitive comparison on enum value and return the desired enum
ExecuteSqlBindPlsqlTable PL/SQL table type details
type ExecuteSqlBindPlsqlTable struct {
// Only an empty string is accepted as the value.
TypeName *string `mandatory:"false" json:"typeName"`
// Only an empty string is accepted as the value.
TypeSubname *string `mandatory:"false" json:"typeSubname"`
// Specifies an array of data types in the PL/SQL table.
TypeComponents []ExecuteSqlBindTypeComponent `mandatory:"false" json:"typeComponents"`
}
func (m ExecuteSqlBindPlsqlTable) String() string
func (m ExecuteSqlBindPlsqlTable) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlBindTypeComponent Data type component.
type ExecuteSqlBindTypeComponent struct {
// Oracle Database data type.
DataType *string `mandatory:"false" json:"dataType"`
}
func (m ExecuteSqlBindTypeComponent) String() string
func (m ExecuteSqlBindTypeComponent) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlDatabaseToolsConnectionAsynchronousDetails Asynchronous request.
type ExecuteSqlDatabaseToolsConnectionAsynchronousDetails struct {
Input ExecuteSqlAsynchronousInputDetails `mandatory:"true" json:"input"`
Output ExecuteSqlOutputDetails `mandatory:"false" json:"output"`
// Maximum time in seconds allowed for the request to complete, measured from submission.
TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`
}
func (m ExecuteSqlDatabaseToolsConnectionAsynchronousDetails) GetOutput() ExecuteSqlOutputDetails
GetOutput returns Output
func (m ExecuteSqlDatabaseToolsConnectionAsynchronousDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ExecuteSqlDatabaseToolsConnectionAsynchronousDetails) String() string
func (m *ExecuteSqlDatabaseToolsConnectionAsynchronousDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ExecuteSqlDatabaseToolsConnectionAsynchronousDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlDatabaseToolsConnectionDetails A request
type ExecuteSqlDatabaseToolsConnectionDetails interface {
GetOutput() ExecuteSqlOutputDetails
}
ExecuteSqlDatabaseToolsConnectionDetailsTypeEnum Enum with underlying type: string
type ExecuteSqlDatabaseToolsConnectionDetailsTypeEnum string
Set of constants representing the allowable values for ExecuteSqlDatabaseToolsConnectionDetailsTypeEnum
const (
ExecuteSqlDatabaseToolsConnectionDetailsTypeSynchronous ExecuteSqlDatabaseToolsConnectionDetailsTypeEnum = "SYNCHRONOUS"
ExecuteSqlDatabaseToolsConnectionDetailsTypeAsynchronous ExecuteSqlDatabaseToolsConnectionDetailsTypeEnum = "ASYNCHRONOUS"
)
func GetExecuteSqlDatabaseToolsConnectionDetailsTypeEnumValues() []ExecuteSqlDatabaseToolsConnectionDetailsTypeEnum
GetExecuteSqlDatabaseToolsConnectionDetailsTypeEnumValues Enumerates the set of values for ExecuteSqlDatabaseToolsConnectionDetailsTypeEnum
func GetMappingExecuteSqlDatabaseToolsConnectionDetailsTypeEnum(val string) (ExecuteSqlDatabaseToolsConnectionDetailsTypeEnum, bool)
GetMappingExecuteSqlDatabaseToolsConnectionDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ExecuteSqlDatabaseToolsConnectionRequest wrapper for the ExecuteSqlDatabaseToolsConnection operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/ExecuteSqlDatabaseToolsConnection.go.html to see an example of how to use ExecuteSqlDatabaseToolsConnectionRequest.
type ExecuteSqlDatabaseToolsConnectionRequest 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"`
// Script to execute on a DatabaseToolsConnection.
ExecuteSqlDatabaseToolsConnectionDetails `contributesTo:"body"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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 ExecuteSqlDatabaseToolsConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ExecuteSqlDatabaseToolsConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ExecuteSqlDatabaseToolsConnectionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ExecuteSqlDatabaseToolsConnectionRequest) String() string
func (request ExecuteSqlDatabaseToolsConnectionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlDatabaseToolsConnectionResponse wrapper for the ExecuteSqlDatabaseToolsConnection operation
type ExecuteSqlDatabaseToolsConnectionResponse struct {
// The underlying http response
RawResponse *http.Response
// The ExecuteSqlResponse instance
ExecuteSqlResponse `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}
func (response ExecuteSqlDatabaseToolsConnectionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ExecuteSqlDatabaseToolsConnectionResponse) String() string
ExecuteSqlDatabaseToolsConnectionSynchronousDetails Synchronous request.
type ExecuteSqlDatabaseToolsConnectionSynchronousDetails struct {
Input ExecuteSqlInputDetails `mandatory:"true" json:"input"`
Output ExecuteSqlOutputDetails `mandatory:"false" json:"output"`
}
func (m ExecuteSqlDatabaseToolsConnectionSynchronousDetails) GetOutput() ExecuteSqlOutputDetails
GetOutput returns Output
func (m ExecuteSqlDatabaseToolsConnectionSynchronousDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ExecuteSqlDatabaseToolsConnectionSynchronousDetails) String() string
func (m *ExecuteSqlDatabaseToolsConnectionSynchronousDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ExecuteSqlDatabaseToolsConnectionSynchronousDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlInputBatchDetails Contains the details for the Batch SQL statements to execute on the database connection.
type ExecuteSqlInputBatchDetails struct {
// DML statements to execute in jdbc batch mode
BatchStatementTexts []string `mandatory:"true" json:"batchStatementTexts"`
ResponseFormat *ExecuteSqlResponseFormat `mandatory:"false" json:"responseFormat"`
// Client properties returned as-is in the response
Properties *interface{} `mandatory:"false" json:"properties"`
}
func (m ExecuteSqlInputBatchDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ExecuteSqlInputBatchDetails) String() string
func (m ExecuteSqlInputBatchDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlInputDetails Contains the details for the SQL statements to execute on the database connection.
type ExecuteSqlInputDetails interface {
}
ExecuteSqlInputScriptDetails Contains the details for the Script SQL statements to execute on the database connection.
type ExecuteSqlInputScriptDetails struct {
// The collection of scripts to execute.
Scripts []ExecuteSqlInputScriptSqlRequestDetails `mandatory:"true" json:"scripts"`
// Request payload version, returned as-is in the response
Version *string `mandatory:"false" json:"version"`
// Client properties returned as-is in the response
Properties []map[string]interface{} `mandatory:"false" json:"properties"`
}
func (m ExecuteSqlInputScriptDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ExecuteSqlInputScriptDetails) String() string
func (m ExecuteSqlInputScriptDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlInputScriptSqlRequestDetails Contains the details for the Script SQL statements to execute on the database connection.
type ExecuteSqlInputScriptSqlRequestDetails struct {
// The SQL statements to execute.
SqlRequests []ExecuteSqlInputDetails `mandatory:"true" json:"sqlRequests"`
// Client properties returned as-is in the response
Properties *interface{} `mandatory:"false" json:"properties"`
}
func (m ExecuteSqlInputScriptSqlRequestDetails) String() string
func (m *ExecuteSqlInputScriptSqlRequestDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ExecuteSqlInputScriptSqlRequestDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlInputStandardDetails Contains the details for the Standard SQL statements to execute on the database connection.
type ExecuteSqlInputStandardDetails struct {
// Statements to execute (Can be more than one).
StatementText *string `mandatory:"true" json:"statementText"`
// The maximum number of rows to return from the query (-1 disables pagination).
Limit *int `mandatory:"false" json:"limit"`
// The first row to return in the result set.
Offset *int `mandatory:"false" json:"offset"`
// Array of objects specifying the bind information.
Binds []ExecuteSqlBind `mandatory:"false" json:"binds"`
ResponseFormat *ExecuteSqlResponseFormat `mandatory:"false" json:"responseFormat"`
// Client properties returned as-is in the response
Properties *interface{} `mandatory:"false" json:"properties"`
}
func (m ExecuteSqlInputStandardDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ExecuteSqlInputStandardDetails) String() string
func (m ExecuteSqlInputStandardDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlObjectStorageLocation Object Storage location.
type ExecuteSqlObjectStorageLocation struct {
// The name of the object storage namespace
Namespace *string `mandatory:"true" json:"namespace"`
// The name of the object storage bucket
BucketName *string `mandatory:"true" json:"bucketName"`
// The name of the object
ObjectName *string `mandatory:"true" json:"objectName"`
}
func (m ExecuteSqlObjectStorageLocation) String() string
func (m ExecuteSqlObjectStorageLocation) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlOutputDetails Defines how the script result should be stored
type ExecuteSqlOutputDetails interface {
// Defines how the result of commands in a script should be stored.
// If the command does not match any template filter, the result will be inline.
GetResultDispositionTemplates() []ExecuteSqlOutputResultDispositionTemplate
}
ExecuteSqlOutputDetailsTypeEnum Enum with underlying type: string
type ExecuteSqlOutputDetailsTypeEnum string
Set of constants representing the allowable values for ExecuteSqlOutputDetailsTypeEnum
const (
ExecuteSqlOutputDetailsTypeObjectStorage ExecuteSqlOutputDetailsTypeEnum = "OBJECT_STORAGE"
)
func GetExecuteSqlOutputDetailsTypeEnumValues() []ExecuteSqlOutputDetailsTypeEnum
GetExecuteSqlOutputDetailsTypeEnumValues Enumerates the set of values for ExecuteSqlOutputDetailsTypeEnum
func GetMappingExecuteSqlOutputDetailsTypeEnum(val string) (ExecuteSqlOutputDetailsTypeEnum, bool)
GetMappingExecuteSqlOutputDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ExecuteSqlOutputDispositionDetails Describes how the response of a command is to be stored
type ExecuteSqlOutputDispositionDetails interface {
}
ExecuteSqlOutputDispositionDetailsTypeEnum Enum with underlying type: string
type ExecuteSqlOutputDispositionDetailsTypeEnum string
Set of constants representing the allowable values for ExecuteSqlOutputDispositionDetailsTypeEnum
const (
ExecuteSqlOutputDispositionDetailsTypeObjectStorage ExecuteSqlOutputDispositionDetailsTypeEnum = "OBJECT_STORAGE"
)
func GetExecuteSqlOutputDispositionDetailsTypeEnumValues() []ExecuteSqlOutputDispositionDetailsTypeEnum
GetExecuteSqlOutputDispositionDetailsTypeEnumValues Enumerates the set of values for ExecuteSqlOutputDispositionDetailsTypeEnum
func GetMappingExecuteSqlOutputDispositionDetailsTypeEnum(val string) (ExecuteSqlOutputDispositionDetailsTypeEnum, bool)
GetMappingExecuteSqlOutputDispositionDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ExecuteSqlOutputDispositionObjectStorageDetails Describes how the result of a statement is stored in Object Storage
type ExecuteSqlOutputDispositionObjectStorageDetails struct {
// The name of the object storage namespace
Namespace *string `mandatory:"true" json:"namespace"`
// The name of the object storage bucket
BucketName *string `mandatory:"true" json:"bucketName"`
// The name of the object template (can contain statementId placeholder, for example; query_{statementId}.csv )
ObjectName *string `mandatory:"true" json:"objectName"`
// The content type
ContentType *string `mandatory:"false" json:"contentType"`
// The content disposition
ContentDisposition *string `mandatory:"false" json:"contentDisposition"`
// The content encoding
ContentEncoding *string `mandatory:"false" json:"contentEncoding"`
// The Cache-Control header
CacheControl *string `mandatory:"false" json:"cacheControl"`
// The content language
ContentLanguage *string `mandatory:"false" json:"contentLanguage"`
// The object metadata
OpcMeta map[string]string `mandatory:"false" json:"opcMeta"`
// The Encryption Algorithm
OpcSseCustomerAlgorithm *string `mandatory:"false" json:"opcSseCustomerAlgorithm"`
// The base64-encoded 256-bit encryption key to use
OpcSseCustomerKey *string `mandatory:"false" json:"opcSseCustomerKey"`
// The base64-encoded SHA256 hash of the encryption key
OpcSseCustomerKeySha256 *string `mandatory:"false" json:"opcSseCustomerKeySha256"`
// The OCID of a master encryption key
OpcSseKmsKeyId *string `mandatory:"false" json:"opcSseKmsKeyId"`
// The storage tier that the object should be stored in
StorageTier ExecuteSqlOutputDispositionObjectStorageDetailsStorageTierEnum `mandatory:"false" json:"storageTier,omitempty"`
}
func (m ExecuteSqlOutputDispositionObjectStorageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ExecuteSqlOutputDispositionObjectStorageDetails) String() string
func (m ExecuteSqlOutputDispositionObjectStorageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlOutputDispositionObjectStorageDetailsStorageTierEnum Enum with underlying type: string
type ExecuteSqlOutputDispositionObjectStorageDetailsStorageTierEnum string
Set of constants representing the allowable values for ExecuteSqlOutputDispositionObjectStorageDetailsStorageTierEnum
const (
ExecuteSqlOutputDispositionObjectStorageDetailsStorageTierStandard ExecuteSqlOutputDispositionObjectStorageDetailsStorageTierEnum = "STANDARD"
ExecuteSqlOutputDispositionObjectStorageDetailsStorageTierInfrequentAccess ExecuteSqlOutputDispositionObjectStorageDetailsStorageTierEnum = "INFREQUENT_ACCESS"
ExecuteSqlOutputDispositionObjectStorageDetailsStorageTierArchive ExecuteSqlOutputDispositionObjectStorageDetailsStorageTierEnum = "ARCHIVE"
)
func GetExecuteSqlOutputDispositionObjectStorageDetailsStorageTierEnumValues() []ExecuteSqlOutputDispositionObjectStorageDetailsStorageTierEnum
GetExecuteSqlOutputDispositionObjectStorageDetailsStorageTierEnumValues Enumerates the set of values for ExecuteSqlOutputDispositionObjectStorageDetailsStorageTierEnum
func GetMappingExecuteSqlOutputDispositionObjectStorageDetailsStorageTierEnum(val string) (ExecuteSqlOutputDispositionObjectStorageDetailsStorageTierEnum, bool)
GetMappingExecuteSqlOutputDispositionObjectStorageDetailsStorageTierEnum performs case Insensitive comparison on enum value and return the desired enum
ExecuteSqlOutputObjectStorageDetails Object Storage resource output details.
type ExecuteSqlOutputObjectStorageDetails struct {
Object *ExecuteSqlObjectStorageLocation `mandatory:"true" json:"object"`
// Defines how the result of commands in a script should be stored.
// If the command does not match any template filter, the result will be inline.
ResultDispositionTemplates []ExecuteSqlOutputResultDispositionTemplate `mandatory:"false" json:"resultDispositionTemplates"`
// The time when the object becomes eligible for deletion, expressed as an RFC 3339 date-time string.
TimeOfDeletion *common.SDKTime `mandatory:"false" json:"timeOfDeletion"`
}
func (m ExecuteSqlOutputObjectStorageDetails) GetResultDispositionTemplates() []ExecuteSqlOutputResultDispositionTemplate
GetResultDispositionTemplates returns ResultDispositionTemplates
func (m ExecuteSqlOutputObjectStorageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ExecuteSqlOutputObjectStorageDetails) String() string
func (m ExecuteSqlOutputObjectStorageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlOutputResultDispositionTemplate Template defining how the result of a command should be stored.
type ExecuteSqlOutputResultDispositionTemplate struct {
// Commands matching this statement type will use this result disposition.
StatementType StatementTypeEnum `mandatory:"true" json:"statementType"`
ObjectTemplate ExecuteSqlOutputDispositionDetails `mandatory:"true" json:"objectTemplate"`
}
func (m ExecuteSqlOutputResultDispositionTemplate) String() string
func (m *ExecuteSqlOutputResultDispositionTemplate) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ExecuteSqlOutputResultDispositionTemplate) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlResponse Contains the details for the SQL statements to execute on the database connection.
type ExecuteSqlResponse interface {
GetEnv() *ExecuteSqlResponseEnv
// Script version
GetVersion() *string
}
ExecuteSqlResponseBatch Contains the details for the Batch SQL statements to execute on the database connection.
type ExecuteSqlResponseBatch struct {
// The execution result of a statement.
Items []ExecuteSqlResponseItemBatch `mandatory:"true" json:"items"`
Env *ExecuteSqlResponseEnv `mandatory:"false" json:"env"`
// Script version
Version *string `mandatory:"false" json:"version"`
}
func (m ExecuteSqlResponseBatch) GetEnv() *ExecuteSqlResponseEnv
GetEnv returns Env
func (m ExecuteSqlResponseBatch) GetVersion() *string
GetVersion returns Version
func (m ExecuteSqlResponseBatch) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ExecuteSqlResponseBatch) String() string
func (m ExecuteSqlResponseBatch) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlResponseEnv Database session environment.
type ExecuteSqlResponseEnv struct {
// The database default time zone.
DefaultTimeZone *string `mandatory:"true" json:"defaultTimeZone"`
}
func (m ExecuteSqlResponseEnv) String() string
func (m ExecuteSqlResponseEnv) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlResponseFormat Specifies which major elements of the response are returned
type ExecuteSqlResponseFormat struct {
// Set to false to exclude result set metadata from response
ResultSetMetaData *bool `mandatory:"false" json:"resultSetMetaData"`
// Set to false to exclude statement information from response
StatementInformation *bool `mandatory:"false" json:"statementInformation"`
// Set to false to exclude statement text from response
StatementText *bool `mandatory:"false" json:"statementText"`
// Set to false to exclude binds from response
Binds *bool `mandatory:"false" json:"binds"`
// Set to false to exclude result from response
Result *bool `mandatory:"false" json:"result"`
// Set to false to exclude response from response
Response *bool `mandatory:"false" json:"response"`
}
func (m ExecuteSqlResponseFormat) String() string
func (m ExecuteSqlResponseFormat) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlResponseItemBatch A statement execution response for batched type requests.
type ExecuteSqlResponseItemBatch struct {
// The sequence number of the statement. Sequence number of the first statement is 1.
StatementId *int `mandatory:"false" json:"statementId"`
// The Statement type.
StatementType StatementTypeEnum `mandatory:"false" json:"statementType,omitempty"`
StatementPos *ExecuteSqlResponseItemStatementPos `mandatory:"false" json:"statementPos"`
// DML statements to execute in jdbc batch mode
BatchStatementTexts []string `mandatory:"false" json:"batchStatementTexts"`
Error *ExecuteSqlResponseItemError `mandatory:"false" json:"error"`
// Output from DBMS_OUTPUT package. Server output must be enabled (e.g., SET SERVEROUTPUT ON).
DbmsOutput *string `mandatory:"false" json:"dbmsOutput"`
Properties *ExecuteSqlResponseItemProperties `mandatory:"false" json:"properties"`
// Responses generated when executing the statements.
Responses []string `mandatory:"false" json:"responses"`
// Results generated when executing the statements.
Results []int `mandatory:"false" json:"results"`
}
func (m ExecuteSqlResponseItemBatch) String() string
func (m ExecuteSqlResponseItemBatch) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlResponseItemError Error details.
type ExecuteSqlResponseItemError struct {
// Error code.
ErrorCode *int `mandatory:"false" json:"errorCode"`
// Error line number.
ErrorLine *int `mandatory:"false" json:"errorLine"`
// Error column number.
ErrorColumn *int `mandatory:"false" json:"errorColumn"`
// Error message.
ErrorMessage *string `mandatory:"false" json:"errorMessage"`
// Error details.
ErrorDetails *string `mandatory:"false" json:"errorDetails"`
}
func (m ExecuteSqlResponseItemError) String() string
func (m ExecuteSqlResponseItemError) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlResponseItemProperties Property information
type ExecuteSqlResponseItemProperties struct {
// Client properties returned as-is in the response
Query *interface{} `mandatory:"false" json:"query"`
// Client properties returned as-is in the response
Statement *interface{} `mandatory:"false" json:"statement"`
// Client properties returned as-is in the response.
// For asynchronous requests, the "displayName" property can be set to provide a user-friendly name that will propagate to the resulting Work Request to allow for easier identification and tracking of the operation's progress and outcome.
DisplayName *interface{} `mandatory:"false" json:"displayName"`
}
func (m ExecuteSqlResponseItemProperties) String() string
func (m ExecuteSqlResponseItemProperties) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlResponseItemResultSet Result set generated from the query.
type ExecuteSqlResponseItemResultSet struct {
// Metadata of the column.
Metadata []ExecuteSqlResponseItemResultSetMetadata `mandatory:"false" json:"metadata"`
// All rows in the result set.
Items []map[string]interface{} `mandatory:"false" json:"items"`
// Specifies whether the result set has more rows.
HasMore *bool `mandatory:"false" json:"hasMore"`
// The number of rows returned.
Count *int `mandatory:"false" json:"count"`
// The first row returned in the result set.
Offset *int `mandatory:"false" json:"offset"`
// Maximum number of rows returned from the query.
Limit *int `mandatory:"false" json:"limit"`
}
func (m ExecuteSqlResponseItemResultSet) String() string
func (m ExecuteSqlResponseItemResultSet) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlResponseItemResultSetMetadata Metadata of the column
type ExecuteSqlResponseItemResultSetMetadata struct {
// Name of the column in the Oracle Database.
DatabaseColumnName *string `mandatory:"false" json:"databaseColumnName"`
// Name of the column in the response Result Set.
UniqueColumnName *string `mandatory:"false" json:"uniqueColumnName"`
// Oracle Database data type of the column.
ColumnTypeName *string `mandatory:"false" json:"columnTypeName"`
// Precision of the column.
Precision *int `mandatory:"false" json:"precision"`
// Scale of the column.
Scale *int `mandatory:"false" json:"scale"`
// Specifies if the column is nullable (0 if the column is not nullable)
IsNullable *bool `mandatory:"false" json:"isNullable"`
}
func (m ExecuteSqlResponseItemResultSetMetadata) String() string
func (m ExecuteSqlResponseItemResultSetMetadata) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlResponseItemScript A statement execution response for script type requests.
type ExecuteSqlResponseItemScript struct {
// The sequence number of the statement. Sequence number of the first statement is 1.
StatementId *int `mandatory:"false" json:"statementId"`
// The Statement type.
StatementType StatementTypeEnum `mandatory:"false" json:"statementType,omitempty"`
StatementPos *ExecuteSqlResponseItemStatementPos `mandatory:"false" json:"statementPos"`
// Text of statements executed.
StatementText *string `mandatory:"false" json:"statementText"`
Error *ExecuteSqlResponseItemError `mandatory:"false" json:"error"`
// Output from DBMS_OUTPUT package. Server output must be enabled (e.g., SET SERVEROUTPUT ON).
DbmsOutput *string `mandatory:"false" json:"dbmsOutput"`
Properties *ExecuteSqlResponseItemProperties `mandatory:"false" json:"properties"`
// Responses generated when executing the statements.
Responses []string `mandatory:"false" json:"responses"`
// Results generated when executing the statements.
Results []int `mandatory:"false" json:"results"`
ResultSetObject ExecuteSqlOutputDispositionDetails `mandatory:"false" json:"resultSetObject"`
ResultSet *ExecuteSqlResponseItemResultSet `mandatory:"false" json:"resultSet"`
// Array of objects specifying the bind information.
Binds []ExecuteSqlBind `mandatory:"false" json:"binds"`
}
func (m ExecuteSqlResponseItemScript) String() string
func (m *ExecuteSqlResponseItemScript) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ExecuteSqlResponseItemScript) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlResponseItemStandard A statement execution response for Standard type requests.
type ExecuteSqlResponseItemStandard struct {
// The sequence number of the statement. Sequence number of the first statement is 1.
StatementId *int `mandatory:"false" json:"statementId"`
// The Statement type.
StatementType StatementTypeEnum `mandatory:"false" json:"statementType,omitempty"`
StatementPos *ExecuteSqlResponseItemStatementPos `mandatory:"false" json:"statementPos"`
// Text of statements executed.
StatementText *string `mandatory:"false" json:"statementText"`
Error *ExecuteSqlResponseItemError `mandatory:"false" json:"error"`
// Output from DBMS_OUTPUT package. Server output must be enabled (e.g., SET SERVEROUTPUT ON).
DbmsOutput *string `mandatory:"false" json:"dbmsOutput"`
Properties *ExecuteSqlResponseItemProperties `mandatory:"false" json:"properties"`
// Responses generated when executing the statements.
Responses []string `mandatory:"false" json:"responses"`
// Results generated when executing the statements.
Results []int `mandatory:"false" json:"results"`
ResultSetObject ExecuteSqlOutputDispositionDetails `mandatory:"false" json:"resultSetObject"`
ResultSet *ExecuteSqlResponseItemResultSet `mandatory:"false" json:"resultSet"`
// Array of objects specifying the bind information.
Binds []ExecuteSqlBind `mandatory:"false" json:"binds"`
}
func (m ExecuteSqlResponseItemStandard) String() string
func (m *ExecuteSqlResponseItemStandard) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ExecuteSqlResponseItemStandard) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlResponseItemStatementPos Position of the statement.
type ExecuteSqlResponseItemStatementPos struct {
// Start line of the statement. First start line is 1.
StartLine *int `mandatory:"false" json:"startLine"`
// End line of the statement.
EndLine *int `mandatory:"false" json:"endLine"`
}
func (m ExecuteSqlResponseItemStatementPos) String() string
func (m ExecuteSqlResponseItemStatementPos) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlResponseScript Contains the details for the Script SQL statements to execute on the database connection.
type ExecuteSqlResponseScript struct {
// The execution result of a statement.
Items []ExecuteSqlResponseItemScript `mandatory:"true" json:"items"`
Env *ExecuteSqlResponseEnv `mandatory:"false" json:"env"`
// Script version
Version *string `mandatory:"false" json:"version"`
}
func (m ExecuteSqlResponseScript) GetEnv() *ExecuteSqlResponseEnv
GetEnv returns Env
func (m ExecuteSqlResponseScript) GetVersion() *string
GetVersion returns Version
func (m ExecuteSqlResponseScript) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ExecuteSqlResponseScript) String() string
func (m ExecuteSqlResponseScript) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExecuteSqlResponseStandard Contains the details for the Standard SQL statements to execute on the database connection.
type ExecuteSqlResponseStandard struct {
// The execution result of a statement.
Items []ExecuteSqlResponseItemStandard `mandatory:"true" json:"items"`
Env *ExecuteSqlResponseEnv `mandatory:"false" json:"env"`
// Script version
Version *string `mandatory:"false" json:"version"`
}
func (m ExecuteSqlResponseStandard) GetEnv() *ExecuteSqlResponseEnv
GetEnv returns Env
func (m ExecuteSqlResponseStandard) GetVersion() *string
GetVersion returns Version
func (m ExecuteSqlResponseStandard) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ExecuteSqlResponseStandard) String() string
func (m ExecuteSqlResponseStandard) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetCredentialExecuteGranteeRequest wrapper for the GetCredentialExecuteGrantee operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/GetCredentialExecuteGrantee.go.html to see an example of how to use GetCredentialExecuteGranteeRequest.
type GetCredentialExecuteGranteeRequest 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 name of the credential
CredentialKey *string `mandatory:"true" contributesTo:"path" name:"credentialKey"`
// The name of the user granted the EXECUTE privilege on the credential.
ExecuteGranteeKey *string `mandatory:"true" contributesTo:"path" name:"executeGranteeKey"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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 GetCredentialExecuteGranteeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetCredentialExecuteGranteeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetCredentialExecuteGranteeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetCredentialExecuteGranteeRequest) String() string
func (request GetCredentialExecuteGranteeRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetCredentialExecuteGranteeResponse wrapper for the GetCredentialExecuteGrantee operation
type GetCredentialExecuteGranteeResponse struct {
// The underlying http response
RawResponse *http.Response
// The CredentialExecuteGrantee instance
CredentialExecuteGrantee `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 GetCredentialExecuteGranteeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetCredentialExecuteGranteeResponse) String() string
GetCredentialPublicSynonymRequest wrapper for the GetCredentialPublicSynonym operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/GetCredentialPublicSynonym.go.html to see an example of how to use GetCredentialPublicSynonymRequest.
type GetCredentialPublicSynonymRequest 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 name of the credential
CredentialKey *string `mandatory:"true" contributesTo:"path" name:"credentialKey"`
// The name of the public synonym for the credential
PublicSynonymKey *string `mandatory:"true" contributesTo:"path" name:"publicSynonymKey"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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 GetCredentialPublicSynonymRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetCredentialPublicSynonymRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetCredentialPublicSynonymRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetCredentialPublicSynonymRequest) String() string
func (request GetCredentialPublicSynonymRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetCredentialPublicSynonymResponse wrapper for the GetCredentialPublicSynonym operation
type GetCredentialPublicSynonymResponse struct {
// The underlying http response
RawResponse *http.Response
// The CredentialPublicSynonym instance
CredentialPublicSynonym `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 GetCredentialPublicSynonymResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetCredentialPublicSynonymResponse) String() string
GetCredentialRequest wrapper for the GetCredential operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/GetCredential.go.html to see an example of how to use GetCredentialRequest.
type GetCredentialRequest 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 name of the credential
CredentialKey *string `mandatory:"true" contributesTo:"path" name:"credentialKey"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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 GetCredentialRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetCredentialRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetCredentialRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetCredentialRequest) String() string
func (request GetCredentialRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetCredentialResponse wrapper for the GetCredential operation
type GetCredentialResponse struct {
// The underlying http response
RawResponse *http.Response
// The Credential instance
Credential `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 GetCredentialResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetCredentialResponse) String() string
GetDatabaseToolsDatabaseApiGatewayConfigContentRequest wrapper for the GetDatabaseToolsDatabaseApiGatewayConfigContent operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/GetDatabaseToolsDatabaseApiGatewayConfigContent.go.html to see an example of how to use GetDatabaseToolsDatabaseApiGatewayConfigContentRequest.
type GetDatabaseToolsDatabaseApiGatewayConfigContentRequest 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"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// For conditional requests. In the GET call for a resource, set the
// `If-None-Match` header to the value of the ETag from a previous GET (or
// POST or PUT) response for that resource. The server will return with
// either a 304 Not Modified response if the resource has not changed, or a
// 200 OK response with the updated representation.
IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-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 GetDatabaseToolsDatabaseApiGatewayConfigContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDatabaseToolsDatabaseApiGatewayConfigContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDatabaseToolsDatabaseApiGatewayConfigContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDatabaseToolsDatabaseApiGatewayConfigContentRequest) String() string
func (request GetDatabaseToolsDatabaseApiGatewayConfigContentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetDatabaseToolsDatabaseApiGatewayConfigContentResponse wrapper for the GetDatabaseToolsDatabaseApiGatewayConfigContent operation
type GetDatabaseToolsDatabaseApiGatewayConfigContentResponse struct {
// The underlying http response
RawResponse *http.Response
// The io.ReadCloser instance
Content io.ReadCloser `presentIn:"body" encoding:"binary"`
// 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 GetDatabaseToolsDatabaseApiGatewayConfigContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDatabaseToolsDatabaseApiGatewayConfigContentResponse) String() string
GetDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnum Enum with underlying type: string
type GetDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnum string
Set of constants representing the allowable values for GetDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnum
const (
GetDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeySettings GetDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnum = "SETTINGS"
)
func GetGetDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnumValues() []GetDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnum
GetGetDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnumValues Enumerates the set of values for GetDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnum
func GetMappingGetDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnum(val string) (GetDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnum, bool)
GetMappingGetDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnum performs case Insensitive comparison on enum value and return the desired enum
GetDatabaseToolsDatabaseApiGatewayConfigGlobalRequest wrapper for the GetDatabaseToolsDatabaseApiGatewayConfigGlobal operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/GetDatabaseToolsDatabaseApiGatewayConfigGlobal.go.html to see an example of how to use GetDatabaseToolsDatabaseApiGatewayConfigGlobalRequest.
type GetDatabaseToolsDatabaseApiGatewayConfigGlobalRequest 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 key of the global config.
GlobalKey GetDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnum `mandatory:"true" contributesTo:"path" name:"globalKey"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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 GetDatabaseToolsDatabaseApiGatewayConfigGlobalRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDatabaseToolsDatabaseApiGatewayConfigGlobalRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDatabaseToolsDatabaseApiGatewayConfigGlobalRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDatabaseToolsDatabaseApiGatewayConfigGlobalRequest) String() string
func (request GetDatabaseToolsDatabaseApiGatewayConfigGlobalRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetDatabaseToolsDatabaseApiGatewayConfigGlobalResponse wrapper for the GetDatabaseToolsDatabaseApiGatewayConfigGlobal operation
type GetDatabaseToolsDatabaseApiGatewayConfigGlobalResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsDatabaseApiGatewayConfigGlobal instance
DatabaseToolsDatabaseApiGatewayConfigGlobal `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 GetDatabaseToolsDatabaseApiGatewayConfigGlobalResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDatabaseToolsDatabaseApiGatewayConfigGlobalResponse) String() string
GetDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest wrapper for the GetDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/GetDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.go.html to see an example of how to use GetDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest.
type GetDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest 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 key of the pool config.
PoolKey *string `mandatory:"true" contributesTo:"path" name:"poolKey"`
// The key of the API spec config.
ApiSpecKey *string `mandatory:"true" contributesTo:"path" name:"apiSpecKey"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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 GetDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest) String() string
func (request GetDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResponse wrapper for the GetDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec operation
type GetDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec instance
DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec `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 GetDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResponse) String() string
GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest wrapper for the GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.go.html to see an example of how to use GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest.
type GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest 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 key of the pool config.
PoolKey *string `mandatory:"true" contributesTo:"path" name:"poolKey"`
// The key of the auto API spec config.
AutoApiSpecKey *string `mandatory:"true" contributesTo:"path" name:"autoApiSpecKey"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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 GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest) String() string
func (request GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResponse wrapper for the GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec operation
type GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec instance
DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec `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 GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResponse) String() string
GetDatabaseToolsDatabaseApiGatewayConfigPoolRequest wrapper for the GetDatabaseToolsDatabaseApiGatewayConfigPool operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/GetDatabaseToolsDatabaseApiGatewayConfigPool.go.html to see an example of how to use GetDatabaseToolsDatabaseApiGatewayConfigPoolRequest.
type GetDatabaseToolsDatabaseApiGatewayConfigPoolRequest 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 key of the pool config.
PoolKey *string `mandatory:"true" contributesTo:"path" name:"poolKey"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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 GetDatabaseToolsDatabaseApiGatewayConfigPoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDatabaseToolsDatabaseApiGatewayConfigPoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDatabaseToolsDatabaseApiGatewayConfigPoolRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDatabaseToolsDatabaseApiGatewayConfigPoolRequest) String() string
func (request GetDatabaseToolsDatabaseApiGatewayConfigPoolRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetDatabaseToolsDatabaseApiGatewayConfigPoolResponse wrapper for the GetDatabaseToolsDatabaseApiGatewayConfigPool operation
type GetDatabaseToolsDatabaseApiGatewayConfigPoolResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsDatabaseApiGatewayConfigPool instance
DatabaseToolsDatabaseApiGatewayConfigPool `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 GetDatabaseToolsDatabaseApiGatewayConfigPoolResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDatabaseToolsDatabaseApiGatewayConfigPoolResponse) String() string
GetPropertySetPropertySetKeyEnum Enum with underlying type: string
type GetPropertySetPropertySetKeyEnum string
Set of constants representing the allowable values for GetPropertySetPropertySetKeyEnum
const (
GetPropertySetPropertySetKeyApexDocumentGenerator GetPropertySetPropertySetKeyEnum = "APEX_DOCUMENT_GENERATOR"
GetPropertySetPropertySetKeyApex GetPropertySetPropertySetKeyEnum = "APEX"
GetPropertySetPropertySetKeyApexFaIntegration GetPropertySetPropertySetKeyEnum = "APEX_FA_INTEGRATION"
GetPropertySetPropertySetKeyOracleDatabaseExternalAuthentication GetPropertySetPropertySetKeyEnum = "ORACLE_DATABASE_EXTERNAL_AUTHENTICATION"
)
func GetGetPropertySetPropertySetKeyEnumValues() []GetPropertySetPropertySetKeyEnum
GetGetPropertySetPropertySetKeyEnumValues Enumerates the set of values for GetPropertySetPropertySetKeyEnum
func GetMappingGetPropertySetPropertySetKeyEnum(val string) (GetPropertySetPropertySetKeyEnum, bool)
GetMappingGetPropertySetPropertySetKeyEnum performs case Insensitive comparison on enum value and return the desired enum
GetPropertySetRequest wrapper for the GetPropertySet operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/GetPropertySet.go.html to see an example of how to use GetPropertySetRequest.
type GetPropertySetRequest 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 name of the property set
PropertySetKey GetPropertySetPropertySetKeyEnum `mandatory:"true" contributesTo:"path" name:"propertySetKey"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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 GetPropertySetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetPropertySetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetPropertySetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetPropertySetRequest) String() string
func (request GetPropertySetRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetPropertySetResponse wrapper for the GetPropertySet operation
type GetPropertySetResponse struct {
// The underlying http response
RawResponse *http.Response
// The PropertySet instance
PropertySet `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 GetPropertySetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetPropertySetResponse) String() string
GetUserCredentialRequest wrapper for the GetUserCredential operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/GetUserCredential.go.html to see an example of how to use GetUserCredentialRequest.
type GetUserCredentialRequest 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 name of the database user.
UserKey *string `mandatory:"true" contributesTo:"path" name:"userKey"`
// The name of the credential
CredentialKey *string `mandatory:"true" contributesTo:"path" name:"credentialKey"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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 GetUserCredentialRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetUserCredentialRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetUserCredentialRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetUserCredentialRequest) String() string
func (request GetUserCredentialRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetUserCredentialResponse wrapper for the GetUserCredential operation
type GetUserCredentialResponse struct {
// The underlying http response
RawResponse *http.Response
// The UserCredential instance
UserCredential `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 GetUserCredentialResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetUserCredentialResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
type GetWorkRequestRequest struct {
// The ID of the asynchronous request.
WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetWorkRequestResponse wrapper for the GetWorkRequest operation
type GetWorkRequestResponse struct {
// The underlying http response
RawResponse *http.Response
// The WorkRequest instance
WorkRequest `presentIn:"body"`
// 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"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
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
ListCredentialExecuteGranteesRequest wrapper for the ListCredentialExecuteGrantees operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/ListCredentialExecuteGrantees.go.html to see an example of how to use ListCredentialExecuteGranteesRequest.
type ListCredentialExecuteGranteesRequest 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 name of the credential
CredentialKey *string `mandatory:"true" contributesTo:"path" name:"credentialKey"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// 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 ListCredentialExecuteGranteesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListCredentialExecuteGranteesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListCredentialExecuteGranteesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListCredentialExecuteGranteesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListCredentialExecuteGranteesRequest) String() string
func (request ListCredentialExecuteGranteesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListCredentialExecuteGranteesResponse wrapper for the ListCredentialExecuteGrantees operation
type ListCredentialExecuteGranteesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of CredentialExecuteGranteeCollection instances
CredentialExecuteGranteeCollection `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 ListCredentialExecuteGranteesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListCredentialExecuteGranteesResponse) String() string
ListCredentialExecuteGranteesSortOrderEnum Enum with underlying type: string
type ListCredentialExecuteGranteesSortOrderEnum string
Set of constants representing the allowable values for ListCredentialExecuteGranteesSortOrderEnum
const (
ListCredentialExecuteGranteesSortOrderAsc ListCredentialExecuteGranteesSortOrderEnum = "ASC"
ListCredentialExecuteGranteesSortOrderDesc ListCredentialExecuteGranteesSortOrderEnum = "DESC"
)
func GetListCredentialExecuteGranteesSortOrderEnumValues() []ListCredentialExecuteGranteesSortOrderEnum
GetListCredentialExecuteGranteesSortOrderEnumValues Enumerates the set of values for ListCredentialExecuteGranteesSortOrderEnum
func GetMappingListCredentialExecuteGranteesSortOrderEnum(val string) (ListCredentialExecuteGranteesSortOrderEnum, bool)
GetMappingListCredentialExecuteGranteesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListCredentialPublicSynonymsRequest wrapper for the ListCredentialPublicSynonyms operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/ListCredentialPublicSynonyms.go.html to see an example of how to use ListCredentialPublicSynonymsRequest.
type ListCredentialPublicSynonymsRequest 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 name of the credential
CredentialKey *string `mandatory:"true" contributesTo:"path" name:"credentialKey"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// 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 ListCredentialPublicSynonymsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListCredentialPublicSynonymsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListCredentialPublicSynonymsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListCredentialPublicSynonymsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListCredentialPublicSynonymsRequest) String() string
func (request ListCredentialPublicSynonymsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListCredentialPublicSynonymsResponse wrapper for the ListCredentialPublicSynonyms operation
type ListCredentialPublicSynonymsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of CredentialPublicSynonymCollection instances
CredentialPublicSynonymCollection `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 ListCredentialPublicSynonymsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListCredentialPublicSynonymsResponse) String() string
ListCredentialPublicSynonymsSortOrderEnum Enum with underlying type: string
type ListCredentialPublicSynonymsSortOrderEnum string
Set of constants representing the allowable values for ListCredentialPublicSynonymsSortOrderEnum
const (
ListCredentialPublicSynonymsSortOrderAsc ListCredentialPublicSynonymsSortOrderEnum = "ASC"
ListCredentialPublicSynonymsSortOrderDesc ListCredentialPublicSynonymsSortOrderEnum = "DESC"
)
func GetListCredentialPublicSynonymsSortOrderEnumValues() []ListCredentialPublicSynonymsSortOrderEnum
GetListCredentialPublicSynonymsSortOrderEnumValues Enumerates the set of values for ListCredentialPublicSynonymsSortOrderEnum
func GetMappingListCredentialPublicSynonymsSortOrderEnum(val string) (ListCredentialPublicSynonymsSortOrderEnum, bool)
GetMappingListCredentialPublicSynonymsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListCredentialsRequest wrapper for the ListCredentials operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/ListCredentials.go.html to see an example of how to use ListCredentialsRequest.
type ListCredentialsRequest 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"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// 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 ListCredentialsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListCredentialsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListCredentialsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListCredentialsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListCredentialsRequest) String() string
func (request ListCredentialsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListCredentialsResponse wrapper for the ListCredentials operation
type ListCredentialsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of CredentialCollection instances
CredentialCollection `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 ListCredentialsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListCredentialsResponse) String() string
ListCredentialsSortOrderEnum Enum with underlying type: string
type ListCredentialsSortOrderEnum string
Set of constants representing the allowable values for ListCredentialsSortOrderEnum
const (
ListCredentialsSortOrderAsc ListCredentialsSortOrderEnum = "ASC"
ListCredentialsSortOrderDesc ListCredentialsSortOrderEnum = "DESC"
)
func GetListCredentialsSortOrderEnumValues() []ListCredentialsSortOrderEnum
GetListCredentialsSortOrderEnumValues Enumerates the set of values for ListCredentialsSortOrderEnum
func GetMappingListCredentialsSortOrderEnum(val string) (ListCredentialsSortOrderEnum, bool)
GetMappingListCredentialsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsDatabaseApiGatewayConfigAdvancedPropertiesRequest wrapper for the ListDatabaseToolsDatabaseApiGatewayConfigAdvancedProperties operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/ListDatabaseToolsDatabaseApiGatewayConfigAdvancedProperties.go.html to see an example of how to use ListDatabaseToolsDatabaseApiGatewayConfigAdvancedPropertiesRequest.
type ListDatabaseToolsDatabaseApiGatewayConfigAdvancedPropertiesRequest struct {
// 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 ListDatabaseToolsDatabaseApiGatewayConfigAdvancedPropertiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDatabaseToolsDatabaseApiGatewayConfigAdvancedPropertiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDatabaseToolsDatabaseApiGatewayConfigAdvancedPropertiesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDatabaseToolsDatabaseApiGatewayConfigAdvancedPropertiesRequest) String() string
func (request ListDatabaseToolsDatabaseApiGatewayConfigAdvancedPropertiesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListDatabaseToolsDatabaseApiGatewayConfigAdvancedPropertiesResponse wrapper for the ListDatabaseToolsDatabaseApiGatewayConfigAdvancedProperties operation
type ListDatabaseToolsDatabaseApiGatewayConfigAdvancedPropertiesResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryCollection instance
DatabaseToolsDatabaseApiGatewayConfigAdvancedPropertySummaryCollection `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 ListDatabaseToolsDatabaseApiGatewayConfigAdvancedPropertiesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDatabaseToolsDatabaseApiGatewayConfigAdvancedPropertiesResponse) String() string
ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsRequest wrapper for the ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs.go.html to see an example of how to use ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsRequest.
type ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsRequest 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 key of the pool config.
PoolKey *string `mandatory:"true" contributesTo:"path" name:"poolKey"`
// 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 ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortOrderEnum `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 ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortByEnum `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 ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsRequest) String() string
func (request ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsResponse wrapper for the ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs operation
type ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecCollection instances
DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecCollection `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 ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsResponse) String() string
ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortByEnum Enum with underlying type: string
type ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortByEnum string
Set of constants representing the allowable values for ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortByEnum
const (
ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortByTimecreated ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortByEnum = "timeCreated"
ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortByDisplayname ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortByEnum = "displayName"
)
func GetListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortByEnumValues() []ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortByEnum
GetListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortByEnumValues Enumerates the set of values for ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortByEnum
func GetMappingListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortByEnum(val string) (ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortByEnum, bool)
GetMappingListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortOrderEnum Enum with underlying type: string
type ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortOrderEnum string
Set of constants representing the allowable values for ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortOrderEnum
const (
ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortOrderAsc ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortOrderEnum = "ASC"
ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortOrderDesc ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortOrderEnum = "DESC"
)
func GetListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortOrderEnumValues() []ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortOrderEnum
GetListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortOrderEnumValues Enumerates the set of values for ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortOrderEnum
func GetMappingListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortOrderEnum(val string) (ListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortOrderEnum, bool)
GetMappingListDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsRequest wrapper for the ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecs operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecs.go.html to see an example of how to use ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsRequest.
type ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsRequest 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 key of the pool config.
PoolKey *string `mandatory:"true" contributesTo:"path" name:"poolKey"`
// 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 ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortOrderEnum `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 ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortByEnum `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 ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsRequest) String() string
func (request ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsResponse wrapper for the ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecs operation
type ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecCollection instances
DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecCollection `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 ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsResponse) String() string
ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortByEnum Enum with underlying type: string
type ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortByEnum string
Set of constants representing the allowable values for ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortByEnum
const (
ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortByTimecreated ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortByEnum = "timeCreated"
ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortByDisplayname ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortByEnum = "displayName"
)
func GetListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortByEnumValues() []ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortByEnum
GetListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortByEnumValues Enumerates the set of values for ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortByEnum
func GetMappingListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortByEnum(val string) (ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortByEnum, bool)
GetMappingListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortOrderEnum Enum with underlying type: string
type ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortOrderEnum string
Set of constants representing the allowable values for ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortOrderEnum
const (
ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortOrderAsc ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortOrderEnum = "ASC"
ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortOrderDesc ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortOrderEnum = "DESC"
)
func GetListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortOrderEnumValues() []ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortOrderEnum
GetListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortOrderEnumValues Enumerates the set of values for ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortOrderEnum
func GetMappingListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortOrderEnum(val string) (ListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortOrderEnum, bool)
GetMappingListDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsDatabaseApiGatewayConfigPoolsRequest wrapper for the ListDatabaseToolsDatabaseApiGatewayConfigPools operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/ListDatabaseToolsDatabaseApiGatewayConfigPools.go.html to see an example of how to use ListDatabaseToolsDatabaseApiGatewayConfigPoolsRequest.
type ListDatabaseToolsDatabaseApiGatewayConfigPoolsRequest 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"`
// 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 ListDatabaseToolsDatabaseApiGatewayConfigPoolsSortOrderEnum `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 ListDatabaseToolsDatabaseApiGatewayConfigPoolsSortByEnum `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 ListDatabaseToolsDatabaseApiGatewayConfigPoolsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDatabaseToolsDatabaseApiGatewayConfigPoolsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDatabaseToolsDatabaseApiGatewayConfigPoolsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDatabaseToolsDatabaseApiGatewayConfigPoolsRequest) String() string
func (request ListDatabaseToolsDatabaseApiGatewayConfigPoolsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListDatabaseToolsDatabaseApiGatewayConfigPoolsResponse wrapper for the ListDatabaseToolsDatabaseApiGatewayConfigPools operation
type ListDatabaseToolsDatabaseApiGatewayConfigPoolsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of DatabaseToolsDatabaseApiGatewayConfigPoolCollection instances
DatabaseToolsDatabaseApiGatewayConfigPoolCollection `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 ListDatabaseToolsDatabaseApiGatewayConfigPoolsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDatabaseToolsDatabaseApiGatewayConfigPoolsResponse) String() string
ListDatabaseToolsDatabaseApiGatewayConfigPoolsSortByEnum Enum with underlying type: string
type ListDatabaseToolsDatabaseApiGatewayConfigPoolsSortByEnum string
Set of constants representing the allowable values for ListDatabaseToolsDatabaseApiGatewayConfigPoolsSortByEnum
const (
ListDatabaseToolsDatabaseApiGatewayConfigPoolsSortByTimecreated ListDatabaseToolsDatabaseApiGatewayConfigPoolsSortByEnum = "timeCreated"
ListDatabaseToolsDatabaseApiGatewayConfigPoolsSortByDisplayname ListDatabaseToolsDatabaseApiGatewayConfigPoolsSortByEnum = "displayName"
)
func GetListDatabaseToolsDatabaseApiGatewayConfigPoolsSortByEnumValues() []ListDatabaseToolsDatabaseApiGatewayConfigPoolsSortByEnum
GetListDatabaseToolsDatabaseApiGatewayConfigPoolsSortByEnumValues Enumerates the set of values for ListDatabaseToolsDatabaseApiGatewayConfigPoolsSortByEnum
func GetMappingListDatabaseToolsDatabaseApiGatewayConfigPoolsSortByEnum(val string) (ListDatabaseToolsDatabaseApiGatewayConfigPoolsSortByEnum, bool)
GetMappingListDatabaseToolsDatabaseApiGatewayConfigPoolsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseToolsDatabaseApiGatewayConfigPoolsSortOrderEnum Enum with underlying type: string
type ListDatabaseToolsDatabaseApiGatewayConfigPoolsSortOrderEnum string
Set of constants representing the allowable values for ListDatabaseToolsDatabaseApiGatewayConfigPoolsSortOrderEnum
const (
ListDatabaseToolsDatabaseApiGatewayConfigPoolsSortOrderAsc ListDatabaseToolsDatabaseApiGatewayConfigPoolsSortOrderEnum = "ASC"
ListDatabaseToolsDatabaseApiGatewayConfigPoolsSortOrderDesc ListDatabaseToolsDatabaseApiGatewayConfigPoolsSortOrderEnum = "DESC"
)
func GetListDatabaseToolsDatabaseApiGatewayConfigPoolsSortOrderEnumValues() []ListDatabaseToolsDatabaseApiGatewayConfigPoolsSortOrderEnum
GetListDatabaseToolsDatabaseApiGatewayConfigPoolsSortOrderEnumValues Enumerates the set of values for ListDatabaseToolsDatabaseApiGatewayConfigPoolsSortOrderEnum
func GetMappingListDatabaseToolsDatabaseApiGatewayConfigPoolsSortOrderEnum(val string) (ListDatabaseToolsDatabaseApiGatewayConfigPoolsSortOrderEnum, bool)
GetMappingListDatabaseToolsDatabaseApiGatewayConfigPoolsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListUserCredentialsRequest wrapper for the ListUserCredentials operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/ListUserCredentials.go.html to see an example of how to use ListUserCredentialsRequest.
type ListUserCredentialsRequest 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 name of the database user.
UserKey *string `mandatory:"true" contributesTo:"path" name:"userKey"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// 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 ListUserCredentialsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListUserCredentialsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListUserCredentialsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListUserCredentialsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListUserCredentialsRequest) String() string
func (request ListUserCredentialsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListUserCredentialsResponse wrapper for the ListUserCredentials operation
type ListUserCredentialsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of UserCredentialCollection instances
UserCredentialCollection `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 ListUserCredentialsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListUserCredentialsResponse) String() string
ListUserCredentialsSortOrderEnum Enum with underlying type: string
type ListUserCredentialsSortOrderEnum string
Set of constants representing the allowable values for ListUserCredentialsSortOrderEnum
const (
ListUserCredentialsSortOrderAsc ListUserCredentialsSortOrderEnum = "ASC"
ListUserCredentialsSortOrderDesc ListUserCredentialsSortOrderEnum = "DESC"
)
func GetListUserCredentialsSortOrderEnumValues() []ListUserCredentialsSortOrderEnum
GetListUserCredentialsSortOrderEnumValues Enumerates the set of values for ListUserCredentialsSortOrderEnum
func GetMappingListUserCredentialsSortOrderEnum(val string) (ListUserCredentialsSortOrderEnum, bool)
GetMappingListUserCredentialsSortOrderEnum 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/databasetoolsruntime/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
type ListWorkRequestErrorsRequest struct {
// The ID of the asynchronous request.
WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// The 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/databasetoolsruntime/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
type ListWorkRequestLogsRequest struct {
// The ID of the asynchronous request.
WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// The 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/databasetoolsruntime/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
type ListWorkRequestsRequest struct {
// The ID of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// The OCID (https://docs.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"`
// The work request operation type.
OperationType []OperationTypeEnum `contributesTo:"query" name:"operationType" omitEmpty:"true" collectionFormat:"multi"`
// A filter to return only work requests initiated by the specified principal OCID.
CreatedByPrincipalId *string `mandatory:"false" contributesTo:"query" name:"createdByPrincipalId"`
// A filter to return only work requests with one of the specified status values.
Status []OperationStatusEnum `contributesTo:"query" name:"status" 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 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"
ListWorkRequestsSortByTimefinished ListWorkRequestsSortByEnum = "timeFinished"
)
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"
)
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 (
OperationTypeExecuteSql OperationTypeEnum = "EXECUTE_SQL"
OperationTypeExecuteSqlScheduledDeletion OperationTypeEnum = "EXECUTE_SQL_SCHEDULED_DELETION"
)
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
PayloadTypeEnum Enum with underlying type: string
type PayloadTypeEnum string
Set of constants representing the allowable values for PayloadTypeEnum
const (
PayloadTypeStandard PayloadTypeEnum = "STANDARD"
PayloadTypeBatch PayloadTypeEnum = "BATCH"
PayloadTypeScript PayloadTypeEnum = "SCRIPT"
)
func GetMappingPayloadTypeEnum(val string) (PayloadTypeEnum, bool)
GetMappingPayloadTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPayloadTypeEnumValues() []PayloadTypeEnum
GetPayloadTypeEnumValues Enumerates the set of values for PayloadTypeEnum
PropertySet The base definition for a property set
type PropertySet interface {
// Indicates whether the property set is mutable or not
GetIsMutable() *bool
}
PropertySetApex Contains the details of an APEX property set
type PropertySetApex struct {
// Indicates whether the property set is mutable or not
IsMutable *bool `mandatory:"true" json:"isMutable"`
// The version of APEX
Version *string `mandatory:"false" json:"version"`
// The APEX engine schema name
UserKey *string `mandatory:"false" json:"userKey"`
}
func (m PropertySetApex) GetIsMutable() *bool
GetIsMutable returns IsMutable
func (m PropertySetApex) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PropertySetApex) String() string
func (m PropertySetApex) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PropertySetApexDocumentGenerator Contains the details of an APEX Document Generator property set
type PropertySetApexDocumentGenerator struct {
// Indicates whether the property set is mutable or not
IsMutable *bool `mandatory:"true" json:"isMutable"`
// The name of the credential used by APEX to manage Object Storage Buckets and Objects as well as invoke the Document Generator function
CredentialKey *string `mandatory:"false" json:"credentialKey"`
// The Object Storage Namespace containing the Object Storage Buckets managed by APEX
ObjectStorageNamespace *string `mandatory:"false" json:"objectStorageNamespace"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Object Storage Buckets managed by APEX
ObjectStorageBucketCompartmentId *string `mandatory:"false" json:"objectStorageBucketCompartmentId"`
// Object Storage Endpoint
ObjectStorageEndpoint *string `mandatory:"false" json:"objectStorageEndpoint"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Document Generator function
FunctionId *string `mandatory:"false" json:"functionId"`
// The base endpoint URL to use to invoke the Document Generator function
InvokeEndpoint *string `mandatory:"false" json:"invokeEndpoint"`
// The print server type
PrintServerType PropertySetApexDocumentGeneratorPrintServerTypeEnum `mandatory:"false" json:"printServerType,omitempty"`
// The status of the Autonomous Database Serverless Resource Principal (OCI$RESOURCE_PRINCIPAL)
AutonomousDatabaseResourcePrincipalStatus PropertySetApexDocumentGeneratorAutonomousDatabaseResourcePrincipalStatusEnum `mandatory:"false" json:"autonomousDatabaseResourcePrincipalStatus,omitempty"`
}
func (m PropertySetApexDocumentGenerator) GetIsMutable() *bool
GetIsMutable returns IsMutable
func (m PropertySetApexDocumentGenerator) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PropertySetApexDocumentGenerator) String() string
func (m PropertySetApexDocumentGenerator) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PropertySetApexDocumentGeneratorAutonomousDatabaseResourcePrincipalStatusEnum Enum with underlying type: string
type PropertySetApexDocumentGeneratorAutonomousDatabaseResourcePrincipalStatusEnum string
Set of constants representing the allowable values for PropertySetApexDocumentGeneratorAutonomousDatabaseResourcePrincipalStatusEnum
const (
PropertySetApexDocumentGeneratorAutonomousDatabaseResourcePrincipalStatusEnabled PropertySetApexDocumentGeneratorAutonomousDatabaseResourcePrincipalStatusEnum = "ENABLED"
PropertySetApexDocumentGeneratorAutonomousDatabaseResourcePrincipalStatusDisabled PropertySetApexDocumentGeneratorAutonomousDatabaseResourcePrincipalStatusEnum = "DISABLED"
)
func GetMappingPropertySetApexDocumentGeneratorAutonomousDatabaseResourcePrincipalStatusEnum(val string) (PropertySetApexDocumentGeneratorAutonomousDatabaseResourcePrincipalStatusEnum, bool)
GetMappingPropertySetApexDocumentGeneratorAutonomousDatabaseResourcePrincipalStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPropertySetApexDocumentGeneratorAutonomousDatabaseResourcePrincipalStatusEnumValues() []PropertySetApexDocumentGeneratorAutonomousDatabaseResourcePrincipalStatusEnum
GetPropertySetApexDocumentGeneratorAutonomousDatabaseResourcePrincipalStatusEnumValues Enumerates the set of values for PropertySetApexDocumentGeneratorAutonomousDatabaseResourcePrincipalStatusEnum
PropertySetApexDocumentGeneratorPrintServerTypeEnum Enum with underlying type: string
type PropertySetApexDocumentGeneratorPrintServerTypeEnum string
Set of constants representing the allowable values for PropertySetApexDocumentGeneratorPrintServerTypeEnum
const (
PropertySetApexDocumentGeneratorPrintServerTypeDocumentGenerator PropertySetApexDocumentGeneratorPrintServerTypeEnum = "DOCUMENT_GENERATOR"
PropertySetApexDocumentGeneratorPrintServerTypeNone PropertySetApexDocumentGeneratorPrintServerTypeEnum = "NONE"
PropertySetApexDocumentGeneratorPrintServerTypeStandard PropertySetApexDocumentGeneratorPrintServerTypeEnum = "STANDARD"
PropertySetApexDocumentGeneratorPrintServerTypeAdvanced PropertySetApexDocumentGeneratorPrintServerTypeEnum = "ADVANCED"
PropertySetApexDocumentGeneratorPrintServerTypeAop PropertySetApexDocumentGeneratorPrintServerTypeEnum = "AOP"
PropertySetApexDocumentGeneratorPrintServerTypeOther PropertySetApexDocumentGeneratorPrintServerTypeEnum = "OTHER"
)
func GetMappingPropertySetApexDocumentGeneratorPrintServerTypeEnum(val string) (PropertySetApexDocumentGeneratorPrintServerTypeEnum, bool)
GetMappingPropertySetApexDocumentGeneratorPrintServerTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPropertySetApexDocumentGeneratorPrintServerTypeEnumValues() []PropertySetApexDocumentGeneratorPrintServerTypeEnum
GetPropertySetApexDocumentGeneratorPrintServerTypeEnumValues Enumerates the set of values for PropertySetApexDocumentGeneratorPrintServerTypeEnum
PropertySetApexFaIntegration Contains the details of an APEX FA Integration property set
type PropertySetApexFaIntegration struct {
// Indicates whether the property set is mutable or not
IsMutable *bool `mandatory:"true" json:"isMutable"`
// APEX FA Integration key-value pairs.
AuthenticationSubstitutions map[string]string `mandatory:"false" json:"authenticationSubstitutions"`
// Specifies whether database credentials can be used in all workspaces on the APEX instance. Supported values include: "Y", "N" and empty string.
InstanceDbmsCredentialEnabled *string `mandatory:"false" json:"instanceDbmsCredentialEnabled"`
PrerequisitesCheck *ApexFaIntegrationPrerequisitesCheck `mandatory:"false" json:"prerequisitesCheck"`
}
func (m PropertySetApexFaIntegration) GetIsMutable() *bool
GetIsMutable returns IsMutable
func (m PropertySetApexFaIntegration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PropertySetApexFaIntegration) String() string
func (m PropertySetApexFaIntegration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PropertySetKeyEnum Enum with underlying type: string
type PropertySetKeyEnum string
Set of constants representing the allowable values for PropertySetKeyEnum
const (
PropertySetKeyApexDocumentGenerator PropertySetKeyEnum = "APEX_DOCUMENT_GENERATOR"
PropertySetKeyApex PropertySetKeyEnum = "APEX"
PropertySetKeyApexFaIntegration PropertySetKeyEnum = "APEX_FA_INTEGRATION"
PropertySetKeyOracleDatabaseExternalAuthentication PropertySetKeyEnum = "ORACLE_DATABASE_EXTERNAL_AUTHENTICATION"
)
func GetMappingPropertySetKeyEnum(val string) (PropertySetKeyEnum, bool)
GetMappingPropertySetKeyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPropertySetKeyEnumValues() []PropertySetKeyEnum
GetPropertySetKeyEnumValues Enumerates the set of values for PropertySetKeyEnum
PropertySetOracleDatabaseExternalAuthentication Contains the details of Oracle Database External Authentication property set
type PropertySetOracleDatabaseExternalAuthentication struct {
// Indicates whether the property set is mutable or not
IsMutable *bool `mandatory:"true" json:"isMutable"`
IdentityProvider PropertySetOracleDatabaseExternalAuthenticationIdentityProvider `mandatory:"false" json:"identityProvider"`
}
func (m PropertySetOracleDatabaseExternalAuthentication) GetIsMutable() *bool
GetIsMutable returns IsMutable
func (m PropertySetOracleDatabaseExternalAuthentication) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PropertySetOracleDatabaseExternalAuthentication) String() string
func (m *PropertySetOracleDatabaseExternalAuthentication) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m PropertySetOracleDatabaseExternalAuthentication) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PropertySetOracleDatabaseExternalAuthenticationIdentityProvider External identity type provider
type PropertySetOracleDatabaseExternalAuthenticationIdentityProvider interface {
}
PropertySetOracleDatabaseExternalAuthenticationIdentityProviderAzureAd External identity provider for AZURE_AD
type PropertySetOracleDatabaseExternalAuthenticationIdentityProviderAzureAd struct {
// External identity provider configuration parameters. Simple key-value pair
// Example: { "tenant_id": "...", "application_id_uri": "...", ... }
Configs map[string]string `mandatory:"true" json:"configs"`
}
func (m PropertySetOracleDatabaseExternalAuthenticationIdentityProviderAzureAd) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PropertySetOracleDatabaseExternalAuthenticationIdentityProviderAzureAd) String() string
func (m PropertySetOracleDatabaseExternalAuthenticationIdentityProviderAzureAd) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PropertySetOracleDatabaseExternalAuthenticationIdentityProviderNone External identity provider value used to disable external authentication
type PropertySetOracleDatabaseExternalAuthenticationIdentityProviderNone struct {
}
func (m PropertySetOracleDatabaseExternalAuthenticationIdentityProviderNone) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PropertySetOracleDatabaseExternalAuthenticationIdentityProviderNone) String() string
func (m PropertySetOracleDatabaseExternalAuthenticationIdentityProviderNone) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PropertySetOracleDatabaseExternalAuthenticationIdentityProviderOciIam External identity provider for OCI_IAM
type PropertySetOracleDatabaseExternalAuthenticationIdentityProviderOciIam struct {
}
func (m PropertySetOracleDatabaseExternalAuthenticationIdentityProviderOciIam) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PropertySetOracleDatabaseExternalAuthenticationIdentityProviderOciIam) String() string
func (m PropertySetOracleDatabaseExternalAuthenticationIdentityProviderOciIam) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
StatementTypeEnum Enum with underlying type: string
type StatementTypeEnum string
Set of constants representing the allowable values for StatementTypeEnum
const (
StatementTypeQuery StatementTypeEnum = "QUERY"
StatementTypeDml StatementTypeEnum = "DML"
StatementTypeDdl StatementTypeEnum = "DDL"
StatementTypePlsql StatementTypeEnum = "PLSQL"
StatementTypeSqlplus StatementTypeEnum = "SQLPLUS"
StatementTypeIgnore StatementTypeEnum = "IGNORE"
StatementTypeTransactionControl StatementTypeEnum = "TRANSACTION_CONTROL"
StatementTypeSessionControl StatementTypeEnum = "SESSION_CONTROL"
StatementTypeSystemControl StatementTypeEnum = "SYSTEM_CONTROL"
StatementTypeJdbc StatementTypeEnum = "JDBC"
StatementTypeOther StatementTypeEnum = "OTHER"
)
func GetMappingStatementTypeEnum(val string) (StatementTypeEnum, bool)
GetMappingStatementTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetStatementTypeEnumValues() []StatementTypeEnum
GetStatementTypeEnumValues Enumerates the set of values for StatementTypeEnum
UpdateCredentialBasicDetails Credential information to be updated for the BASIC type.
type UpdateCredentialBasicDetails struct {
// The username for the new credential.
UserName *string `mandatory:"false" json:"userName"`
// The password for the new credential.
Password *string `mandatory:"false" json:"password"`
}
func (m UpdateCredentialBasicDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateCredentialBasicDetails) String() string
func (m UpdateCredentialBasicDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateCredentialDetails Credential information to be updated.
type UpdateCredentialDetails interface {
}
UpdateCredentialRequest wrapper for the UpdateCredential operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/UpdateCredential.go.html to see an example of how to use UpdateCredentialRequest.
type UpdateCredentialRequest 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 name of the credential
CredentialKey *string `mandatory:"true" contributesTo:"path" name:"credentialKey"`
// The information to be updated.
UpdateCredentialDetails `contributesTo:"body"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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 UpdateCredentialRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateCredentialRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateCredentialRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateCredentialRequest) String() string
func (request UpdateCredentialRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateCredentialResponse wrapper for the UpdateCredential operation
type UpdateCredentialResponse struct {
// The underlying http response
RawResponse *http.Response
// The Credential instance
Credential `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 UpdateCredentialResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateCredentialResponse) String() string
UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDefaultDetails The content of the Database Tools database API gateway config global sub resource to be updated.
type UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDefaultDetails struct {
// The request header name providing the pool route value.
PoolRoutingHeader *string `mandatory:"false" json:"poolRoutingHeader"`
// Specifies the HTTP listen port. 0 disables HTTP. Use of ports below 1024 requires elevated (root) privileges and is generally discouraged; deployment on non-privileged ports (1024–65535) is recommended.
HttpPort *int `mandatory:"false" json:"httpPort"`
// Specifies the HTTPS listen port. 0 disables HTTPS. Use of ports below 1024 requires elevated (root) privileges and is generally discouraged; deployment on non-privileged ports (1024–65535) is recommended. ORDS will use a self-signed certificate if a certificate bundle is not provided.
HttpsPort *int `mandatory:"false" json:"httpsPort"`
CertificateBundle DatabaseApiGatewayConfigCertificateBundle `mandatory:"false" json:"certificateBundle"`
// The location of the static resources to be served under the / root server path.
DocumentRoot *string `mandatory:"false" json:"documentRoot"`
// Advanced global properties.
AdvancedProperties map[string]string `mandatory:"false" json:"advancedProperties"`
// How the target pool route value is determined for a HTTP request.
PoolRoute UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsPoolRouteEnum `mandatory:"false" json:"poolRoute,omitempty"`
// ORDS database API is a database management and monitoring REST API. Database Actions requires this feature.
DatabaseApiStatus UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsDatabaseApiStatusEnum `mandatory:"false" json:"databaseApiStatus,omitempty"`
}
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDefaultDetails) GetAdvancedProperties() map[string]string
GetAdvancedProperties returns AdvancedProperties
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDefaultDetails) GetCertificateBundle() DatabaseApiGatewayConfigCertificateBundle
GetCertificateBundle returns CertificateBundle
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDefaultDetails) GetDatabaseApiStatus() UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsDatabaseApiStatusEnum
GetDatabaseApiStatus returns DatabaseApiStatus
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDefaultDetails) GetDocumentRoot() *string
GetDocumentRoot returns DocumentRoot
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDefaultDetails) GetHttpPort() *int
GetHttpPort returns HttpPort
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDefaultDetails) GetHttpsPort() *int
GetHttpsPort returns HttpsPort
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDefaultDetails) GetPoolRoute() UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsPoolRouteEnum
GetPoolRoute returns PoolRoute
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDefaultDetails) GetPoolRoutingHeader() *string
GetPoolRoutingHeader returns PoolRoutingHeader
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDefaultDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDefaultDetails) String() string
func (m *UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDefaultDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDefaultDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetails The content of the Database Tools database API gateway config global sub resource to be updated.
type UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetails interface {
// How the target pool route value is determined for a HTTP request.
GetPoolRoute() UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsPoolRouteEnum
// The request header name providing the pool route value.
GetPoolRoutingHeader() *string
// ORDS database API is a database management and monitoring REST API. Database Actions requires this feature.
GetDatabaseApiStatus() UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsDatabaseApiStatusEnum
// Specifies the HTTP listen port. 0 disables HTTP. Use of ports below 1024 requires elevated (root) privileges and is generally discouraged; deployment on non-privileged ports (1024–65535) is recommended.
GetHttpPort() *int
// Specifies the HTTPS listen port. 0 disables HTTPS. Use of ports below 1024 requires elevated (root) privileges and is generally discouraged; deployment on non-privileged ports (1024–65535) is recommended. ORDS will use a self-signed certificate if a certificate bundle is not provided.
GetHttpsPort() *int
GetCertificateBundle() DatabaseApiGatewayConfigCertificateBundle
// The location of the static resources to be served under the / root server path.
GetDocumentRoot() *string
// Advanced global properties.
GetAdvancedProperties() map[string]string
}
UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsDatabaseApiStatusEnum Enum with underlying type: string
type UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsDatabaseApiStatusEnum string
Set of constants representing the allowable values for UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsDatabaseApiStatusEnum
const (
UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsDatabaseApiStatusEnabled UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsDatabaseApiStatusEnum = "ENABLED"
UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsDatabaseApiStatusDisabled UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsDatabaseApiStatusEnum = "DISABLED"
)
func GetMappingUpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsDatabaseApiStatusEnum(val string) (UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsDatabaseApiStatusEnum, bool)
GetMappingUpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsDatabaseApiStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsDatabaseApiStatusEnumValues() []UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsDatabaseApiStatusEnum
GetUpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsDatabaseApiStatusEnumValues Enumerates the set of values for UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsDatabaseApiStatusEnum
UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsPoolRouteEnum Enum with underlying type: string
type UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsPoolRouteEnum string
Set of constants representing the allowable values for UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsPoolRouteEnum
const (
UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsPoolRoutePath UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsPoolRouteEnum = "PATH"
UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsPoolRouteHeader UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsPoolRouteEnum = "HEADER"
)
func GetMappingUpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsPoolRouteEnum(val string) (UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsPoolRouteEnum, bool)
GetMappingUpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsPoolRouteEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsPoolRouteEnumValues() []UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsPoolRouteEnum
GetUpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsPoolRouteEnumValues Enumerates the set of values for UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetailsPoolRouteEnum
UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnum Enum with underlying type: string
type UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnum string
Set of constants representing the allowable values for UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnum
const (
UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeySettings UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnum = "SETTINGS"
)
func GetMappingUpdateDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnum(val string) (UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnum, bool)
GetMappingUpdateDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUpdateDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnumValues() []UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnum
GetUpdateDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnumValues Enumerates the set of values for UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnum
UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalRequest wrapper for the UpdateDatabaseToolsDatabaseApiGatewayConfigGlobal operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/UpdateDatabaseToolsDatabaseApiGatewayConfigGlobal.go.html to see an example of how to use UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalRequest.
type UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalRequest 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 key of the global config.
GlobalKey UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalGlobalKeyEnum `mandatory:"true" contributesTo:"path" name:"globalKey"`
// The information to be updated.
UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalDetails `contributesTo:"body"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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 UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalRequest) String() string
func (request UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalResponse wrapper for the UpdateDatabaseToolsDatabaseApiGatewayConfigGlobal operation
type UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsDatabaseApiGatewayConfigGlobal instance
DatabaseToolsDatabaseApiGatewayConfigGlobal `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 UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDatabaseToolsDatabaseApiGatewayConfigGlobalResponse) String() string
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefaultDetails The content of a Database Tools database API gateway config API spec sub resource to be updated.
type UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefaultDetails 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"`
// The content of a string-escaped Open API spec in JSON format.
Content *string `mandatory:"false" json:"content"`
}
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefaultDetails) GetContent() *string
GetContent returns Content
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefaultDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefaultDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefaultDetails) String() string
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefaultDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDetails The content of a Database Tools database API gateway config API spec sub resource to be updated.
type UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDetails interface {
// A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
GetDisplayName() *string
// The content of a string-escaped Open API spec in JSON format.
GetContent() *string
}
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest wrapper for the UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.go.html to see an example of how to use UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest.
type UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest 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 key of the pool config.
PoolKey *string `mandatory:"true" contributesTo:"path" name:"poolKey"`
// The key of the API spec config.
ApiSpecKey *string `mandatory:"true" contributesTo:"path" name:"apiSpecKey"`
// The information to be updated.
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDetails `contributesTo:"body"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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 UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest) String() string
func (request UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResponse wrapper for the UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec operation
type UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec instance
DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec `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 UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResponse) String() string
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails The content of a Database Tools database API gateway config auto API spec sub resource to be updated.
type UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails 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"`
// The name of the database object.
DatabaseObjectName *string `mandatory:"false" json:"databaseObjectName"`
// Description of the autoApiSpec.
Description *string `mandatory:"false" json:"description"`
// Used as the URI path element for this object. When not specified the objectName lowercase is the default value.
Alias *string `mandatory:"false" json:"alias"`
// The name of the database API gateway config privilege protecting the resource. Only valid for SCOPE JWT Profile pools and BEARER securitySchemes.
Scope *string `mandatory:"false" json:"scope"`
// The name of the database API gateway config roles protecting the resource. Only valid for RBAC JWT Profile pools and BEARER securitySchemes.
Roles []string `mandatory:"false" json:"roles"`
// The type of the database object.
DatabaseObjectType UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum `mandatory:"false" json:"databaseObjectType,omitempty"`
// The operations to limit access to this resource. If not specified then the default is ["READ","WRITE"].
Operations []UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum `mandatory:"false" json:"operations,omitempty"`
// The security schemes that can access this resource. If not specified then the resource is public.
SecuritySchemes []UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum `mandatory:"false" json:"securitySchemes,omitempty"`
}
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails) GetAlias() *string
GetAlias returns Alias
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails) GetDatabaseObjectName() *string
GetDatabaseObjectName returns DatabaseObjectName
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails) GetDatabaseObjectType() UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum
GetDatabaseObjectType returns DatabaseObjectType
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails) GetOperations() []UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum
GetOperations returns Operations
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails) GetRoles() []string
GetRoles returns Roles
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails) GetScope() *string
GetScope returns Scope
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails) GetSecuritySchemes() []UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum
GetSecuritySchemes returns SecuritySchemes
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails) String() string
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails The content of a Database Tools database API gateway config auto API spec sub resource to be updated.
type UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails interface {
// A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
GetDisplayName() *string
// The name of the database object.
GetDatabaseObjectName() *string
// The type of the database object.
GetDatabaseObjectType() UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum
// Description of the autoApiSpec.
GetDescription() *string
// Used as the URI path element for this object. When not specified the objectName lowercase is the default value.
GetAlias() *string
// The operations to limit access to this resource. If not specified then the default is ["READ","WRITE"].
GetOperations() []UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum
// The security schemes that can access this resource. If not specified then the resource is public.
GetSecuritySchemes() []UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum
// The name of the database API gateway config privilege protecting the resource. Only valid for SCOPE JWT Profile pools and BEARER securitySchemes.
GetScope() *string
// The name of the database API gateway config roles protecting the resource. Only valid for RBAC JWT Profile pools and BEARER securitySchemes.
GetRoles() []string
}
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum Enum with underlying type: string
type UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum string
Set of constants representing the allowable values for UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum
const (
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeFunction UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum = "FUNCTION"
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeMview UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum = "MVIEW"
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypePackage UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum = "PACKAGE"
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeProcedure UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum = "PROCEDURE"
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeTable UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum = "TABLE"
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeView UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum = "VIEW"
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeDualityview UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum = "DUALITYVIEW"
)
func GetMappingUpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum(val string) (UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum, bool)
GetMappingUpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnumValues() []UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum
GetUpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnumValues Enumerates the set of values for UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsDatabaseObjectTypeEnum
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum Enum with underlying type: string
type UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum string
Set of constants representing the allowable values for UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum
const (
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsRead UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum = "READ"
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsWrite UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum = "WRITE"
)
func GetMappingUpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum(val string) (UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum, bool)
GetMappingUpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnumValues() []UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum
GetUpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnumValues Enumerates the set of values for UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsOperationsEnum
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum Enum with underlying type: string
type UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum string
Set of constants representing the allowable values for UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum
const (
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesBasic UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum = "BASIC"
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesBearer UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum = "BEARER"
)
func GetMappingUpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum(val string) (UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum, bool)
GetMappingUpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnumValues() []UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum
GetUpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnumValues Enumerates the set of values for UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetailsSecuritySchemesEnum
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest wrapper for the UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.go.html to see an example of how to use UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest.
type UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest 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 key of the pool config.
PoolKey *string `mandatory:"true" contributesTo:"path" name:"poolKey"`
// The key of the auto API spec config.
AutoApiSpecKey *string `mandatory:"true" contributesTo:"path" name:"autoApiSpecKey"`
// The information to be updated.
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails `contributesTo:"body"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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 UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest) String() string
func (request UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResponse wrapper for the UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec operation
type UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec instance
DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec `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 UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResponse) String() string
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails The content of a Database Tools database API gateway config pool sub resource to be updated.
type UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails 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"`
// The pool route value provided in requests to target this pool.
PoolRouteValue *string `mandatory:"false" json:"poolRouteValue"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools connection. Specifies the OCI database tools connection ocid to build the connection pool from.
DatabaseToolsConnectionId *string `mandatory:"false" json:"databaseToolsConnectionId"`
// Specifies the maximum number of database connections allowed for the pool.
MaxPoolSize *int `mandatory:"false" json:"maxPoolSize"`
// Specifies the minimum number of database connections allowed for the pool.
MinPoolSize *int `mandatory:"false" json:"minPoolSize"`
// Specifies the initial size for the number of database connections that will be created for the pool.
InitialPoolSize *int `mandatory:"false" json:"initialPoolSize"`
// Specifies the URL of the JSON Web Key (JWK) that is used to verify the signature of the JWT token.
JwtProfileJwkUrl *string `mandatory:"false" json:"jwtProfileJwkUrl"`
// Specifies the issuer of the JWT token. This value is used to validate the iss claim in the JWT token.
JwtProfileIssuer *string `mandatory:"false" json:"jwtProfileIssuer"`
// Specifies the expected audience for the JWT token. This value is used to validate the aud claim in the JWT token.
JwtProfileAudience *string `mandatory:"false" json:"jwtProfileAudience"`
// Specifies the JSON pointer to the claim in the JWT token that contains the roles of the users.
JwtProfileRoleClaimName *string `mandatory:"false" json:"jwtProfileRoleClaimName"`
// Advanced pool properties.
AdvancedProperties map[string]string `mandatory:"false" json:"advancedProperties"`
// Specifies to enable the Database Actions feature.
DatabaseActionsStatus UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum `mandatory:"false" json:"databaseActionsStatus,omitempty"`
// Specifies whether the REST-Enabled SQL service is active.
RestEnabledSqlStatus UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum `mandatory:"false" json:"restEnabledSqlStatus,omitempty"`
}
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) GetAdvancedProperties() map[string]string
GetAdvancedProperties returns AdvancedProperties
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) GetDatabaseActionsStatus() UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum
GetDatabaseActionsStatus returns DatabaseActionsStatus
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) GetDatabaseToolsConnectionId() *string
GetDatabaseToolsConnectionId returns DatabaseToolsConnectionId
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) GetInitialPoolSize() *int
GetInitialPoolSize returns InitialPoolSize
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) GetJwtProfileAudience() *string
GetJwtProfileAudience returns JwtProfileAudience
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) GetJwtProfileIssuer() *string
GetJwtProfileIssuer returns JwtProfileIssuer
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) GetJwtProfileJwkUrl() *string
GetJwtProfileJwkUrl returns JwtProfileJwkUrl
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) GetJwtProfileRoleClaimName() *string
GetJwtProfileRoleClaimName returns JwtProfileRoleClaimName
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) GetMaxPoolSize() *int
GetMaxPoolSize returns MaxPoolSize
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) GetMinPoolSize() *int
GetMinPoolSize returns MinPoolSize
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) GetPoolRouteValue() *string
GetPoolRouteValue returns PoolRouteValue
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) GetRestEnabledSqlStatus() UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum
GetRestEnabledSqlStatus returns RestEnabledSqlStatus
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) String() string
func (m UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetails The content of a Database Tools database API gateway config pool sub resource to be updated.
type UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetails interface {
// A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
GetDisplayName() *string
// The pool route value provided in requests to target this pool.
GetPoolRouteValue() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools connection. Specifies the OCI database tools connection ocid to build the connection pool from.
GetDatabaseToolsConnectionId() *string
// Specifies the maximum number of database connections allowed for the pool.
GetMaxPoolSize() *int
// Specifies the minimum number of database connections allowed for the pool.
GetMinPoolSize() *int
// Specifies the initial size for the number of database connections that will be created for the pool.
GetInitialPoolSize() *int
// Specifies the URL of the JSON Web Key (JWK) that is used to verify the signature of the JWT token.
GetJwtProfileJwkUrl() *string
// Specifies the issuer of the JWT token. This value is used to validate the iss claim in the JWT token.
GetJwtProfileIssuer() *string
// Specifies the expected audience for the JWT token. This value is used to validate the aud claim in the JWT token.
GetJwtProfileAudience() *string
// Specifies the JSON pointer to the claim in the JWT token that contains the roles of the users.
GetJwtProfileRoleClaimName() *string
// Specifies to enable the Database Actions feature.
GetDatabaseActionsStatus() UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum
// Specifies whether the REST-Enabled SQL service is active.
GetRestEnabledSqlStatus() UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum
// Advanced pool properties.
GetAdvancedProperties() map[string]string
}
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum Enum with underlying type: string
type UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum string
Set of constants representing the allowable values for UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum
const (
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnabled UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum = "ENABLED"
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusDisabled UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum = "DISABLED"
)
func GetMappingUpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum(val string) (UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum, bool)
GetMappingUpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnumValues() []UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum
GetUpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnumValues Enumerates the set of values for UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsDatabaseActionsStatusEnum
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum Enum with underlying type: string
type UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum string
Set of constants representing the allowable values for UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum
const (
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnabled UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum = "ENABLED"
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusDisabled UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum = "DISABLED"
)
func GetMappingUpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum(val string) (UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum, bool)
GetMappingUpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnumValues() []UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum
GetUpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnumValues Enumerates the set of values for UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetailsRestEnabledSqlStatusEnum
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest wrapper for the UpdateDatabaseToolsDatabaseApiGatewayConfigPool operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/UpdateDatabaseToolsDatabaseApiGatewayConfigPool.go.html to see an example of how to use UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest.
type UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest 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 key of the pool config.
PoolKey *string `mandatory:"true" contributesTo:"path" name:"poolKey"`
// The information to be updated.
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetails `contributesTo:"body"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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 UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest) String() string
func (request UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseToolsDatabaseApiGatewayConfigPoolResponse wrapper for the UpdateDatabaseToolsDatabaseApiGatewayConfigPool operation
type UpdateDatabaseToolsDatabaseApiGatewayConfigPoolResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseToolsDatabaseApiGatewayConfigPool instance
DatabaseToolsDatabaseApiGatewayConfigPool `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 UpdateDatabaseToolsDatabaseApiGatewayConfigPoolResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDatabaseToolsDatabaseApiGatewayConfigPoolResponse) String() string
UpdatePropertySetApexDocumentGeneratorDetails Contains the update details of an APEX document generator property set
type UpdatePropertySetApexDocumentGeneratorDetails struct {
// The name of the credential used by APEX to manage Object Storage Buckets and Objects as well as invoke the Document Generator function.
CredentialKey *string `mandatory:"false" json:"credentialKey"`
// The Object Storage Namespace containing the Object Storage Buckets managed by APEX
ObjectStorageNamespace *string `mandatory:"false" json:"objectStorageNamespace"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Object Storage Buckets managed by APEX
ObjectStorageBucketCompartmentId *string `mandatory:"false" json:"objectStorageBucketCompartmentId"`
// Object Storage Endpoint
ObjectStorageEndpoint *string `mandatory:"false" json:"objectStorageEndpoint"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Document Generator function
FunctionId *string `mandatory:"false" json:"functionId"`
// The base endpoint URL to use to invoke the Document Generator function
InvokeEndpoint *string `mandatory:"false" json:"invokeEndpoint"`
// The print server type
PrintServerType PropertySetApexDocumentGeneratorPrintServerTypeEnum `mandatory:"false" json:"printServerType,omitempty"`
// The status of the Autonomous Database Serverless Resource Principal (OCI$RESOURCE_PRINCIPAL)
AutonomousDatabaseResourcePrincipalStatus PropertySetApexDocumentGeneratorAutonomousDatabaseResourcePrincipalStatusEnum `mandatory:"false" json:"autonomousDatabaseResourcePrincipalStatus,omitempty"`
}
func (m UpdatePropertySetApexDocumentGeneratorDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdatePropertySetApexDocumentGeneratorDetails) String() string
func (m UpdatePropertySetApexDocumentGeneratorDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdatePropertySetApexFaIntegrationDetails Contains the update details of an APEX FA Integration property set
type UpdatePropertySetApexFaIntegrationDetails struct {
// APEX FA Integration key-value pairs.
AuthenticationSubstitutions map[string]string `mandatory:"false" json:"authenticationSubstitutions"`
// Specifies whether database credentials can be used in all workspaces on the APEX instance. Supported values include: "Y", "N" and empty string.
InstanceDbmsCredentialEnabled *string `mandatory:"false" json:"instanceDbmsCredentialEnabled"`
}
func (m UpdatePropertySetApexFaIntegrationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdatePropertySetApexFaIntegrationDetails) String() string
func (m UpdatePropertySetApexFaIntegrationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdatePropertySetDetails The base definition for a property set update
type UpdatePropertySetDetails interface {
}
UpdatePropertySetOracleDatabaseExternalAuthenticationDetails Contains the update details of an Oracle Database External Authentication property set
type UpdatePropertySetOracleDatabaseExternalAuthenticationDetails struct {
IdentityProvider PropertySetOracleDatabaseExternalAuthenticationIdentityProvider `mandatory:"true" json:"identityProvider"`
}
func (m UpdatePropertySetOracleDatabaseExternalAuthenticationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdatePropertySetOracleDatabaseExternalAuthenticationDetails) String() string
func (m *UpdatePropertySetOracleDatabaseExternalAuthenticationDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdatePropertySetOracleDatabaseExternalAuthenticationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdatePropertySetPropertySetKeyEnum Enum with underlying type: string
type UpdatePropertySetPropertySetKeyEnum string
Set of constants representing the allowable values for UpdatePropertySetPropertySetKeyEnum
const (
UpdatePropertySetPropertySetKeyApexDocumentGenerator UpdatePropertySetPropertySetKeyEnum = "APEX_DOCUMENT_GENERATOR"
UpdatePropertySetPropertySetKeyApex UpdatePropertySetPropertySetKeyEnum = "APEX"
UpdatePropertySetPropertySetKeyApexFaIntegration UpdatePropertySetPropertySetKeyEnum = "APEX_FA_INTEGRATION"
UpdatePropertySetPropertySetKeyOracleDatabaseExternalAuthentication UpdatePropertySetPropertySetKeyEnum = "ORACLE_DATABASE_EXTERNAL_AUTHENTICATION"
)
func GetMappingUpdatePropertySetPropertySetKeyEnum(val string) (UpdatePropertySetPropertySetKeyEnum, bool)
GetMappingUpdatePropertySetPropertySetKeyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUpdatePropertySetPropertySetKeyEnumValues() []UpdatePropertySetPropertySetKeyEnum
GetUpdatePropertySetPropertySetKeyEnumValues Enumerates the set of values for UpdatePropertySetPropertySetKeyEnum
UpdatePropertySetRequest wrapper for the UpdatePropertySet operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasetoolsruntime/UpdatePropertySet.go.html to see an example of how to use UpdatePropertySetRequest.
type UpdatePropertySetRequest 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 name of the property set
PropertySetKey UpdatePropertySetPropertySetKeyEnum `mandatory:"true" contributesTo:"path" name:"propertySetKey"`
// The information to be updated.
UpdatePropertySetDetails `contributesTo:"body"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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 UpdatePropertySetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdatePropertySetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdatePropertySetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdatePropertySetRequest) String() string
func (request UpdatePropertySetRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdatePropertySetResponse wrapper for the UpdatePropertySet operation
type UpdatePropertySetResponse struct {
// The underlying http response
RawResponse *http.Response
// The PropertySet instance
PropertySet `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 UpdatePropertySetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdatePropertySetResponse) String() string
UserCredential Credential information
type UserCredential struct {
// Name of the credential
Key *string `mandatory:"true" json:"key"`
// Name of the user that will be used to log in to the remote database or the remote or local operating system
UserName *string `mandatory:"true" json:"userName"`
// Indicates whether this credential is enabled (TRUE) or not (FALSE)
Enabled *string `mandatory:"true" json:"enabled"`
// Owner of the credential
Owner *string `mandatory:"true" json:"owner"`
// For a Windows target, the Windows domain to use when logging in
WindowsDomain *string `mandatory:"false" json:"windowsDomain"`
// Indicates whether this refers to a public synonym or not.
KeyType CredentialKeyTypeEnum `mandatory:"false" json:"keyType,omitempty"`
RelatedResource *CredentialRelatedResource `mandatory:"false" json:"relatedResource"`
}
func (m UserCredential) String() string
func (m UserCredential) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UserCredentialCollection List of `UserCredentialSummary` items.
type UserCredentialCollection struct {
// Array of `UserCredentialSummary` items.
Items []UserCredentialSummary `mandatory:"true" json:"items"`
}
func (m UserCredentialCollection) String() string
func (m UserCredentialCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UserCredentialSummary User Credential information
type UserCredentialSummary struct {
// Name of the credential
Key *string `mandatory:"true" json:"key"`
// Name of the user that will be used to log in to the remote database or the remote or local operating system
UserName *string `mandatory:"true" json:"userName"`
// Indicates whether this credential is enabled (TRUE) or not (FALSE)
Enabled *string `mandatory:"true" json:"enabled"`
// Owner of the credential
Owner *string `mandatory:"true" json:"owner"`
// For a Windows target, the Windows domain to use when logging in
WindowsDomain *string `mandatory:"false" json:"windowsDomain"`
// Indicates whether this refers to a public synonym or not.
KeyType CredentialKeyTypeEnum `mandatory:"false" json:"keyType,omitempty"`
RelatedResource *CredentialRelatedResource `mandatory:"false" json:"relatedResource"`
}
func (m UserCredentialSummary) String() string
func (m UserCredentialSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 an 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/databasetoolsruntime/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 DatabaseToolsConnection.
ValidateDatabaseToolsConnectionDetails `contributesTo:"body"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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 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/databasetoolsruntime/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"`
// If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
// accidental overwrites when multiple user agentss might be acting in parallel on the same
// resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
// method that involves the selection or modification of a representation to abort the request
// if the selected representation's current entity tag is not a member within the If-Match field value.
// When specified on an action-specific subresource, the ETag value of the resource on which the
// action is requested should be provided.
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"`
// A user-friendly name for the operation.
// If provided for an asynchronous operation, this value will be propagated to the displayName property of the resulting Work Request, allowing for easier identification and tracking of the operation's progress and outcome. This name is purely for descriptive purposes and does not affect the functionality of the operation itself.
DisplayName *string `mandatory:"false" json:"displayName"`
// Principal id of the user or resource that submitted the asynchrounous request.
CreatedByPrincipalId *string `mandatory:"false" json:"createdByPrincipalId"`
// Identity domain OCID for the user that submitted the asynchronous request.
CreatedByPrincipalDomainId *string `mandatory:"false" json:"createdByPrincipalDomainId"`
// 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"`
// The date and time the work request is eligible to be launched,
// in the format defined by RFC3339.
TimeScheduled *common.SDKTime `mandatory:"false" json:"timeScheduled"`
}
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 identifier 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"`
// Additional information explaining the resource.
Metadata map[string]string `mandatory:"false" json:"metadata"`
}
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"`
// A user-friendly name for the operation.
// If provided for an asynchronous operation, this value will be propagated to the displayName property of the resulting Work Request, allowing for easier identification and tracking of the operation's progress and outcome. This name is purely for descriptive purposes and does not affect the functionality of the operation itself.
DisplayName *string `mandatory:"false" json:"displayName"`
// Principal id of the user or resource that submitted the asynchrounous request.
CreatedByPrincipalId *string `mandatory:"false" json:"createdByPrincipalId"`
// Identity domain OCID for the user that submitted the asynchronous request.
CreatedByPrincipalDomainId *string `mandatory:"false" json:"createdByPrincipalDomainId"`
// 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"`
// The date and time the work request is eligible to be launched,
// in the format defined by RFC3339.
TimeScheduled *common.SDKTime `mandatory:"false" json:"timeScheduled"`
}
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