ActivityTimeSeriesMetrics The response object representing activityMetric details for a specific database at a particular time.
type ActivityTimeSeriesMetrics struct { // The date and time the activity metric was created. Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"` CpuTime *MetricDataPoint `mandatory:"false" json:"cpuTime"` WaitTime *MetricDataPoint `mandatory:"false" json:"waitTime"` UserIoTime *MetricDataPoint `mandatory:"false" json:"userIoTime"` CpuCount *MetricDataPoint `mandatory:"false" json:"cpuCount"` Cluster *MetricDataPoint `mandatory:"false" json:"cluster"` }
func (m ActivityTimeSeriesMetrics) String() string
AddManagedDatabaseToManagedDatabaseGroupDetails The Managed Database details required to add it to a Managed Database Group.
type AddManagedDatabaseToManagedDatabaseGroupDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" json:"managedDatabaseId"` }
func (m AddManagedDatabaseToManagedDatabaseGroupDetails) String() string
AddManagedDatabaseToManagedDatabaseGroupRequest wrapper for the AddManagedDatabaseToManagedDatabaseGroup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/AddManagedDatabaseToManagedDatabaseGroup.go.html to see an example of how to use AddManagedDatabaseToManagedDatabaseGroupRequest.
type AddManagedDatabaseToManagedDatabaseGroupRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group. ManagedDatabaseGroupId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseGroupId"` // The Managed Database details required to add the Managed Database to a Managed Database Group. AddManagedDatabaseToManagedDatabaseGroupDetails `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. 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 AddManagedDatabaseToManagedDatabaseGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AddManagedDatabaseToManagedDatabaseGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AddManagedDatabaseToManagedDatabaseGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AddManagedDatabaseToManagedDatabaseGroupRequest) String() string
AddManagedDatabaseToManagedDatabaseGroupResponse wrapper for the AddManagedDatabaseToManagedDatabaseGroup operation
type AddManagedDatabaseToManagedDatabaseGroupResponse 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 AddManagedDatabaseToManagedDatabaseGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AddManagedDatabaseToManagedDatabaseGroupResponse) String() string
AllowedParameterValue A valid value for a database parameter.
type AllowedParameterValue struct { // The ordinal number in the list (1-based). Ordinal *float32 `mandatory:"false" json:"ordinal"` // The parameter value at ordinal. Value *string `mandatory:"false" json:"value"` // Indicates whether the given ordinal value is the default value for the parameter. IsDefault *bool `mandatory:"false" json:"isDefault"` }
func (m AllowedParameterValue) String() string
AwrDbCollection The result of AWR query.
type AwrDbCollection struct { // The name of the query result. Name *string `mandatory:"true" json:"name"` // The version of the query result. Version *string `mandatory:"false" json:"version"` // The ID assigned to the query instance. QueryKey *string `mandatory:"false" json:"queryKey"` // The time taken to query the database tier (in seconds). DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"` // A list of AWR summary data. Items []AwrDbSummary `mandatory:"false" json:"items"` }
func (m AwrDbCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDbCollection) GetName() *string
GetName returns Name
func (m AwrDbCollection) GetQueryKey() *string
GetQueryKey returns QueryKey
func (m AwrDbCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDbCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDbCollection) String() string
AwrDbCpuUsageCollection The AWR CPU usage data.
type AwrDbCpuUsageCollection struct { // The name of the query result. Name *string `mandatory:"true" json:"name"` // The version of the query result. Version *string `mandatory:"false" json:"version"` // The ID assigned to the query instance. QueryKey *string `mandatory:"false" json:"queryKey"` // The time taken to query the database tier (in seconds). DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"` // The number of available CPU cores, which include subcores of multicore and single-core CPUs. NumCpuCores *int `mandatory:"false" json:"numCpuCores"` // The number of CPUs available for the database to use. CpuCount *int `mandatory:"false" json:"cpuCount"` // The number of available CPUs or processors. NumCpus *float64 `mandatory:"false" json:"numCpus"` // A list of AWR CPU usage summary data. Items []AwrDbCpuUsageSummary `mandatory:"false" json:"items"` }
func (m AwrDbCpuUsageCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDbCpuUsageCollection) GetName() *string
GetName returns Name
func (m AwrDbCpuUsageCollection) GetQueryKey() *string
GetQueryKey returns QueryKey
func (m AwrDbCpuUsageCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDbCpuUsageCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDbCpuUsageCollection) String() string
AwrDbCpuUsageSummary A summary of the AWR CPU resource limits and metrics.
type AwrDbCpuUsageSummary struct { // The timestamp for the CPU summary data. Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"` // The average CPU usage per second. AvgValue *float64 `mandatory:"false" json:"avgValue"` }
func (m AwrDbCpuUsageSummary) String() string
AwrDbMetricCollection The AWR metrics time series summary data.
type AwrDbMetricCollection struct { // The name of the query result. Name *string `mandatory:"true" json:"name"` // The version of the query result. Version *string `mandatory:"false" json:"version"` // The ID assigned to the query instance. QueryKey *string `mandatory:"false" json:"queryKey"` // The time taken to query the database tier (in seconds). DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"` // A list of AWR metric summary data. Items []AwrDbMetricSummary `mandatory:"false" json:"items"` }
func (m AwrDbMetricCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDbMetricCollection) GetName() *string
GetName returns Name
func (m AwrDbMetricCollection) GetQueryKey() *string
GetQueryKey returns QueryKey
func (m AwrDbMetricCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDbMetricCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDbMetricCollection) String() string
AwrDbMetricSummary The summary of the AWR metric data for a particular metric at a specific time.
type AwrDbMetricSummary struct { // The name of the metric. Name *string `mandatory:"true" json:"name"` // The time of the sampling. Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"` // The average value of the sampling period. AvgValue *float64 `mandatory:"false" json:"avgValue"` // The minimum value of the sampling period. MinValue *float64 `mandatory:"false" json:"minValue"` // The maximum value of the sampling period.v MaxValue *float64 `mandatory:"false" json:"maxValue"` }
func (m AwrDbMetricSummary) String() string
AwrDbParameterChangeCollection The AWR database parameter change history.
type AwrDbParameterChangeCollection struct { // The name of the query result. Name *string `mandatory:"true" json:"name"` // The version of the query result. Version *string `mandatory:"false" json:"version"` // The ID assigned to the query instance. QueryKey *string `mandatory:"false" json:"queryKey"` // The time taken to query the database tier (in seconds). DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"` // A list of AWR database parameter change summary data. Items []AwrDbParameterChangeSummary `mandatory:"false" json:"items"` }
func (m AwrDbParameterChangeCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDbParameterChangeCollection) GetName() *string
GetName returns Name
func (m AwrDbParameterChangeCollection) GetQueryKey() *string
GetQueryKey returns QueryKey
func (m AwrDbParameterChangeCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDbParameterChangeCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDbParameterChangeCollection) String() string
AwrDbParameterChangeSummary A summary of the changes made to a single AWR database parameter.
type AwrDbParameterChangeSummary struct { // The ID of the snapshot with the parameter value changed. The snapshot ID is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // It can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots SnapshotId *int `mandatory:"true" json:"snapshotId"` // The start time of the interval. TimeBegin *common.SDKTime `mandatory:"false" json:"timeBegin"` // The end time of the interval. TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"` // The database instance number. InstanceNumber *int `mandatory:"false" json:"instanceNumber"` // The previous value of the database parameter. PreviousValue *string `mandatory:"false" json:"previousValue"` // The current value of the database parameter. Value *string `mandatory:"false" json:"value"` // Indicates whether the parameter has been modified after instance startup: // - MODIFIED - Parameter has been modified with ALTER SESSION // - SYSTEM_MOD - Parameter has been modified with ALTER SYSTEM (which causes all the currently logged in sessions’ values to be modified) // - FALSE - Parameter has not been modified after instance startup ValueModified *string `mandatory:"false" json:"valueModified"` // Indicates whether the parameter value in the end snapshot is the default. IsDefault *bool `mandatory:"false" json:"isDefault"` }
func (m AwrDbParameterChangeSummary) String() string
AwrDbParameterCollection The AWR database parameter data.
type AwrDbParameterCollection struct { // The name of the query result. Name *string `mandatory:"true" json:"name"` // The version of the query result. Version *string `mandatory:"false" json:"version"` // The ID assigned to the query instance. QueryKey *string `mandatory:"false" json:"queryKey"` // The time taken to query the database tier (in seconds). DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"` // A list of AWR database parameter summary data. Items []AwrDbParameterSummary `mandatory:"false" json:"items"` }
func (m AwrDbParameterCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDbParameterCollection) GetName() *string
GetName returns Name
func (m AwrDbParameterCollection) GetQueryKey() *string
GetQueryKey returns QueryKey
func (m AwrDbParameterCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDbParameterCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDbParameterCollection) String() string
AwrDbParameterSummary The summary of the AWR change history data for a single database parameter.
type AwrDbParameterSummary struct { // The name of the parameter. Name *string `mandatory:"true" json:"name"` // The database instance number. InstanceNumber *int `mandatory:"false" json:"instanceNumber"` // The parameter value when the period began. BeginValue *string `mandatory:"false" json:"beginValue"` // The parameter value when the period ended. EndValue *string `mandatory:"false" json:"endValue"` // Indicates whether the parameter value changed within the period. IsChanged *bool `mandatory:"false" json:"isChanged"` // Indicates whether the parameter has been modified after instance startup: // - MODIFIED - Parameter has been modified with ALTER SESSION // - SYSTEM_MOD - Parameter has been modified with ALTER SYSTEM (which causes all the currently logged in sessions’ values to be modified) // - FALSE - Parameter has not been modified after instance startup ValueModified *string `mandatory:"false" json:"valueModified"` // Indicates whether the parameter value in the end snapshot is the default. IsDefault *bool `mandatory:"false" json:"isDefault"` }
func (m AwrDbParameterSummary) String() string
AwrDbReport The result of the AWR report.
type AwrDbReport struct { // The name of the query result. Name *string `mandatory:"true" json:"name"` // The version of the query result. Version *string `mandatory:"false" json:"version"` // The ID assigned to the query instance. QueryKey *string `mandatory:"false" json:"queryKey"` // The time taken to query the database tier (in seconds). DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"` // The content of the report. Content *string `mandatory:"false" json:"content"` // The format of the report. Format AwrDbReportFormatEnum `mandatory:"false" json:"format,omitempty"` }
func (m AwrDbReport) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDbReport) GetName() *string
GetName returns Name
func (m AwrDbReport) GetQueryKey() *string
GetQueryKey returns QueryKey
func (m AwrDbReport) GetVersion() *string
GetVersion returns Version
func (m AwrDbReport) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDbReport) String() string
AwrDbReportFormatEnum Enum with underlying type: string
type AwrDbReportFormatEnum string
Set of constants representing the allowable values for AwrDbReportFormatEnum
const ( AwrDbReportFormatHtml AwrDbReportFormatEnum = "HTML" AwrDbReportFormatText AwrDbReportFormatEnum = "TEXT" AwrDbReportFormatXml AwrDbReportFormatEnum = "XML" )
func GetAwrDbReportFormatEnumValues() []AwrDbReportFormatEnum
GetAwrDbReportFormatEnumValues Enumerates the set of values for AwrDbReportFormatEnum
AwrDbSnapshotCollection The list of AWR snapshots for one database.
type AwrDbSnapshotCollection struct { // The name of the query result. Name *string `mandatory:"true" json:"name"` // The version of the query result. Version *string `mandatory:"false" json:"version"` // The ID assigned to the query instance. QueryKey *string `mandatory:"false" json:"queryKey"` // The time taken to query the database tier (in seconds). DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"` // A list of AWR snapshot summary data. Items []AwrDbSnapshotSummary `mandatory:"false" json:"items"` }
func (m AwrDbSnapshotCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDbSnapshotCollection) GetName() *string
GetName returns Name
func (m AwrDbSnapshotCollection) GetQueryKey() *string
GetQueryKey returns QueryKey
func (m AwrDbSnapshotCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDbSnapshotCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDbSnapshotCollection) String() string
AwrDbSnapshotRangeCollection The AWR snapshot range list.
type AwrDbSnapshotRangeCollection struct { // The name of the query result. Name *string `mandatory:"true" json:"name"` // The version of the query result. Version *string `mandatory:"false" json:"version"` // The ID assigned to the query instance. QueryKey *string `mandatory:"false" json:"queryKey"` // The time taken to query the database tier (in seconds). DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"` // A list of AWR snapshot range summary data. Items []AwrDbSnapshotRangeSummary `mandatory:"false" json:"items"` }
func (m AwrDbSnapshotRangeCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDbSnapshotRangeCollection) GetName() *string
GetName returns Name
func (m AwrDbSnapshotRangeCollection) GetQueryKey() *string
GetQueryKey returns QueryKey
func (m AwrDbSnapshotRangeCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDbSnapshotRangeCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDbSnapshotRangeCollection) String() string
AwrDbSnapshotRangeSummary The summary data for a range of AWR snapshots.
type AwrDbSnapshotRangeSummary struct { // The internal ID of the database. The internal ID of the database is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // It can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs AwrDbId *string `mandatory:"true" json:"awrDbId"` // The name of the database. DbName *string `mandatory:"true" json:"dbName"` // The database instance numbers. InstanceList []int `mandatory:"false" json:"instanceList"` // The timestamp of the database startup. TimeDbStartup *common.SDKTime `mandatory:"false" json:"timeDbStartup"` // The start time of the earliest snapshot. TimeFirstSnapshotBegin *common.SDKTime `mandatory:"false" json:"timeFirstSnapshotBegin"` // The end time of the latest snapshot. TimeLatestSnapshotEnd *common.SDKTime `mandatory:"false" json:"timeLatestSnapshotEnd"` // The ID of the earliest snapshot. The snapshot ID is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // It can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots FirstSnapshotId *int `mandatory:"false" json:"firstSnapshotId"` // The ID of the latest snapshot. The snapshot ID is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // It can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots LatestSnapshotId *int `mandatory:"false" json:"latestSnapshotId"` // The total number of snapshots. SnapshotCount *int64 `mandatory:"false" json:"snapshotCount"` // The interval time between snapshots (in minutes). SnapshotIntervalInMin *int `mandatory:"false" json:"snapshotIntervalInMin"` // ID of the database container. The database container ID is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // It can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges ContainerId *int `mandatory:"false" json:"containerId"` // The version of the database. DbVersion *string `mandatory:"false" json:"dbVersion"` // The time zone of the snapshot. SnapshotTimezone *string `mandatory:"false" json:"snapshotTimezone"` }
func (m AwrDbSnapshotRangeSummary) String() string
AwrDbSnapshotSummary The AWR snapshot summary of one snapshot.
type AwrDbSnapshotSummary struct { // Internal ID of the database. The internal ID of the database is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // It can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs AwrDbId *string `mandatory:"true" json:"awrDbId"` // The ID of the snapshot. The snapshot ID is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // It can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots SnapshotId *int `mandatory:"true" json:"snapshotId"` // The database instance number. InstanceNumber *int `mandatory:"false" json:"instanceNumber"` // The timestamp of the database startup. TimeDbStartup *common.SDKTime `mandatory:"false" json:"timeDbStartup"` // The start time of the snapshot. TimeBegin *common.SDKTime `mandatory:"false" json:"timeBegin"` // The end time of the snapshot. TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"` // The total number of errors. ErrorCount *int64 `mandatory:"false" json:"errorCount"` }
func (m AwrDbSnapshotSummary) String() string
AwrDbSqlReport The result of the AWR SQL report.
type AwrDbSqlReport struct { // The name of the query result. Name *string `mandatory:"true" json:"name"` // The version of the query result. Version *string `mandatory:"false" json:"version"` // The ID assigned to the query instance. QueryKey *string `mandatory:"false" json:"queryKey"` // The time taken to query the database tier (in seconds). DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"` // The content of the report. Content *string `mandatory:"false" json:"content"` // The format of the report. Format AwrDbSqlReportFormatEnum `mandatory:"false" json:"format,omitempty"` }
func (m AwrDbSqlReport) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDbSqlReport) GetName() *string
GetName returns Name
func (m AwrDbSqlReport) GetQueryKey() *string
GetQueryKey returns QueryKey
func (m AwrDbSqlReport) GetVersion() *string
GetVersion returns Version
func (m AwrDbSqlReport) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDbSqlReport) String() string
AwrDbSqlReportFormatEnum Enum with underlying type: string
type AwrDbSqlReportFormatEnum string
Set of constants representing the allowable values for AwrDbSqlReportFormatEnum
const ( AwrDbSqlReportFormatHtml AwrDbSqlReportFormatEnum = "HTML" AwrDbSqlReportFormatText AwrDbSqlReportFormatEnum = "TEXT" )
func GetAwrDbSqlReportFormatEnumValues() []AwrDbSqlReportFormatEnum
GetAwrDbSqlReportFormatEnumValues Enumerates the set of values for AwrDbSqlReportFormatEnum
AwrDbSummary The AWR summary for a database.
type AwrDbSummary struct { // The internal ID of the database. The internal ID of the database is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // It can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs AwrDbId *string `mandatory:"true" json:"awrDbId"` // The name of the database. DbName *string `mandatory:"true" json:"dbName"` // The database instance numbers. InstanceList []int `mandatory:"false" json:"instanceList"` // The timestamp of the database startup. TimeDbStartup *common.SDKTime `mandatory:"false" json:"timeDbStartup"` // The start time of the earliest snapshot. TimeFirstSnapshotBegin *common.SDKTime `mandatory:"false" json:"timeFirstSnapshotBegin"` // The end time of the latest snapshot. TimeLatestSnapshotEnd *common.SDKTime `mandatory:"false" json:"timeLatestSnapshotEnd"` // The ID of the earliest snapshot. The snapshot ID is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // It can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots FirstSnapshotId *int `mandatory:"false" json:"firstSnapshotId"` // The ID of the latest snapshot. The snapshot ID is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // It can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots LatestSnapshotId *int `mandatory:"false" json:"latestSnapshotId"` // The total number of snapshots. SnapshotCount *int64 `mandatory:"false" json:"snapshotCount"` // The interval time between snapshots (in minutes). SnapshotIntervalInMin *int `mandatory:"false" json:"snapshotIntervalInMin"` // ID of the database container. The database container ID is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // It can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges ContainerId *int `mandatory:"false" json:"containerId"` // The version of the database. DbVersion *string `mandatory:"false" json:"dbVersion"` // The time zone of the snapshot. SnapshotTimezone *string `mandatory:"false" json:"snapshotTimezone"` }
func (m AwrDbSummary) String() string
AwrDbSysstatCollection The AWR SYSSTAT time series summary data.
type AwrDbSysstatCollection struct { // The name of the query result. Name *string `mandatory:"true" json:"name"` // The version of the query result. Version *string `mandatory:"false" json:"version"` // The ID assigned to the query instance. QueryKey *string `mandatory:"false" json:"queryKey"` // The time taken to query the database tier (in seconds). DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"` // A list of AWR SYSSTAT summary data. Items []AwrDbSysstatSummary `mandatory:"false" json:"items"` }
func (m AwrDbSysstatCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDbSysstatCollection) GetName() *string
GetName returns Name
func (m AwrDbSysstatCollection) GetQueryKey() *string
GetQueryKey returns QueryKey
func (m AwrDbSysstatCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDbSysstatCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDbSysstatCollection) String() string
AwrDbSysstatSummary The summary of the AWR SYSSTAT data.
type AwrDbSysstatSummary struct { // The name of the SYSSTAT. Name *string `mandatory:"true" json:"name"` // The name of the SYSSTAT category. Category *string `mandatory:"false" json:"category"` // The start time of the SYSSTAT. TimeBegin *common.SDKTime `mandatory:"false" json:"timeBegin"` // The end time of the SYSSTAT. TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"` // The average value of the SYSSTAT. AvgValue *float64 `mandatory:"false" json:"avgValue"` // The last value of the SYSSTAT. CurrentValue *float64 `mandatory:"false" json:"currentValue"` }
func (m AwrDbSysstatSummary) String() string
AwrDbTopWaitEventCollection The AWR top wait event data.
type AwrDbTopWaitEventCollection struct { // The name of the query result. Name *string `mandatory:"true" json:"name"` // The version of the query result. Version *string `mandatory:"false" json:"version"` // The ID assigned to the query instance. QueryKey *string `mandatory:"false" json:"queryKey"` // The time taken to query the database tier (in seconds). DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"` // A list of AWR top event summary data. Items []AwrDbTopWaitEventSummary `mandatory:"false" json:"items"` }
func (m AwrDbTopWaitEventCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDbTopWaitEventCollection) GetName() *string
GetName returns Name
func (m AwrDbTopWaitEventCollection) GetQueryKey() *string
GetQueryKey returns QueryKey
func (m AwrDbTopWaitEventCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDbTopWaitEventCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDbTopWaitEventCollection) String() string
AwrDbTopWaitEventSummary A summary of the AWR top wait event data for one event.
type AwrDbTopWaitEventSummary struct { // The name of the event. Name *string `mandatory:"true" json:"name"` // The wait count per second. WaitsPerSec *float64 `mandatory:"false" json:"waitsPerSec"` // The average wait time per second. AvgWaitTimePerSec *float64 `mandatory:"false" json:"avgWaitTimePerSec"` }
func (m AwrDbTopWaitEventSummary) String() string
AwrDbWaitEventBucketCollection The percentage distribution of waits in the AWR wait event buckets.
type AwrDbWaitEventBucketCollection struct { // The name of the query result. Name *string `mandatory:"true" json:"name"` // The version of the query result. Version *string `mandatory:"false" json:"version"` // The ID assigned to the query instance. QueryKey *string `mandatory:"false" json:"queryKey"` // The time taken to query the database tier (in seconds). DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"` // The total waits of the database. TotalWaits *int64 `mandatory:"false" json:"totalWaits"` // A list of AWR wait event buckets. Items []AwrDbWaitEventBucketSummary `mandatory:"false" json:"items"` }
func (m AwrDbWaitEventBucketCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDbWaitEventBucketCollection) GetName() *string
GetName returns Name
func (m AwrDbWaitEventBucketCollection) GetQueryKey() *string
GetQueryKey returns QueryKey
func (m AwrDbWaitEventBucketCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDbWaitEventBucketCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDbWaitEventBucketCollection) String() string
AwrDbWaitEventBucketSummary A summary of the AWR wait event bucket and waits percentage.
type AwrDbWaitEventBucketSummary struct { // The name of the wait event frequency category. Normally, it is the upper range of the waits within the AWR wait event bucket. Category *string `mandatory:"true" json:"category"` // The percentage of waits in a wait event bucket over the total waits of the database. Percentage *float64 `mandatory:"true" json:"percentage"` }
func (m AwrDbWaitEventBucketSummary) String() string
AwrDbWaitEventCollection The AWR wait event data.
type AwrDbWaitEventCollection struct { // The name of the query result. Name *string `mandatory:"true" json:"name"` // The version of the query result. Version *string `mandatory:"false" json:"version"` // The ID assigned to the query instance. QueryKey *string `mandatory:"false" json:"queryKey"` // The time taken to query the database tier (in seconds). DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"` // A list of AWR wait events. Items []AwrDbWaitEventSummary `mandatory:"false" json:"items"` }
func (m AwrDbWaitEventCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDbWaitEventCollection) GetName() *string
GetName returns Name
func (m AwrDbWaitEventCollection) GetQueryKey() *string
GetQueryKey returns QueryKey
func (m AwrDbWaitEventCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDbWaitEventCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDbWaitEventCollection) String() string
AwrDbWaitEventSummary The summary of the AWR wait event time series data for one event.
type AwrDbWaitEventSummary struct { // The name of the event. Name *string `mandatory:"true" json:"name"` // The begin time of the wait event. TimeBegin *common.SDKTime `mandatory:"false" json:"timeBegin"` // The end time of the wait event. TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"` // The wait count per second. WaitsPerSec *float64 `mandatory:"false" json:"waitsPerSec"` // The average wait time per second. AvgWaitTimePerSec *float64 `mandatory:"false" json:"avgWaitTimePerSec"` // The ID of the snapshot. The snapshot ID is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // It can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots SnapshotId *int `mandatory:"false" json:"snapshotId"` }
func (m AwrDbWaitEventSummary) String() string
AwrQueryResult The AWR query result.
type AwrQueryResult interface { // The name of the query result. GetName() *string // The version of the query result. GetVersion() *string // The ID assigned to the query instance. GetQueryKey() *string // The time taken to query the database tier (in seconds). GetDbQueryTimeInSecs() *float64 }
AwrQueryResultAwrResultTypeEnum Enum with underlying type: string
type AwrQueryResultAwrResultTypeEnum string
Set of constants representing the allowable values for AwrQueryResultAwrResultTypeEnum
const ( AwrQueryResultAwrResultTypeSet AwrQueryResultAwrResultTypeEnum = "AWRDB_SET" AwrQueryResultAwrResultTypeSnapshotRangeSet AwrQueryResultAwrResultTypeEnum = "AWRDB_SNAPSHOT_RANGE_SET" AwrQueryResultAwrResultTypeSnapshotSet AwrQueryResultAwrResultTypeEnum = "AWRDB_SNAPSHOT_SET" AwrQueryResultAwrResultTypeMetricsSet AwrQueryResultAwrResultTypeEnum = "AWRDB_METRICS_SET" AwrQueryResultAwrResultTypeSysstatSet AwrQueryResultAwrResultTypeEnum = "AWRDB_SYSSTAT_SET" AwrQueryResultAwrResultTypeTopEventSet AwrQueryResultAwrResultTypeEnum = "AWRDB_TOP_EVENT_SET" AwrQueryResultAwrResultTypeEventSet AwrQueryResultAwrResultTypeEnum = "AWRDB_EVENT_SET" AwrQueryResultAwrResultTypeEventHistogram AwrQueryResultAwrResultTypeEnum = "AWRDB_EVENT_HISTOGRAM" AwrQueryResultAwrResultTypeDbParameterSet AwrQueryResultAwrResultTypeEnum = "AWRDB_DB_PARAMETER_SET" AwrQueryResultAwrResultTypeDbParameterChange AwrQueryResultAwrResultTypeEnum = "AWRDB_DB_PARAMETER_CHANGE" AwrQueryResultAwrResultTypeAshCpuUsageSet AwrQueryResultAwrResultTypeEnum = "AWRDB_ASH_CPU_USAGE_SET" AwrQueryResultAwrResultTypeDbReport AwrQueryResultAwrResultTypeEnum = "AWRDB_DB_REPORT" AwrQueryResultAwrResultTypeSqlReport AwrQueryResultAwrResultTypeEnum = "AWRDB_SQL_REPORT" )
func GetAwrQueryResultAwrResultTypeEnumValues() []AwrQueryResultAwrResultTypeEnum
GetAwrQueryResultAwrResultTypeEnumValues Enumerates the set of values for AwrQueryResultAwrResultTypeEnum
ChangeDatabaseParameterDetails The value of a database parameter to change.
type ChangeDatabaseParameterDetails struct { // The parameter name. Name *string `mandatory:"true" json:"name"` // The parameter value. Value *string `mandatory:"true" json:"value"` // A comment string to associate with the change in parameter value. // It cannot contain control characters or a line break. UpdateComment *string `mandatory:"false" json:"updateComment"` }
func (m ChangeDatabaseParameterDetails) String() string
ChangeDatabaseParametersDetails The details required to change database parameter values.
type ChangeDatabaseParametersDetails struct { Credentials *DatabaseCredentials `mandatory:"true" json:"credentials"` // The clause used to specify when the parameter change takes effect. // Use `MEMORY` to make the change in memory and affect it immediately. // Use `SPFILE` to make the change in the server parameter file. The // change takes effect when the database is next shut down and started // up again. Use `BOTH` to make the change in memory and in the server // parameter file. The change takes effect immediately and persists // after the database is shut down and started up again. Scope ParameterScopeEnum `mandatory:"true" json:"scope"` // A list of database parameters and their values. Parameters []ChangeDatabaseParameterDetails `mandatory:"true" json:"parameters"` }
func (m ChangeDatabaseParametersDetails) String() string
ChangeDatabaseParametersRequest wrapper for the ChangeDatabaseParameters operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/ChangeDatabaseParameters.go.html to see an example of how to use ChangeDatabaseParametersRequest.
type ChangeDatabaseParametersRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The details required to change database parameter values. ChangeDatabaseParametersDetails `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. 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 ChangeDatabaseParametersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeDatabaseParametersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDatabaseParametersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDatabaseParametersRequest) String() string
ChangeDatabaseParametersResponse wrapper for the ChangeDatabaseParameters operation
type ChangeDatabaseParametersResponse struct { // The underlying http response RawResponse *http.Response // The UpdateDatabaseParametersResult instance UpdateDatabaseParametersResult `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 ChangeDatabaseParametersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDatabaseParametersResponse) String() string
ChangeJobCompartmentDetails The details required to change the compartment of a job.
type ChangeJobCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the // compartment to which the job should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeJobCompartmentDetails) String() string
ChangeJobCompartmentRequest wrapper for the ChangeJobCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/ChangeJobCompartment.go.html to see an example of how to use ChangeJobCompartmentRequest.
type ChangeJobCompartmentRequest struct { // The identifier of the job. JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the job to. ChangeJobCompartmentDetails `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. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // 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 ChangeJobCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeJobCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeJobCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeJobCompartmentRequest) String() string
ChangeJobCompartmentResponse wrapper for the ChangeJobCompartment operation
type ChangeJobCompartmentResponse 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 ChangeJobCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeJobCompartmentResponse) String() string
ChangeManagedDatabaseGroupCompartmentDetails The details required to change the compartment of a Managed Database Group.
type ChangeManagedDatabaseGroupCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the // compartment to which the Managed Database Group should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeManagedDatabaseGroupCompartmentDetails) String() string
ChangeManagedDatabaseGroupCompartmentRequest wrapper for the ChangeManagedDatabaseGroupCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/ChangeManagedDatabaseGroupCompartment.go.html to see an example of how to use ChangeManagedDatabaseGroupCompartmentRequest.
type ChangeManagedDatabaseGroupCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group. ManagedDatabaseGroupId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseGroupId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the Managed Database Group to. ChangeManagedDatabaseGroupCompartmentDetails `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. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // 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 ChangeManagedDatabaseGroupCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeManagedDatabaseGroupCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeManagedDatabaseGroupCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeManagedDatabaseGroupCompartmentRequest) String() string
ChangeManagedDatabaseGroupCompartmentResponse wrapper for the ChangeManagedDatabaseGroupCompartment operation
type ChangeManagedDatabaseGroupCompartmentResponse 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 ChangeManagedDatabaseGroupCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeManagedDatabaseGroupCompartmentResponse) String() string
ChildDatabase The child Managed Database of a Managed Database Group.
type ChildDatabase struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. Id *string `mandatory:"true" json:"id"` // The name of the Managed Database. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database resides. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The date and time the Managed Database was added to the group. TimeAdded *common.SDKTime `mandatory:"true" json:"timeAdded"` // The type of Oracle Database installation. DatabaseType DatabaseTypeEnum `mandatory:"false" json:"databaseType,omitempty"` // The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or a Non-container Database. DatabaseSubType DatabaseSubTypeEnum `mandatory:"false" json:"databaseSubType,omitempty"` }
func (m ChildDatabase) String() string
ClusterCacheMetric The response containing the cluster cache metrics for the Oracle Real Application Clusters (Oracle RAC) database.
type ClusterCacheMetric struct { // A list of cluster cache metrics for a specific database. ClusterCacheMetrics []TimeSeriesMetricDefinition `mandatory:"true" json:"clusterCacheMetrics"` }
func (m ClusterCacheMetric) String() string
CompareTypeEnum Enum with underlying type: string
type CompareTypeEnum string
Set of constants representing the allowable values for CompareTypeEnum
const ( CompareTypeHour CompareTypeEnum = "HOUR" CompareTypeDay CompareTypeEnum = "DAY" )
func GetCompareTypeEnumValues() []CompareTypeEnum
GetCompareTypeEnumValues Enumerates the set of values for CompareTypeEnum
CreateJobDetails The details required to create a job.
type CreateJobDetails interface { // The name of the job. Valid characters are uppercase or lowercase letters, // numbers, and "_". The name of the job cannot be modified. It must be unique // in the compartment and must begin with an alphabetic character. GetName() *string // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the job resides. GetCompartmentId() *string // The schedule type of the job. GetScheduleType() JobScheduleTypeEnum // The description of the job. GetDescription() *string // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group where the job has to be executed. GetManagedDatabaseGroupId() *string // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database where the job has to be executed. GetManagedDatabaseId() *string // The subtype of the Oracle Database where the job has to be executed. Only applicable when managedDatabaseGroupId is provided. GetDatabaseSubType() DatabaseSubTypeEnum // The job timeout duration, which is expressed like "1h 10m 15s". GetTimeout() *string GetResultLocation() JobExecutionResultLocation }
CreateJobRequest wrapper for the CreateJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/CreateJob.go.html to see an example of how to use CreateJobRequest.
type CreateJobRequest struct { // The details required to create a job. CreateJobDetails `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. 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 CreateJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateJobRequest) String() string
CreateJobResponse wrapper for the CreateJob operation
type CreateJobResponse struct { // The underlying http response RawResponse *http.Response // The Job instance Job `presentIn:"body"` // A link to the created job. Location *string `presentIn:"header" name:"location"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response CreateJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateJobResponse) String() string
CreateManagedDatabaseGroupDetails The details required to create a Managed Database Group.
type CreateManagedDatabaseGroupDetails struct { // The name of the Managed Database Group. Valid characters are uppercase or // lowercase letters, numbers, and "_". The name of the Managed Database Group // cannot be modified. It must be unique in the compartment and must begin with // an alphabetic character. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment // in which the Managed Database Group resides. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The information specified by the user about the Managed Database Group. Description *string `mandatory:"false" json:"description"` }
func (m CreateManagedDatabaseGroupDetails) String() string
CreateManagedDatabaseGroupRequest wrapper for the CreateManagedDatabaseGroup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/CreateManagedDatabaseGroup.go.html to see an example of how to use CreateManagedDatabaseGroupRequest.
type CreateManagedDatabaseGroupRequest struct { // The details required to create a Managed Database Group. CreateManagedDatabaseGroupDetails `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. 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 CreateManagedDatabaseGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateManagedDatabaseGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateManagedDatabaseGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateManagedDatabaseGroupRequest) String() string
CreateManagedDatabaseGroupResponse wrapper for the CreateManagedDatabaseGroup operation
type CreateManagedDatabaseGroupResponse struct { // The underlying http response RawResponse *http.Response // The ManagedDatabaseGroup instance ManagedDatabaseGroup `presentIn:"body"` // A link to the newly created Managed Database Group. Location *string `presentIn:"header" name:"location"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response CreateManagedDatabaseGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateManagedDatabaseGroupResponse) String() string
CreateSqlJobDetails The details specific to the SQL job request.
type CreateSqlJobDetails struct { // The name of the job. Valid characters are uppercase or lowercase letters, // numbers, and "_". The name of the job cannot be modified. It must be unique // in the compartment and must begin with an alphabetic character. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the job resides. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The description of the job. Description *string `mandatory:"false" json:"description"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group where the job has to be executed. ManagedDatabaseGroupId *string `mandatory:"false" json:"managedDatabaseGroupId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database where the job has to be executed. ManagedDatabaseId *string `mandatory:"false" json:"managedDatabaseId"` // The job timeout duration, which is expressed like "1h 10m 15s". Timeout *string `mandatory:"false" json:"timeout"` ResultLocation JobExecutionResultLocation `mandatory:"false" json:"resultLocation"` // The SQL text to be executed as part of the job. SqlText *string `mandatory:"false" json:"sqlText"` // The database user name used to execute the SQL job. If the job is being executed on a // Managed Database Group, then the user name should exist on all the databases in the // group with the same password. UserName *string `mandatory:"false" json:"userName"` // The password for the database user name used to execute the SQL job. Password *string `mandatory:"false" json:"password"` // The schedule type of the job. ScheduleType JobScheduleTypeEnum `mandatory:"true" json:"scheduleType"` // The subtype of the Oracle Database where the job has to be executed. Only applicable when managedDatabaseGroupId is provided. DatabaseSubType DatabaseSubTypeEnum `mandatory:"false" json:"databaseSubType,omitempty"` SqlType SqlJobSqlTypeEnum `mandatory:"false" json:"sqlType,omitempty"` // The SQL operation type. OperationType SqlJobOperationTypeEnum `mandatory:"true" json:"operationType"` // The role of the database user. Indicates whether the database user is a normal user or sysdba. Role SqlJobRoleEnum `mandatory:"false" json:"role,omitempty"` }
func (m CreateSqlJobDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateSqlJobDetails) GetDatabaseSubType() DatabaseSubTypeEnum
GetDatabaseSubType returns DatabaseSubType
func (m CreateSqlJobDetails) GetDescription() *string
GetDescription returns Description
func (m CreateSqlJobDetails) GetManagedDatabaseGroupId() *string
GetManagedDatabaseGroupId returns ManagedDatabaseGroupId
func (m CreateSqlJobDetails) GetManagedDatabaseId() *string
GetManagedDatabaseId returns ManagedDatabaseId
func (m CreateSqlJobDetails) GetName() *string
GetName returns Name
func (m CreateSqlJobDetails) GetResultLocation() JobExecutionResultLocation
GetResultLocation returns ResultLocation
func (m CreateSqlJobDetails) GetScheduleType() JobScheduleTypeEnum
GetScheduleType returns ScheduleType
func (m CreateSqlJobDetails) GetTimeout() *string
GetTimeout returns Timeout
func (m CreateSqlJobDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateSqlJobDetails) String() string
func (m *CreateSqlJobDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
DatabaseCredentials The database credentials used to perform management activity.
type DatabaseCredentials struct { // The database user name used to perform management activity. UserName *string `mandatory:"false" json:"userName"` // The password for the database user name. Password *string `mandatory:"false" json:"password"` // The role of the database user. Indicates whether the database user is a normal user or sysdba. Role DatabaseCredentialsRoleEnum `mandatory:"false" json:"role,omitempty"` }
func (m DatabaseCredentials) String() string
DatabaseCredentialsRoleEnum Enum with underlying type: string
type DatabaseCredentialsRoleEnum string
Set of constants representing the allowable values for DatabaseCredentialsRoleEnum
const ( DatabaseCredentialsRoleNormal DatabaseCredentialsRoleEnum = "NORMAL" DatabaseCredentialsRoleSysdba DatabaseCredentialsRoleEnum = "SYSDBA" )
func GetDatabaseCredentialsRoleEnumValues() []DatabaseCredentialsRoleEnum
GetDatabaseCredentialsRoleEnumValues Enumerates the set of values for DatabaseCredentialsRoleEnum
DatabaseFleetHealthMetrics The details of the fleet health metrics.
type DatabaseFleetHealthMetrics struct { // The baseline date and time in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". // This is the date and time against which percentage change is calculated. CompareBaselineTime *string `mandatory:"true" json:"compareBaselineTime"` // The target date and time in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". // All the metrics are returned for the target date and time and the percentage change // is calculated against the baseline date and time. CompareTargetTime *string `mandatory:"true" json:"compareTargetTime"` // A list of the databases present in the fleet and their usage metrics. FleetDatabases []DatabaseUsageMetrics `mandatory:"true" json:"fleetDatabases"` // The time window used for metrics comparison. CompareType CompareTypeEnum `mandatory:"false" json:"compareType,omitempty"` FleetSummary *FleetSummary `mandatory:"false" json:"fleetSummary"` }
func (m DatabaseFleetHealthMetrics) String() string
DatabaseHomeMetricDefinition The response containing the CPU, Storage, Wait, DB Time, and Memory metrics for a specific database.
type DatabaseHomeMetricDefinition struct { // A list of the active session metrics for CPU and Wait time for a specific database. ActivityTimeSeriesMetrics []ActivityTimeSeriesMetrics `mandatory:"true" json:"activityTimeSeriesMetrics"` DbTimeAggregateMetrics *DatabaseTimeAggregateMetrics `mandatory:"true" json:"dbTimeAggregateMetrics"` IoAggregateMetrics *DatabaseIoAggregateMetrics `mandatory:"true" json:"ioAggregateMetrics"` MemoryAggregateMetrics *MemoryAggregateMetrics `mandatory:"true" json:"memoryAggregateMetrics"` DbStorageAggregateMetrics *DatabaseStorageAggregateMetrics `mandatory:"true" json:"dbStorageAggregateMetrics"` }
func (m DatabaseHomeMetricDefinition) String() string
DatabaseHomeMetrics The response containing the metric collection for a specific database.
type DatabaseHomeMetrics struct { DatabaseHomeMetrics *DatabaseHomeMetricDefinition `mandatory:"true" json:"databaseHomeMetrics"` // The metrics for the RAC database instances. DatabaseInstanceHomeMetrics []DatabaseInstanceHomeMetricsDefinition `mandatory:"false" json:"databaseInstanceHomeMetrics"` }
func (m DatabaseHomeMetrics) String() string
DatabaseInstanceHomeMetricsDefinition The response containing the CPU, Wait, DB Time, and Memory metrics for a specific Oracle Real Application Clusters (Oracle RAC) database instance.
type DatabaseInstanceHomeMetricsDefinition struct { // The name of the Oracle Real Application Clusters (Oracle RAC) // database instance to which the corresponding metrics belong. InstanceName *string `mandatory:"true" json:"instanceName"` // The number of Oracle Real Application Clusters (Oracle RAC) // database instance to which the corresponding metrics belong. InstanceNumber *int `mandatory:"true" json:"instanceNumber"` // A list of the active session metrics for CPU and Wait time for // a specific Oracle Real Application Clusters (Oracle RAC) // database instance. ActivityTimeSeriesMetrics []ActivityTimeSeriesMetrics `mandatory:"true" json:"activityTimeSeriesMetrics"` DbTimeAggregateMetrics *DatabaseTimeAggregateMetrics `mandatory:"true" json:"dbTimeAggregateMetrics"` IoAggregateMetrics *DatabaseIoAggregateMetrics `mandatory:"true" json:"ioAggregateMetrics"` MemoryAggregateMetrics *MemoryAggregateMetrics `mandatory:"true" json:"memoryAggregateMetrics"` }
func (m DatabaseInstanceHomeMetricsDefinition) String() string
DatabaseIoAggregateMetrics The database Input/Output metric details.
type DatabaseIoAggregateMetrics struct { // A list of the Input/Output Operations Per Second metrics grouped by IOType for a specific database. Iops []MetricDataPoint `mandatory:"false" json:"iops"` // A list of the IOThroughput metrics grouped for a specific database. IoThroughput []MetricDataPoint `mandatory:"false" json:"ioThroughput"` }
func (m DatabaseIoAggregateMetrics) String() string
DatabaseParameterSummary A summary of the database parameter.
type DatabaseParameterSummary struct { // The parameter name. Name *string `mandatory:"true" json:"name"` // The parameter type. Type DatabaseParameterSummaryTypeEnum `mandatory:"true" json:"type"` // The parameter value. Value *string `mandatory:"true" json:"value"` // The parameter value in a user-friendly format. For example, if the `value` property shows the value 262144 for a big integer parameter, then the `displayValue` property will show the value 256K. DisplayValue *string `mandatory:"true" json:"displayValue"` // The parameter number. Number *float32 `mandatory:"false" json:"number"` // Indicates whether the parameter is set to the default value (`TRUE`) or the parameter value was specified in the parameter file (`FALSE`). IsDefault *bool `mandatory:"false" json:"isDefault"` // Indicates whether the parameter can be changed with `ALTER SESSION` (`TRUE`) or not (`FALSE`) IsSessionModifiable *bool `mandatory:"false" json:"isSessionModifiable"` // Indicates whether the parameter can be changed with `ALTER SYSTEM` and when the change takes effect: // - IMMEDIATE: Parameter can be changed with `ALTER SYSTEM` regardless of the type of parameter file used to start the instance. The change takes effect immediately. // - DEFERRED: Parameter can be changed with `ALTER SYSTEM` regardless of the type of parameter file used to start the instance. The change takes effect in subsequent sessions. // - FALSE: Parameter cannot be changed with `ALTER SYSTEM` unless a server parameter file was used to start the instance. The change takes effect in subsequent instances. IsSystemModifiable DatabaseParameterSummaryIsSystemModifiableEnum `mandatory:"false" json:"isSystemModifiable,omitempty"` // Indicates whether the parameter can be modified on a per-PDB basis (`TRUE`) or not (`FALSE`). In a non-CDB, the value of this property is `null`. IsPdbModifiable *bool `mandatory:"false" json:"isPdbModifiable"` // For parameters that can be changed with `ALTER SYSTEM`, indicates whether the value of the parameter can be different for every instance (`TRUE`) or whether the parameter must have the same value for all Real Application Clusters instances (`FALSE`). For other parameters, this is always `FALSE`. IsInstanceModifiable *bool `mandatory:"false" json:"isInstanceModifiable"` // Indicates how the parameter was modified. If an `ALTER SYSTEM` was performed, the value will be `MODIFIED`. IsModified DatabaseParameterSummaryIsModifiedEnum `mandatory:"false" json:"isModified,omitempty"` // Indicates whether Oracle adjusted the input value to a more suitable value. IsAdjusted *bool `mandatory:"false" json:"isAdjusted"` // Indicates whether the parameter has been deprecated (`TRUE`) or not (`FALSE`). IsDeprecated *bool `mandatory:"false" json:"isDeprecated"` // Indicates whether the parameter is a basic parameter (`TRUE`) or not (`FALSE`). IsBasic *bool `mandatory:"false" json:"isBasic"` // The description of the parameter. Description *string `mandatory:"false" json:"description"` // The position (ordinal number) of the parameter value. Useful only for parameters whose values are lists of strings. Ordinal *float32 `mandatory:"false" json:"ordinal"` // The comments associated with the most recent update. UpdateComment *string `mandatory:"false" json:"updateComment"` // The ID of the database container to which the data pertains. // Possible values include: // - `0`: This value is used for data that pertain to the entire CDB. This value is also used for data in non-CDBs. // - `1`: This value is used for data that pertain to only the root container. // - `n`: Where n is the applicable container ID for the data. ContainerId *float32 `mandatory:"false" json:"containerId"` // The parameter category. Category *string `mandatory:"false" json:"category"` // Applicable in case of Oracle Real Application Clusters (Oracle RAC) databases. // A `UNIQUE` parameter is one which is unique to each Oracle Real Application // Clusters (Oracle RAC) instance. For example, the parameter `INSTANCE_NUMBER` // must have different values in each instance. An `IDENTICAL` parameter must // have the same value for every instance. For example, the parameter // `DB_BLOCK_SIZE` must have the same value in all instances. Constraint DatabaseParameterSummaryConstraintEnum `mandatory:"false" json:"constraint,omitempty"` // The database instance SID for which the parameter is defined. Sid *string `mandatory:"false" json:"sid"` // Indicates whether the parameter was specified in the server parameter file (`TRUE`) or not (`FALSE`). Applicable only when the parameter source is `SPFILE`. IsSpecified *bool `mandatory:"false" json:"isSpecified"` // A list of allowed values for this parameter. AllowedValues []AllowedParameterValue `mandatory:"false" json:"allowedValues"` }
func (m DatabaseParameterSummary) String() string
DatabaseParameterSummaryConstraintEnum Enum with underlying type: string
type DatabaseParameterSummaryConstraintEnum string
Set of constants representing the allowable values for DatabaseParameterSummaryConstraintEnum
const ( DatabaseParameterSummaryConstraintUnique DatabaseParameterSummaryConstraintEnum = "UNIQUE" DatabaseParameterSummaryConstraintIdentical DatabaseParameterSummaryConstraintEnum = "IDENTICAL" DatabaseParameterSummaryConstraintNone DatabaseParameterSummaryConstraintEnum = "NONE" )
func GetDatabaseParameterSummaryConstraintEnumValues() []DatabaseParameterSummaryConstraintEnum
GetDatabaseParameterSummaryConstraintEnumValues Enumerates the set of values for DatabaseParameterSummaryConstraintEnum
DatabaseParameterSummaryIsModifiedEnum Enum with underlying type: string
type DatabaseParameterSummaryIsModifiedEnum string
Set of constants representing the allowable values for DatabaseParameterSummaryIsModifiedEnum
const ( DatabaseParameterSummaryIsModifiedModified DatabaseParameterSummaryIsModifiedEnum = "MODIFIED" DatabaseParameterSummaryIsModifiedFalse DatabaseParameterSummaryIsModifiedEnum = "FALSE" )
func GetDatabaseParameterSummaryIsModifiedEnumValues() []DatabaseParameterSummaryIsModifiedEnum
GetDatabaseParameterSummaryIsModifiedEnumValues Enumerates the set of values for DatabaseParameterSummaryIsModifiedEnum
DatabaseParameterSummaryIsSystemModifiableEnum Enum with underlying type: string
type DatabaseParameterSummaryIsSystemModifiableEnum string
Set of constants representing the allowable values for DatabaseParameterSummaryIsSystemModifiableEnum
const ( DatabaseParameterSummaryIsSystemModifiableImmediate DatabaseParameterSummaryIsSystemModifiableEnum = "IMMEDIATE" DatabaseParameterSummaryIsSystemModifiableDeferred DatabaseParameterSummaryIsSystemModifiableEnum = "DEFERRED" DatabaseParameterSummaryIsSystemModifiableFalse DatabaseParameterSummaryIsSystemModifiableEnum = "FALSE" )
func GetDatabaseParameterSummaryIsSystemModifiableEnumValues() []DatabaseParameterSummaryIsSystemModifiableEnum
GetDatabaseParameterSummaryIsSystemModifiableEnumValues Enumerates the set of values for DatabaseParameterSummaryIsSystemModifiableEnum
DatabaseParameterSummaryTypeEnum Enum with underlying type: string
type DatabaseParameterSummaryTypeEnum string
Set of constants representing the allowable values for DatabaseParameterSummaryTypeEnum
const ( DatabaseParameterSummaryTypeBoolean DatabaseParameterSummaryTypeEnum = "BOOLEAN" DatabaseParameterSummaryTypeString DatabaseParameterSummaryTypeEnum = "STRING" DatabaseParameterSummaryTypeInteger DatabaseParameterSummaryTypeEnum = "INTEGER" DatabaseParameterSummaryTypeFilename DatabaseParameterSummaryTypeEnum = "FILENAME" DatabaseParameterSummaryTypeBigInteger DatabaseParameterSummaryTypeEnum = "BIG_INTEGER" DatabaseParameterSummaryTypeReserved DatabaseParameterSummaryTypeEnum = "RESERVED" )
func GetDatabaseParameterSummaryTypeEnumValues() []DatabaseParameterSummaryTypeEnum
GetDatabaseParameterSummaryTypeEnumValues Enumerates the set of values for DatabaseParameterSummaryTypeEnum
DatabaseParameterUpdateStatus The result of database parameter update.
type DatabaseParameterUpdateStatus struct { // The status of the parameter update. Status DatabaseParameterUpdateStatusStatusEnum `mandatory:"false" json:"status,omitempty"` // An error code that defines the failure or `null` if the parameter // was updated successfully. ErrorCode *string `mandatory:"false" json:"errorCode"` // The error message indicating the reason for failure or `null` if // the parameter was updated successfully. ErrorMessage *string `mandatory:"false" json:"errorMessage"` }
func (m DatabaseParameterUpdateStatus) String() string
DatabaseParameterUpdateStatusStatusEnum Enum with underlying type: string
type DatabaseParameterUpdateStatusStatusEnum string
Set of constants representing the allowable values for DatabaseParameterUpdateStatusStatusEnum
const ( DatabaseParameterUpdateStatusStatusSucceeded DatabaseParameterUpdateStatusStatusEnum = "SUCCEEDED" DatabaseParameterUpdateStatusStatusFailed DatabaseParameterUpdateStatusStatusEnum = "FAILED" )
func GetDatabaseParameterUpdateStatusStatusEnumValues() []DatabaseParameterUpdateStatusStatusEnum
GetDatabaseParameterUpdateStatusStatusEnumValues Enumerates the set of values for DatabaseParameterUpdateStatusStatusEnum
DatabaseParametersCollection A collection of database parameters.
type DatabaseParametersCollection struct { // The name of the Managed Database. DatabaseName *string `mandatory:"true" json:"databaseName"` // The type of Oracle Database installation. DatabaseType DatabaseTypeEnum `mandatory:"true" json:"databaseType"` // The subtype of the Oracle Database. Indicates whether the database // is a Container Database, Pluggable Database, or a Non-container Database. DatabaseSubType DatabaseSubTypeEnum `mandatory:"true" json:"databaseSubType"` // The Oracle Database version. DatabaseVersion *string `mandatory:"true" json:"databaseVersion"` // An array of DatabaseParameterSummary objects. Items []DatabaseParameterSummary `mandatory:"true" json:"items"` }
func (m DatabaseParametersCollection) String() string
DatabaseStatusEnum Enum with underlying type: string
type DatabaseStatusEnum string
Set of constants representing the allowable values for DatabaseStatusEnum
const ( DatabaseStatusUp DatabaseStatusEnum = "UP" DatabaseStatusDown DatabaseStatusEnum = "DOWN" DatabaseStatusUnknown DatabaseStatusEnum = "UNKNOWN" )
func GetDatabaseStatusEnumValues() []DatabaseStatusEnum
GetDatabaseStatusEnumValues Enumerates the set of values for DatabaseStatusEnum
DatabaseStorageAggregateMetrics The database storage metric values.
type DatabaseStorageAggregateMetrics struct { StorageAllocated *MetricDataPoint `mandatory:"false" json:"storageAllocated"` StorageUsed *MetricDataPoint `mandatory:"false" json:"storageUsed"` // A list of the storage metrics grouped by TableSpace for a specific database. StorageUsedByTableSpace []MetricDataPoint `mandatory:"false" json:"storageUsedByTableSpace"` }
func (m DatabaseStorageAggregateMetrics) String() string
DatabaseSubTypeEnum Enum with underlying type: string
type DatabaseSubTypeEnum string
Set of constants representing the allowable values for DatabaseSubTypeEnum
const ( DatabaseSubTypeCdb DatabaseSubTypeEnum = "CDB" DatabaseSubTypePdb DatabaseSubTypeEnum = "PDB" DatabaseSubTypeNonCdb DatabaseSubTypeEnum = "NON_CDB" )
func GetDatabaseSubTypeEnumValues() []DatabaseSubTypeEnum
GetDatabaseSubTypeEnumValues Enumerates the set of values for DatabaseSubTypeEnum
DatabaseTimeAggregateMetrics The database time metric details.
type DatabaseTimeAggregateMetrics struct { CpuCount *MetricDataPoint `mandatory:"false" json:"cpuCount"` CpuTime *MetricDataPoint `mandatory:"false" json:"cpuTime"` WaitTime *MetricDataPoint `mandatory:"false" json:"waitTime"` UserIoTime *MetricDataPoint `mandatory:"false" json:"userIoTime"` Cluster *MetricDataPoint `mandatory:"false" json:"cluster"` }
func (m DatabaseTimeAggregateMetrics) String() string
DatabaseTypeEnum Enum with underlying type: string
type DatabaseTypeEnum string
Set of constants representing the allowable values for DatabaseTypeEnum
const ( DatabaseTypeExternalSidb DatabaseTypeEnum = "EXTERNAL_SIDB" DatabaseTypeExternalRac DatabaseTypeEnum = "EXTERNAL_RAC" )
func GetDatabaseTypeEnumValues() []DatabaseTypeEnum
GetDatabaseTypeEnumValues Enumerates the set of values for DatabaseTypeEnum
DatabaseUsageMetrics The list of aggregated metrics for Managed Databases in the fleet.
type DatabaseUsageMetrics struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. DbId *string `mandatory:"false" json:"dbId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where the Managed Database resides. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The type of Oracle Database installation. DatabaseType DatabaseTypeEnum `mandatory:"false" json:"databaseType,omitempty"` // The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or a Non-container Database. DatabaseSubType DatabaseSubTypeEnum `mandatory:"false" json:"databaseSubType,omitempty"` // The display name of the Managed Database. DatabaseName *string `mandatory:"false" json:"databaseName"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the parent Container Database, in the case of a Pluggable Database. DatabaseContainerId *string `mandatory:"false" json:"databaseContainerId"` // A list of the database health metrics like CPU, Storage, and Memory. Metrics []FleetMetricDefinition `mandatory:"false" json:"metrics"` }
func (m DatabaseUsageMetrics) String() string
Datafile The details of a datafile.
type Datafile struct { // The filename (including the path) of the datafile or tempfile. Name *string `mandatory:"true" json:"name"` // The status of the file. INVALID status is used when the file number is not in use, for example, a file in a tablespace that was dropped. Status DatafileStatusEnum `mandatory:"false" json:"status,omitempty"` // The online status of the file. OnlineStatus DatafileOnlineStatusEnum `mandatory:"false" json:"onlineStatus,omitempty"` // Indicates whether the datafile is auto-extensible. IsAutoExtensible *bool `mandatory:"false" json:"isAutoExtensible"` // The lost write protection status of the file. LostWriteProtect DatafileLostWriteProtectEnum `mandatory:"false" json:"lostWriteProtect,omitempty"` // Type of tablespace this file belongs to. If it's for a shared tablespace, for a local temporary tablespace for RIM (read-only) instances, or for local temporary tablespace for all instance types. Shared DatafileSharedEnum `mandatory:"false" json:"shared,omitempty"` // Instance ID of the instance to which the temp file belongs. This column has a NULL value for temp files that belong to shared tablespaces. InstanceId *float32 `mandatory:"false" json:"instanceId"` // The maximum file size in KB. MaxSizeKB *float32 `mandatory:"false" json:"maxSizeKB"` // The allocated file size in KB. AllocatedSizeKB *float32 `mandatory:"false" json:"allocatedSizeKB"` // The size of the file available for user data in KB. The actual size of the file minus the USER_BYTES value is used to store file-related metadata. UserSizeKB *float32 `mandatory:"false" json:"userSizeKB"` // The number of blocks used as auto-extension increment. IncrementBy *float32 `mandatory:"false" json:"incrementBy"` // The free space available in the datafile in KB. FreeSpaceKB *float32 `mandatory:"false" json:"freeSpaceKB"` // The total space used in the datafile in KB. UsedSpaceKB *float32 `mandatory:"false" json:"usedSpaceKB"` // The percentage of used space out of the maximum available space in the file. UsedPercentAvailable *float64 `mandatory:"false" json:"usedPercentAvailable"` // The percentage of used space out of the total allocated space in the file. UsedPercentAllocated *float64 `mandatory:"false" json:"usedPercentAllocated"` }
func (m Datafile) String() string
DatafileLostWriteProtectEnum Enum with underlying type: string
type DatafileLostWriteProtectEnum string
Set of constants representing the allowable values for DatafileLostWriteProtectEnum
const ( DatafileLostWriteProtectEnabled DatafileLostWriteProtectEnum = "ENABLED" DatafileLostWriteProtectProtectOff DatafileLostWriteProtectEnum = "PROTECT_OFF" DatafileLostWriteProtectSuspend DatafileLostWriteProtectEnum = "SUSPEND" )
func GetDatafileLostWriteProtectEnumValues() []DatafileLostWriteProtectEnum
GetDatafileLostWriteProtectEnumValues Enumerates the set of values for DatafileLostWriteProtectEnum
DatafileOnlineStatusEnum Enum with underlying type: string
type DatafileOnlineStatusEnum string
Set of constants representing the allowable values for DatafileOnlineStatusEnum
const ( DatafileOnlineStatusSysoff DatafileOnlineStatusEnum = "SYSOFF" DatafileOnlineStatusSystem DatafileOnlineStatusEnum = "SYSTEM" DatafileOnlineStatusOffline DatafileOnlineStatusEnum = "OFFLINE" DatafileOnlineStatusOnline DatafileOnlineStatusEnum = "ONLINE" DatafileOnlineStatusRecover DatafileOnlineStatusEnum = "RECOVER" )
func GetDatafileOnlineStatusEnumValues() []DatafileOnlineStatusEnum
GetDatafileOnlineStatusEnumValues Enumerates the set of values for DatafileOnlineStatusEnum
DatafileSharedEnum Enum with underlying type: string
type DatafileSharedEnum string
Set of constants representing the allowable values for DatafileSharedEnum
const ( DatafileSharedEnum = "SHARED" DatafileSharedEnum = "LOCAL_FOR_RIM" DatafileSharedEnum = "LOCAL_FOR_ALL" )
func GetDatafileSharedEnumValues() []DatafileSharedEnum
GetDatafileSharedEnumValues Enumerates the set of values for DatafileSharedEnum
DatafileStatusEnum Enum with underlying type: string
type DatafileStatusEnum string
Set of constants representing the allowable values for DatafileStatusEnum
const ( DatafileStatusAvailable DatafileStatusEnum = "AVAILABLE" DatafileStatusInvalid DatafileStatusEnum = "INVALID" DatafileStatusOffline DatafileStatusEnum = "OFFLINE" DatafileStatusOnline DatafileStatusEnum = "ONLINE" DatafileStatusUnknown DatafileStatusEnum = "UNKNOWN" )
func GetDatafileStatusEnumValues() []DatafileStatusEnum
GetDatafileStatusEnumValues Enumerates the set of values for DatafileStatusEnum
DbManagementClient a client for DbManagement
type DbManagementClient struct { common.BaseClient // contains filtered or unexported fields }
func NewDbManagementClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DbManagementClient, err error)
NewDbManagementClientWithConfigurationProvider Creates a new default DbManagement client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewDbManagementClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DbManagementClient, err error)
NewDbManagementClientWithOboToken Creates a new default DbManagement 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 DbManagementClient) AddManagedDatabaseToManagedDatabaseGroup(ctx context.Context, request AddManagedDatabaseToManagedDatabaseGroupRequest) (response AddManagedDatabaseToManagedDatabaseGroupResponse, err error)
AddManagedDatabaseToManagedDatabaseGroup Adds a Managed Database to a specific Managed Database Group. After the database is added, it will be included in the management activities performed on the Managed Database Group.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/AddManagedDatabaseToManagedDatabaseGroup.go.html to see an example of how to use AddManagedDatabaseToManagedDatabaseGroup API.
func (client DbManagementClient) ChangeDatabaseParameters(ctx context.Context, request ChangeDatabaseParametersRequest) (response ChangeDatabaseParametersResponse, err error)
ChangeDatabaseParameters Changes database parameter values. There are two kinds of database parameters: - Dynamic parameters: They can be changed for the current Oracle Database instance. The changes take effect immediately. - Static parameters: They cannot be changed for the current instance. You must change these parameters and then restart the database before changes take effect. **Note:** If the instance is started using a text initialization parameter file, the parameter changes are applicable only for the current instance. You must update them manually to be passed to a future instance.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/ChangeDatabaseParameters.go.html to see an example of how to use ChangeDatabaseParameters API.
func (client DbManagementClient) ChangeJobCompartment(ctx context.Context, request ChangeJobCompartmentRequest) (response ChangeJobCompartmentResponse, err error)
ChangeJobCompartment Moves a job.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/ChangeJobCompartment.go.html to see an example of how to use ChangeJobCompartment API.
func (client DbManagementClient) ChangeManagedDatabaseGroupCompartment(ctx context.Context, request ChangeManagedDatabaseGroupCompartmentRequest) (response ChangeManagedDatabaseGroupCompartmentResponse, err error)
ChangeManagedDatabaseGroupCompartment Moves a Managed Database Group to a different compartment. The destination compartment must not have a Managed Database Group with the same name.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/ChangeManagedDatabaseGroupCompartment.go.html to see an example of how to use ChangeManagedDatabaseGroupCompartment API.
func (client *DbManagementClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client DbManagementClient) CreateJob(ctx context.Context, request CreateJobRequest) (response CreateJobResponse, err error)
CreateJob Creates a job to be executed on a Managed Database or Managed Database Group. Only one of the parameters, managedDatabaseId or managedDatabaseGroupId should be provided as input in CreateJobDetails resource in request body.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/CreateJob.go.html to see an example of how to use CreateJob API.
func (client DbManagementClient) CreateManagedDatabaseGroup(ctx context.Context, request CreateManagedDatabaseGroupRequest) (response CreateManagedDatabaseGroupResponse, err error)
CreateManagedDatabaseGroup Creates a Managed Database Group. The group does not contain any Managed Databases when it is created, and they must be added later.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/CreateManagedDatabaseGroup.go.html to see an example of how to use CreateManagedDatabaseGroup API.
func (client DbManagementClient) DeleteJob(ctx context.Context, request DeleteJobRequest) (response DeleteJobResponse, err error)
DeleteJob Deletes the job specified by jobId.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/DeleteJob.go.html to see an example of how to use DeleteJob API.
func (client DbManagementClient) DeleteManagedDatabaseGroup(ctx context.Context, request DeleteManagedDatabaseGroupRequest) (response DeleteManagedDatabaseGroupResponse, err error)
DeleteManagedDatabaseGroup Deletes the Managed Database Group specified by managedDatabaseGroupId. If the group contains Managed Databases, then it cannot be deleted.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/DeleteManagedDatabaseGroup.go.html to see an example of how to use DeleteManagedDatabaseGroup API.
func (client DbManagementClient) GetAwrDbReport(ctx context.Context, request GetAwrDbReportRequest) (response GetAwrDbReportResponse, err error)
GetAwrDbReport Gets the AWR report for the specified Managed Database.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/GetAwrDbReport.go.html to see an example of how to use GetAwrDbReport API.
func (client DbManagementClient) GetAwrDbSqlReport(ctx context.Context, request GetAwrDbSqlReportRequest) (response GetAwrDbSqlReportResponse, err error)
GetAwrDbSqlReport Get a AWR SQL report for one SQL.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/GetAwrDbSqlReport.go.html to see an example of how to use GetAwrDbSqlReport API.
func (client DbManagementClient) GetClusterCacheMetric(ctx context.Context, request GetClusterCacheMetricRequest) (response GetClusterCacheMetricResponse, err error)
GetClusterCacheMetric Gets the metrics related to cluster cache for the Oracle Real Application Clusters (Oracle RAC) database specified by managedDatabaseId.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/GetClusterCacheMetric.go.html to see an example of how to use GetClusterCacheMetric API.
func (client DbManagementClient) GetDatabaseFleetHealthMetrics(ctx context.Context, request GetDatabaseFleetHealthMetricsRequest) (response GetDatabaseFleetHealthMetricsResponse, err error)
GetDatabaseFleetHealthMetrics Gets the health metrics for a fleet of databases in a compartment or in a Managed Database Group. Either the CompartmentId or the ManagedDatabaseGroupId query parameters must be provided to retrieve the health metrics.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/GetDatabaseFleetHealthMetrics.go.html to see an example of how to use GetDatabaseFleetHealthMetrics API.
func (client DbManagementClient) GetDatabaseHomeMetrics(ctx context.Context, request GetDatabaseHomeMetricsRequest) (response GetDatabaseHomeMetricsResponse, err error)
GetDatabaseHomeMetrics Gets a summary of the activity and resource usage metrics like DB Time, CPU, User I/O, Wait, Storage, and Memory for a Managed Database.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/GetDatabaseHomeMetrics.go.html to see an example of how to use GetDatabaseHomeMetrics API.
func (client DbManagementClient) GetJob(ctx context.Context, request GetJobRequest) (response GetJobResponse, err error)
GetJob Gets the details for the job specified by jobId.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/GetJob.go.html to see an example of how to use GetJob API.
func (client DbManagementClient) GetJobExecution(ctx context.Context, request GetJobExecutionRequest) (response GetJobExecutionResponse, err error)
GetJobExecution Gets the details for the job execution specified by jobExecutionId.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/GetJobExecution.go.html to see an example of how to use GetJobExecution API.
func (client DbManagementClient) GetJobRun(ctx context.Context, request GetJobRunRequest) (response GetJobRunResponse, err error)
GetJobRun Gets the details for the job run specified by jobRunId.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/GetJobRun.go.html to see an example of how to use GetJobRun API.
func (client DbManagementClient) GetManagedDatabase(ctx context.Context, request GetManagedDatabaseRequest) (response GetManagedDatabaseResponse, err error)
GetManagedDatabase Gets the details for the Managed Database specified by managedDatabaseId.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/GetManagedDatabase.go.html to see an example of how to use GetManagedDatabase API.
func (client DbManagementClient) GetManagedDatabaseGroup(ctx context.Context, request GetManagedDatabaseGroupRequest) (response GetManagedDatabaseGroupResponse, err error)
GetManagedDatabaseGroup Gets the details for the Managed Database Group specified by managedDatabaseGroupId.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/GetManagedDatabaseGroup.go.html to see an example of how to use GetManagedDatabaseGroup API.
func (client DbManagementClient) ListAwrDbSnapshots(ctx context.Context, request ListAwrDbSnapshotsRequest) (response ListAwrDbSnapshotsResponse, err error)
ListAwrDbSnapshots Lists AWR snapshots for the specified database in the AWR.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/ListAwrDbSnapshots.go.html to see an example of how to use ListAwrDbSnapshots API.
func (client DbManagementClient) ListAwrDbs(ctx context.Context, request ListAwrDbsRequest) (response ListAwrDbsResponse, err error)
ListAwrDbs Gets the list of databases and their snapshot summary details available in the AWR of the specified Managed Database.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/ListAwrDbs.go.html to see an example of how to use ListAwrDbs API.
func (client DbManagementClient) ListDatabaseParameters(ctx context.Context, request ListDatabaseParametersRequest) (response ListDatabaseParametersResponse, err error)
ListDatabaseParameters Gets the list of database parameters for the specified Managed Database. The parameters are listed in alphabetical order, along with their current values.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/ListDatabaseParameters.go.html to see an example of how to use ListDatabaseParameters API.
func (client DbManagementClient) ListJobExecutions(ctx context.Context, request ListJobExecutionsRequest) (response ListJobExecutionsResponse, err error)
ListJobExecutions Gets the job execution for a specific ID or the list of job executions for a job, Managed Database or Managed Database Group in a specific compartment. Only one of the parameters, ID, jobId, managedDatabaseId or managedDatabaseGroupId should be provided. If none of these parameters is provided, all the job executions in the compartment are listed. Job executions can also be filtered based on the name and status parameters.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/ListJobExecutions.go.html to see an example of how to use ListJobExecutions API.
func (client DbManagementClient) ListJobRuns(ctx context.Context, request ListJobRunsRequest) (response ListJobRunsResponse, err error)
ListJobRuns Gets the job run for a specific ID or the list of job runs for a job, Managed Database or Managed Database Group in a specific compartment. Only one of the parameters, ID, jobId, managedDatabaseId, or managedDatabaseGroupId should be provided. If none of these parameters is provided, all the job runs in the compartment are listed. Job runs can also be filtered based on name and runStatus parameters.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/ListJobRuns.go.html to see an example of how to use ListJobRuns API.
func (client DbManagementClient) ListJobs(ctx context.Context, request ListJobsRequest) (response ListJobsResponse, err error)
ListJobs Gets the job for a specific ID or the list of jobs for a Managed Database or Managed Database Group in a specific compartment. Only one of the parameters, ID, managedDatabaseId or managedDatabaseGroupId, should be provided. If none of these parameters is provided, all the jobs in the compartment are listed. Jobs can also be filtered based on the name and lifecycleState parameters.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/ListJobs.go.html to see an example of how to use ListJobs API.
func (client DbManagementClient) ListManagedDatabaseGroups(ctx context.Context, request ListManagedDatabaseGroupsRequest) (response ListManagedDatabaseGroupsResponse, err error)
ListManagedDatabaseGroups Gets the Managed Database Group for a specific ID or the list of Managed Database Groups in a specific compartment. Managed Database Groups can also be filtered based on the name parameter. Only one of the parameters, ID or name should be provided. If none of these parameters is provided, all the Managed Database Groups in the compartment are listed.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/ListManagedDatabaseGroups.go.html to see an example of how to use ListManagedDatabaseGroups API.
func (client DbManagementClient) ListManagedDatabases(ctx context.Context, request ListManagedDatabasesRequest) (response ListManagedDatabasesResponse, err error)
ListManagedDatabases Gets the Managed Database for a specific ID or the list of Managed Databases in a specific compartment. Managed Databases can also be filtered based on the name parameter. Only one of the parameters, ID or name should be provided. If none of these parameters is provided, all the Managed Databases in the compartment are listed.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/ListManagedDatabases.go.html to see an example of how to use ListManagedDatabases API.
func (client DbManagementClient) ListTablespaces(ctx context.Context, request ListTablespacesRequest) (response ListTablespacesResponse, err error)
ListTablespaces Gets the list of tablespaces for the specified managedDatabaseId.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/ListTablespaces.go.html to see an example of how to use ListTablespaces API.
func (client DbManagementClient) RemoveManagedDatabaseFromManagedDatabaseGroup(ctx context.Context, request RemoveManagedDatabaseFromManagedDatabaseGroupRequest) (response RemoveManagedDatabaseFromManagedDatabaseGroupResponse, err error)
RemoveManagedDatabaseFromManagedDatabaseGroup Removes a Managed Database from a Managed Database Group. Any management activities that are currently running on this database will continue to run to completion. However, any activities scheduled to run in the future will not be performed on this database.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/RemoveManagedDatabaseFromManagedDatabaseGroup.go.html to see an example of how to use RemoveManagedDatabaseFromManagedDatabaseGroup API.
func (client DbManagementClient) ResetDatabaseParameters(ctx context.Context, request ResetDatabaseParametersRequest) (response ResetDatabaseParametersResponse, err error)
ResetDatabaseParameters Resets database parameter values to their default or startup values.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/ResetDatabaseParameters.go.html to see an example of how to use ResetDatabaseParameters API.
func (client *DbManagementClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client DbManagementClient) SummarizeAwrDbCpuUsages(ctx context.Context, request SummarizeAwrDbCpuUsagesRequest) (response SummarizeAwrDbCpuUsagesResponse, err error)
SummarizeAwrDbCpuUsages Summarizes the AWR CPU resource limits and metrics for the specified database in AWR.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/SummarizeAwrDbCpuUsages.go.html to see an example of how to use SummarizeAwrDbCpuUsages API.
func (client DbManagementClient) SummarizeAwrDbMetrics(ctx context.Context, request SummarizeAwrDbMetricsRequest) (response SummarizeAwrDbMetricsResponse, err error)
SummarizeAwrDbMetrics Summarizes the metric samples for the specified database in the AWR. The metric samples are summarized based on the Time dimension for each metric.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/SummarizeAwrDbMetrics.go.html to see an example of how to use SummarizeAwrDbMetrics API.
func (client DbManagementClient) SummarizeAwrDbParameterChanges(ctx context.Context, request SummarizeAwrDbParameterChangesRequest) (response SummarizeAwrDbParameterChangesResponse, err error)
SummarizeAwrDbParameterChanges Summarizes the AWR database parameter change history for one database parameter of the specified Managed Database. One change history record contains the previous value, the changed value, and the corresponding time range. If the database parameter value was changed multiple times within the time range, then multiple change history records are created for the same parameter. Note that this API only returns information on change history details for one database parameter. To get a list of all the database parameters whose values were changed during a specified time range, use the following API endpoint: /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbParameters
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/SummarizeAwrDbParameterChanges.go.html to see an example of how to use SummarizeAwrDbParameterChanges API.
func (client DbManagementClient) SummarizeAwrDbParameters(ctx context.Context, request SummarizeAwrDbParametersRequest) (response SummarizeAwrDbParametersResponse, err error)
SummarizeAwrDbParameters Summarizes the AWR database parameter history for the specified Managed Database. This includes the list of database parameters, with information on whether the parameter values were modified within the query time range. Note that each database parameter is only listed once. The returned summary gets all the database parameters, which include:
-Each parameter whose value was changed during the time range: AwrDbParameterValueOptionalQueryParam (valueChanged ="Y") -Each parameter whose value was unchanged during the time range: AwrDbParameterValueOptionalQueryParam (valueChanged ="N") -Each parameter whose value was changed at the system level during the time range: (valueChanged ="Y" and valueModified = "SYSTEM_MOD"). -Each parameter whose value was unchanged during the time range, however, the value is not the default value: (valueChanged ="N" and valueDefault = "FALSE")
Note that this API does not return information on the number of times each database parameter has been changed within the time range. To get the database parameter value change history for a specific parameter, use the following API endpoint: /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbParameterChanges
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/SummarizeAwrDbParameters.go.html to see an example of how to use SummarizeAwrDbParameters API.
func (client DbManagementClient) SummarizeAwrDbSnapshotRanges(ctx context.Context, request SummarizeAwrDbSnapshotRangesRequest) (response SummarizeAwrDbSnapshotRangesResponse, err error)
SummarizeAwrDbSnapshotRanges Summarizes the AWR snapshot ranges that contain continuous snapshots, for the specified Managed Database.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/SummarizeAwrDbSnapshotRanges.go.html to see an example of how to use SummarizeAwrDbSnapshotRanges API.
func (client DbManagementClient) SummarizeAwrDbSysstats(ctx context.Context, request SummarizeAwrDbSysstatsRequest) (response SummarizeAwrDbSysstatsResponse, err error)
SummarizeAwrDbSysstats Summarizes the AWR SYSSTAT sample data for the specified database in AWR. The statistical data is summarized based on the Time dimension for each statistic.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/SummarizeAwrDbSysstats.go.html to see an example of how to use SummarizeAwrDbSysstats API.
func (client DbManagementClient) SummarizeAwrDbTopWaitEvents(ctx context.Context, request SummarizeAwrDbTopWaitEventsRequest) (response SummarizeAwrDbTopWaitEventsResponse, err error)
SummarizeAwrDbTopWaitEvents Summarizes the AWR top wait events.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/SummarizeAwrDbTopWaitEvents.go.html to see an example of how to use SummarizeAwrDbTopWaitEvents API.
func (client DbManagementClient) SummarizeAwrDbWaitEventBuckets(ctx context.Context, request SummarizeAwrDbWaitEventBucketsRequest) (response SummarizeAwrDbWaitEventBucketsResponse, err error)
SummarizeAwrDbWaitEventBuckets Summarizes AWR wait event data into value buckets and frequency, for the specified database in the AWR.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/SummarizeAwrDbWaitEventBuckets.go.html to see an example of how to use SummarizeAwrDbWaitEventBuckets API.
func (client DbManagementClient) SummarizeAwrDbWaitEvents(ctx context.Context, request SummarizeAwrDbWaitEventsRequest) (response SummarizeAwrDbWaitEventsResponse, err error)
SummarizeAwrDbWaitEvents Summarizes the AWR wait event sample data for the specified database in the AWR. The event data is summarized based on the Time dimension for each event.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/SummarizeAwrDbWaitEvents.go.html to see an example of how to use SummarizeAwrDbWaitEvents API.
func (client DbManagementClient) UpdateManagedDatabaseGroup(ctx context.Context, request UpdateManagedDatabaseGroupRequest) (response UpdateManagedDatabaseGroupResponse, err error)
UpdateManagedDatabaseGroup Updates the Managed Database Group specified by managedDatabaseGroupId.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/UpdateManagedDatabaseGroup.go.html to see an example of how to use UpdateManagedDatabaseGroup API.
DeleteJobRequest wrapper for the DeleteJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/DeleteJob.go.html to see an example of how to use DeleteJobRequest.
type DeleteJobRequest struct { // The identifier of the job. JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteJobRequest) String() string
DeleteJobResponse wrapper for the DeleteJob operation
type DeleteJobResponse 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 DeleteJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteJobResponse) String() string
DeleteManagedDatabaseGroupRequest wrapper for the DeleteManagedDatabaseGroup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/DeleteManagedDatabaseGroup.go.html to see an example of how to use DeleteManagedDatabaseGroupRequest.
type DeleteManagedDatabaseGroupRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group. ManagedDatabaseGroupId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseGroupId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteManagedDatabaseGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteManagedDatabaseGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteManagedDatabaseGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteManagedDatabaseGroupRequest) String() string
DeleteManagedDatabaseGroupResponse wrapper for the DeleteManagedDatabaseGroup operation
type DeleteManagedDatabaseGroupResponse 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 DeleteManagedDatabaseGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteManagedDatabaseGroupResponse) String() string
FleetMetricDefinition The database metric details.
type FleetMetricDefinition struct { // The name of the metric. MetricName *string `mandatory:"false" json:"metricName"` // The baseline value of the metric. BaselineValue *float64 `mandatory:"false" json:"baselineValue"` // The target value of the metric. TargetValue *float64 `mandatory:"false" json:"targetValue"` // The unit of the value. Unit *string `mandatory:"false" json:"unit"` // The data point date and time in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"` // The percentage change in the metric aggregated value compared to the baseline value. PercentageChange *float64 `mandatory:"false" json:"percentageChange"` // The dimensions of the metric. Dimensions []MetricDimensionDefinition `mandatory:"false" json:"dimensions"` }
func (m FleetMetricDefinition) String() string
FleetMetricSummaryDefinition A summary of the fleet metrics, which provides the metric aggregated value of the databases in the fleet.
type FleetMetricSummaryDefinition struct { // The name of the metric. MetricName *string `mandatory:"false" json:"metricName"` // The metric aggregated value at the baseline date and time. BaselineValue *float64 `mandatory:"false" json:"baselineValue"` // The metric aggregated value at the target date and time. TargetValue *float64 `mandatory:"false" json:"targetValue"` // The unit of the value. Unit *string `mandatory:"false" json:"unit"` // The percentage change in the metric aggregated value compared to the baseline value. PercentageChange *float64 `mandatory:"false" json:"percentageChange"` // The unique dimension key and values of the baseline metric. Dimensions []MetricDimensionDefinition `mandatory:"false" json:"dimensions"` }
func (m FleetMetricSummaryDefinition) String() string
FleetStatusByCategory The number of databases in the fleet, grouped by database type and sub type.
type FleetStatusByCategory struct { // The type of Oracle Database installation. DatabaseType DatabaseTypeEnum `mandatory:"false" json:"databaseType,omitempty"` // The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or a Non-container Database. DatabaseSubType DatabaseSubTypeEnum `mandatory:"false" json:"databaseSubType,omitempty"` // The number of databases in the fleet. InventoryCount *int `mandatory:"false" json:"inventoryCount"` }
func (m FleetStatusByCategory) String() string
FleetSummary A summary of the inventory count grouped by database type and subtype, and the metrics that describe the aggregated usage of CPU, storage, and so on of all the databases in the fleet.
type FleetSummary struct { // A list of databases present in the fleet and their usage metrics. AggregatedMetrics []FleetMetricSummaryDefinition `mandatory:"false" json:"aggregatedMetrics"` // A list of the databases in the fleet, grouped by database type and subtype. Inventory []FleetStatusByCategory `mandatory:"false" json:"inventory"` }
func (m FleetSummary) String() string
GetAwrDbReportReportFormatEnum Enum with underlying type: string
type GetAwrDbReportReportFormatEnum string
Set of constants representing the allowable values for GetAwrDbReportReportFormatEnum
const ( GetAwrDbReportReportFormatHtml GetAwrDbReportReportFormatEnum = "HTML" GetAwrDbReportReportFormatText GetAwrDbReportReportFormatEnum = "TEXT" )
func GetGetAwrDbReportReportFormatEnumValues() []GetAwrDbReportReportFormatEnum
GetGetAwrDbReportReportFormatEnumValues Enumerates the set of values for GetAwrDbReportReportFormatEnum
GetAwrDbReportReportTypeEnum Enum with underlying type: string
type GetAwrDbReportReportTypeEnum string
Set of constants representing the allowable values for GetAwrDbReportReportTypeEnum
const ( GetAwrDbReportReportTypeAwr GetAwrDbReportReportTypeEnum = "AWR" GetAwrDbReportReportTypeAsh GetAwrDbReportReportTypeEnum = "ASH" )
func GetGetAwrDbReportReportTypeEnumValues() []GetAwrDbReportReportTypeEnum
GetGetAwrDbReportReportTypeEnumValues Enumerates the set of values for GetAwrDbReportReportTypeEnum
GetAwrDbReportRequest wrapper for the GetAwrDbReport operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/GetAwrDbReport.go.html to see an example of how to use GetAwrDbReportRequest.
type GetAwrDbReportRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The parameter to filter the database by internal ID. // Note that the internal ID of the database can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs: AwrDbId *string `mandatory:"true" contributesTo:"path" name:"awrDbId"` // The optional multiple value query parameter to filter the database instance numbers. InstNums []int `contributesTo:"query" name:"instNums" collectionFormat:"csv"` // The optional greater than or equal to filter on the snapshot ID. BeginSnIdGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnIdGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the snapshot ID. EndSnIdLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnIdLessThanOrEqualTo"` // The optional greater than or equal to query parameter to filter the timestamp. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The query parameter to filter the AWR report types. ReportType GetAwrDbReportReportTypeEnum `mandatory:"false" contributesTo:"query" name:"reportType" omitEmpty:"true"` // The optional query parameter to filter the database container by an exact ID value. // Note that the database container ID can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges ContainerId *int `mandatory:"false" contributesTo:"query" name:"containerId"` // The format of the AWR report. ReportFormat GetAwrDbReportReportFormatEnum `mandatory:"false" contributesTo:"query" name:"reportFormat" omitEmpty:"true"` // 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. 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 GetAwrDbReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAwrDbReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAwrDbReportRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAwrDbReportRequest) String() string
GetAwrDbReportResponse wrapper for the GetAwrDbReport operation
type GetAwrDbReportResponse struct { // The underlying http response RawResponse *http.Response // The AwrDbReport instance AwrDbReport `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 GetAwrDbReportResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAwrDbReportResponse) String() string
GetAwrDbSqlReportReportFormatEnum Enum with underlying type: string
type GetAwrDbSqlReportReportFormatEnum string
Set of constants representing the allowable values for GetAwrDbSqlReportReportFormatEnum
const ( GetAwrDbSqlReportReportFormatHtml GetAwrDbSqlReportReportFormatEnum = "HTML" GetAwrDbSqlReportReportFormatText GetAwrDbSqlReportReportFormatEnum = "TEXT" )
func GetGetAwrDbSqlReportReportFormatEnumValues() []GetAwrDbSqlReportReportFormatEnum
GetGetAwrDbSqlReportReportFormatEnumValues Enumerates the set of values for GetAwrDbSqlReportReportFormatEnum
GetAwrDbSqlReportRequest wrapper for the GetAwrDbSqlReport operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/GetAwrDbSqlReport.go.html to see an example of how to use GetAwrDbSqlReportRequest.
type GetAwrDbSqlReportRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The parameter to filter the database by internal ID. // Note that the internal ID of the database can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs: AwrDbId *string `mandatory:"true" contributesTo:"path" name:"awrDbId"` // The parameter to filter SQL by ID. Note that the SQL ID is generated internally by Oracle for each SQL statement and can be retrieved from AWR Report API (/managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbReport) or Performance Hub API (/internal/managedDatabases/{managedDatabaseId}/actions/retrievePerformanceData) SqlId *string `mandatory:"true" contributesTo:"query" name:"sqlId"` // The optional single value query parameter to filter the database instance number. InstNum *string `mandatory:"false" contributesTo:"query" name:"instNum"` // The optional greater than or equal to filter on the snapshot ID. BeginSnIdGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnIdGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the snapshot ID. EndSnIdLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnIdLessThanOrEqualTo"` // The optional greater than or equal to query parameter to filter the timestamp. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The format of the AWR report. ReportFormat GetAwrDbSqlReportReportFormatEnum `mandatory:"false" contributesTo:"query" name:"reportFormat" omitEmpty:"true"` // The optional query parameter to filter the database container by an exact ID value. // Note that the database container ID can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges ContainerId *int `mandatory:"false" contributesTo:"query" name:"containerId"` // 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. 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 GetAwrDbSqlReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAwrDbSqlReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAwrDbSqlReportRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAwrDbSqlReportRequest) String() string
GetAwrDbSqlReportResponse wrapper for the GetAwrDbSqlReport operation
type GetAwrDbSqlReportResponse struct { // The underlying http response RawResponse *http.Response // The AwrDbSqlReport instance AwrDbSqlReport `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 GetAwrDbSqlReportResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAwrDbSqlReportResponse) String() string
GetClusterCacheMetricRequest wrapper for the GetClusterCacheMetric operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/GetClusterCacheMetric.go.html to see an example of how to use GetClusterCacheMetricRequest.
type GetClusterCacheMetricRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The start time for the time range to retrieve the health metrics of a Managed Database // in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". StartTime *string `mandatory:"true" contributesTo:"query" name:"startTime"` // The end time for the time range to retrieve the health metrics of a Managed Database // in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". EndTime *string `mandatory:"true" contributesTo:"query" name:"endTime"` // 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 GetClusterCacheMetricRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetClusterCacheMetricRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetClusterCacheMetricRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetClusterCacheMetricRequest) String() string
GetClusterCacheMetricResponse wrapper for the GetClusterCacheMetric operation
type GetClusterCacheMetricResponse struct { // The underlying http response RawResponse *http.Response // The ClusterCacheMetric instance ClusterCacheMetric `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 GetClusterCacheMetricResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetClusterCacheMetricResponse) String() string
GetDatabaseFleetHealthMetricsCompareTypeEnum Enum with underlying type: string
type GetDatabaseFleetHealthMetricsCompareTypeEnum string
Set of constants representing the allowable values for GetDatabaseFleetHealthMetricsCompareTypeEnum
const ( GetDatabaseFleetHealthMetricsCompareTypeHour GetDatabaseFleetHealthMetricsCompareTypeEnum = "HOUR" GetDatabaseFleetHealthMetricsCompareTypeDay GetDatabaseFleetHealthMetricsCompareTypeEnum = "DAY" )
func GetGetDatabaseFleetHealthMetricsCompareTypeEnumValues() []GetDatabaseFleetHealthMetricsCompareTypeEnum
GetGetDatabaseFleetHealthMetricsCompareTypeEnumValues Enumerates the set of values for GetDatabaseFleetHealthMetricsCompareTypeEnum
GetDatabaseFleetHealthMetricsRequest wrapper for the GetDatabaseFleetHealthMetrics operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/GetDatabaseFleetHealthMetrics.go.html to see an example of how to use GetDatabaseFleetHealthMetricsRequest.
type GetDatabaseFleetHealthMetricsRequest struct { // The baseline time for metrics comparison. CompareBaselineTime *string `mandatory:"true" contributesTo:"query" name:"compareBaselineTime"` // The target time for metrics comparison. CompareTargetTime *string `mandatory:"true" contributesTo:"query" name:"compareTargetTime"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group. ManagedDatabaseGroupId *string `mandatory:"false" contributesTo:"query" name:"managedDatabaseGroupId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The time window used for metrics comparison. CompareType GetDatabaseFleetHealthMetricsCompareTypeEnum `mandatory:"false" contributesTo:"query" name:"compareType" omitEmpty:"true"` // The filter used to retrieve a specific set of metrics by passing the desired metric names with a comma separator. Note that, by default, the service returns all supported metrics. FilterByMetricNames *string `mandatory:"false" contributesTo:"query" name:"filterByMetricNames"` // The filter used to filter the databases in the fleet by a specific Oracle Database type. FilterByDatabaseType *string `mandatory:"false" contributesTo:"query" name:"filterByDatabaseType"` // The filter used to filter the databases in the fleet by a specific Oracle Database subtype. FilterByDatabaseSubType *string `mandatory:"false" contributesTo:"query" name:"filterByDatabaseSubType"` // 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 GetDatabaseFleetHealthMetricsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDatabaseFleetHealthMetricsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDatabaseFleetHealthMetricsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDatabaseFleetHealthMetricsRequest) String() string
GetDatabaseFleetHealthMetricsResponse wrapper for the GetDatabaseFleetHealthMetrics operation
type GetDatabaseFleetHealthMetricsResponse struct { // The underlying http response RawResponse *http.Response // The DatabaseFleetHealthMetrics instance DatabaseFleetHealthMetrics `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 GetDatabaseFleetHealthMetricsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDatabaseFleetHealthMetricsResponse) String() string
GetDatabaseHomeMetricsRequest wrapper for the GetDatabaseHomeMetrics operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/GetDatabaseHomeMetrics.go.html to see an example of how to use GetDatabaseHomeMetricsRequest.
type GetDatabaseHomeMetricsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"query" name:"managedDatabaseId"` // The start time for the time range to retrieve the health metrics of a Managed Database // in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". StartTime *string `mandatory:"true" contributesTo:"query" name:"startTime"` // The end time for the time range to retrieve the health metrics of a Managed Database // in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". EndTime *string `mandatory:"true" contributesTo:"query" name:"endTime"` // 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 GetDatabaseHomeMetricsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDatabaseHomeMetricsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDatabaseHomeMetricsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDatabaseHomeMetricsRequest) String() string
GetDatabaseHomeMetricsResponse wrapper for the GetDatabaseHomeMetrics operation
type GetDatabaseHomeMetricsResponse struct { // The underlying http response RawResponse *http.Response // The DatabaseHomeMetrics instance DatabaseHomeMetrics `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 GetDatabaseHomeMetricsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDatabaseHomeMetricsResponse) String() string
GetJobExecutionRequest wrapper for the GetJobExecution operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/GetJobExecution.go.html to see an example of how to use GetJobExecutionRequest.
type GetJobExecutionRequest struct { // The identifier of the job execution. JobExecutionId *string `mandatory:"true" contributesTo:"path" name:"jobExecutionId"` // 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 GetJobExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetJobExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetJobExecutionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetJobExecutionRequest) String() string
GetJobExecutionResponse wrapper for the GetJobExecution operation
type GetJobExecutionResponse struct { // The underlying http response RawResponse *http.Response // The JobExecution instance JobExecution `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 GetJobExecutionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetJobExecutionResponse) String() string
GetJobRequest wrapper for the GetJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/GetJob.go.html to see an example of how to use GetJobRequest.
type GetJobRequest struct { // The identifier of the job. JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"` // 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 GetJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetJobRequest) String() string
GetJobResponse wrapper for the GetJob operation
type GetJobResponse struct { // The underlying http response RawResponse *http.Response // The Job instance Job `presentIn:"body"` // A link to the created job. Location *string `presentIn:"header" name:"location"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response GetJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetJobResponse) String() string
GetJobRunRequest wrapper for the GetJobRun operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/GetJobRun.go.html to see an example of how to use GetJobRunRequest.
type GetJobRunRequest struct { // The identifier of the job run. JobRunId *string `mandatory:"true" contributesTo:"path" name:"jobRunId"` // 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 GetJobRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetJobRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetJobRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetJobRunRequest) String() string
GetJobRunResponse wrapper for the GetJobRun operation
type GetJobRunResponse struct { // The underlying http response RawResponse *http.Response // The JobRun instance JobRun `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 GetJobRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetJobRunResponse) String() string
GetManagedDatabaseGroupRequest wrapper for the GetManagedDatabaseGroup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/GetManagedDatabaseGroup.go.html to see an example of how to use GetManagedDatabaseGroupRequest.
type GetManagedDatabaseGroupRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group. ManagedDatabaseGroupId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseGroupId"` // 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 GetManagedDatabaseGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetManagedDatabaseGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetManagedDatabaseGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetManagedDatabaseGroupRequest) String() string
GetManagedDatabaseGroupResponse wrapper for the GetManagedDatabaseGroup operation
type GetManagedDatabaseGroupResponse struct { // The underlying http response RawResponse *http.Response // The ManagedDatabaseGroup instance ManagedDatabaseGroup `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 optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response GetManagedDatabaseGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetManagedDatabaseGroupResponse) String() string
GetManagedDatabaseRequest wrapper for the GetManagedDatabase operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/GetManagedDatabase.go.html to see an example of how to use GetManagedDatabaseRequest.
type GetManagedDatabaseRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // 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 GetManagedDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetManagedDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetManagedDatabaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetManagedDatabaseRequest) String() string
GetManagedDatabaseResponse wrapper for the GetManagedDatabase operation
type GetManagedDatabaseResponse struct { // The underlying http response RawResponse *http.Response // The ManagedDatabase instance ManagedDatabase `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 GetManagedDatabaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetManagedDatabaseResponse) String() string
InstanceDetails The details of the Oracle Real Application Clusters (Oracle RAC) database instance.
type InstanceDetails struct { // The ID of the Oracle RAC database instance. Id *int `mandatory:"true" json:"id"` // The name of the Oracle RAC database instance. Name *string `mandatory:"true" json:"name"` // The name of the host of the Oracle RAC database instance. HostName *string `mandatory:"true" json:"hostName"` // The status of the Oracle RAC database instance. Status InstanceDetailsStatusEnum `mandatory:"true" json:"status"` }
func (m InstanceDetails) String() string
InstanceDetailsStatusEnum Enum with underlying type: string
type InstanceDetailsStatusEnum string
Set of constants representing the allowable values for InstanceDetailsStatusEnum
const ( InstanceDetailsStatusUp InstanceDetailsStatusEnum = "UP" InstanceDetailsStatusDown InstanceDetailsStatusEnum = "DOWN" InstanceDetailsStatusUnknown InstanceDetailsStatusEnum = "UNKNOWN" )
func GetInstanceDetailsStatusEnumValues() []InstanceDetailsStatusEnum
GetInstanceDetailsStatusEnumValues Enumerates the set of values for InstanceDetailsStatusEnum
Job The details of the job.
type Job interface { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the job. GetId() *string // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the job resides. GetCompartmentId() *string // The display name of the job. GetName() *string // The schedule type of the job. GetScheduleType() JobScheduleTypeEnum // The lifecycle state of the job. GetLifecycleState() JobLifecycleStateEnum // The date and time when the job was created. GetTimeCreated() *common.SDKTime // The date and time when the job was last updated. GetTimeUpdated() *common.SDKTime // The description of the job. GetDescription() *string // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group where the job has to be executed. GetManagedDatabaseGroupId() *string // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database where the job has to be executed. GetManagedDatabaseId() *string // The details of the Managed Databases where the job has to be executed. GetManagedDatabasesDetails() []JobDatabase // The subtype of the Oracle Database where the job has to be executed. Applicable only when managedDatabaseGroupId is provided. GetDatabaseSubType() DatabaseSubTypeEnum // The job timeout duration, which is expressed like "1h 10m 15s". GetTimeout() *string GetResultLocation() JobExecutionResultLocation // The error message that is returned if the job submission fails. Null is returned in all other scenarios. GetSubmissionErrorMessage() *string }
JobCollection A collection of job objects.
type JobCollection struct { // A list of JobSummary objects. Items []JobSummary `mandatory:"true" json:"items"` }
func (m JobCollection) String() string
JobDatabase The Managed Database on which the job is executed.
type JobDatabase struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. Id *string `mandatory:"true" json:"id"` // The name of the Managed Database. Name *string `mandatory:"true" json:"name"` }
func (m JobDatabase) String() string
JobExecution The details of a job execution.
type JobExecution struct { // The identifier of the job execution. Id *string `mandatory:"true" json:"id"` // The name of the job execution. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the parent job resides. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database associated with the job execution. ManagedDatabaseId *string `mandatory:"true" json:"managedDatabaseId"` // The name of the Managed Database associated with the job execution. ManagedDatabaseName *string `mandatory:"true" json:"managedDatabaseName"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the parent job. JobId *string `mandatory:"true" json:"jobId"` // The name of the parent job. JobName *string `mandatory:"true" json:"jobName"` // The identifier of the associated job run. JobRunId *string `mandatory:"true" json:"jobRunId"` // The status of the job execution. Status JobExecutionStatusEnum `mandatory:"true" json:"status"` // The date and time when the job execution was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group where the parent job has to be executed. ManagedDatabaseGroupId *string `mandatory:"false" json:"managedDatabaseGroupId"` // The error message that is returned if the job execution fails. Null is returned if the job is // still running or if the job execution is successful. ErrorMessage *string `mandatory:"false" json:"errorMessage"` ResultDetails JobExecutionResultDetails `mandatory:"false" json:"resultDetails"` // The date and time when the job execution completed. TimeCompleted *common.SDKTime `mandatory:"false" json:"timeCompleted"` }
func (m JobExecution) String() string
func (m *JobExecution) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
JobExecutionCollection A collection of job execution objects.
type JobExecutionCollection struct { // A list of JobExecutionSummary objects. Items []JobExecutionSummary `mandatory:"true" json:"items"` }
func (m JobExecutionCollection) String() string
JobExecutionResultDetails The job execution result details.
type JobExecutionResultDetails interface { }
JobExecutionResultDetailsTypeEnum Enum with underlying type: string
type JobExecutionResultDetailsTypeEnum string
Set of constants representing the allowable values for JobExecutionResultDetailsTypeEnum
const ( JobExecutionResultDetailsTypeObjectStorage JobExecutionResultDetailsTypeEnum = "OBJECT_STORAGE" )
func GetJobExecutionResultDetailsTypeEnumValues() []JobExecutionResultDetailsTypeEnum
GetJobExecutionResultDetailsTypeEnumValues Enumerates the set of values for JobExecutionResultDetailsTypeEnum
JobExecutionResultLocation The location of the job execution result.
type JobExecutionResultLocation interface { }
JobExecutionResultLocationTypeEnum Enum with underlying type: string
type JobExecutionResultLocationTypeEnum string
Set of constants representing the allowable values for JobExecutionResultLocationTypeEnum
const ( JobExecutionResultLocationTypeObjectStorage JobExecutionResultLocationTypeEnum = "OBJECT_STORAGE" )
func GetJobExecutionResultLocationTypeEnumValues() []JobExecutionResultLocationTypeEnum
GetJobExecutionResultLocationTypeEnumValues Enumerates the set of values for JobExecutionResultLocationTypeEnum
JobExecutionStatusEnum Enum with underlying type: string
type JobExecutionStatusEnum string
Set of constants representing the allowable values for JobExecutionStatusEnum
const ( JobExecutionStatusSucceeded JobExecutionStatusEnum = "SUCCEEDED" JobExecutionStatusFailed JobExecutionStatusEnum = "FAILED" JobExecutionStatusInProgress JobExecutionStatusEnum = "IN_PROGRESS" )
func GetJobExecutionStatusEnumValues() []JobExecutionStatusEnum
GetJobExecutionStatusEnumValues Enumerates the set of values for JobExecutionStatusEnum
JobExecutionSummary A summary of a job execution on a Managed Database.
type JobExecutionSummary struct { // The identifier of the job execution. Id *string `mandatory:"true" json:"id"` // The name of the job execution. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the parent job resides. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of Managed Database associated with the job execution. ManagedDatabaseId *string `mandatory:"true" json:"managedDatabaseId"` // The name of the Managed Database associated with the job execution. ManagedDatabaseName *string `mandatory:"true" json:"managedDatabaseName"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the parent job. JobId *string `mandatory:"true" json:"jobId"` // The name of the parent job. JobName *string `mandatory:"true" json:"jobName"` // The status of the job execution. Status JobExecutionStatusEnum `mandatory:"true" json:"status"` // The date and time when the job execution was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group where the parent job has to be executed. ManagedDatabaseGroupId *string `mandatory:"false" json:"managedDatabaseGroupId"` // The date and time when the job execution was completed. TimeCompleted *common.SDKTime `mandatory:"false" json:"timeCompleted"` }
func (m JobExecutionSummary) String() string
JobLifecycleStateEnum Enum with underlying type: string
type JobLifecycleStateEnum string
Set of constants representing the allowable values for JobLifecycleStateEnum
const ( JobLifecycleStateActive JobLifecycleStateEnum = "ACTIVE" JobLifecycleStateInactive JobLifecycleStateEnum = "INACTIVE" )
func GetJobLifecycleStateEnumValues() []JobLifecycleStateEnum
GetJobLifecycleStateEnumValues Enumerates the set of values for JobLifecycleStateEnum
JobRun The details of a specific job run.
type JobRun struct { // The identifier of the job run. Id *string `mandatory:"true" json:"id"` // The name of the job run. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the parent job resides. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the parent job. JobId *string `mandatory:"true" json:"jobId"` // The name of the parent job. JobName *string `mandatory:"true" json:"jobName"` // The status of the job run. RunStatus JobRunRunStatusEnum `mandatory:"true" json:"runStatus"` // The date and time when the job run was submitted. TimeSubmitted *common.SDKTime `mandatory:"true" json:"timeSubmitted"` // The date and time when the job run was last updated. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group where the parent job has to be executed. ManagedDatabaseGroupId *string `mandatory:"false" json:"managedDatabaseGroupId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of Managed Database where the parent job has to be executed. ManagedDatabaseId *string `mandatory:"false" json:"managedDatabaseId"` }
func (m JobRun) String() string
JobRunCollection A collection of job run objects.
type JobRunCollection struct { // A list of JobRunSummary objects. Items []JobRunSummary `mandatory:"true" json:"items"` }
func (m JobRunCollection) String() string
JobRunRunStatusEnum Enum with underlying type: string
type JobRunRunStatusEnum string
Set of constants representing the allowable values for JobRunRunStatusEnum
const ( JobRunRunStatusCompleted JobRunRunStatusEnum = "COMPLETED" JobRunRunStatusFailed JobRunRunStatusEnum = "FAILED" JobRunRunStatusInProgress JobRunRunStatusEnum = "IN_PROGRESS" )
func GetJobRunRunStatusEnumValues() []JobRunRunStatusEnum
GetJobRunRunStatusEnumValues Enumerates the set of values for JobRunRunStatusEnum
JobRunSummary A summary of a specific job run.
type JobRunSummary struct { // The identifier of the job run. Id *string `mandatory:"true" json:"id"` // The name of the job run. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the parent job resides. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the parent job. JobId *string `mandatory:"true" json:"jobId"` // The name of the parent job. JobName *string `mandatory:"true" json:"jobName"` // The status of the job run. RunStatus JobRunRunStatusEnum `mandatory:"true" json:"runStatus"` // The date and time when the job run was submitted. TimeSubmitted *common.SDKTime `mandatory:"true" json:"timeSubmitted"` // The date and time when the job run was last updated. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group where the parent job has to be executed. ManagedDatabaseGroupId *string `mandatory:"false" json:"managedDatabaseGroupId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database where the parent job has to be executed. ManagedDatabaseId *string `mandatory:"false" json:"managedDatabaseId"` }
func (m JobRunSummary) String() string
JobScheduleTypeEnum Enum with underlying type: string
type JobScheduleTypeEnum string
Set of constants representing the allowable values for JobScheduleTypeEnum
const ( JobScheduleTypeImmediate JobScheduleTypeEnum = "IMMEDIATE" )
func GetJobScheduleTypeEnumValues() []JobScheduleTypeEnum
GetJobScheduleTypeEnumValues Enumerates the set of values for JobScheduleTypeEnum
JobSummary A summary of the job.
type JobSummary struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the job. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the job resides. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The display name of the job. Name *string `mandatory:"true" json:"name"` // The schedule type of the job. ScheduleType JobScheduleTypeEnum `mandatory:"true" json:"scheduleType"` // The type of job. JobType JobTypesEnum `mandatory:"true" json:"jobType"` // The lifecycle state of the job. LifecycleState JobLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The date and time when the job was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time when the job was last updated. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The description of the job. Description *string `mandatory:"false" json:"description"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group where the job has to be executed. ManagedDatabaseGroupId *string `mandatory:"false" json:"managedDatabaseGroupId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database where the job has to be executed. ManagedDatabaseId *string `mandatory:"false" json:"managedDatabaseId"` // The subtype of the Oracle Database where the job has to be executed. Only applicable when managedDatabaseGroupId is provided. DatabaseSubType DatabaseSubTypeEnum `mandatory:"false" json:"databaseSubType,omitempty"` // The job timeout duration, which is expressed like "1h 10m 15s". Timeout *string `mandatory:"false" json:"timeout"` // The error message that is returned if the job submission fails. Null is returned in all other scenarios. SubmissionErrorMessage *string `mandatory:"false" json:"submissionErrorMessage"` }
func (m JobSummary) String() string
JobTypesEnum Enum with underlying type: string
type JobTypesEnum string
Set of constants representing the allowable values for JobTypesEnum
const ( JobTypesSql JobTypesEnum = "SQL" )
func GetJobTypesEnumValues() []JobTypesEnum
GetJobTypesEnumValues Enumerates the set of values for JobTypesEnum
LifecycleStatesEnum Enum with underlying type: string
type LifecycleStatesEnum string
Set of constants representing the allowable values for LifecycleStatesEnum
const ( LifecycleStatesCreating LifecycleStatesEnum = "CREATING" LifecycleStatesUpdating LifecycleStatesEnum = "UPDATING" LifecycleStatesActive LifecycleStatesEnum = "ACTIVE" LifecycleStatesDeleting LifecycleStatesEnum = "DELETING" LifecycleStatesDeleted LifecycleStatesEnum = "DELETED" LifecycleStatesFailed LifecycleStatesEnum = "FAILED" )
func GetLifecycleStatesEnumValues() []LifecycleStatesEnum
GetLifecycleStatesEnumValues Enumerates the set of values for LifecycleStatesEnum
ListAwrDbSnapshotsRequest wrapper for the ListAwrDbSnapshots operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/ListAwrDbSnapshots.go.html to see an example of how to use ListAwrDbSnapshotsRequest.
type ListAwrDbSnapshotsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The parameter to filter the database by internal ID. // Note that the internal ID of the database can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs: AwrDbId *string `mandatory:"true" contributesTo:"path" name:"awrDbId"` // The optional single value query parameter to filter the database instance number. InstNum *string `mandatory:"false" contributesTo:"query" name:"instNum"` // The optional greater than or equal to filter on the snapshot ID. BeginSnIdGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnIdGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the snapshot ID. EndSnIdLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnIdLessThanOrEqualTo"` // The optional greater than or equal to query parameter to filter the timestamp. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The optional query parameter to filter the database container by an exact ID value. // Note that the database container ID can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges ContainerId *int `mandatory:"false" contributesTo:"query" name:"containerId"` // The page token representing the page, from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The option to sort the AWR snapshot summary data. SortBy ListAwrDbSnapshotsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the the default order. SortOrder ListAwrDbSnapshotsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // 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. 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 ListAwrDbSnapshotsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAwrDbSnapshotsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAwrDbSnapshotsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAwrDbSnapshotsRequest) String() string
ListAwrDbSnapshotsResponse wrapper for the ListAwrDbSnapshots operation
type ListAwrDbSnapshotsResponse struct { // The underlying http response RawResponse *http.Response // A list of AwrDbSnapshotCollection instances AwrDbSnapshotCollection `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 ListAwrDbSnapshotsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAwrDbSnapshotsResponse) String() string
ListAwrDbSnapshotsSortByEnum Enum with underlying type: string
type ListAwrDbSnapshotsSortByEnum string
Set of constants representing the allowable values for ListAwrDbSnapshotsSortByEnum
const ( ListAwrDbSnapshotsSortByTimeBegin ListAwrDbSnapshotsSortByEnum = "TIME_BEGIN" ListAwrDbSnapshotsSortBySnapshotId ListAwrDbSnapshotsSortByEnum = "SNAPSHOT_ID" )
func GetListAwrDbSnapshotsSortByEnumValues() []ListAwrDbSnapshotsSortByEnum
GetListAwrDbSnapshotsSortByEnumValues Enumerates the set of values for ListAwrDbSnapshotsSortByEnum
ListAwrDbSnapshotsSortOrderEnum Enum with underlying type: string
type ListAwrDbSnapshotsSortOrderEnum string
Set of constants representing the allowable values for ListAwrDbSnapshotsSortOrderEnum
const ( ListAwrDbSnapshotsSortOrderAsc ListAwrDbSnapshotsSortOrderEnum = "ASC" ListAwrDbSnapshotsSortOrderDesc ListAwrDbSnapshotsSortOrderEnum = "DESC" )
func GetListAwrDbSnapshotsSortOrderEnumValues() []ListAwrDbSnapshotsSortOrderEnum
GetListAwrDbSnapshotsSortOrderEnumValues Enumerates the set of values for ListAwrDbSnapshotsSortOrderEnum
ListAwrDbsRequest wrapper for the ListAwrDbs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/ListAwrDbs.go.html to see an example of how to use ListAwrDbsRequest.
type ListAwrDbsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The optional single value query parameter to filter the entity name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The optional greater than or equal to query parameter to filter the timestamp. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The page token representing the page, from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The option to sort the AWR summary data. SortBy ListAwrDbsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the the default order. SortOrder ListAwrDbsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // 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. 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 ListAwrDbsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAwrDbsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAwrDbsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAwrDbsRequest) String() string
ListAwrDbsResponse wrapper for the ListAwrDbs operation
type ListAwrDbsResponse struct { // The underlying http response RawResponse *http.Response // A list of AwrDbCollection instances AwrDbCollection `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 ListAwrDbsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAwrDbsResponse) String() string
ListAwrDbsSortByEnum Enum with underlying type: string
type ListAwrDbsSortByEnum string
Set of constants representing the allowable values for ListAwrDbsSortByEnum
const ( ListAwrDbsSortByEndIntervalTime ListAwrDbsSortByEnum = "END_INTERVAL_TIME" ListAwrDbsSortByName ListAwrDbsSortByEnum = "NAME" )
func GetListAwrDbsSortByEnumValues() []ListAwrDbsSortByEnum
GetListAwrDbsSortByEnumValues Enumerates the set of values for ListAwrDbsSortByEnum
ListAwrDbsSortOrderEnum Enum with underlying type: string
type ListAwrDbsSortOrderEnum string
Set of constants representing the allowable values for ListAwrDbsSortOrderEnum
const ( ListAwrDbsSortOrderAsc ListAwrDbsSortOrderEnum = "ASC" ListAwrDbsSortOrderDesc ListAwrDbsSortOrderEnum = "DESC" )
func GetListAwrDbsSortOrderEnumValues() []ListAwrDbsSortOrderEnum
GetListAwrDbsSortOrderEnumValues Enumerates the set of values for ListAwrDbsSortOrderEnum
ListDatabaseParametersRequest wrapper for the ListDatabaseParameters operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/ListDatabaseParameters.go.html to see an example of how to use ListDatabaseParametersRequest.
type ListDatabaseParametersRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The source used to list database parameters. `CURRENT` is used to get the // database parameters that are currently in effect for the database // instance. `SPFILE` is used to list parameters from the server parameter // file. Default is `CURRENT`. Source ListDatabaseParametersSourceEnum `mandatory:"false" contributesTo:"query" name:"source" omitEmpty:"true"` // A filter to return all parameters that have the text given in their names. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // When true, results include a list of valid values for parameters (if applicable). IsAllowedValuesIncluded *bool `mandatory:"false" contributesTo:"query" name:"isAllowedValuesIncluded"` // The field to sort information by. Only one sortOrder can be used. The // default sort order for `NAME` is ascending and it is case-sensitive. SortBy ListDatabaseParametersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the the default order. SortOrder ListDatabaseParametersSortOrderEnum `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 ListDatabaseParametersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDatabaseParametersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDatabaseParametersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDatabaseParametersRequest) String() string
ListDatabaseParametersResponse wrapper for the ListDatabaseParameters operation
type ListDatabaseParametersResponse struct { // The underlying http response RawResponse *http.Response // The DatabaseParametersCollection instance DatabaseParametersCollection `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 ListDatabaseParametersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDatabaseParametersResponse) String() string
ListDatabaseParametersSortByEnum Enum with underlying type: string
type ListDatabaseParametersSortByEnum string
Set of constants representing the allowable values for ListDatabaseParametersSortByEnum
const ( ListDatabaseParametersSortByName ListDatabaseParametersSortByEnum = "NAME" )
func GetListDatabaseParametersSortByEnumValues() []ListDatabaseParametersSortByEnum
GetListDatabaseParametersSortByEnumValues Enumerates the set of values for ListDatabaseParametersSortByEnum
ListDatabaseParametersSortOrderEnum Enum with underlying type: string
type ListDatabaseParametersSortOrderEnum string
Set of constants representing the allowable values for ListDatabaseParametersSortOrderEnum
const ( ListDatabaseParametersSortOrderAsc ListDatabaseParametersSortOrderEnum = "ASC" ListDatabaseParametersSortOrderDesc ListDatabaseParametersSortOrderEnum = "DESC" )
func GetListDatabaseParametersSortOrderEnumValues() []ListDatabaseParametersSortOrderEnum
GetListDatabaseParametersSortOrderEnumValues Enumerates the set of values for ListDatabaseParametersSortOrderEnum
ListDatabaseParametersSourceEnum Enum with underlying type: string
type ListDatabaseParametersSourceEnum string
Set of constants representing the allowable values for ListDatabaseParametersSourceEnum
const ( ListDatabaseParametersSourceCurrent ListDatabaseParametersSourceEnum = "CURRENT" ListDatabaseParametersSourceSpfile ListDatabaseParametersSourceEnum = "SPFILE" )
func GetListDatabaseParametersSourceEnumValues() []ListDatabaseParametersSourceEnum
GetListDatabaseParametersSourceEnumValues Enumerates the set of values for ListDatabaseParametersSourceEnum
ListJobExecutionsRequest wrapper for the ListJobExecutions operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/ListJobExecutions.go.html to see an example of how to use ListJobExecutionsRequest.
type ListJobExecutionsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The identifier of the resource. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // The identifier of the job. JobId *string `mandatory:"false" contributesTo:"query" name:"jobId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"false" contributesTo:"query" name:"managedDatabaseId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group. ManagedDatabaseGroupId *string `mandatory:"false" contributesTo:"query" name:"managedDatabaseGroupId"` // The status of the job execution. Status *string `mandatory:"false" contributesTo:"query" name:"status"` // A filter to return only resources that match the entire name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The maximum number of records returned in paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page, from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort information by. Only one sortOrder can be used. The default sort order // for ‘TIMECREATED’ is descending and the default sort order for ‘NAME’ is ascending. // The ‘NAME’ sort order is case-sensitive. SortBy ListJobExecutionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the the default order. SortOrder ListJobExecutionsSortOrderEnum `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 ListJobExecutionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListJobExecutionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListJobExecutionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListJobExecutionsRequest) String() string
ListJobExecutionsResponse wrapper for the ListJobExecutions operation
type ListJobExecutionsResponse struct { // The underlying http response RawResponse *http.Response // A list of JobExecutionCollection instances JobExecutionCollection `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 ListJobExecutionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListJobExecutionsResponse) String() string
ListJobExecutionsSortByEnum Enum with underlying type: string
type ListJobExecutionsSortByEnum string
Set of constants representing the allowable values for ListJobExecutionsSortByEnum
const ( ListJobExecutionsSortByTimecreated ListJobExecutionsSortByEnum = "TIMECREATED" ListJobExecutionsSortByName ListJobExecutionsSortByEnum = "NAME" )
func GetListJobExecutionsSortByEnumValues() []ListJobExecutionsSortByEnum
GetListJobExecutionsSortByEnumValues Enumerates the set of values for ListJobExecutionsSortByEnum
ListJobExecutionsSortOrderEnum Enum with underlying type: string
type ListJobExecutionsSortOrderEnum string
Set of constants representing the allowable values for ListJobExecutionsSortOrderEnum
const ( ListJobExecutionsSortOrderAsc ListJobExecutionsSortOrderEnum = "ASC" ListJobExecutionsSortOrderDesc ListJobExecutionsSortOrderEnum = "DESC" )
func GetListJobExecutionsSortOrderEnumValues() []ListJobExecutionsSortOrderEnum
GetListJobExecutionsSortOrderEnumValues Enumerates the set of values for ListJobExecutionsSortOrderEnum
ListJobRunsRequest wrapper for the ListJobRuns operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/ListJobRuns.go.html to see an example of how to use ListJobRunsRequest.
type ListJobRunsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The identifier of the resource. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // The identifier of the job. JobId *string `mandatory:"false" contributesTo:"query" name:"jobId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"false" contributesTo:"query" name:"managedDatabaseId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group. ManagedDatabaseGroupId *string `mandatory:"false" contributesTo:"query" name:"managedDatabaseGroupId"` // The status of the job run. RunStatus *string `mandatory:"false" contributesTo:"query" name:"runStatus"` // A filter to return only resources that match the entire name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The maximum number of records returned in paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page, from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort information by. Only one sortOrder can be used. The default sort order // for ‘TIMECREATED’ is descending and the default sort order for ‘NAME’ is ascending. // The ‘NAME’ sort order is case-sensitive. SortBy ListJobRunsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the the default order. SortOrder ListJobRunsSortOrderEnum `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 ListJobRunsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListJobRunsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListJobRunsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListJobRunsRequest) String() string
ListJobRunsResponse wrapper for the ListJobRuns operation
type ListJobRunsResponse struct { // The underlying http response RawResponse *http.Response // A list of JobRunCollection instances JobRunCollection `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 ListJobRunsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListJobRunsResponse) String() string
ListJobRunsSortByEnum Enum with underlying type: string
type ListJobRunsSortByEnum string
Set of constants representing the allowable values for ListJobRunsSortByEnum
const ( ListJobRunsSortByTimecreated ListJobRunsSortByEnum = "TIMECREATED" ListJobRunsSortByName ListJobRunsSortByEnum = "NAME" )
func GetListJobRunsSortByEnumValues() []ListJobRunsSortByEnum
GetListJobRunsSortByEnumValues Enumerates the set of values for ListJobRunsSortByEnum
ListJobRunsSortOrderEnum Enum with underlying type: string
type ListJobRunsSortOrderEnum string
Set of constants representing the allowable values for ListJobRunsSortOrderEnum
const ( ListJobRunsSortOrderAsc ListJobRunsSortOrderEnum = "ASC" ListJobRunsSortOrderDesc ListJobRunsSortOrderEnum = "DESC" )
func GetListJobRunsSortOrderEnumValues() []ListJobRunsSortOrderEnum
GetListJobRunsSortOrderEnumValues Enumerates the set of values for ListJobRunsSortOrderEnum
ListJobsRequest wrapper for the ListJobs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/ListJobs.go.html to see an example of how to use ListJobsRequest.
type ListJobsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The identifier of the resource. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group. ManagedDatabaseGroupId *string `mandatory:"false" contributesTo:"query" name:"managedDatabaseGroupId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"false" contributesTo:"query" name:"managedDatabaseId"` // A filter to return only resources that match the entire name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The lifecycle state of the job. LifecycleState JobLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The maximum number of records returned in paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page, from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort information by. Only one sortOrder can be used. The default sort order // for ‘TIMECREATED’ is descending and the default sort order for ‘NAME’ is ascending. // The ‘NAME’ sort order is case-sensitive. SortBy ListJobsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the the default order. SortOrder ListJobsSortOrderEnum `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 ListJobsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListJobsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListJobsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListJobsRequest) String() string
ListJobsResponse wrapper for the ListJobs operation
type ListJobsResponse struct { // The underlying http response RawResponse *http.Response // A list of JobCollection instances JobCollection `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 ListJobsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListJobsResponse) String() string
ListJobsSortByEnum Enum with underlying type: string
type ListJobsSortByEnum string
Set of constants representing the allowable values for ListJobsSortByEnum
const ( ListJobsSortByTimecreated ListJobsSortByEnum = "TIMECREATED" ListJobsSortByName ListJobsSortByEnum = "NAME" )
func GetListJobsSortByEnumValues() []ListJobsSortByEnum
GetListJobsSortByEnumValues Enumerates the set of values for ListJobsSortByEnum
ListJobsSortOrderEnum Enum with underlying type: string
type ListJobsSortOrderEnum string
Set of constants representing the allowable values for ListJobsSortOrderEnum
const ( ListJobsSortOrderAsc ListJobsSortOrderEnum = "ASC" ListJobsSortOrderDesc ListJobsSortOrderEnum = "DESC" )
func GetListJobsSortOrderEnumValues() []ListJobsSortOrderEnum
GetListJobsSortOrderEnumValues Enumerates the set of values for ListJobsSortOrderEnum
ListManagedDatabaseGroupsLifecycleStateEnum Enum with underlying type: string
type ListManagedDatabaseGroupsLifecycleStateEnum string
Set of constants representing the allowable values for ListManagedDatabaseGroupsLifecycleStateEnum
const ( ListManagedDatabaseGroupsLifecycleStateCreating ListManagedDatabaseGroupsLifecycleStateEnum = "CREATING" ListManagedDatabaseGroupsLifecycleStateUpdating ListManagedDatabaseGroupsLifecycleStateEnum = "UPDATING" ListManagedDatabaseGroupsLifecycleStateActive ListManagedDatabaseGroupsLifecycleStateEnum = "ACTIVE" ListManagedDatabaseGroupsLifecycleStateDeleting ListManagedDatabaseGroupsLifecycleStateEnum = "DELETING" ListManagedDatabaseGroupsLifecycleStateDeleted ListManagedDatabaseGroupsLifecycleStateEnum = "DELETED" ListManagedDatabaseGroupsLifecycleStateFailed ListManagedDatabaseGroupsLifecycleStateEnum = "FAILED" )
func GetListManagedDatabaseGroupsLifecycleStateEnumValues() []ListManagedDatabaseGroupsLifecycleStateEnum
GetListManagedDatabaseGroupsLifecycleStateEnumValues Enumerates the set of values for ListManagedDatabaseGroupsLifecycleStateEnum
ListManagedDatabaseGroupsRequest wrapper for the ListManagedDatabaseGroups operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/ListManagedDatabaseGroups.go.html to see an example of how to use ListManagedDatabaseGroupsRequest.
type ListManagedDatabaseGroupsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The identifier of the resource. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // A filter to return only resources that match the entire name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The lifecycle state of a resource. LifecycleState ListManagedDatabaseGroupsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The page token representing the page, from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field to sort information by. Only one sortOrder can be used. The default sort order // for ‘TIMECREATED’ is descending and the default sort order for ‘NAME’ is ascending. // The ‘NAME’ sort order is case-sensitive. SortBy ListManagedDatabaseGroupsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the the default order. SortOrder ListManagedDatabaseGroupsSortOrderEnum `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 ListManagedDatabaseGroupsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListManagedDatabaseGroupsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagedDatabaseGroupsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagedDatabaseGroupsRequest) String() string
ListManagedDatabaseGroupsResponse wrapper for the ListManagedDatabaseGroups operation
type ListManagedDatabaseGroupsResponse struct { // The underlying http response RawResponse *http.Response // A list of ManagedDatabaseGroupCollection instances ManagedDatabaseGroupCollection `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 ListManagedDatabaseGroupsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagedDatabaseGroupsResponse) String() string
ListManagedDatabaseGroupsSortByEnum Enum with underlying type: string
type ListManagedDatabaseGroupsSortByEnum string
Set of constants representing the allowable values for ListManagedDatabaseGroupsSortByEnum
const ( ListManagedDatabaseGroupsSortByTimecreated ListManagedDatabaseGroupsSortByEnum = "TIMECREATED" ListManagedDatabaseGroupsSortByName ListManagedDatabaseGroupsSortByEnum = "NAME" )
func GetListManagedDatabaseGroupsSortByEnumValues() []ListManagedDatabaseGroupsSortByEnum
GetListManagedDatabaseGroupsSortByEnumValues Enumerates the set of values for ListManagedDatabaseGroupsSortByEnum
ListManagedDatabaseGroupsSortOrderEnum Enum with underlying type: string
type ListManagedDatabaseGroupsSortOrderEnum string
Set of constants representing the allowable values for ListManagedDatabaseGroupsSortOrderEnum
const ( ListManagedDatabaseGroupsSortOrderAsc ListManagedDatabaseGroupsSortOrderEnum = "ASC" ListManagedDatabaseGroupsSortOrderDesc ListManagedDatabaseGroupsSortOrderEnum = "DESC" )
func GetListManagedDatabaseGroupsSortOrderEnumValues() []ListManagedDatabaseGroupsSortOrderEnum
GetListManagedDatabaseGroupsSortOrderEnumValues Enumerates the set of values for ListManagedDatabaseGroupsSortOrderEnum
ListManagedDatabasesRequest wrapper for the ListManagedDatabases operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/ListManagedDatabases.go.html to see an example of how to use ListManagedDatabasesRequest.
type ListManagedDatabasesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The identifier of the resource. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // A filter to return only resources that match the entire name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The page token representing the page, from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field to sort information by. Only one sortOrder can be used. The default sort order // for ‘TIMECREATED’ is descending and the default sort order for ‘NAME’ is ascending. // The ‘NAME’ sort order is case-sensitive. SortBy ListManagedDatabasesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the the default order. SortOrder ListManagedDatabasesSortOrderEnum `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 ListManagedDatabasesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListManagedDatabasesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagedDatabasesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagedDatabasesRequest) String() string
ListManagedDatabasesResponse wrapper for the ListManagedDatabases operation
type ListManagedDatabasesResponse struct { // The underlying http response RawResponse *http.Response // A list of ManagedDatabaseCollection instances ManagedDatabaseCollection `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 ListManagedDatabasesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagedDatabasesResponse) String() string
ListManagedDatabasesSortByEnum Enum with underlying type: string
type ListManagedDatabasesSortByEnum string
Set of constants representing the allowable values for ListManagedDatabasesSortByEnum
const ( ListManagedDatabasesSortByTimecreated ListManagedDatabasesSortByEnum = "TIMECREATED" ListManagedDatabasesSortByName ListManagedDatabasesSortByEnum = "NAME" )
func GetListManagedDatabasesSortByEnumValues() []ListManagedDatabasesSortByEnum
GetListManagedDatabasesSortByEnumValues Enumerates the set of values for ListManagedDatabasesSortByEnum
ListManagedDatabasesSortOrderEnum Enum with underlying type: string
type ListManagedDatabasesSortOrderEnum string
Set of constants representing the allowable values for ListManagedDatabasesSortOrderEnum
const ( ListManagedDatabasesSortOrderAsc ListManagedDatabasesSortOrderEnum = "ASC" ListManagedDatabasesSortOrderDesc ListManagedDatabasesSortOrderEnum = "DESC" )
func GetListManagedDatabasesSortOrderEnumValues() []ListManagedDatabasesSortOrderEnum
GetListManagedDatabasesSortOrderEnumValues Enumerates the set of values for ListManagedDatabasesSortOrderEnum
ListTablespacesRequest wrapper for the ListTablespaces operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/ListTablespaces.go.html to see an example of how to use ListTablespacesRequest.
type ListTablespacesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A filter to return only resources that match the entire name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The field to sort information by. Only one sortOrder can be used. The default sort order // for ‘TIMECREATED’ is descending and the default sort order for ‘NAME’ is ascending. // The ‘NAME’ sort order is case-sensitive. SortBy ListTablespacesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the the default order. SortOrder ListTablespacesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The page token representing the page, from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in paginated response. 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 ListTablespacesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListTablespacesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListTablespacesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListTablespacesRequest) String() string
ListTablespacesResponse wrapper for the ListTablespaces operation
type ListTablespacesResponse struct { // The underlying http response RawResponse *http.Response // A list of TablespaceCollection instances TablespaceCollection `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 ListTablespacesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListTablespacesResponse) String() string
ListTablespacesSortByEnum Enum with underlying type: string
type ListTablespacesSortByEnum string
Set of constants representing the allowable values for ListTablespacesSortByEnum
const ( ListTablespacesSortByTimecreated ListTablespacesSortByEnum = "TIMECREATED" ListTablespacesSortByName ListTablespacesSortByEnum = "NAME" )
func GetListTablespacesSortByEnumValues() []ListTablespacesSortByEnum
GetListTablespacesSortByEnumValues Enumerates the set of values for ListTablespacesSortByEnum
ListTablespacesSortOrderEnum Enum with underlying type: string
type ListTablespacesSortOrderEnum string
Set of constants representing the allowable values for ListTablespacesSortOrderEnum
const ( ListTablespacesSortOrderAsc ListTablespacesSortOrderEnum = "ASC" ListTablespacesSortOrderDesc ListTablespacesSortOrderEnum = "DESC" )
func GetListTablespacesSortOrderEnumValues() []ListTablespacesSortOrderEnum
GetListTablespacesSortOrderEnumValues Enumerates the set of values for ListTablespacesSortOrderEnum
ManagedDatabase The details of a Managed Database.
type ManagedDatabase struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name of the Managed Database. Name *string `mandatory:"true" json:"name"` // The type of Oracle Database installation. DatabaseType DatabaseTypeEnum `mandatory:"true" json:"databaseType"` // The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or a Non-container Database. DatabaseSubType DatabaseSubTypeEnum `mandatory:"true" json:"databaseSubType"` // Indicates whether the Oracle Database is part of a cluster. IsCluster *bool `mandatory:"true" json:"isCluster"` // The date and time the Managed Database was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the parent Container Database // if Managed Database is a Pluggable Database. ParentContainerId *string `mandatory:"false" json:"parentContainerId"` // A list of Managed Database Groups that the Managed Database belongs to. ManagedDatabaseGroups []ParentGroup `mandatory:"false" json:"managedDatabaseGroups"` // The status of the Oracle Database. Indicates whether the status of the database // is UP, DOWN, or UNKNOWN at the current time. DatabaseStatus DatabaseStatusEnum `mandatory:"false" json:"databaseStatus,omitempty"` // The name of the parent Container Database. ParentContainerName *string `mandatory:"false" json:"parentContainerName"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment // in which the parent Container Database resides, if the Managed Database // is a Pluggable Database (PDB). ParentContainerCompartmentId *string `mandatory:"false" json:"parentContainerCompartmentId"` // The number of Oracle Real Application Clusters (Oracle RAC) database instances. InstanceCount *int `mandatory:"false" json:"instanceCount"` // The details of the Oracle Real Application Clusters (Oracle RAC) database instances. InstanceDetails []InstanceDetails `mandatory:"false" json:"instanceDetails"` // The number of PDBs in the Container Database. PdbCount *int `mandatory:"false" json:"pdbCount"` // The status of the PDB in the Container Database. PdbStatus []PdbStatusDetails `mandatory:"false" json:"pdbStatus"` // The additional details specific to a type of database defined in `{"key": "value"}` format. // Example: `{"bar-key": "value"}` AdditionalDetails map[string]string `mandatory:"false" json:"additionalDetails"` }
func (m ManagedDatabase) String() string
ManagedDatabaseCollection A collection of Managed Database objects.
type ManagedDatabaseCollection struct { // An array of ManagedDatabaseSummary resources. Items []ManagedDatabaseSummary `mandatory:"true" json:"items"` }
func (m ManagedDatabaseCollection) String() string
ManagedDatabaseGroup The details of a Managed Database Group.
type ManagedDatabaseGroup struct { // The name of the Managed Database Group. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A list of Managed Databases in the Managed Database Group. ManagedDatabases []ChildDatabase `mandatory:"true" json:"managedDatabases"` // The current lifecycle state of the Managed Database Group. LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"` // The date and time the Managed Database Group was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The information specified by the user about the Managed Database Group. Description *string `mandatory:"false" json:"description"` // The date and time the Managed Database Group was last updated. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` }
func (m ManagedDatabaseGroup) String() string
ManagedDatabaseGroupCollection A collection of Managed Database Group resources.
type ManagedDatabaseGroupCollection struct { // An array of ManagedDatabaseGroupSummary resources. Items []ManagedDatabaseGroupSummary `mandatory:"true" json:"items"` }
func (m ManagedDatabaseGroupCollection) String() string
ManagedDatabaseGroupSummary A group of Managed Databases that will be managed together.
type ManagedDatabaseGroupSummary struct { // The name of the Managed Database Group. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The number of Managed Databases in the Managed Database Group. ManagedDatabaseCount *int `mandatory:"true" json:"managedDatabaseCount"` // The current lifecycle state of the Managed Database Group. LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"` // The date and time the Managed Database Group was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The information specified by the user about the Managed Database Group. Description *string `mandatory:"false" json:"description"` }
func (m ManagedDatabaseGroupSummary) String() string
ManagedDatabaseSummary A summary of the Managed Database.
type ManagedDatabaseSummary struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name of the Managed Database. Name *string `mandatory:"true" json:"name"` // The type of Oracle Database installation. DatabaseType DatabaseTypeEnum `mandatory:"true" json:"databaseType"` // The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or a Non-container Database. DatabaseSubType DatabaseSubTypeEnum `mandatory:"true" json:"databaseSubType"` // Indicates whether the Oracle Database is part of a cluster. IsCluster *bool `mandatory:"true" json:"isCluster"` // The date and time the Managed Database was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the parent Container Database // if the Managed Database is a Pluggable Database. ParentContainerId *string `mandatory:"false" json:"parentContainerId"` }
func (m ManagedDatabaseSummary) String() string
MemoryAggregateMetrics The memory aggregate metric details.
type MemoryAggregateMetrics struct { // A list of the memory usage metrics grouped by memorypool for a specific database. MemoryUsage []MetricDataPoint `mandatory:"false" json:"memoryUsage"` }
func (m MemoryAggregateMetrics) String() string
MetricDataPoint The metric values with dimension details.
type MetricDataPoint struct { // The value of the metric. Value *float64 `mandatory:"false" json:"value"` // The unit of the metric value. Unit *string `mandatory:"false" json:"unit"` // The dimensions of the metric. Dimensions []MetricDimensionDefinition `mandatory:"false" json:"dimensions"` }
func (m MetricDataPoint) String() string
MetricDimensionDefinition The metric dimension details.
type MetricDimensionDefinition struct { // The name of the dimension. DimensionName *string `mandatory:"false" json:"dimensionName"` // The value of the dimension. DimensionValue *string `mandatory:"false" json:"dimensionValue"` }
func (m MetricDimensionDefinition) String() string
ObjectStorageJobExecutionResultDetails The details of the job execution result stored in Object Storage. The job execution result could be accessed using the Object Storage API.
type ObjectStorageJobExecutionResultDetails struct { // The Object Storage namespace used for job execution result storage. NamespaceName *string `mandatory:"false" json:"namespaceName"` // The name of the bucket used for job execution result storage. BucketName *string `mandatory:"false" json:"bucketName"` // The name of the object containing the job execution result. ObjectName *string `mandatory:"false" json:"objectName"` // The number of rows returned in the result. Only applicable for QUERY SqlType. RowCount *int `mandatory:"false" json:"rowCount"` }
func (m ObjectStorageJobExecutionResultDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ObjectStorageJobExecutionResultDetails) String() string
ObjectStorageJobExecutionResultLocation The details about Object Storage job execution result location type.
type ObjectStorageJobExecutionResultLocation struct { // The Object Storage namespace used for job execution result storage. NamespaceName *string `mandatory:"false" json:"namespaceName"` // The name of the bucket used for job execution result storage. BucketName *string `mandatory:"false" json:"bucketName"` }
func (m ObjectStorageJobExecutionResultLocation) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ObjectStorageJobExecutionResultLocation) String() string
ParameterScopeEnum Enum with underlying type: string
type ParameterScopeEnum string
Set of constants representing the allowable values for ParameterScopeEnum
const ( ParameterScopeMemory ParameterScopeEnum = "MEMORY" ParameterScopeSpfile ParameterScopeEnum = "SPFILE" ParameterScopeBoth ParameterScopeEnum = "BOTH" )
func GetParameterScopeEnumValues() []ParameterScopeEnum
GetParameterScopeEnumValues Enumerates the set of values for ParameterScopeEnum
ParentGroup The parent Managed Database Group of a Managed Database.
type ParentGroup struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group. Id *string `mandatory:"true" json:"id"` // The name of the Managed Database Group. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database Group resides. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ParentGroup) String() string
PdbStatusDetails The number and status of PDBs in a Container Database.
type PdbStatusDetails struct { // The status of the PDBs with this count. Status DatabaseStatusEnum `mandatory:"false" json:"status,omitempty"` // The number of PDBs with this status. Count *int `mandatory:"false" json:"count"` }
func (m PdbStatusDetails) String() string
RemoveManagedDatabaseFromManagedDatabaseGroupDetails The Managed Database details required to remove it from a Managed Database Group.
type RemoveManagedDatabaseFromManagedDatabaseGroupDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" json:"managedDatabaseId"` }
func (m RemoveManagedDatabaseFromManagedDatabaseGroupDetails) String() string
RemoveManagedDatabaseFromManagedDatabaseGroupRequest wrapper for the RemoveManagedDatabaseFromManagedDatabaseGroup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/RemoveManagedDatabaseFromManagedDatabaseGroup.go.html to see an example of how to use RemoveManagedDatabaseFromManagedDatabaseGroupRequest.
type RemoveManagedDatabaseFromManagedDatabaseGroupRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group. ManagedDatabaseGroupId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseGroupId"` // The Managed Database details required to remove the Managed Database from a Managed Database Group. RemoveManagedDatabaseFromManagedDatabaseGroupDetails `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. 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 RemoveManagedDatabaseFromManagedDatabaseGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RemoveManagedDatabaseFromManagedDatabaseGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RemoveManagedDatabaseFromManagedDatabaseGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RemoveManagedDatabaseFromManagedDatabaseGroupRequest) String() string
RemoveManagedDatabaseFromManagedDatabaseGroupResponse wrapper for the RemoveManagedDatabaseFromManagedDatabaseGroup operation
type RemoveManagedDatabaseFromManagedDatabaseGroupResponse 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 RemoveManagedDatabaseFromManagedDatabaseGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RemoveManagedDatabaseFromManagedDatabaseGroupResponse) String() string
ResetDatabaseParametersDetails The details required to reset database parameter values.
type ResetDatabaseParametersDetails struct { Credentials *DatabaseCredentials `mandatory:"true" json:"credentials"` // The clause used to specify when the parameter change takes effect. // Use `MEMORY` to make the change in memory and ensure that it takes // effect immediately. Use `SPFILE` to make the change in the server // parameter file. The change takes effect when the database is next // shut down and started up again. Use `BOTH` to make the change in // memory and in the server parameter file. The change takes effect // immediately and persists after the database is shut down and // started up again. Scope ParameterScopeEnum `mandatory:"true" json:"scope"` // A list of database parameter names. Parameters []string `mandatory:"true" json:"parameters"` }
func (m ResetDatabaseParametersDetails) String() string
ResetDatabaseParametersRequest wrapper for the ResetDatabaseParameters operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/ResetDatabaseParameters.go.html to see an example of how to use ResetDatabaseParametersRequest.
type ResetDatabaseParametersRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The details required to reset database parameters. ResetDatabaseParametersDetails `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. 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 ResetDatabaseParametersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ResetDatabaseParametersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ResetDatabaseParametersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ResetDatabaseParametersRequest) String() string
ResetDatabaseParametersResponse wrapper for the ResetDatabaseParameters operation
type ResetDatabaseParametersResponse struct { // The underlying http response RawResponse *http.Response // The UpdateDatabaseParametersResult instance UpdateDatabaseParametersResult `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 ResetDatabaseParametersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ResetDatabaseParametersResponse) String() string
SortOrdersEnum Enum with underlying type: string
type SortOrdersEnum string
Set of constants representing the allowable values for SortOrdersEnum
const ( SortOrdersAsc SortOrdersEnum = "ASC" SortOrdersDesc SortOrdersEnum = "DESC" )
func GetSortOrdersEnumValues() []SortOrdersEnum
GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum
SqlJob The details of the SQL job.
type SqlJob struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the job. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the job resides. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The display name of the job. Name *string `mandatory:"true" json:"name"` // The date and time when the job was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time when the job was last updated. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The description of the job. Description *string `mandatory:"false" json:"description"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group where the job has to be executed. ManagedDatabaseGroupId *string `mandatory:"false" json:"managedDatabaseGroupId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database where the job has to be executed. ManagedDatabaseId *string `mandatory:"false" json:"managedDatabaseId"` // The details of the Managed Databases where the job has to be executed. ManagedDatabasesDetails []JobDatabase `mandatory:"false" json:"managedDatabasesDetails"` // The job timeout duration, which is expressed like "1h 10m 15s". Timeout *string `mandatory:"false" json:"timeout"` ResultLocation JobExecutionResultLocation `mandatory:"false" json:"resultLocation"` // The error message that is returned if the job submission fails. Null is returned in all other scenarios. SubmissionErrorMessage *string `mandatory:"false" json:"submissionErrorMessage"` // The SQL text to be executed in the job. This is a mandatory field for the EXECUTE_SQL operationType. SqlText *string `mandatory:"false" json:"sqlText"` // The database user name used to execute the SQL job. If the job is being executed on a Managed Database Group, // then the user name should exist on all the databases in the group with the same password. UserName *string `mandatory:"false" json:"userName"` // The type of SQL. This is a mandatory field for the EXECUTE_SQL operationType. SqlType SqlJobSqlTypeEnum `mandatory:"false" json:"sqlType,omitempty"` // The SQL operation type. OperationType SqlJobOperationTypeEnum `mandatory:"true" json:"operationType"` // The role of the database user. Indicates whether the database user is a normal user or sysdba. Role SqlJobRoleEnum `mandatory:"false" json:"role,omitempty"` // The subtype of the Oracle Database where the job has to be executed. Applicable only when managedDatabaseGroupId is provided. DatabaseSubType DatabaseSubTypeEnum `mandatory:"false" json:"databaseSubType,omitempty"` // The schedule type of the job. ScheduleType JobScheduleTypeEnum `mandatory:"true" json:"scheduleType"` // The lifecycle state of the job. LifecycleState JobLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` }
func (m SqlJob) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m SqlJob) GetDatabaseSubType() DatabaseSubTypeEnum
GetDatabaseSubType returns DatabaseSubType
func (m SqlJob) GetDescription() *string
GetDescription returns Description
func (m SqlJob) GetId() *string
GetId returns Id
func (m SqlJob) GetLifecycleState() JobLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m SqlJob) GetManagedDatabaseGroupId() *string
GetManagedDatabaseGroupId returns ManagedDatabaseGroupId
func (m SqlJob) GetManagedDatabaseId() *string
GetManagedDatabaseId returns ManagedDatabaseId
func (m SqlJob) GetManagedDatabasesDetails() []JobDatabase
GetManagedDatabasesDetails returns ManagedDatabasesDetails
func (m SqlJob) GetName() *string
GetName returns Name
func (m SqlJob) GetResultLocation() JobExecutionResultLocation
GetResultLocation returns ResultLocation
func (m SqlJob) GetScheduleType() JobScheduleTypeEnum
GetScheduleType returns ScheduleType
func (m SqlJob) GetSubmissionErrorMessage() *string
GetSubmissionErrorMessage returns SubmissionErrorMessage
func (m SqlJob) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m SqlJob) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m SqlJob) GetTimeout() *string
GetTimeout returns Timeout
func (m SqlJob) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m SqlJob) String() string
func (m *SqlJob) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
SqlJobOperationTypeEnum Enum with underlying type: string
type SqlJobOperationTypeEnum string
Set of constants representing the allowable values for SqlJobOperationTypeEnum
const ( SqlJobOperationTypeExecuteSql SqlJobOperationTypeEnum = "EXECUTE_SQL" )
func GetSqlJobOperationTypeEnumValues() []SqlJobOperationTypeEnum
GetSqlJobOperationTypeEnumValues Enumerates the set of values for SqlJobOperationTypeEnum
SqlJobRoleEnum Enum with underlying type: string
type SqlJobRoleEnum string
Set of constants representing the allowable values for SqlJobRoleEnum
const ( SqlJobRoleNormal SqlJobRoleEnum = "NORMAL" SqlJobRoleSysdba SqlJobRoleEnum = "SYSDBA" )
func GetSqlJobRoleEnumValues() []SqlJobRoleEnum
GetSqlJobRoleEnumValues Enumerates the set of values for SqlJobRoleEnum
SqlJobSqlTypeEnum Enum with underlying type: string
type SqlJobSqlTypeEnum string
Set of constants representing the allowable values for SqlJobSqlTypeEnum
const ( SqlJobSqlTypeQuery SqlJobSqlTypeEnum = "QUERY" SqlJobSqlTypeDml SqlJobSqlTypeEnum = "DML" SqlJobSqlTypeDdl SqlJobSqlTypeEnum = "DDL" SqlJobSqlTypePlsql SqlJobSqlTypeEnum = "PLSQL" )
func GetSqlJobSqlTypeEnumValues() []SqlJobSqlTypeEnum
GetSqlJobSqlTypeEnumValues Enumerates the set of values for SqlJobSqlTypeEnum
SummarizeAwrDbCpuUsagesRequest wrapper for the SummarizeAwrDbCpuUsages operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/SummarizeAwrDbCpuUsages.go.html to see an example of how to use SummarizeAwrDbCpuUsagesRequest.
type SummarizeAwrDbCpuUsagesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The parameter to filter the database by internal ID. // Note that the internal ID of the database can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs: AwrDbId *string `mandatory:"true" contributesTo:"path" name:"awrDbId"` // The optional single value query parameter to filter the database instance number. InstNum *string `mandatory:"false" contributesTo:"query" name:"instNum"` // The optional greater than or equal to filter on the snapshot ID. BeginSnIdGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnIdGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the snapshot ID. EndSnIdLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnIdLessThanOrEqualTo"` // The optional greater than or equal to query parameter to filter the timestamp. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The optional query parameter to filter ASH activities by FOREGROUND or BACKGROUND. SessionType SummarizeAwrDbCpuUsagesSessionTypeEnum `mandatory:"false" contributesTo:"query" name:"sessionType" omitEmpty:"true"` // The optional query parameter to filter the database container by an exact ID value. // Note that the database container ID can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges ContainerId *int `mandatory:"false" contributesTo:"query" name:"containerId"` // The page token representing the page, from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in large paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The option to sort the AWR CPU usage summary data. SortBy SummarizeAwrDbCpuUsagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the the default order. SortOrder SummarizeAwrDbCpuUsagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // 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. 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 SummarizeAwrDbCpuUsagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeAwrDbCpuUsagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeAwrDbCpuUsagesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeAwrDbCpuUsagesRequest) String() string
SummarizeAwrDbCpuUsagesResponse wrapper for the SummarizeAwrDbCpuUsages operation
type SummarizeAwrDbCpuUsagesResponse struct { // The underlying http response RawResponse *http.Response // A list of AwrDbCpuUsageCollection instances AwrDbCpuUsageCollection `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 SummarizeAwrDbCpuUsagesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeAwrDbCpuUsagesResponse) String() string
SummarizeAwrDbCpuUsagesSessionTypeEnum Enum with underlying type: string
type SummarizeAwrDbCpuUsagesSessionTypeEnum string
Set of constants representing the allowable values for SummarizeAwrDbCpuUsagesSessionTypeEnum
const ( SummarizeAwrDbCpuUsagesSessionTypeForeground SummarizeAwrDbCpuUsagesSessionTypeEnum = "FOREGROUND" SummarizeAwrDbCpuUsagesSessionTypeBackground SummarizeAwrDbCpuUsagesSessionTypeEnum = "BACKGROUND" SummarizeAwrDbCpuUsagesSessionTypeAll SummarizeAwrDbCpuUsagesSessionTypeEnum = "ALL" )
func GetSummarizeAwrDbCpuUsagesSessionTypeEnumValues() []SummarizeAwrDbCpuUsagesSessionTypeEnum
GetSummarizeAwrDbCpuUsagesSessionTypeEnumValues Enumerates the set of values for SummarizeAwrDbCpuUsagesSessionTypeEnum
SummarizeAwrDbCpuUsagesSortByEnum Enum with underlying type: string
type SummarizeAwrDbCpuUsagesSortByEnum string
Set of constants representing the allowable values for SummarizeAwrDbCpuUsagesSortByEnum
const ( SummarizeAwrDbCpuUsagesSortByTimeSampled SummarizeAwrDbCpuUsagesSortByEnum = "TIME_SAMPLED" SummarizeAwrDbCpuUsagesSortByAvgValue SummarizeAwrDbCpuUsagesSortByEnum = "AVG_VALUE" )
func GetSummarizeAwrDbCpuUsagesSortByEnumValues() []SummarizeAwrDbCpuUsagesSortByEnum
GetSummarizeAwrDbCpuUsagesSortByEnumValues Enumerates the set of values for SummarizeAwrDbCpuUsagesSortByEnum
SummarizeAwrDbCpuUsagesSortOrderEnum Enum with underlying type: string
type SummarizeAwrDbCpuUsagesSortOrderEnum string
Set of constants representing the allowable values for SummarizeAwrDbCpuUsagesSortOrderEnum
const ( SummarizeAwrDbCpuUsagesSortOrderAsc SummarizeAwrDbCpuUsagesSortOrderEnum = "ASC" SummarizeAwrDbCpuUsagesSortOrderDesc SummarizeAwrDbCpuUsagesSortOrderEnum = "DESC" )
func GetSummarizeAwrDbCpuUsagesSortOrderEnumValues() []SummarizeAwrDbCpuUsagesSortOrderEnum
GetSummarizeAwrDbCpuUsagesSortOrderEnumValues Enumerates the set of values for SummarizeAwrDbCpuUsagesSortOrderEnum
SummarizeAwrDbMetricsRequest wrapper for the SummarizeAwrDbMetrics operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/SummarizeAwrDbMetrics.go.html to see an example of how to use SummarizeAwrDbMetricsRequest.
type SummarizeAwrDbMetricsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The parameter to filter the database by internal ID. // Note that the internal ID of the database can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs: AwrDbId *string `mandatory:"true" contributesTo:"path" name:"awrDbId"` // The required multiple value query parameter to filter the entity name. Name []string `contributesTo:"query" name:"name" collectionFormat:"multi"` // The optional single value query parameter to filter the database instance number. InstNum *string `mandatory:"false" contributesTo:"query" name:"instNum"` // The optional greater than or equal to filter on the snapshot ID. BeginSnIdGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnIdGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the snapshot ID. EndSnIdLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnIdLessThanOrEqualTo"` // The optional greater than or equal to query parameter to filter the timestamp. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The optional query parameter to filter the database container by an exact ID value. // Note that the database container ID can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges ContainerId *int `mandatory:"false" contributesTo:"query" name:"containerId"` // The page token representing the page, from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in large paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The option to sort the AWR time series summary data. SortBy SummarizeAwrDbMetricsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the the default order. SortOrder SummarizeAwrDbMetricsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // 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. 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 SummarizeAwrDbMetricsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeAwrDbMetricsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeAwrDbMetricsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeAwrDbMetricsRequest) String() string
SummarizeAwrDbMetricsResponse wrapper for the SummarizeAwrDbMetrics operation
type SummarizeAwrDbMetricsResponse struct { // The underlying http response RawResponse *http.Response // A list of AwrDbMetricCollection instances AwrDbMetricCollection `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 SummarizeAwrDbMetricsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeAwrDbMetricsResponse) String() string
SummarizeAwrDbMetricsSortByEnum Enum with underlying type: string
type SummarizeAwrDbMetricsSortByEnum string
Set of constants representing the allowable values for SummarizeAwrDbMetricsSortByEnum
const ( SummarizeAwrDbMetricsSortByTimestamp SummarizeAwrDbMetricsSortByEnum = "TIMESTAMP" SummarizeAwrDbMetricsSortByName SummarizeAwrDbMetricsSortByEnum = "NAME" )
func GetSummarizeAwrDbMetricsSortByEnumValues() []SummarizeAwrDbMetricsSortByEnum
GetSummarizeAwrDbMetricsSortByEnumValues Enumerates the set of values for SummarizeAwrDbMetricsSortByEnum
SummarizeAwrDbMetricsSortOrderEnum Enum with underlying type: string
type SummarizeAwrDbMetricsSortOrderEnum string
Set of constants representing the allowable values for SummarizeAwrDbMetricsSortOrderEnum
const ( SummarizeAwrDbMetricsSortOrderAsc SummarizeAwrDbMetricsSortOrderEnum = "ASC" SummarizeAwrDbMetricsSortOrderDesc SummarizeAwrDbMetricsSortOrderEnum = "DESC" )
func GetSummarizeAwrDbMetricsSortOrderEnumValues() []SummarizeAwrDbMetricsSortOrderEnum
GetSummarizeAwrDbMetricsSortOrderEnumValues Enumerates the set of values for SummarizeAwrDbMetricsSortOrderEnum
SummarizeAwrDbParameterChangesRequest wrapper for the SummarizeAwrDbParameterChanges operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/SummarizeAwrDbParameterChanges.go.html to see an example of how to use SummarizeAwrDbParameterChangesRequest.
type SummarizeAwrDbParameterChangesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The parameter to filter the database by internal ID. // Note that the internal ID of the database can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs: AwrDbId *string `mandatory:"true" contributesTo:"path" name:"awrDbId"` // The required single value query parameter to filter the entity name. Name *string `mandatory:"true" contributesTo:"query" name:"name"` // The optional single value query parameter to filter the database instance number. InstNum *string `mandatory:"false" contributesTo:"query" name:"instNum"` // The optional greater than or equal to filter on the snapshot ID. BeginSnIdGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnIdGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the snapshot ID. EndSnIdLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnIdLessThanOrEqualTo"` // The optional greater than or equal to query parameter to filter the timestamp. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The optional query parameter to filter the database container by an exact ID value. // Note that the database container ID can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges ContainerId *int `mandatory:"false" contributesTo:"query" name:"containerId"` // The page token representing the page, from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in large paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The option to sort the AWR database parameter change history data. SortBy SummarizeAwrDbParameterChangesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the the default order. SortOrder SummarizeAwrDbParameterChangesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // 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. 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 SummarizeAwrDbParameterChangesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeAwrDbParameterChangesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeAwrDbParameterChangesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeAwrDbParameterChangesRequest) String() string
SummarizeAwrDbParameterChangesResponse wrapper for the SummarizeAwrDbParameterChanges operation
type SummarizeAwrDbParameterChangesResponse struct { // The underlying http response RawResponse *http.Response // A list of AwrDbParameterChangeCollection instances AwrDbParameterChangeCollection `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 SummarizeAwrDbParameterChangesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeAwrDbParameterChangesResponse) String() string
SummarizeAwrDbParameterChangesSortByEnum Enum with underlying type: string
type SummarizeAwrDbParameterChangesSortByEnum string
Set of constants representing the allowable values for SummarizeAwrDbParameterChangesSortByEnum
const ( SummarizeAwrDbParameterChangesSortByIsChanged SummarizeAwrDbParameterChangesSortByEnum = "IS_CHANGED" SummarizeAwrDbParameterChangesSortByName SummarizeAwrDbParameterChangesSortByEnum = "NAME" )
func GetSummarizeAwrDbParameterChangesSortByEnumValues() []SummarizeAwrDbParameterChangesSortByEnum
GetSummarizeAwrDbParameterChangesSortByEnumValues Enumerates the set of values for SummarizeAwrDbParameterChangesSortByEnum
SummarizeAwrDbParameterChangesSortOrderEnum Enum with underlying type: string
type SummarizeAwrDbParameterChangesSortOrderEnum string
Set of constants representing the allowable values for SummarizeAwrDbParameterChangesSortOrderEnum
const ( SummarizeAwrDbParameterChangesSortOrderAsc SummarizeAwrDbParameterChangesSortOrderEnum = "ASC" SummarizeAwrDbParameterChangesSortOrderDesc SummarizeAwrDbParameterChangesSortOrderEnum = "DESC" )
func GetSummarizeAwrDbParameterChangesSortOrderEnumValues() []SummarizeAwrDbParameterChangesSortOrderEnum
GetSummarizeAwrDbParameterChangesSortOrderEnumValues Enumerates the set of values for SummarizeAwrDbParameterChangesSortOrderEnum
SummarizeAwrDbParametersRequest wrapper for the SummarizeAwrDbParameters operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/SummarizeAwrDbParameters.go.html to see an example of how to use SummarizeAwrDbParametersRequest.
type SummarizeAwrDbParametersRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The parameter to filter the database by internal ID. // Note that the internal ID of the database can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs: AwrDbId *string `mandatory:"true" contributesTo:"path" name:"awrDbId"` // The optional single value query parameter to filter the database instance number. InstNum *string `mandatory:"false" contributesTo:"query" name:"instNum"` // The optional greater than or equal to filter on the snapshot ID. BeginSnIdGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnIdGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the snapshot ID. EndSnIdLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnIdLessThanOrEqualTo"` // The optional greater than or equal to query parameter to filter the timestamp. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The optional query parameter to filter the database container by an exact ID value. // Note that the database container ID can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges ContainerId *int `mandatory:"false" contributesTo:"query" name:"containerId"` // The optional multiple value query parameter to filter the entity name. Name []string `contributesTo:"query" name:"name" collectionFormat:"multi"` // The optional contains query parameter to filter the entity name by any part of the name. NameContains *string `mandatory:"false" contributesTo:"query" name:"nameContains"` // The optional query parameter to filter database parameters whose values were changed. ValueChanged SummarizeAwrDbParametersValueChangedEnum `mandatory:"false" contributesTo:"query" name:"valueChanged" omitEmpty:"true"` // The optional query parameter to filter the database parameters that had the default value in the last snapshot. ValueDefault SummarizeAwrDbParametersValueDefaultEnum `mandatory:"false" contributesTo:"query" name:"valueDefault" omitEmpty:"true"` // The optional query parameter to filter the database parameters that had a modified value in the last snapshot. ValueModified SummarizeAwrDbParametersValueModifiedEnum `mandatory:"false" contributesTo:"query" name:"valueModified" omitEmpty:"true"` // The page token representing the page, from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in large paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The option to sort the AWR database parameter change history data. SortBy SummarizeAwrDbParametersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the the default order. SortOrder SummarizeAwrDbParametersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // 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. 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 SummarizeAwrDbParametersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeAwrDbParametersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeAwrDbParametersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeAwrDbParametersRequest) String() string
SummarizeAwrDbParametersResponse wrapper for the SummarizeAwrDbParameters operation
type SummarizeAwrDbParametersResponse struct { // The underlying http response RawResponse *http.Response // A list of AwrDbParameterCollection instances AwrDbParameterCollection `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 SummarizeAwrDbParametersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeAwrDbParametersResponse) String() string
SummarizeAwrDbParametersSortByEnum Enum with underlying type: string
type SummarizeAwrDbParametersSortByEnum string
Set of constants representing the allowable values for SummarizeAwrDbParametersSortByEnum
const ( SummarizeAwrDbParametersSortByIsChanged SummarizeAwrDbParametersSortByEnum = "IS_CHANGED" SummarizeAwrDbParametersSortByName SummarizeAwrDbParametersSortByEnum = "NAME" )
func GetSummarizeAwrDbParametersSortByEnumValues() []SummarizeAwrDbParametersSortByEnum
GetSummarizeAwrDbParametersSortByEnumValues Enumerates the set of values for SummarizeAwrDbParametersSortByEnum
SummarizeAwrDbParametersSortOrderEnum Enum with underlying type: string
type SummarizeAwrDbParametersSortOrderEnum string
Set of constants representing the allowable values for SummarizeAwrDbParametersSortOrderEnum
const ( SummarizeAwrDbParametersSortOrderAsc SummarizeAwrDbParametersSortOrderEnum = "ASC" SummarizeAwrDbParametersSortOrderDesc SummarizeAwrDbParametersSortOrderEnum = "DESC" )
func GetSummarizeAwrDbParametersSortOrderEnumValues() []SummarizeAwrDbParametersSortOrderEnum
GetSummarizeAwrDbParametersSortOrderEnumValues Enumerates the set of values for SummarizeAwrDbParametersSortOrderEnum
SummarizeAwrDbParametersValueChangedEnum Enum with underlying type: string
type SummarizeAwrDbParametersValueChangedEnum string
Set of constants representing the allowable values for SummarizeAwrDbParametersValueChangedEnum
const ( SummarizeAwrDbParametersValueChangedY SummarizeAwrDbParametersValueChangedEnum = "Y" SummarizeAwrDbParametersValueChangedN SummarizeAwrDbParametersValueChangedEnum = "N" )
func GetSummarizeAwrDbParametersValueChangedEnumValues() []SummarizeAwrDbParametersValueChangedEnum
GetSummarizeAwrDbParametersValueChangedEnumValues Enumerates the set of values for SummarizeAwrDbParametersValueChangedEnum
SummarizeAwrDbParametersValueDefaultEnum Enum with underlying type: string
type SummarizeAwrDbParametersValueDefaultEnum string
Set of constants representing the allowable values for SummarizeAwrDbParametersValueDefaultEnum
const ( SummarizeAwrDbParametersValueDefaultTrue SummarizeAwrDbParametersValueDefaultEnum = "TRUE" SummarizeAwrDbParametersValueDefaultFalse SummarizeAwrDbParametersValueDefaultEnum = "FALSE" )
func GetSummarizeAwrDbParametersValueDefaultEnumValues() []SummarizeAwrDbParametersValueDefaultEnum
GetSummarizeAwrDbParametersValueDefaultEnumValues Enumerates the set of values for SummarizeAwrDbParametersValueDefaultEnum
SummarizeAwrDbParametersValueModifiedEnum Enum with underlying type: string
type SummarizeAwrDbParametersValueModifiedEnum string
Set of constants representing the allowable values for SummarizeAwrDbParametersValueModifiedEnum
const ( SummarizeAwrDbParametersValueModifiedModified SummarizeAwrDbParametersValueModifiedEnum = "MODIFIED" SummarizeAwrDbParametersValueModifiedSystemMod SummarizeAwrDbParametersValueModifiedEnum = "SYSTEM_MOD" SummarizeAwrDbParametersValueModifiedFalse SummarizeAwrDbParametersValueModifiedEnum = "FALSE" )
func GetSummarizeAwrDbParametersValueModifiedEnumValues() []SummarizeAwrDbParametersValueModifiedEnum
GetSummarizeAwrDbParametersValueModifiedEnumValues Enumerates the set of values for SummarizeAwrDbParametersValueModifiedEnum
SummarizeAwrDbSnapshotRangesRequest wrapper for the SummarizeAwrDbSnapshotRanges operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/SummarizeAwrDbSnapshotRanges.go.html to see an example of how to use SummarizeAwrDbSnapshotRangesRequest.
type SummarizeAwrDbSnapshotRangesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The optional single value query parameter to filter the entity name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The optional greater than or equal to query parameter to filter the timestamp. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The page token representing the page, from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The option to sort the AWR summary data. SortBy SummarizeAwrDbSnapshotRangesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the the default order. SortOrder SummarizeAwrDbSnapshotRangesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // 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. 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 SummarizeAwrDbSnapshotRangesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeAwrDbSnapshotRangesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeAwrDbSnapshotRangesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeAwrDbSnapshotRangesRequest) String() string
SummarizeAwrDbSnapshotRangesResponse wrapper for the SummarizeAwrDbSnapshotRanges operation
type SummarizeAwrDbSnapshotRangesResponse struct { // The underlying http response RawResponse *http.Response // A list of AwrDbSnapshotRangeCollection instances AwrDbSnapshotRangeCollection `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 SummarizeAwrDbSnapshotRangesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeAwrDbSnapshotRangesResponse) String() string
SummarizeAwrDbSnapshotRangesSortByEnum Enum with underlying type: string
type SummarizeAwrDbSnapshotRangesSortByEnum string
Set of constants representing the allowable values for SummarizeAwrDbSnapshotRangesSortByEnum
const ( SummarizeAwrDbSnapshotRangesSortByEndIntervalTime SummarizeAwrDbSnapshotRangesSortByEnum = "END_INTERVAL_TIME" SummarizeAwrDbSnapshotRangesSortByName SummarizeAwrDbSnapshotRangesSortByEnum = "NAME" )
func GetSummarizeAwrDbSnapshotRangesSortByEnumValues() []SummarizeAwrDbSnapshotRangesSortByEnum
GetSummarizeAwrDbSnapshotRangesSortByEnumValues Enumerates the set of values for SummarizeAwrDbSnapshotRangesSortByEnum
SummarizeAwrDbSnapshotRangesSortOrderEnum Enum with underlying type: string
type SummarizeAwrDbSnapshotRangesSortOrderEnum string
Set of constants representing the allowable values for SummarizeAwrDbSnapshotRangesSortOrderEnum
const ( SummarizeAwrDbSnapshotRangesSortOrderAsc SummarizeAwrDbSnapshotRangesSortOrderEnum = "ASC" SummarizeAwrDbSnapshotRangesSortOrderDesc SummarizeAwrDbSnapshotRangesSortOrderEnum = "DESC" )
func GetSummarizeAwrDbSnapshotRangesSortOrderEnumValues() []SummarizeAwrDbSnapshotRangesSortOrderEnum
GetSummarizeAwrDbSnapshotRangesSortOrderEnumValues Enumerates the set of values for SummarizeAwrDbSnapshotRangesSortOrderEnum
SummarizeAwrDbSysstatsRequest wrapper for the SummarizeAwrDbSysstats operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/SummarizeAwrDbSysstats.go.html to see an example of how to use SummarizeAwrDbSysstatsRequest.
type SummarizeAwrDbSysstatsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The parameter to filter the database by internal ID. // Note that the internal ID of the database can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs: AwrDbId *string `mandatory:"true" contributesTo:"path" name:"awrDbId"` // The required multiple value query parameter to filter the entity name. Name []string `contributesTo:"query" name:"name" collectionFormat:"multi"` // The optional single value query parameter to filter the database instance number. InstNum *string `mandatory:"false" contributesTo:"query" name:"instNum"` // The optional greater than or equal to filter on the snapshot ID. BeginSnIdGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnIdGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the snapshot ID. EndSnIdLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnIdLessThanOrEqualTo"` // The optional greater than or equal to query parameter to filter the timestamp. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The optional query parameter to filter the database container by an exact ID value. // Note that the database container ID can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges ContainerId *int `mandatory:"false" contributesTo:"query" name:"containerId"` // The page token representing the page, from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in large paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The option to sort the data within a time period. SortBy SummarizeAwrDbSysstatsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the the default order. SortOrder SummarizeAwrDbSysstatsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // 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. 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 SummarizeAwrDbSysstatsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeAwrDbSysstatsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeAwrDbSysstatsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeAwrDbSysstatsRequest) String() string
SummarizeAwrDbSysstatsResponse wrapper for the SummarizeAwrDbSysstats operation
type SummarizeAwrDbSysstatsResponse struct { // The underlying http response RawResponse *http.Response // A list of AwrDbSysstatCollection instances AwrDbSysstatCollection `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 SummarizeAwrDbSysstatsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeAwrDbSysstatsResponse) String() string
SummarizeAwrDbSysstatsSortByEnum Enum with underlying type: string
type SummarizeAwrDbSysstatsSortByEnum string
Set of constants representing the allowable values for SummarizeAwrDbSysstatsSortByEnum
const ( SummarizeAwrDbSysstatsSortByTimeBegin SummarizeAwrDbSysstatsSortByEnum = "TIME_BEGIN" SummarizeAwrDbSysstatsSortByName SummarizeAwrDbSysstatsSortByEnum = "NAME" )
func GetSummarizeAwrDbSysstatsSortByEnumValues() []SummarizeAwrDbSysstatsSortByEnum
GetSummarizeAwrDbSysstatsSortByEnumValues Enumerates the set of values for SummarizeAwrDbSysstatsSortByEnum
SummarizeAwrDbSysstatsSortOrderEnum Enum with underlying type: string
type SummarizeAwrDbSysstatsSortOrderEnum string
Set of constants representing the allowable values for SummarizeAwrDbSysstatsSortOrderEnum
const ( SummarizeAwrDbSysstatsSortOrderAsc SummarizeAwrDbSysstatsSortOrderEnum = "ASC" SummarizeAwrDbSysstatsSortOrderDesc SummarizeAwrDbSysstatsSortOrderEnum = "DESC" )
func GetSummarizeAwrDbSysstatsSortOrderEnumValues() []SummarizeAwrDbSysstatsSortOrderEnum
GetSummarizeAwrDbSysstatsSortOrderEnumValues Enumerates the set of values for SummarizeAwrDbSysstatsSortOrderEnum
SummarizeAwrDbTopWaitEventsRequest wrapper for the SummarizeAwrDbTopWaitEvents operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/SummarizeAwrDbTopWaitEvents.go.html to see an example of how to use SummarizeAwrDbTopWaitEventsRequest.
type SummarizeAwrDbTopWaitEventsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The parameter to filter the database by internal ID. // Note that the internal ID of the database can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs: AwrDbId *string `mandatory:"true" contributesTo:"path" name:"awrDbId"` // The optional single value query parameter to filter the database instance number. InstNum *string `mandatory:"false" contributesTo:"query" name:"instNum"` // The optional greater than or equal to filter on the snapshot ID. BeginSnIdGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnIdGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the snapshot ID. EndSnIdLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnIdLessThanOrEqualTo"` // The optional greater than or equal to query parameter to filter the timestamp. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The optional query parameter to filter ASH activities by FOREGROUND or BACKGROUND. SessionType SummarizeAwrDbTopWaitEventsSessionTypeEnum `mandatory:"false" contributesTo:"query" name:"sessionType" omitEmpty:"true"` // The optional query parameter to filter the database container by an exact ID value. // Note that the database container ID can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges ContainerId *int `mandatory:"false" contributesTo:"query" name:"containerId"` // The optional query parameter to filter the number of top categories to be returned. TopN *int `mandatory:"false" contributesTo:"query" name:"topN"` // The option to sort the AWR top event summary data. SortBy SummarizeAwrDbTopWaitEventsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the the default order. SortOrder SummarizeAwrDbTopWaitEventsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // 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. 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 SummarizeAwrDbTopWaitEventsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeAwrDbTopWaitEventsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeAwrDbTopWaitEventsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeAwrDbTopWaitEventsRequest) String() string
SummarizeAwrDbTopWaitEventsResponse wrapper for the SummarizeAwrDbTopWaitEvents operation
type SummarizeAwrDbTopWaitEventsResponse struct { // The underlying http response RawResponse *http.Response // The AwrDbTopWaitEventCollection instance AwrDbTopWaitEventCollection `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 SummarizeAwrDbTopWaitEventsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeAwrDbTopWaitEventsResponse) String() string
SummarizeAwrDbTopWaitEventsSessionTypeEnum Enum with underlying type: string
type SummarizeAwrDbTopWaitEventsSessionTypeEnum string
Set of constants representing the allowable values for SummarizeAwrDbTopWaitEventsSessionTypeEnum
const ( SummarizeAwrDbTopWaitEventsSessionTypeForeground SummarizeAwrDbTopWaitEventsSessionTypeEnum = "FOREGROUND" SummarizeAwrDbTopWaitEventsSessionTypeBackground SummarizeAwrDbTopWaitEventsSessionTypeEnum = "BACKGROUND" SummarizeAwrDbTopWaitEventsSessionTypeAll SummarizeAwrDbTopWaitEventsSessionTypeEnum = "ALL" )
func GetSummarizeAwrDbTopWaitEventsSessionTypeEnumValues() []SummarizeAwrDbTopWaitEventsSessionTypeEnum
GetSummarizeAwrDbTopWaitEventsSessionTypeEnumValues Enumerates the set of values for SummarizeAwrDbTopWaitEventsSessionTypeEnum
SummarizeAwrDbTopWaitEventsSortByEnum Enum with underlying type: string
type SummarizeAwrDbTopWaitEventsSortByEnum string
Set of constants representing the allowable values for SummarizeAwrDbTopWaitEventsSortByEnum
const ( SummarizeAwrDbTopWaitEventsSortByWaitsPersec SummarizeAwrDbTopWaitEventsSortByEnum = "WAITS_PERSEC" SummarizeAwrDbTopWaitEventsSortByAvgWaitTimePersec SummarizeAwrDbTopWaitEventsSortByEnum = "AVG_WAIT_TIME_PERSEC" )
func GetSummarizeAwrDbTopWaitEventsSortByEnumValues() []SummarizeAwrDbTopWaitEventsSortByEnum
GetSummarizeAwrDbTopWaitEventsSortByEnumValues Enumerates the set of values for SummarizeAwrDbTopWaitEventsSortByEnum
SummarizeAwrDbTopWaitEventsSortOrderEnum Enum with underlying type: string
type SummarizeAwrDbTopWaitEventsSortOrderEnum string
Set of constants representing the allowable values for SummarizeAwrDbTopWaitEventsSortOrderEnum
const ( SummarizeAwrDbTopWaitEventsSortOrderAsc SummarizeAwrDbTopWaitEventsSortOrderEnum = "ASC" SummarizeAwrDbTopWaitEventsSortOrderDesc SummarizeAwrDbTopWaitEventsSortOrderEnum = "DESC" )
func GetSummarizeAwrDbTopWaitEventsSortOrderEnumValues() []SummarizeAwrDbTopWaitEventsSortOrderEnum
GetSummarizeAwrDbTopWaitEventsSortOrderEnumValues Enumerates the set of values for SummarizeAwrDbTopWaitEventsSortOrderEnum
SummarizeAwrDbWaitEventBucketsRequest wrapper for the SummarizeAwrDbWaitEventBuckets operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/SummarizeAwrDbWaitEventBuckets.go.html to see an example of how to use SummarizeAwrDbWaitEventBucketsRequest.
type SummarizeAwrDbWaitEventBucketsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The parameter to filter the database by internal ID. // Note that the internal ID of the database can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs: AwrDbId *string `mandatory:"true" contributesTo:"path" name:"awrDbId"` // The required single value query parameter to filter the entity name. Name *string `mandatory:"true" contributesTo:"query" name:"name"` // The optional single value query parameter to filter the database instance number. InstNum *string `mandatory:"false" contributesTo:"query" name:"instNum"` // The optional greater than or equal to filter on the snapshot ID. BeginSnIdGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnIdGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the snapshot ID. EndSnIdLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnIdLessThanOrEqualTo"` // The optional greater than or equal to query parameter to filter the timestamp. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The number of buckets within the histogram. NumBucket *int `mandatory:"false" contributesTo:"query" name:"numBucket"` // The minimum value of the histogram. MinValue *float64 `mandatory:"false" contributesTo:"query" name:"minValue"` // The maximum value of the histogram. MaxValue *float64 `mandatory:"false" contributesTo:"query" name:"maxValue"` // The optional query parameter to filter the database container by an exact ID value. // Note that the database container ID can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges ContainerId *int `mandatory:"false" contributesTo:"query" name:"containerId"` // The page token representing the page, from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in large paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The option to sort distribution data. SortBy SummarizeAwrDbWaitEventBucketsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the the default order. SortOrder SummarizeAwrDbWaitEventBucketsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // 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. 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 SummarizeAwrDbWaitEventBucketsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeAwrDbWaitEventBucketsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeAwrDbWaitEventBucketsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeAwrDbWaitEventBucketsRequest) String() string
SummarizeAwrDbWaitEventBucketsResponse wrapper for the SummarizeAwrDbWaitEventBuckets operation
type SummarizeAwrDbWaitEventBucketsResponse struct { // The underlying http response RawResponse *http.Response // A list of AwrDbWaitEventBucketCollection instances AwrDbWaitEventBucketCollection `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 SummarizeAwrDbWaitEventBucketsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeAwrDbWaitEventBucketsResponse) String() string
SummarizeAwrDbWaitEventBucketsSortByEnum Enum with underlying type: string
type SummarizeAwrDbWaitEventBucketsSortByEnum string
Set of constants representing the allowable values for SummarizeAwrDbWaitEventBucketsSortByEnum
const ( SummarizeAwrDbWaitEventBucketsSortByCategory SummarizeAwrDbWaitEventBucketsSortByEnum = "CATEGORY" SummarizeAwrDbWaitEventBucketsSortByPercentage SummarizeAwrDbWaitEventBucketsSortByEnum = "PERCENTAGE" )
func GetSummarizeAwrDbWaitEventBucketsSortByEnumValues() []SummarizeAwrDbWaitEventBucketsSortByEnum
GetSummarizeAwrDbWaitEventBucketsSortByEnumValues Enumerates the set of values for SummarizeAwrDbWaitEventBucketsSortByEnum
SummarizeAwrDbWaitEventBucketsSortOrderEnum Enum with underlying type: string
type SummarizeAwrDbWaitEventBucketsSortOrderEnum string
Set of constants representing the allowable values for SummarizeAwrDbWaitEventBucketsSortOrderEnum
const ( SummarizeAwrDbWaitEventBucketsSortOrderAsc SummarizeAwrDbWaitEventBucketsSortOrderEnum = "ASC" SummarizeAwrDbWaitEventBucketsSortOrderDesc SummarizeAwrDbWaitEventBucketsSortOrderEnum = "DESC" )
func GetSummarizeAwrDbWaitEventBucketsSortOrderEnumValues() []SummarizeAwrDbWaitEventBucketsSortOrderEnum
GetSummarizeAwrDbWaitEventBucketsSortOrderEnumValues Enumerates the set of values for SummarizeAwrDbWaitEventBucketsSortOrderEnum
SummarizeAwrDbWaitEventsRequest wrapper for the SummarizeAwrDbWaitEvents operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/SummarizeAwrDbWaitEvents.go.html to see an example of how to use SummarizeAwrDbWaitEventsRequest.
type SummarizeAwrDbWaitEventsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The parameter to filter the database by internal ID. // Note that the internal ID of the database can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs: AwrDbId *string `mandatory:"true" contributesTo:"path" name:"awrDbId"` // The optional single value query parameter to filter the database instance number. InstNum *string `mandatory:"false" contributesTo:"query" name:"instNum"` // The optional greater than or equal to filter on the snapshot ID. BeginSnIdGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnIdGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the snapshot ID. EndSnIdLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnIdLessThanOrEqualTo"` // The optional greater than or equal to query parameter to filter the timestamp. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The optional multiple value query parameter to filter the entity name. Name []string `contributesTo:"query" name:"name" collectionFormat:"multi"` // The optional query parameter to filter ASH activities by FOREGROUND or BACKGROUND. SessionType SummarizeAwrDbWaitEventsSessionTypeEnum `mandatory:"false" contributesTo:"query" name:"sessionType" omitEmpty:"true"` // The optional query parameter to filter the database container by an exact ID value. // Note that the database container ID can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges ContainerId *int `mandatory:"false" contributesTo:"query" name:"containerId"` // The page token representing the page, from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in large paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The option to sort the data within a time period. SortBy SummarizeAwrDbWaitEventsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the the default order. SortOrder SummarizeAwrDbWaitEventsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // 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. 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 SummarizeAwrDbWaitEventsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeAwrDbWaitEventsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeAwrDbWaitEventsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeAwrDbWaitEventsRequest) String() string
SummarizeAwrDbWaitEventsResponse wrapper for the SummarizeAwrDbWaitEvents operation
type SummarizeAwrDbWaitEventsResponse struct { // The underlying http response RawResponse *http.Response // A list of AwrDbWaitEventCollection instances AwrDbWaitEventCollection `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 SummarizeAwrDbWaitEventsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeAwrDbWaitEventsResponse) String() string
SummarizeAwrDbWaitEventsSessionTypeEnum Enum with underlying type: string
type SummarizeAwrDbWaitEventsSessionTypeEnum string
Set of constants representing the allowable values for SummarizeAwrDbWaitEventsSessionTypeEnum
const ( SummarizeAwrDbWaitEventsSessionTypeForeground SummarizeAwrDbWaitEventsSessionTypeEnum = "FOREGROUND" SummarizeAwrDbWaitEventsSessionTypeBackground SummarizeAwrDbWaitEventsSessionTypeEnum = "BACKGROUND" SummarizeAwrDbWaitEventsSessionTypeAll SummarizeAwrDbWaitEventsSessionTypeEnum = "ALL" )
func GetSummarizeAwrDbWaitEventsSessionTypeEnumValues() []SummarizeAwrDbWaitEventsSessionTypeEnum
GetSummarizeAwrDbWaitEventsSessionTypeEnumValues Enumerates the set of values for SummarizeAwrDbWaitEventsSessionTypeEnum
SummarizeAwrDbWaitEventsSortByEnum Enum with underlying type: string
type SummarizeAwrDbWaitEventsSortByEnum string
Set of constants representing the allowable values for SummarizeAwrDbWaitEventsSortByEnum
const ( SummarizeAwrDbWaitEventsSortByTimeBegin SummarizeAwrDbWaitEventsSortByEnum = "TIME_BEGIN" SummarizeAwrDbWaitEventsSortByName SummarizeAwrDbWaitEventsSortByEnum = "NAME" )
func GetSummarizeAwrDbWaitEventsSortByEnumValues() []SummarizeAwrDbWaitEventsSortByEnum
GetSummarizeAwrDbWaitEventsSortByEnumValues Enumerates the set of values for SummarizeAwrDbWaitEventsSortByEnum
SummarizeAwrDbWaitEventsSortOrderEnum Enum with underlying type: string
type SummarizeAwrDbWaitEventsSortOrderEnum string
Set of constants representing the allowable values for SummarizeAwrDbWaitEventsSortOrderEnum
const ( SummarizeAwrDbWaitEventsSortOrderAsc SummarizeAwrDbWaitEventsSortOrderEnum = "ASC" SummarizeAwrDbWaitEventsSortOrderDesc SummarizeAwrDbWaitEventsSortOrderEnum = "DESC" )
func GetSummarizeAwrDbWaitEventsSortOrderEnumValues() []SummarizeAwrDbWaitEventsSortOrderEnum
GetSummarizeAwrDbWaitEventsSortOrderEnumValues Enumerates the set of values for SummarizeAwrDbWaitEventsSortOrderEnum
Tablespace The details of a tablespace.
type Tablespace struct { // The name of the tablespace. Name *string `mandatory:"true" json:"name"` // The type of the tablespace. Type TablespaceTypeEnum `mandatory:"true" json:"type"` // The status of the tablespace. Status TablespaceStatusEnum `mandatory:"false" json:"status,omitempty"` // The tablespace block size in bytes. BlockSizeBytes *float32 `mandatory:"false" json:"blockSizeBytes"` // The default logging attribute. Logging TablespaceLoggingEnum `mandatory:"false" json:"logging,omitempty"` // Indicates whether the tablespace is under Force Logging mode. IsForceLogging *bool `mandatory:"false" json:"isForceLogging"` // Indicates whether the extents in the tablespace are Locally managed or Dictionary managed. ExtentManagement TablespaceExtentManagementEnum `mandatory:"false" json:"extentManagement,omitempty"` // The type of extent allocation in effect for the tablespace. AllocationType TablespaceAllocationTypeEnum `mandatory:"false" json:"allocationType,omitempty"` // Indicates whether the tablespace is plugged in. IsPluggedIn *bool `mandatory:"false" json:"isPluggedIn"` // Indicates whether the free and used segment space in the tablespace is managed using free lists (MANUAL) or bitmaps (AUTO). SegmentSpaceManagement TablespaceSegmentSpaceManagementEnum `mandatory:"false" json:"segmentSpaceManagement,omitempty"` // Indicates whether default table compression is enabled or disabled. DefaultTableCompression TablespaceDefaultTableCompressionEnum `mandatory:"false" json:"defaultTableCompression,omitempty"` // Indicates whether undo retention guarantee is enabled for the tablespace. Retention TablespaceRetentionEnum `mandatory:"false" json:"retention,omitempty"` // Indicates whether the tablespace is a Bigfile tablespace or a Smallfile tablespace. IsBigfile *bool `mandatory:"false" json:"isBigfile"` // Indicates whether predicates are evaluated by Host or by Storage. PredicateEvaluation TablespacePredicateEvaluationEnum `mandatory:"false" json:"predicateEvaluation,omitempty"` // Indicates whether the tablespace is encrypted. IsEncrypted *bool `mandatory:"false" json:"isEncrypted"` // The operation type for which default compression is enabled. CompressFor TablespaceCompressForEnum `mandatory:"false" json:"compressFor,omitempty"` // Indicates whether the In-Memory Column Store (IM column store) is by default enabled or disabled for tables in this tablespace. DefaultInMemory TablespaceDefaultInMemoryEnum `mandatory:"false" json:"defaultInMemory,omitempty"` // Indicates the default priority for In-Memory Column Store (IM column store) population for this tablespace. DefaultInMemoryPriority TablespaceDefaultInMemoryPriorityEnum `mandatory:"false" json:"defaultInMemoryPriority,omitempty"` // Indicates how the IM column store is distributed by default for this tablespace in an Oracle Real Application Clusters (Oracle RAC) environment. DefaultInMemoryDistribute TablespaceDefaultInMemoryDistributeEnum `mandatory:"false" json:"defaultInMemoryDistribute,omitempty"` // Indicates the default compression level for the IM column store for this tablespace. DefaultInMemoryCompression TablespaceDefaultInMemoryCompressionEnum `mandatory:"false" json:"defaultInMemoryCompression,omitempty"` // Indicates the duplicate setting for the IM column store in an Oracle RAC environment. DefaultInMemoryDuplicate TablespaceDefaultInMemoryDuplicateEnum `mandatory:"false" json:"defaultInMemoryDuplicate,omitempty"` // Indicates whether the tablespace is for shared tablespace, or for local temporary tablespace for leaf (read-only) instances, or for local temporary tablespace for all instance types. Shared TablespaceSharedEnum `mandatory:"false" json:"shared,omitempty"` // Indicates whether default index compression is enabled or disabled. DefaultIndexCompression TablespaceDefaultIndexCompressionEnum `mandatory:"false" json:"defaultIndexCompression,omitempty"` // The operation type for which default index compression is enabled. IndexCompressFor TablespaceIndexCompressForEnum `mandatory:"false" json:"indexCompressFor,omitempty"` // This specifies the default value for the CELLMEMORY attribute that tables created in the tablespace will inherit unless the behavior is overridden explicitly. This column is intended for use with Oracle Exadata. DefaultCellMemory *string `mandatory:"false" json:"defaultCellMemory"` // Indicates how the IM column store is populated on various instances by default for this tablespace. DefaultInMemoryService TablespaceDefaultInMemoryServiceEnum `mandatory:"false" json:"defaultInMemoryService,omitempty"` // Indicates the service name for the service on which the IM column store should be populated by default for this tablespace. This column has a value only when the corresponding DEF_INMEMORY_SERVICE is USER_DEFINED. In all other cases, this column is null. DefaultInMemoryServiceName *string `mandatory:"false" json:"defaultInMemoryServiceName"` // The lost write protection setting for the tablespace. LostWriteProtect TablespaceLostWriteProtectEnum `mandatory:"false" json:"lostWriteProtect,omitempty"` // Indicates whether this is a chunk tablespace. IsChunkTablespace *bool `mandatory:"false" json:"isChunkTablespace"` // The temporary tablespace group. TempGroup *string `mandatory:"false" json:"tempGroup"` // The maximum tablespace size in KB. If the tablespace contains any datafiles with Autoextend enabled, then this column displays the amount of underlying free storage space for the tablespace. For example, if the current tablespace size is 1 GB, the combined maximum size of all its datafiles is 32 GB, and its underlying storage (for example, ASM or file system storage) has 20 GB of free space, then this column will have a value of approximately 20 GB. If the tablespace contains only datafiles with autoextend disabled, then this column displays the allocated space for the entire tablespace, that is, the combined size of all datafiles in the tablespace. MaxSizeKB *float32 `mandatory:"false" json:"maxSizeKB"` // The allocated tablespace size in KB. AllocatedSizeKB *float32 `mandatory:"false" json:"allocatedSizeKB"` // The size of the tablespace available for user data in KB. The difference between tablespace size and user data size is used for storing metadata. UserSizeKB *float32 `mandatory:"false" json:"userSizeKB"` // The free space available in this tablespace in KB. FreeSpaceKB *float32 `mandatory:"false" json:"freeSpaceKB"` // The total space used by the tablespace in KB. UsedSpaceKB *float32 `mandatory:"false" json:"usedSpaceKB"` // The percentage of used space out of the maximum available space in the tablespace. UsedPercentAvailable *float64 `mandatory:"false" json:"usedPercentAvailable"` // The percentage of used space out of the total allocated space in the tablespace. UsedPercentAllocated *float64 `mandatory:"false" json:"usedPercentAllocated"` // A list of the datafiles associated with the tablespace. Datafiles []Datafile `mandatory:"false" json:"datafiles"` }
func (m Tablespace) String() string
TablespaceAllocationTypeEnum Enum with underlying type: string
type TablespaceAllocationTypeEnum string
Set of constants representing the allowable values for TablespaceAllocationTypeEnum
const ( TablespaceAllocationTypeSystem TablespaceAllocationTypeEnum = "SYSTEM" TablespaceAllocationTypeUniform TablespaceAllocationTypeEnum = "UNIFORM" TablespaceAllocationTypeUser TablespaceAllocationTypeEnum = "USER" )
func GetTablespaceAllocationTypeEnumValues() []TablespaceAllocationTypeEnum
GetTablespaceAllocationTypeEnumValues Enumerates the set of values for TablespaceAllocationTypeEnum
TablespaceCollection A collection of tablespaces for a specific database.
type TablespaceCollection struct { // An array of TablespaceSummary resources. Items []TablespaceSummary `mandatory:"true" json:"items"` }
func (m TablespaceCollection) String() string
TablespaceCompressForEnum Enum with underlying type: string
type TablespaceCompressForEnum string
Set of constants representing the allowable values for TablespaceCompressForEnum
const ( TablespaceCompressForBasic TablespaceCompressForEnum = "BASIC" TablespaceCompressForAdvanced TablespaceCompressForEnum = "ADVANCED" TablespaceCompressForQueryLow TablespaceCompressForEnum = "QUERY_LOW" TablespaceCompressForQueryHigh TablespaceCompressForEnum = "QUERY_HIGH" TablespaceCompressForArchiveLow TablespaceCompressForEnum = "ARCHIVE_LOW" TablespaceCompressForArchiveHigh TablespaceCompressForEnum = "ARCHIVE_HIGH" TablespaceCompressForDirectLoadOnly TablespaceCompressForEnum = "DIRECT_LOAD_ONLY" TablespaceCompressForForAllOperations TablespaceCompressForEnum = "FOR_ALL_OPERATIONS" )
func GetTablespaceCompressForEnumValues() []TablespaceCompressForEnum
GetTablespaceCompressForEnumValues Enumerates the set of values for TablespaceCompressForEnum
TablespaceDefaultInMemoryCompressionEnum Enum with underlying type: string
type TablespaceDefaultInMemoryCompressionEnum string
Set of constants representing the allowable values for TablespaceDefaultInMemoryCompressionEnum
const ( TablespaceDefaultInMemoryCompressionNoMemcompress TablespaceDefaultInMemoryCompressionEnum = "NO_MEMCOMPRESS" TablespaceDefaultInMemoryCompressionForDml TablespaceDefaultInMemoryCompressionEnum = "FOR_DML" TablespaceDefaultInMemoryCompressionForQueryLow TablespaceDefaultInMemoryCompressionEnum = "FOR_QUERY_LOW" TablespaceDefaultInMemoryCompressionForQueryHigh TablespaceDefaultInMemoryCompressionEnum = "FOR_QUERY_HIGH" TablespaceDefaultInMemoryCompressionForCapacityLow TablespaceDefaultInMemoryCompressionEnum = "FOR_CAPACITY_LOW" TablespaceDefaultInMemoryCompressionForCapacityHigh TablespaceDefaultInMemoryCompressionEnum = "FOR_CAPACITY_HIGH" )
func GetTablespaceDefaultInMemoryCompressionEnumValues() []TablespaceDefaultInMemoryCompressionEnum
GetTablespaceDefaultInMemoryCompressionEnumValues Enumerates the set of values for TablespaceDefaultInMemoryCompressionEnum
TablespaceDefaultInMemoryDistributeEnum Enum with underlying type: string
type TablespaceDefaultInMemoryDistributeEnum string
Set of constants representing the allowable values for TablespaceDefaultInMemoryDistributeEnum
const ( TablespaceDefaultInMemoryDistributeAuto TablespaceDefaultInMemoryDistributeEnum = "AUTO" TablespaceDefaultInMemoryDistributeByRowidRange TablespaceDefaultInMemoryDistributeEnum = "BY_ROWID_RANGE" TablespaceDefaultInMemoryDistributeByPartition TablespaceDefaultInMemoryDistributeEnum = "BY_PARTITION" TablespaceDefaultInMemoryDistributeBySubpartition TablespaceDefaultInMemoryDistributeEnum = "BY_SUBPARTITION" )
func GetTablespaceDefaultInMemoryDistributeEnumValues() []TablespaceDefaultInMemoryDistributeEnum
GetTablespaceDefaultInMemoryDistributeEnumValues Enumerates the set of values for TablespaceDefaultInMemoryDistributeEnum
TablespaceDefaultInMemoryDuplicateEnum Enum with underlying type: string
type TablespaceDefaultInMemoryDuplicateEnum string
Set of constants representing the allowable values for TablespaceDefaultInMemoryDuplicateEnum
const ( TablespaceDefaultInMemoryDuplicateNoDuplicate TablespaceDefaultInMemoryDuplicateEnum = "NO_DUPLICATE" TablespaceDefaultInMemoryDuplicateDuplicate TablespaceDefaultInMemoryDuplicateEnum = "DUPLICATE" TablespaceDefaultInMemoryDuplicateDuplicateAll TablespaceDefaultInMemoryDuplicateEnum = "DUPLICATE_ALL" )
func GetTablespaceDefaultInMemoryDuplicateEnumValues() []TablespaceDefaultInMemoryDuplicateEnum
GetTablespaceDefaultInMemoryDuplicateEnumValues Enumerates the set of values for TablespaceDefaultInMemoryDuplicateEnum
TablespaceDefaultInMemoryEnum Enum with underlying type: string
type TablespaceDefaultInMemoryEnum string
Set of constants representing the allowable values for TablespaceDefaultInMemoryEnum
const ( TablespaceDefaultInMemoryEnabled TablespaceDefaultInMemoryEnum = "ENABLED" TablespaceDefaultInMemoryDisabled TablespaceDefaultInMemoryEnum = "DISABLED" )
func GetTablespaceDefaultInMemoryEnumValues() []TablespaceDefaultInMemoryEnum
GetTablespaceDefaultInMemoryEnumValues Enumerates the set of values for TablespaceDefaultInMemoryEnum
TablespaceDefaultInMemoryPriorityEnum Enum with underlying type: string
type TablespaceDefaultInMemoryPriorityEnum string
Set of constants representing the allowable values for TablespaceDefaultInMemoryPriorityEnum
const ( TablespaceDefaultInMemoryPriorityLow TablespaceDefaultInMemoryPriorityEnum = "LOW" TablespaceDefaultInMemoryPriorityMedium TablespaceDefaultInMemoryPriorityEnum = "MEDIUM" TablespaceDefaultInMemoryPriorityHigh TablespaceDefaultInMemoryPriorityEnum = "HIGH" TablespaceDefaultInMemoryPriorityCritical TablespaceDefaultInMemoryPriorityEnum = "CRITICAL" TablespaceDefaultInMemoryPriorityNone TablespaceDefaultInMemoryPriorityEnum = "NONE" )
func GetTablespaceDefaultInMemoryPriorityEnumValues() []TablespaceDefaultInMemoryPriorityEnum
GetTablespaceDefaultInMemoryPriorityEnumValues Enumerates the set of values for TablespaceDefaultInMemoryPriorityEnum
TablespaceDefaultInMemoryServiceEnum Enum with underlying type: string
type TablespaceDefaultInMemoryServiceEnum string
Set of constants representing the allowable values for TablespaceDefaultInMemoryServiceEnum
const ( TablespaceDefaultInMemoryServiceDefault TablespaceDefaultInMemoryServiceEnum = "DEFAULT" TablespaceDefaultInMemoryServiceNone TablespaceDefaultInMemoryServiceEnum = "NONE" TablespaceDefaultInMemoryServiceAll TablespaceDefaultInMemoryServiceEnum = "ALL" TablespaceDefaultInMemoryServiceUserDefined TablespaceDefaultInMemoryServiceEnum = "USER_DEFINED" )
func GetTablespaceDefaultInMemoryServiceEnumValues() []TablespaceDefaultInMemoryServiceEnum
GetTablespaceDefaultInMemoryServiceEnumValues Enumerates the set of values for TablespaceDefaultInMemoryServiceEnum
TablespaceDefaultIndexCompressionEnum Enum with underlying type: string
type TablespaceDefaultIndexCompressionEnum string
Set of constants representing the allowable values for TablespaceDefaultIndexCompressionEnum
const ( TablespaceDefaultIndexCompressionEnabled TablespaceDefaultIndexCompressionEnum = "ENABLED" TablespaceDefaultIndexCompressionDisabled TablespaceDefaultIndexCompressionEnum = "DISABLED" )
func GetTablespaceDefaultIndexCompressionEnumValues() []TablespaceDefaultIndexCompressionEnum
GetTablespaceDefaultIndexCompressionEnumValues Enumerates the set of values for TablespaceDefaultIndexCompressionEnum
TablespaceDefaultTableCompressionEnum Enum with underlying type: string
type TablespaceDefaultTableCompressionEnum string
Set of constants representing the allowable values for TablespaceDefaultTableCompressionEnum
const ( TablespaceDefaultTableCompressionEnabled TablespaceDefaultTableCompressionEnum = "ENABLED" TablespaceDefaultTableCompressionDisabled TablespaceDefaultTableCompressionEnum = "DISABLED" )
func GetTablespaceDefaultTableCompressionEnumValues() []TablespaceDefaultTableCompressionEnum
GetTablespaceDefaultTableCompressionEnumValues Enumerates the set of values for TablespaceDefaultTableCompressionEnum
TablespaceExtentManagementEnum Enum with underlying type: string
type TablespaceExtentManagementEnum string
Set of constants representing the allowable values for TablespaceExtentManagementEnum
const ( TablespaceExtentManagementLocal TablespaceExtentManagementEnum = "LOCAL" TablespaceExtentManagementDictionary TablespaceExtentManagementEnum = "DICTIONARY" )
func GetTablespaceExtentManagementEnumValues() []TablespaceExtentManagementEnum
GetTablespaceExtentManagementEnumValues Enumerates the set of values for TablespaceExtentManagementEnum
TablespaceIndexCompressForEnum Enum with underlying type: string
type TablespaceIndexCompressForEnum string
Set of constants representing the allowable values for TablespaceIndexCompressForEnum
const ( TablespaceIndexCompressForLow TablespaceIndexCompressForEnum = "ADVANCED_LOW" TablespaceIndexCompressForHigh TablespaceIndexCompressForEnum = "ADVANCED_HIGH" )
func GetTablespaceIndexCompressForEnumValues() []TablespaceIndexCompressForEnum
GetTablespaceIndexCompressForEnumValues Enumerates the set of values for TablespaceIndexCompressForEnum
TablespaceLoggingEnum Enum with underlying type: string
type TablespaceLoggingEnum string
Set of constants representing the allowable values for TablespaceLoggingEnum
const ( TablespaceLoggingLogging TablespaceLoggingEnum = "LOGGING" TablespaceLoggingNologging TablespaceLoggingEnum = "NOLOGGING" )
func GetTablespaceLoggingEnumValues() []TablespaceLoggingEnum
GetTablespaceLoggingEnumValues Enumerates the set of values for TablespaceLoggingEnum
TablespaceLostWriteProtectEnum Enum with underlying type: string
type TablespaceLostWriteProtectEnum string
Set of constants representing the allowable values for TablespaceLostWriteProtectEnum
const ( TablespaceLostWriteProtectEnabled TablespaceLostWriteProtectEnum = "ENABLED" TablespaceLostWriteProtectProtectOff TablespaceLostWriteProtectEnum = "PROTECT_OFF" TablespaceLostWriteProtectSuspend TablespaceLostWriteProtectEnum = "SUSPEND" )
func GetTablespaceLostWriteProtectEnumValues() []TablespaceLostWriteProtectEnum
GetTablespaceLostWriteProtectEnumValues Enumerates the set of values for TablespaceLostWriteProtectEnum
TablespacePredicateEvaluationEnum Enum with underlying type: string
type TablespacePredicateEvaluationEnum string
Set of constants representing the allowable values for TablespacePredicateEvaluationEnum
const ( TablespacePredicateEvaluationHost TablespacePredicateEvaluationEnum = "HOST" TablespacePredicateEvaluationStorage TablespacePredicateEvaluationEnum = "STORAGE" )
func GetTablespacePredicateEvaluationEnumValues() []TablespacePredicateEvaluationEnum
GetTablespacePredicateEvaluationEnumValues Enumerates the set of values for TablespacePredicateEvaluationEnum
TablespaceRetentionEnum Enum with underlying type: string
type TablespaceRetentionEnum string
Set of constants representing the allowable values for TablespaceRetentionEnum
const ( TablespaceRetentionGuarantee TablespaceRetentionEnum = "GUARANTEE" TablespaceRetentionNoguarantee TablespaceRetentionEnum = "NOGUARANTEE" TablespaceRetentionNotApply TablespaceRetentionEnum = "NOT_APPLY" )
func GetTablespaceRetentionEnumValues() []TablespaceRetentionEnum
GetTablespaceRetentionEnumValues Enumerates the set of values for TablespaceRetentionEnum
TablespaceSegmentSpaceManagementEnum Enum with underlying type: string
type TablespaceSegmentSpaceManagementEnum string
Set of constants representing the allowable values for TablespaceSegmentSpaceManagementEnum
const ( TablespaceSegmentSpaceManagementManual TablespaceSegmentSpaceManagementEnum = "MANUAL" TablespaceSegmentSpaceManagementAuto TablespaceSegmentSpaceManagementEnum = "AUTO" )
func GetTablespaceSegmentSpaceManagementEnumValues() []TablespaceSegmentSpaceManagementEnum
GetTablespaceSegmentSpaceManagementEnumValues Enumerates the set of values for TablespaceSegmentSpaceManagementEnum
TablespaceSharedEnum Enum with underlying type: string
type TablespaceSharedEnum string
Set of constants representing the allowable values for TablespaceSharedEnum
const ( TablespaceSharedEnum = "SHARED" TablespaceSharedEnum = "LOCAL_ON_LEAF" TablespaceSharedEnum = "LOCAL_ON_ALL" )
func GetTablespaceSharedEnumValues() []TablespaceSharedEnum
GetTablespaceSharedEnumValues Enumerates the set of values for TablespaceSharedEnum
TablespaceStatusEnum Enum with underlying type: string
type TablespaceStatusEnum string
Set of constants representing the allowable values for TablespaceStatusEnum
const ( TablespaceStatusOnline TablespaceStatusEnum = "ONLINE" TablespaceStatusOffline TablespaceStatusEnum = "OFFLINE" TablespaceStatusReadOnly TablespaceStatusEnum = "READ_ONLY" )
func GetTablespaceStatusEnumValues() []TablespaceStatusEnum
GetTablespaceStatusEnumValues Enumerates the set of values for TablespaceStatusEnum
TablespaceSummary The summary of a tablespace.
type TablespaceSummary struct { // The name of the tablespace. Name *string `mandatory:"true" json:"name"` // The type of the tablespace. Type TablespaceSummaryTypeEnum `mandatory:"true" json:"type"` // The status of the tablespace. Status TablespaceSummaryStatusEnum `mandatory:"false" json:"status,omitempty"` // The tablespace block size in bytes. BlockSizeBytes *float32 `mandatory:"false" json:"blockSizeBytes"` // The default logging attribute. Logging TablespaceSummaryLoggingEnum `mandatory:"false" json:"logging,omitempty"` // Indicates whether the tablespace is under Force Logging mode. IsForceLogging *bool `mandatory:"false" json:"isForceLogging"` // Indicates whether the extents in the tablespace are Locally managed or Dictionary managed. ExtentManagement TablespaceSummaryExtentManagementEnum `mandatory:"false" json:"extentManagement,omitempty"` // The type of extent allocation in effect for the tablespace. AllocationType TablespaceSummaryAllocationTypeEnum `mandatory:"false" json:"allocationType,omitempty"` // Indicates whether the tablespace is plugged in. IsPluggedIn *bool `mandatory:"false" json:"isPluggedIn"` // Indicates whether the free and used segment space in the tablespace is managed using free lists (MANUAL) or bitmaps (AUTO). SegmentSpaceManagement TablespaceSummarySegmentSpaceManagementEnum `mandatory:"false" json:"segmentSpaceManagement,omitempty"` // Indicates whether default table compression is enabled or disabled. DefaultTableCompression TablespaceSummaryDefaultTableCompressionEnum `mandatory:"false" json:"defaultTableCompression,omitempty"` // Indicates whether undo retention guarantee is enabled for the tablespace. Retention TablespaceSummaryRetentionEnum `mandatory:"false" json:"retention,omitempty"` // Indicates whether the tablespace is a Bigfile tablespace or a Smallfile tablespace. IsBigfile *bool `mandatory:"false" json:"isBigfile"` // Indicates whether predicates are evaluated by Host or by Storage. PredicateEvaluation TablespaceSummaryPredicateEvaluationEnum `mandatory:"false" json:"predicateEvaluation,omitempty"` // Indicates whether the tablespace is encrypted. IsEncrypted *bool `mandatory:"false" json:"isEncrypted"` // The operation type for which default compression is enabled. CompressFor TablespaceSummaryCompressForEnum `mandatory:"false" json:"compressFor,omitempty"` // Indicates whether the In-Memory Column Store (IM column store) is by default enabled or disabled for tables in this tablespace. DefaultInMemory TablespaceSummaryDefaultInMemoryEnum `mandatory:"false" json:"defaultInMemory,omitempty"` // Indicates the default priority for In-Memory Column Store (IM column store) population for this tablespace. DefaultInMemoryPriority TablespaceSummaryDefaultInMemoryPriorityEnum `mandatory:"false" json:"defaultInMemoryPriority,omitempty"` // Indicates how the IM column store is distributed by default for this tablespace in an Oracle Real Application Clusters (Oracle RAC) environment. DefaultInMemoryDistribute TablespaceSummaryDefaultInMemoryDistributeEnum `mandatory:"false" json:"defaultInMemoryDistribute,omitempty"` // Indicates the default compression level for the IM column store for this tablespace. DefaultInMemoryCompression TablespaceSummaryDefaultInMemoryCompressionEnum `mandatory:"false" json:"defaultInMemoryCompression,omitempty"` // Indicates the duplicate setting for the IM column store in an Oracle RAC environment. DefaultInMemoryDuplicate TablespaceSummaryDefaultInMemoryDuplicateEnum `mandatory:"false" json:"defaultInMemoryDuplicate,omitempty"` // Indicates whether the tablespace is for shared tablespace, or for local temporary tablespace for leaf (read-only) instances, or for local temporary tablespace for all instance types. Shared TablespaceSummarySharedEnum `mandatory:"false" json:"shared,omitempty"` // Indicates whether default index compression is enabled or disabled. DefaultIndexCompression TablespaceSummaryDefaultIndexCompressionEnum `mandatory:"false" json:"defaultIndexCompression,omitempty"` // The operation type for which default index compression is enabled. IndexCompressFor TablespaceSummaryIndexCompressForEnum `mandatory:"false" json:"indexCompressFor,omitempty"` // This specifies the default value for the CELLMEMORY attribute that tables created in the tablespace will inherit unless the behavior is overridden explicitly. This column is intended for use with Oracle Exadata. DefaultCellMemory *string `mandatory:"false" json:"defaultCellMemory"` // Indicates how the IM column store is populated on various instances by default for this tablespace. DefaultInMemoryService TablespaceSummaryDefaultInMemoryServiceEnum `mandatory:"false" json:"defaultInMemoryService,omitempty"` // Indicates the service name for the service on which the IM column store should be populated by default for this tablespace. This column has a value only when the corresponding DEF_INMEMORY_SERVICE is USER_DEFINED. In all other cases, this column is null. DefaultInMemoryServiceName *string `mandatory:"false" json:"defaultInMemoryServiceName"` // The lost write protection setting for the tablespace. LostWriteProtect TablespaceSummaryLostWriteProtectEnum `mandatory:"false" json:"lostWriteProtect,omitempty"` // Indicates whether this is a chunk tablespace. IsChunkTablespace *bool `mandatory:"false" json:"isChunkTablespace"` // The temporary tablespace group. TempGroup *string `mandatory:"false" json:"tempGroup"` // The maximum tablespace size in KB. If the tablespace contains any datafiles with Autoextend enabled, then this column displays the amount of underlying free storage space for the tablespace. For example, if the current tablespace size is 1 GB, the combined maximum size of all its datafiles is 32 GB, and its underlying storage (for example, ASM or file system storage) has 20 GB of free space, then this column will have a value of approximately 20 GB. If the tablespace contains only datafiles with autoextend disabled, then this column displays the allocated space for the entire tablespace, that is, the combined size of all datafiles in the tablespace. MaxSizeKB *float32 `mandatory:"false" json:"maxSizeKB"` // The allocated tablespace size in KB. AllocatedSizeKB *float32 `mandatory:"false" json:"allocatedSizeKB"` // The size of the tablespace available for user data in KB. The difference between tablespace size and user data size is used for storing metadata. UserSizeKB *float32 `mandatory:"false" json:"userSizeKB"` // The free space available in this tablespace in KB. FreeSpaceKB *float32 `mandatory:"false" json:"freeSpaceKB"` // The total space used by the tablespace in KB. UsedSpaceKB *float32 `mandatory:"false" json:"usedSpaceKB"` // The percentage of used space out of the maximum available space in the tablespace. UsedPercentAvailable *float64 `mandatory:"false" json:"usedPercentAvailable"` // The percentage of used space out of the total allocated space in the tablespace. UsedPercentAllocated *float64 `mandatory:"false" json:"usedPercentAllocated"` // A list of the datafiles associated with the tablespace. Datafiles []Datafile `mandatory:"false" json:"datafiles"` }
func (m TablespaceSummary) String() string
TablespaceSummaryAllocationTypeEnum Enum with underlying type: string
type TablespaceSummaryAllocationTypeEnum string
Set of constants representing the allowable values for TablespaceSummaryAllocationTypeEnum
const ( TablespaceSummaryAllocationTypeSystem TablespaceSummaryAllocationTypeEnum = "SYSTEM" TablespaceSummaryAllocationTypeUniform TablespaceSummaryAllocationTypeEnum = "UNIFORM" TablespaceSummaryAllocationTypeUser TablespaceSummaryAllocationTypeEnum = "USER" )
func GetTablespaceSummaryAllocationTypeEnumValues() []TablespaceSummaryAllocationTypeEnum
GetTablespaceSummaryAllocationTypeEnumValues Enumerates the set of values for TablespaceSummaryAllocationTypeEnum
TablespaceSummaryCompressForEnum Enum with underlying type: string
type TablespaceSummaryCompressForEnum string
Set of constants representing the allowable values for TablespaceSummaryCompressForEnum
const ( TablespaceSummaryCompressForBasic TablespaceSummaryCompressForEnum = "BASIC" TablespaceSummaryCompressForAdvanced TablespaceSummaryCompressForEnum = "ADVANCED" TablespaceSummaryCompressForQueryLow TablespaceSummaryCompressForEnum = "QUERY_LOW" TablespaceSummaryCompressForQueryHigh TablespaceSummaryCompressForEnum = "QUERY_HIGH" TablespaceSummaryCompressForArchiveLow TablespaceSummaryCompressForEnum = "ARCHIVE_LOW" TablespaceSummaryCompressForArchiveHigh TablespaceSummaryCompressForEnum = "ARCHIVE_HIGH" TablespaceSummaryCompressForDirectLoadOnly TablespaceSummaryCompressForEnum = "DIRECT_LOAD_ONLY" TablespaceSummaryCompressForForAllOperations TablespaceSummaryCompressForEnum = "FOR_ALL_OPERATIONS" )
func GetTablespaceSummaryCompressForEnumValues() []TablespaceSummaryCompressForEnum
GetTablespaceSummaryCompressForEnumValues Enumerates the set of values for TablespaceSummaryCompressForEnum
TablespaceSummaryDefaultInMemoryCompressionEnum Enum with underlying type: string
type TablespaceSummaryDefaultInMemoryCompressionEnum string
Set of constants representing the allowable values for TablespaceSummaryDefaultInMemoryCompressionEnum
const ( TablespaceSummaryDefaultInMemoryCompressionNoMemcompress TablespaceSummaryDefaultInMemoryCompressionEnum = "NO_MEMCOMPRESS" TablespaceSummaryDefaultInMemoryCompressionForDml TablespaceSummaryDefaultInMemoryCompressionEnum = "FOR_DML" TablespaceSummaryDefaultInMemoryCompressionForQueryLow TablespaceSummaryDefaultInMemoryCompressionEnum = "FOR_QUERY_LOW" TablespaceSummaryDefaultInMemoryCompressionForQueryHigh TablespaceSummaryDefaultInMemoryCompressionEnum = "FOR_QUERY_HIGH" TablespaceSummaryDefaultInMemoryCompressionForCapacityLow TablespaceSummaryDefaultInMemoryCompressionEnum = "FOR_CAPACITY_LOW" TablespaceSummaryDefaultInMemoryCompressionForCapacityHigh TablespaceSummaryDefaultInMemoryCompressionEnum = "FOR_CAPACITY_HIGH" )
func GetTablespaceSummaryDefaultInMemoryCompressionEnumValues() []TablespaceSummaryDefaultInMemoryCompressionEnum
GetTablespaceSummaryDefaultInMemoryCompressionEnumValues Enumerates the set of values for TablespaceSummaryDefaultInMemoryCompressionEnum
TablespaceSummaryDefaultInMemoryDistributeEnum Enum with underlying type: string
type TablespaceSummaryDefaultInMemoryDistributeEnum string
Set of constants representing the allowable values for TablespaceSummaryDefaultInMemoryDistributeEnum
const ( TablespaceSummaryDefaultInMemoryDistributeAuto TablespaceSummaryDefaultInMemoryDistributeEnum = "AUTO" TablespaceSummaryDefaultInMemoryDistributeByRowidRange TablespaceSummaryDefaultInMemoryDistributeEnum = "BY_ROWID_RANGE" TablespaceSummaryDefaultInMemoryDistributeByPartition TablespaceSummaryDefaultInMemoryDistributeEnum = "BY_PARTITION" TablespaceSummaryDefaultInMemoryDistributeBySubpartition TablespaceSummaryDefaultInMemoryDistributeEnum = "BY_SUBPARTITION" )
func GetTablespaceSummaryDefaultInMemoryDistributeEnumValues() []TablespaceSummaryDefaultInMemoryDistributeEnum
GetTablespaceSummaryDefaultInMemoryDistributeEnumValues Enumerates the set of values for TablespaceSummaryDefaultInMemoryDistributeEnum
TablespaceSummaryDefaultInMemoryDuplicateEnum Enum with underlying type: string
type TablespaceSummaryDefaultInMemoryDuplicateEnum string
Set of constants representing the allowable values for TablespaceSummaryDefaultInMemoryDuplicateEnum
const ( TablespaceSummaryDefaultInMemoryDuplicateNoDuplicate TablespaceSummaryDefaultInMemoryDuplicateEnum = "NO_DUPLICATE" TablespaceSummaryDefaultInMemoryDuplicateDuplicate TablespaceSummaryDefaultInMemoryDuplicateEnum = "DUPLICATE" TablespaceSummaryDefaultInMemoryDuplicateDuplicateAll TablespaceSummaryDefaultInMemoryDuplicateEnum = "DUPLICATE_ALL" )
func GetTablespaceSummaryDefaultInMemoryDuplicateEnumValues() []TablespaceSummaryDefaultInMemoryDuplicateEnum
GetTablespaceSummaryDefaultInMemoryDuplicateEnumValues Enumerates the set of values for TablespaceSummaryDefaultInMemoryDuplicateEnum
TablespaceSummaryDefaultInMemoryEnum Enum with underlying type: string
type TablespaceSummaryDefaultInMemoryEnum string
Set of constants representing the allowable values for TablespaceSummaryDefaultInMemoryEnum
const ( TablespaceSummaryDefaultInMemoryEnabled TablespaceSummaryDefaultInMemoryEnum = "ENABLED" TablespaceSummaryDefaultInMemoryDisabled TablespaceSummaryDefaultInMemoryEnum = "DISABLED" )
func GetTablespaceSummaryDefaultInMemoryEnumValues() []TablespaceSummaryDefaultInMemoryEnum
GetTablespaceSummaryDefaultInMemoryEnumValues Enumerates the set of values for TablespaceSummaryDefaultInMemoryEnum
TablespaceSummaryDefaultInMemoryPriorityEnum Enum with underlying type: string
type TablespaceSummaryDefaultInMemoryPriorityEnum string
Set of constants representing the allowable values for TablespaceSummaryDefaultInMemoryPriorityEnum
const ( TablespaceSummaryDefaultInMemoryPriorityLow TablespaceSummaryDefaultInMemoryPriorityEnum = "LOW" TablespaceSummaryDefaultInMemoryPriorityMedium TablespaceSummaryDefaultInMemoryPriorityEnum = "MEDIUM" TablespaceSummaryDefaultInMemoryPriorityHigh TablespaceSummaryDefaultInMemoryPriorityEnum = "HIGH" TablespaceSummaryDefaultInMemoryPriorityCritical TablespaceSummaryDefaultInMemoryPriorityEnum = "CRITICAL" TablespaceSummaryDefaultInMemoryPriorityNone TablespaceSummaryDefaultInMemoryPriorityEnum = "NONE" )
func GetTablespaceSummaryDefaultInMemoryPriorityEnumValues() []TablespaceSummaryDefaultInMemoryPriorityEnum
GetTablespaceSummaryDefaultInMemoryPriorityEnumValues Enumerates the set of values for TablespaceSummaryDefaultInMemoryPriorityEnum
TablespaceSummaryDefaultInMemoryServiceEnum Enum with underlying type: string
type TablespaceSummaryDefaultInMemoryServiceEnum string
Set of constants representing the allowable values for TablespaceSummaryDefaultInMemoryServiceEnum
const ( TablespaceSummaryDefaultInMemoryServiceDefault TablespaceSummaryDefaultInMemoryServiceEnum = "DEFAULT" TablespaceSummaryDefaultInMemoryServiceNone TablespaceSummaryDefaultInMemoryServiceEnum = "NONE" TablespaceSummaryDefaultInMemoryServiceAll TablespaceSummaryDefaultInMemoryServiceEnum = "ALL" TablespaceSummaryDefaultInMemoryServiceUserDefined TablespaceSummaryDefaultInMemoryServiceEnum = "USER_DEFINED" )
func GetTablespaceSummaryDefaultInMemoryServiceEnumValues() []TablespaceSummaryDefaultInMemoryServiceEnum
GetTablespaceSummaryDefaultInMemoryServiceEnumValues Enumerates the set of values for TablespaceSummaryDefaultInMemoryServiceEnum
TablespaceSummaryDefaultIndexCompressionEnum Enum with underlying type: string
type TablespaceSummaryDefaultIndexCompressionEnum string
Set of constants representing the allowable values for TablespaceSummaryDefaultIndexCompressionEnum
const ( TablespaceSummaryDefaultIndexCompressionEnabled TablespaceSummaryDefaultIndexCompressionEnum = "ENABLED" TablespaceSummaryDefaultIndexCompressionDisabled TablespaceSummaryDefaultIndexCompressionEnum = "DISABLED" )
func GetTablespaceSummaryDefaultIndexCompressionEnumValues() []TablespaceSummaryDefaultIndexCompressionEnum
GetTablespaceSummaryDefaultIndexCompressionEnumValues Enumerates the set of values for TablespaceSummaryDefaultIndexCompressionEnum
TablespaceSummaryDefaultTableCompressionEnum Enum with underlying type: string
type TablespaceSummaryDefaultTableCompressionEnum string
Set of constants representing the allowable values for TablespaceSummaryDefaultTableCompressionEnum
const ( TablespaceSummaryDefaultTableCompressionEnabled TablespaceSummaryDefaultTableCompressionEnum = "ENABLED" TablespaceSummaryDefaultTableCompressionDisabled TablespaceSummaryDefaultTableCompressionEnum = "DISABLED" )
func GetTablespaceSummaryDefaultTableCompressionEnumValues() []TablespaceSummaryDefaultTableCompressionEnum
GetTablespaceSummaryDefaultTableCompressionEnumValues Enumerates the set of values for TablespaceSummaryDefaultTableCompressionEnum
TablespaceSummaryExtentManagementEnum Enum with underlying type: string
type TablespaceSummaryExtentManagementEnum string
Set of constants representing the allowable values for TablespaceSummaryExtentManagementEnum
const ( TablespaceSummaryExtentManagementLocal TablespaceSummaryExtentManagementEnum = "LOCAL" TablespaceSummaryExtentManagementDictionary TablespaceSummaryExtentManagementEnum = "DICTIONARY" )
func GetTablespaceSummaryExtentManagementEnumValues() []TablespaceSummaryExtentManagementEnum
GetTablespaceSummaryExtentManagementEnumValues Enumerates the set of values for TablespaceSummaryExtentManagementEnum
TablespaceSummaryIndexCompressForEnum Enum with underlying type: string
type TablespaceSummaryIndexCompressForEnum string
Set of constants representing the allowable values for TablespaceSummaryIndexCompressForEnum
const ( TablespaceSummaryIndexCompressForLow TablespaceSummaryIndexCompressForEnum = "ADVANCED_LOW" TablespaceSummaryIndexCompressForHigh TablespaceSummaryIndexCompressForEnum = "ADVANCED_HIGH" )
func GetTablespaceSummaryIndexCompressForEnumValues() []TablespaceSummaryIndexCompressForEnum
GetTablespaceSummaryIndexCompressForEnumValues Enumerates the set of values for TablespaceSummaryIndexCompressForEnum
TablespaceSummaryLoggingEnum Enum with underlying type: string
type TablespaceSummaryLoggingEnum string
Set of constants representing the allowable values for TablespaceSummaryLoggingEnum
const ( TablespaceSummaryLoggingLogging TablespaceSummaryLoggingEnum = "LOGGING" TablespaceSummaryLoggingNologging TablespaceSummaryLoggingEnum = "NOLOGGING" )
func GetTablespaceSummaryLoggingEnumValues() []TablespaceSummaryLoggingEnum
GetTablespaceSummaryLoggingEnumValues Enumerates the set of values for TablespaceSummaryLoggingEnum
TablespaceSummaryLostWriteProtectEnum Enum with underlying type: string
type TablespaceSummaryLostWriteProtectEnum string
Set of constants representing the allowable values for TablespaceSummaryLostWriteProtectEnum
const ( TablespaceSummaryLostWriteProtectEnabled TablespaceSummaryLostWriteProtectEnum = "ENABLED" TablespaceSummaryLostWriteProtectProtectOff TablespaceSummaryLostWriteProtectEnum = "PROTECT_OFF" TablespaceSummaryLostWriteProtectSuspend TablespaceSummaryLostWriteProtectEnum = "SUSPEND" )
func GetTablespaceSummaryLostWriteProtectEnumValues() []TablespaceSummaryLostWriteProtectEnum
GetTablespaceSummaryLostWriteProtectEnumValues Enumerates the set of values for TablespaceSummaryLostWriteProtectEnum
TablespaceSummaryPredicateEvaluationEnum Enum with underlying type: string
type TablespaceSummaryPredicateEvaluationEnum string
Set of constants representing the allowable values for TablespaceSummaryPredicateEvaluationEnum
const ( TablespaceSummaryPredicateEvaluationHost TablespaceSummaryPredicateEvaluationEnum = "HOST" TablespaceSummaryPredicateEvaluationStorage TablespaceSummaryPredicateEvaluationEnum = "STORAGE" )
func GetTablespaceSummaryPredicateEvaluationEnumValues() []TablespaceSummaryPredicateEvaluationEnum
GetTablespaceSummaryPredicateEvaluationEnumValues Enumerates the set of values for TablespaceSummaryPredicateEvaluationEnum
TablespaceSummaryRetentionEnum Enum with underlying type: string
type TablespaceSummaryRetentionEnum string
Set of constants representing the allowable values for TablespaceSummaryRetentionEnum
const ( TablespaceSummaryRetentionGuarantee TablespaceSummaryRetentionEnum = "GUARANTEE" TablespaceSummaryRetentionNoguarantee TablespaceSummaryRetentionEnum = "NOGUARANTEE" TablespaceSummaryRetentionNotApply TablespaceSummaryRetentionEnum = "NOT_APPLY" )
func GetTablespaceSummaryRetentionEnumValues() []TablespaceSummaryRetentionEnum
GetTablespaceSummaryRetentionEnumValues Enumerates the set of values for TablespaceSummaryRetentionEnum
TablespaceSummarySegmentSpaceManagementEnum Enum with underlying type: string
type TablespaceSummarySegmentSpaceManagementEnum string
Set of constants representing the allowable values for TablespaceSummarySegmentSpaceManagementEnum
const ( TablespaceSummarySegmentSpaceManagementManual TablespaceSummarySegmentSpaceManagementEnum = "MANUAL" TablespaceSummarySegmentSpaceManagementAuto TablespaceSummarySegmentSpaceManagementEnum = "AUTO" )
func GetTablespaceSummarySegmentSpaceManagementEnumValues() []TablespaceSummarySegmentSpaceManagementEnum
GetTablespaceSummarySegmentSpaceManagementEnumValues Enumerates the set of values for TablespaceSummarySegmentSpaceManagementEnum
TablespaceSummarySharedEnum Enum with underlying type: string
type TablespaceSummarySharedEnum string
Set of constants representing the allowable values for TablespaceSummarySharedEnum
const ( TablespaceSummarySharedEnum = "SHARED" TablespaceSummarySharedEnum = "LOCAL_ON_LEAF" TablespaceSummarySharedEnum = "LOCAL_ON_ALL" )
func GetTablespaceSummarySharedEnumValues() []TablespaceSummarySharedEnum
GetTablespaceSummarySharedEnumValues Enumerates the set of values for TablespaceSummarySharedEnum
TablespaceSummaryStatusEnum Enum with underlying type: string
type TablespaceSummaryStatusEnum string
Set of constants representing the allowable values for TablespaceSummaryStatusEnum
const ( TablespaceSummaryStatusOnline TablespaceSummaryStatusEnum = "ONLINE" TablespaceSummaryStatusOffline TablespaceSummaryStatusEnum = "OFFLINE" TablespaceSummaryStatusReadOnly TablespaceSummaryStatusEnum = "READ_ONLY" )
func GetTablespaceSummaryStatusEnumValues() []TablespaceSummaryStatusEnum
GetTablespaceSummaryStatusEnumValues Enumerates the set of values for TablespaceSummaryStatusEnum
TablespaceSummaryTypeEnum Enum with underlying type: string
type TablespaceSummaryTypeEnum string
Set of constants representing the allowable values for TablespaceSummaryTypeEnum
const ( TablespaceSummaryTypeUndo TablespaceSummaryTypeEnum = "UNDO" TablespaceSummaryTypeLostWriteProtection TablespaceSummaryTypeEnum = "LOST_WRITE_PROTECTION" TablespaceSummaryTypePermanent TablespaceSummaryTypeEnum = "PERMANENT" TablespaceSummaryTypeTemporary TablespaceSummaryTypeEnum = "TEMPORARY" )
func GetTablespaceSummaryTypeEnumValues() []TablespaceSummaryTypeEnum
GetTablespaceSummaryTypeEnumValues Enumerates the set of values for TablespaceSummaryTypeEnum
TablespaceTypeEnum Enum with underlying type: string
type TablespaceTypeEnum string
Set of constants representing the allowable values for TablespaceTypeEnum
const ( TablespaceTypeUndo TablespaceTypeEnum = "UNDO" TablespaceTypeLostWriteProtection TablespaceTypeEnum = "LOST_WRITE_PROTECTION" TablespaceTypePermanent TablespaceTypeEnum = "PERMANENT" TablespaceTypeTemporary TablespaceTypeEnum = "TEMPORARY" )
func GetTablespaceTypeEnumValues() []TablespaceTypeEnum
GetTablespaceTypeEnumValues Enumerates the set of values for TablespaceTypeEnum
TimeSeriesMetricDataPoint The metric values with dimension details.
type TimeSeriesMetricDataPoint struct { // The date and time the metric was created. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` // The value of the metric. Value *float64 `mandatory:"true" json:"value"` // The unit of the metric value. Unit *string `mandatory:"true" json:"unit"` // The dimensions of the metric. Dimensions []MetricDimensionDefinition `mandatory:"false" json:"dimensions"` }
func (m TimeSeriesMetricDataPoint) String() string
TimeSeriesMetricDefinition The response object representing time series metric details for a specific database at a particular time.
type TimeSeriesMetricDefinition struct { // The name of the metric the time series data corresponds to. MetricName *string `mandatory:"true" json:"metricName"` // The time series metric data for the given metric. Datapoints []TimeSeriesMetricDataPoint `mandatory:"true" json:"datapoints"` }
func (m TimeSeriesMetricDefinition) String() string
UpdateDatabaseParametersResult The results of database parameter update.
type UpdateDatabaseParametersResult struct { // A map with the parameter name as key and its update status as value. Status map[string]DatabaseParameterUpdateStatus `mandatory:"true" json:"status"` }
func (m UpdateDatabaseParametersResult) String() string
UpdateManagedDatabaseGroupDetails The details required to update a Managed Database Group.
type UpdateManagedDatabaseGroupDetails struct { // The information specified by the user about the Managed Database Group. Description *string `mandatory:"false" json:"description"` }
func (m UpdateManagedDatabaseGroupDetails) String() string
UpdateManagedDatabaseGroupRequest wrapper for the UpdateManagedDatabaseGroup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/42.0.0/databasemanagement/UpdateManagedDatabaseGroup.go.html to see an example of how to use UpdateManagedDatabaseGroupRequest.
type UpdateManagedDatabaseGroupRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group. ManagedDatabaseGroupId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseGroupId"` // The details required to update a Managed Database Group. UpdateManagedDatabaseGroupDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateManagedDatabaseGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateManagedDatabaseGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateManagedDatabaseGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateManagedDatabaseGroupRequest) String() string
UpdateManagedDatabaseGroupResponse wrapper for the UpdateManagedDatabaseGroup operation
type UpdateManagedDatabaseGroupResponse struct { // The underlying http response RawResponse *http.Response // The ManagedDatabaseGroup instance ManagedDatabaseGroup `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 optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response UpdateManagedDatabaseGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateManagedDatabaseGroupResponse) String() string