databasemanagement

package
Version: v46.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2021 License: Apache-2.0, UPL-1.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivityTimeSeriesMetrics

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"`
}

ActivityTimeSeriesMetrics The response object representing activityMetric details for a specific database at a particular time.

func (ActivityTimeSeriesMetrics) String

func (m ActivityTimeSeriesMetrics) String() string

type AddManagedDatabaseToManagedDatabaseGroupDetails

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"`
}

AddManagedDatabaseToManagedDatabaseGroupDetails The Managed Database details required to add it to a Managed Database Group.

func (AddManagedDatabaseToManagedDatabaseGroupDetails) String

type 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
}

AddManagedDatabaseToManagedDatabaseGroupRequest wrapper for the AddManagedDatabaseToManagedDatabaseGroup operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/AddManagedDatabaseToManagedDatabaseGroup.go.html to see an example of how to use AddManagedDatabaseToManagedDatabaseGroupRequest.

func (AddManagedDatabaseToManagedDatabaseGroupRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (AddManagedDatabaseToManagedDatabaseGroupRequest) HTTPRequest

func (request AddManagedDatabaseToManagedDatabaseGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (AddManagedDatabaseToManagedDatabaseGroupRequest) RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (AddManagedDatabaseToManagedDatabaseGroupRequest) String

type AddManagedDatabaseToManagedDatabaseGroupResponse

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"`
}

AddManagedDatabaseToManagedDatabaseGroupResponse wrapper for the AddManagedDatabaseToManagedDatabaseGroup operation

func (AddManagedDatabaseToManagedDatabaseGroupResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (AddManagedDatabaseToManagedDatabaseGroupResponse) String

type AllowedParameterValue

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"`
}

AllowedParameterValue A valid value for a database parameter.

func (AllowedParameterValue) String

func (m AllowedParameterValue) String() string

type AwrDbCollection

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"`
}

AwrDbCollection The result of AWR query.

func (AwrDbCollection) GetDbQueryTimeInSecs

func (m AwrDbCollection) GetDbQueryTimeInSecs() *float64

GetDbQueryTimeInSecs returns DbQueryTimeInSecs

func (AwrDbCollection) GetName

func (m AwrDbCollection) GetName() *string

GetName returns Name

func (AwrDbCollection) GetQueryKey

func (m AwrDbCollection) GetQueryKey() *string

GetQueryKey returns QueryKey

func (AwrDbCollection) GetVersion

func (m AwrDbCollection) GetVersion() *string

GetVersion returns Version

func (AwrDbCollection) MarshalJSON

func (m AwrDbCollection) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AwrDbCollection) String

func (m AwrDbCollection) String() string

type AwrDbCpuUsageCollection

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"`
}

AwrDbCpuUsageCollection The AWR CPU usage data.

func (AwrDbCpuUsageCollection) GetDbQueryTimeInSecs

func (m AwrDbCpuUsageCollection) GetDbQueryTimeInSecs() *float64

GetDbQueryTimeInSecs returns DbQueryTimeInSecs

func (AwrDbCpuUsageCollection) GetName

func (m AwrDbCpuUsageCollection) GetName() *string

GetName returns Name

func (AwrDbCpuUsageCollection) GetQueryKey

func (m AwrDbCpuUsageCollection) GetQueryKey() *string

GetQueryKey returns QueryKey

func (AwrDbCpuUsageCollection) GetVersion

func (m AwrDbCpuUsageCollection) GetVersion() *string

GetVersion returns Version

func (AwrDbCpuUsageCollection) MarshalJSON

func (m AwrDbCpuUsageCollection) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AwrDbCpuUsageCollection) String

func (m AwrDbCpuUsageCollection) String() string

type AwrDbCpuUsageSummary

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"`
}

AwrDbCpuUsageSummary A summary of the AWR CPU resource limits and metrics.

func (AwrDbCpuUsageSummary) String

func (m AwrDbCpuUsageSummary) String() string

type AwrDbMetricCollection

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"`
}

AwrDbMetricCollection The AWR metrics time series summary data.

func (AwrDbMetricCollection) GetDbQueryTimeInSecs

func (m AwrDbMetricCollection) GetDbQueryTimeInSecs() *float64

GetDbQueryTimeInSecs returns DbQueryTimeInSecs

func (AwrDbMetricCollection) GetName

func (m AwrDbMetricCollection) GetName() *string

GetName returns Name

func (AwrDbMetricCollection) GetQueryKey

func (m AwrDbMetricCollection) GetQueryKey() *string

GetQueryKey returns QueryKey

func (AwrDbMetricCollection) GetVersion

func (m AwrDbMetricCollection) GetVersion() *string

GetVersion returns Version

func (AwrDbMetricCollection) MarshalJSON

func (m AwrDbMetricCollection) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AwrDbMetricCollection) String

func (m AwrDbMetricCollection) String() string

type AwrDbMetricSummary

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"`
}

AwrDbMetricSummary The summary of the AWR metric data for a particular metric at a specific time.

func (AwrDbMetricSummary) String

func (m AwrDbMetricSummary) String() string

type AwrDbParameterChangeCollection

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"`
}

AwrDbParameterChangeCollection The AWR database parameter change history.

func (AwrDbParameterChangeCollection) GetDbQueryTimeInSecs

func (m AwrDbParameterChangeCollection) GetDbQueryTimeInSecs() *float64

GetDbQueryTimeInSecs returns DbQueryTimeInSecs

func (AwrDbParameterChangeCollection) GetName

GetName returns Name

func (AwrDbParameterChangeCollection) GetQueryKey

func (m AwrDbParameterChangeCollection) GetQueryKey() *string

GetQueryKey returns QueryKey

func (AwrDbParameterChangeCollection) GetVersion

func (m AwrDbParameterChangeCollection) GetVersion() *string

GetVersion returns Version

func (AwrDbParameterChangeCollection) MarshalJSON

func (m AwrDbParameterChangeCollection) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AwrDbParameterChangeCollection) String

type AwrDbParameterChangeSummary

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"`
}

AwrDbParameterChangeSummary A summary of the changes made to a single AWR database parameter.

func (AwrDbParameterChangeSummary) String

type AwrDbParameterCollection

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"`
}

AwrDbParameterCollection The AWR database parameter data.

func (AwrDbParameterCollection) GetDbQueryTimeInSecs

func (m AwrDbParameterCollection) GetDbQueryTimeInSecs() *float64

GetDbQueryTimeInSecs returns DbQueryTimeInSecs

func (AwrDbParameterCollection) GetName

func (m AwrDbParameterCollection) GetName() *string

GetName returns Name

func (AwrDbParameterCollection) GetQueryKey

func (m AwrDbParameterCollection) GetQueryKey() *string

GetQueryKey returns QueryKey

func (AwrDbParameterCollection) GetVersion

func (m AwrDbParameterCollection) GetVersion() *string

GetVersion returns Version

func (AwrDbParameterCollection) MarshalJSON

func (m AwrDbParameterCollection) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AwrDbParameterCollection) String

func (m AwrDbParameterCollection) String() string

type AwrDbParameterSummary

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"`
}

AwrDbParameterSummary The summary of the AWR change history data for a single database parameter.

func (AwrDbParameterSummary) String

func (m AwrDbParameterSummary) String() string

type AwrDbReport

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"`
}

AwrDbReport The result of the AWR report.

func (AwrDbReport) GetDbQueryTimeInSecs

func (m AwrDbReport) GetDbQueryTimeInSecs() *float64

GetDbQueryTimeInSecs returns DbQueryTimeInSecs

func (AwrDbReport) GetName

func (m AwrDbReport) GetName() *string

GetName returns Name

func (AwrDbReport) GetQueryKey

func (m AwrDbReport) GetQueryKey() *string

GetQueryKey returns QueryKey

func (AwrDbReport) GetVersion

func (m AwrDbReport) GetVersion() *string

GetVersion returns Version

func (AwrDbReport) MarshalJSON

func (m AwrDbReport) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AwrDbReport) String

func (m AwrDbReport) String() string

type AwrDbReportFormatEnum

type AwrDbReportFormatEnum string

AwrDbReportFormatEnum Enum with underlying type: string

const (
	AwrDbReportFormatHtml AwrDbReportFormatEnum = "HTML"
	AwrDbReportFormatText AwrDbReportFormatEnum = "TEXT"
	AwrDbReportFormatXml  AwrDbReportFormatEnum = "XML"
)

Set of constants representing the allowable values for AwrDbReportFormatEnum

func GetAwrDbReportFormatEnumValues

func GetAwrDbReportFormatEnumValues() []AwrDbReportFormatEnum

GetAwrDbReportFormatEnumValues Enumerates the set of values for AwrDbReportFormatEnum

type AwrDbSnapshotCollection

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"`
}

AwrDbSnapshotCollection The list of AWR snapshots for one database.

func (AwrDbSnapshotCollection) GetDbQueryTimeInSecs

func (m AwrDbSnapshotCollection) GetDbQueryTimeInSecs() *float64

GetDbQueryTimeInSecs returns DbQueryTimeInSecs

func (AwrDbSnapshotCollection) GetName

func (m AwrDbSnapshotCollection) GetName() *string

GetName returns Name

func (AwrDbSnapshotCollection) GetQueryKey

func (m AwrDbSnapshotCollection) GetQueryKey() *string

GetQueryKey returns QueryKey

func (AwrDbSnapshotCollection) GetVersion

func (m AwrDbSnapshotCollection) GetVersion() *string

GetVersion returns Version

func (AwrDbSnapshotCollection) MarshalJSON

func (m AwrDbSnapshotCollection) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AwrDbSnapshotCollection) String

func (m AwrDbSnapshotCollection) String() string

type AwrDbSnapshotRangeCollection

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"`
}

AwrDbSnapshotRangeCollection The AWR snapshot range list.

func (AwrDbSnapshotRangeCollection) GetDbQueryTimeInSecs

func (m AwrDbSnapshotRangeCollection) GetDbQueryTimeInSecs() *float64

GetDbQueryTimeInSecs returns DbQueryTimeInSecs

func (AwrDbSnapshotRangeCollection) GetName

func (m AwrDbSnapshotRangeCollection) GetName() *string

GetName returns Name

func (AwrDbSnapshotRangeCollection) GetQueryKey

func (m AwrDbSnapshotRangeCollection) GetQueryKey() *string

GetQueryKey returns QueryKey

func (AwrDbSnapshotRangeCollection) GetVersion

func (m AwrDbSnapshotRangeCollection) GetVersion() *string

GetVersion returns Version

func (AwrDbSnapshotRangeCollection) MarshalJSON

func (m AwrDbSnapshotRangeCollection) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AwrDbSnapshotRangeCollection) String

type AwrDbSnapshotRangeSummary

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"`
}

AwrDbSnapshotRangeSummary The summary data for a range of AWR snapshots.

func (AwrDbSnapshotRangeSummary) String

func (m AwrDbSnapshotRangeSummary) String() string

type AwrDbSnapshotSummary

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"`
}

AwrDbSnapshotSummary The AWR snapshot summary of one snapshot.

func (AwrDbSnapshotSummary) String

func (m AwrDbSnapshotSummary) String() string

type AwrDbSqlReport

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"`
}

AwrDbSqlReport The result of the AWR SQL report.

func (AwrDbSqlReport) GetDbQueryTimeInSecs

func (m AwrDbSqlReport) GetDbQueryTimeInSecs() *float64

GetDbQueryTimeInSecs returns DbQueryTimeInSecs

func (AwrDbSqlReport) GetName

func (m AwrDbSqlReport) GetName() *string

GetName returns Name

func (AwrDbSqlReport) GetQueryKey

func (m AwrDbSqlReport) GetQueryKey() *string

GetQueryKey returns QueryKey

func (AwrDbSqlReport) GetVersion

func (m AwrDbSqlReport) GetVersion() *string

GetVersion returns Version

func (AwrDbSqlReport) MarshalJSON

func (m AwrDbSqlReport) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AwrDbSqlReport) String

func (m AwrDbSqlReport) String() string

type AwrDbSqlReportFormatEnum

type AwrDbSqlReportFormatEnum string

AwrDbSqlReportFormatEnum Enum with underlying type: string

const (
	AwrDbSqlReportFormatHtml AwrDbSqlReportFormatEnum = "HTML"
	AwrDbSqlReportFormatText AwrDbSqlReportFormatEnum = "TEXT"
)

Set of constants representing the allowable values for AwrDbSqlReportFormatEnum

func GetAwrDbSqlReportFormatEnumValues

func GetAwrDbSqlReportFormatEnumValues() []AwrDbSqlReportFormatEnum

GetAwrDbSqlReportFormatEnumValues Enumerates the set of values for AwrDbSqlReportFormatEnum

type AwrDbSummary

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"`
}

AwrDbSummary The AWR summary for a database.

func (AwrDbSummary) String

func (m AwrDbSummary) String() string

type AwrDbSysstatCollection

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"`
}

AwrDbSysstatCollection The AWR SYSSTAT time series summary data.

func (AwrDbSysstatCollection) GetDbQueryTimeInSecs

func (m AwrDbSysstatCollection) GetDbQueryTimeInSecs() *float64

GetDbQueryTimeInSecs returns DbQueryTimeInSecs

func (AwrDbSysstatCollection) GetName

func (m AwrDbSysstatCollection) GetName() *string

GetName returns Name

func (AwrDbSysstatCollection) GetQueryKey

func (m AwrDbSysstatCollection) GetQueryKey() *string

GetQueryKey returns QueryKey

func (AwrDbSysstatCollection) GetVersion

func (m AwrDbSysstatCollection) GetVersion() *string

GetVersion returns Version

func (AwrDbSysstatCollection) MarshalJSON

func (m AwrDbSysstatCollection) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AwrDbSysstatCollection) String

func (m AwrDbSysstatCollection) String() string

type AwrDbSysstatSummary

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"`
}

AwrDbSysstatSummary The summary of the AWR SYSSTAT data.

func (AwrDbSysstatSummary) String

func (m AwrDbSysstatSummary) String() string

type AwrDbTopWaitEventCollection

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"`
}

AwrDbTopWaitEventCollection The AWR top wait event data.

func (AwrDbTopWaitEventCollection) GetDbQueryTimeInSecs

func (m AwrDbTopWaitEventCollection) GetDbQueryTimeInSecs() *float64

GetDbQueryTimeInSecs returns DbQueryTimeInSecs

func (AwrDbTopWaitEventCollection) GetName

func (m AwrDbTopWaitEventCollection) GetName() *string

GetName returns Name

func (AwrDbTopWaitEventCollection) GetQueryKey

func (m AwrDbTopWaitEventCollection) GetQueryKey() *string

GetQueryKey returns QueryKey

func (AwrDbTopWaitEventCollection) GetVersion

func (m AwrDbTopWaitEventCollection) GetVersion() *string

GetVersion returns Version

func (AwrDbTopWaitEventCollection) MarshalJSON

func (m AwrDbTopWaitEventCollection) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AwrDbTopWaitEventCollection) String

type AwrDbTopWaitEventSummary

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"`
}

AwrDbTopWaitEventSummary A summary of the AWR top wait event data for one event.

func (AwrDbTopWaitEventSummary) String

func (m AwrDbTopWaitEventSummary) String() string

type AwrDbWaitEventBucketCollection

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"`
}

AwrDbWaitEventBucketCollection The percentage distribution of waits in the AWR wait event buckets.

func (AwrDbWaitEventBucketCollection) GetDbQueryTimeInSecs

func (m AwrDbWaitEventBucketCollection) GetDbQueryTimeInSecs() *float64

GetDbQueryTimeInSecs returns DbQueryTimeInSecs

func (AwrDbWaitEventBucketCollection) GetName

GetName returns Name

func (AwrDbWaitEventBucketCollection) GetQueryKey

func (m AwrDbWaitEventBucketCollection) GetQueryKey() *string

GetQueryKey returns QueryKey

func (AwrDbWaitEventBucketCollection) GetVersion

func (m AwrDbWaitEventBucketCollection) GetVersion() *string

GetVersion returns Version

func (AwrDbWaitEventBucketCollection) MarshalJSON

func (m AwrDbWaitEventBucketCollection) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AwrDbWaitEventBucketCollection) String

type AwrDbWaitEventBucketSummary

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"`
}

AwrDbWaitEventBucketSummary A summary of the AWR wait event bucket and waits percentage.

func (AwrDbWaitEventBucketSummary) String

type AwrDbWaitEventCollection

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"`
}

AwrDbWaitEventCollection The AWR wait event data.

func (AwrDbWaitEventCollection) GetDbQueryTimeInSecs

func (m AwrDbWaitEventCollection) GetDbQueryTimeInSecs() *float64

GetDbQueryTimeInSecs returns DbQueryTimeInSecs

func (AwrDbWaitEventCollection) GetName

func (m AwrDbWaitEventCollection) GetName() *string

GetName returns Name

func (AwrDbWaitEventCollection) GetQueryKey

func (m AwrDbWaitEventCollection) GetQueryKey() *string

GetQueryKey returns QueryKey

func (AwrDbWaitEventCollection) GetVersion

func (m AwrDbWaitEventCollection) GetVersion() *string

GetVersion returns Version

func (AwrDbWaitEventCollection) MarshalJSON

func (m AwrDbWaitEventCollection) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AwrDbWaitEventCollection) String

func (m AwrDbWaitEventCollection) String() string

type AwrDbWaitEventSummary

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"`
}

AwrDbWaitEventSummary The summary of the AWR wait event time series data for one event.

func (AwrDbWaitEventSummary) String

func (m AwrDbWaitEventSummary) String() string

type AwrQueryResult

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
}

AwrQueryResult The AWR query result.

type AwrQueryResultAwrResultTypeEnum

type AwrQueryResultAwrResultTypeEnum string

AwrQueryResultAwrResultTypeEnum Enum with underlying type: string

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"
)

Set of constants representing the allowable values for AwrQueryResultAwrResultTypeEnum

func GetAwrQueryResultAwrResultTypeEnumValues

func GetAwrQueryResultAwrResultTypeEnumValues() []AwrQueryResultAwrResultTypeEnum

GetAwrQueryResultAwrResultTypeEnumValues Enumerates the set of values for AwrQueryResultAwrResultTypeEnum

type ChangeDatabaseParameterDetails

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"`
}

ChangeDatabaseParameterDetails The value of a database parameter to change.

func (ChangeDatabaseParameterDetails) String

type ChangeDatabaseParametersDetails

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"`
}

ChangeDatabaseParametersDetails The details required to change database parameter values.

func (ChangeDatabaseParametersDetails) String

type 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
}

ChangeDatabaseParametersRequest wrapper for the ChangeDatabaseParameters operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ChangeDatabaseParameters.go.html to see an example of how to use ChangeDatabaseParametersRequest.

func (ChangeDatabaseParametersRequest) BinaryRequestBody

func (request ChangeDatabaseParametersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeDatabaseParametersRequest) HTTPRequest

func (request ChangeDatabaseParametersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeDatabaseParametersRequest) RetryPolicy

func (request ChangeDatabaseParametersRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeDatabaseParametersRequest) String

func (request ChangeDatabaseParametersRequest) String() string

type ChangeDatabaseParametersResponse

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"`
}

ChangeDatabaseParametersResponse wrapper for the ChangeDatabaseParameters operation

func (ChangeDatabaseParametersResponse) HTTPResponse

func (response ChangeDatabaseParametersResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeDatabaseParametersResponse) String

func (response ChangeDatabaseParametersResponse) String() string

type ChangeJobCompartmentDetails

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"`
}

ChangeJobCompartmentDetails The details required to change the compartment of a job.

func (ChangeJobCompartmentDetails) String

type 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
}

ChangeJobCompartmentRequest wrapper for the ChangeJobCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ChangeJobCompartment.go.html to see an example of how to use ChangeJobCompartmentRequest.

func (ChangeJobCompartmentRequest) BinaryRequestBody

func (request ChangeJobCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeJobCompartmentRequest) HTTPRequest

func (request ChangeJobCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeJobCompartmentRequest) RetryPolicy

func (request ChangeJobCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeJobCompartmentRequest) String

func (request ChangeJobCompartmentRequest) String() string

type ChangeJobCompartmentResponse

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"`
}

ChangeJobCompartmentResponse wrapper for the ChangeJobCompartment operation

func (ChangeJobCompartmentResponse) HTTPResponse

func (response ChangeJobCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeJobCompartmentResponse) String

func (response ChangeJobCompartmentResponse) String() string

type ChangeManagedDatabaseGroupCompartmentDetails

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"`
}

ChangeManagedDatabaseGroupCompartmentDetails The details required to change the compartment of a Managed Database Group.

func (ChangeManagedDatabaseGroupCompartmentDetails) String

type 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
}

ChangeManagedDatabaseGroupCompartmentRequest wrapper for the ChangeManagedDatabaseGroupCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ChangeManagedDatabaseGroupCompartment.go.html to see an example of how to use ChangeManagedDatabaseGroupCompartmentRequest.

func (ChangeManagedDatabaseGroupCompartmentRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ChangeManagedDatabaseGroupCompartmentRequest) HTTPRequest

func (request ChangeManagedDatabaseGroupCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeManagedDatabaseGroupCompartmentRequest) RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeManagedDatabaseGroupCompartmentRequest) String

type ChangeManagedDatabaseGroupCompartmentResponse

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"`
}

ChangeManagedDatabaseGroupCompartmentResponse wrapper for the ChangeManagedDatabaseGroupCompartment operation

func (ChangeManagedDatabaseGroupCompartmentResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ChangeManagedDatabaseGroupCompartmentResponse) String

type ChildDatabase

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"`
}

ChildDatabase The child Managed Database of a Managed Database Group.

func (ChildDatabase) String

func (m ChildDatabase) String() string

type ClusterCacheMetric

type ClusterCacheMetric struct {

	// A list of cluster cache metrics for a specific database.
	ClusterCacheMetrics []TimeSeriesMetricDefinition `mandatory:"true" json:"clusterCacheMetrics"`
}

ClusterCacheMetric The response containing the cluster cache metrics for the Oracle Real Application Clusters (Oracle RAC) database.

func (ClusterCacheMetric) String

func (m ClusterCacheMetric) String() string

type CompareTypeEnum

type CompareTypeEnum string

CompareTypeEnum Enum with underlying type: string

const (
	CompareTypeHour CompareTypeEnum = "HOUR"
	CompareTypeDay  CompareTypeEnum = "DAY"
)

Set of constants representing the allowable values for CompareTypeEnum

func GetCompareTypeEnumValues

func GetCompareTypeEnumValues() []CompareTypeEnum

GetCompareTypeEnumValues Enumerates the set of values for CompareTypeEnum

type CreateJobDetails

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
}

CreateJobDetails The details required to create a job.

type 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
}

CreateJobRequest wrapper for the CreateJob operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/CreateJob.go.html to see an example of how to use CreateJobRequest.

func (CreateJobRequest) BinaryRequestBody

func (request CreateJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateJobRequest) HTTPRequest

func (request CreateJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateJobRequest) RetryPolicy

func (request CreateJobRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateJobRequest) String

func (request CreateJobRequest) String() string

type CreateJobResponse

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"`
}

CreateJobResponse wrapper for the CreateJob operation

func (CreateJobResponse) HTTPResponse

func (response CreateJobResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateJobResponse) String

func (response CreateJobResponse) String() string

type CreateManagedDatabaseGroupDetails

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"`
}

CreateManagedDatabaseGroupDetails The details required to create a Managed Database Group.

func (CreateManagedDatabaseGroupDetails) String

type 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
}

CreateManagedDatabaseGroupRequest wrapper for the CreateManagedDatabaseGroup operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/CreateManagedDatabaseGroup.go.html to see an example of how to use CreateManagedDatabaseGroupRequest.

func (CreateManagedDatabaseGroupRequest) BinaryRequestBody

func (request CreateManagedDatabaseGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateManagedDatabaseGroupRequest) HTTPRequest

func (request CreateManagedDatabaseGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateManagedDatabaseGroupRequest) RetryPolicy

func (request CreateManagedDatabaseGroupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateManagedDatabaseGroupRequest) String

func (request CreateManagedDatabaseGroupRequest) String() string

type CreateManagedDatabaseGroupResponse

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"`
}

CreateManagedDatabaseGroupResponse wrapper for the CreateManagedDatabaseGroup operation

func (CreateManagedDatabaseGroupResponse) HTTPResponse

func (response CreateManagedDatabaseGroupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateManagedDatabaseGroupResponse) String

func (response CreateManagedDatabaseGroupResponse) String() string

type CreateSqlJobDetails

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"`
}

CreateSqlJobDetails The details specific to the SQL job request.

func (CreateSqlJobDetails) GetCompartmentId

func (m CreateSqlJobDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateSqlJobDetails) GetDatabaseSubType

func (m CreateSqlJobDetails) GetDatabaseSubType() DatabaseSubTypeEnum

GetDatabaseSubType returns DatabaseSubType

func (CreateSqlJobDetails) GetDescription

func (m CreateSqlJobDetails) GetDescription() *string

GetDescription returns Description

func (CreateSqlJobDetails) GetManagedDatabaseGroupId

func (m CreateSqlJobDetails) GetManagedDatabaseGroupId() *string

GetManagedDatabaseGroupId returns ManagedDatabaseGroupId

func (CreateSqlJobDetails) GetManagedDatabaseId

func (m CreateSqlJobDetails) GetManagedDatabaseId() *string

GetManagedDatabaseId returns ManagedDatabaseId

func (CreateSqlJobDetails) GetName

func (m CreateSqlJobDetails) GetName() *string

GetName returns Name

func (CreateSqlJobDetails) GetResultLocation

func (m CreateSqlJobDetails) GetResultLocation() JobExecutionResultLocation

GetResultLocation returns ResultLocation

func (CreateSqlJobDetails) GetScheduleType

func (m CreateSqlJobDetails) GetScheduleType() JobScheduleTypeEnum

GetScheduleType returns ScheduleType

func (CreateSqlJobDetails) GetTimeout

func (m CreateSqlJobDetails) GetTimeout() *string

GetTimeout returns Timeout

func (CreateSqlJobDetails) MarshalJSON

func (m CreateSqlJobDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateSqlJobDetails) String

func (m CreateSqlJobDetails) String() string

func (*CreateSqlJobDetails) UnmarshalJSON

func (m *CreateSqlJobDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type DatabaseCredentials

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"`
}

DatabaseCredentials The database credentials used to perform management activity.

func (DatabaseCredentials) String

func (m DatabaseCredentials) String() string

type DatabaseCredentialsRoleEnum

type DatabaseCredentialsRoleEnum string

DatabaseCredentialsRoleEnum Enum with underlying type: string

const (
	DatabaseCredentialsRoleNormal DatabaseCredentialsRoleEnum = "NORMAL"
	DatabaseCredentialsRoleSysdba DatabaseCredentialsRoleEnum = "SYSDBA"
)

Set of constants representing the allowable values for DatabaseCredentialsRoleEnum

func GetDatabaseCredentialsRoleEnumValues

func GetDatabaseCredentialsRoleEnumValues() []DatabaseCredentialsRoleEnum

GetDatabaseCredentialsRoleEnumValues Enumerates the set of values for DatabaseCredentialsRoleEnum

type DatabaseFleetHealthMetrics

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"`
}

DatabaseFleetHealthMetrics The details of the fleet health metrics.

func (DatabaseFleetHealthMetrics) String

type DatabaseHomeMetricDefinition

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"`
}

DatabaseHomeMetricDefinition The response containing the CPU, Storage, Wait, DB Time, and Memory metrics for a specific database.

func (DatabaseHomeMetricDefinition) String

type DatabaseHomeMetrics

type DatabaseHomeMetrics struct {
	DatabaseHomeMetrics *DatabaseHomeMetricDefinition `mandatory:"true" json:"databaseHomeMetrics"`

	// The metrics for the RAC database instances.
	DatabaseInstanceHomeMetrics []DatabaseInstanceHomeMetricsDefinition `mandatory:"false" json:"databaseInstanceHomeMetrics"`
}

DatabaseHomeMetrics The response containing the metric collection for a specific database.

func (DatabaseHomeMetrics) String

func (m DatabaseHomeMetrics) String() string

type DatabaseInstanceHomeMetricsDefinition

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"`
}

DatabaseInstanceHomeMetricsDefinition The response containing the CPU, Wait, DB Time, and Memory metrics for a specific Oracle Real Application Clusters (Oracle RAC) database instance.

func (DatabaseInstanceHomeMetricsDefinition) String

type DatabaseIoAggregateMetrics

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"`
}

DatabaseIoAggregateMetrics The database Input/Output metric details.

func (DatabaseIoAggregateMetrics) String

type DatabaseParameterSummary

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"`
}

DatabaseParameterSummary A summary of the database parameter.

func (DatabaseParameterSummary) String

func (m DatabaseParameterSummary) String() string

type DatabaseParameterSummaryConstraintEnum

type DatabaseParameterSummaryConstraintEnum string

DatabaseParameterSummaryConstraintEnum Enum with underlying type: string

const (
	DatabaseParameterSummaryConstraintUnique    DatabaseParameterSummaryConstraintEnum = "UNIQUE"
	DatabaseParameterSummaryConstraintIdentical DatabaseParameterSummaryConstraintEnum = "IDENTICAL"
	DatabaseParameterSummaryConstraintNone      DatabaseParameterSummaryConstraintEnum = "NONE"
)

Set of constants representing the allowable values for DatabaseParameterSummaryConstraintEnum

func GetDatabaseParameterSummaryConstraintEnumValues

func GetDatabaseParameterSummaryConstraintEnumValues() []DatabaseParameterSummaryConstraintEnum

GetDatabaseParameterSummaryConstraintEnumValues Enumerates the set of values for DatabaseParameterSummaryConstraintEnum

type DatabaseParameterSummaryIsModifiedEnum

type DatabaseParameterSummaryIsModifiedEnum string

DatabaseParameterSummaryIsModifiedEnum Enum with underlying type: string

const (
	DatabaseParameterSummaryIsModifiedModified DatabaseParameterSummaryIsModifiedEnum = "MODIFIED"
	DatabaseParameterSummaryIsModifiedFalse    DatabaseParameterSummaryIsModifiedEnum = "FALSE"
)

Set of constants representing the allowable values for DatabaseParameterSummaryIsModifiedEnum

func GetDatabaseParameterSummaryIsModifiedEnumValues

func GetDatabaseParameterSummaryIsModifiedEnumValues() []DatabaseParameterSummaryIsModifiedEnum

GetDatabaseParameterSummaryIsModifiedEnumValues Enumerates the set of values for DatabaseParameterSummaryIsModifiedEnum

type DatabaseParameterSummaryIsSystemModifiableEnum

type DatabaseParameterSummaryIsSystemModifiableEnum string

DatabaseParameterSummaryIsSystemModifiableEnum Enum with underlying type: string

const (
	DatabaseParameterSummaryIsSystemModifiableImmediate DatabaseParameterSummaryIsSystemModifiableEnum = "IMMEDIATE"
	DatabaseParameterSummaryIsSystemModifiableDeferred  DatabaseParameterSummaryIsSystemModifiableEnum = "DEFERRED"
	DatabaseParameterSummaryIsSystemModifiableFalse     DatabaseParameterSummaryIsSystemModifiableEnum = "FALSE"
)

Set of constants representing the allowable values for DatabaseParameterSummaryIsSystemModifiableEnum

func GetDatabaseParameterSummaryIsSystemModifiableEnumValues

func GetDatabaseParameterSummaryIsSystemModifiableEnumValues() []DatabaseParameterSummaryIsSystemModifiableEnum

GetDatabaseParameterSummaryIsSystemModifiableEnumValues Enumerates the set of values for DatabaseParameterSummaryIsSystemModifiableEnum

type DatabaseParameterSummaryTypeEnum

type DatabaseParameterSummaryTypeEnum string

DatabaseParameterSummaryTypeEnum Enum with underlying type: string

const (
	DatabaseParameterSummaryTypeBoolean    DatabaseParameterSummaryTypeEnum = "BOOLEAN"
	DatabaseParameterSummaryTypeString     DatabaseParameterSummaryTypeEnum = "STRING"
	DatabaseParameterSummaryTypeInteger    DatabaseParameterSummaryTypeEnum = "INTEGER"
	DatabaseParameterSummaryTypeFilename   DatabaseParameterSummaryTypeEnum = "FILENAME"
	DatabaseParameterSummaryTypeBigInteger DatabaseParameterSummaryTypeEnum = "BIG_INTEGER"
	DatabaseParameterSummaryTypeReserved   DatabaseParameterSummaryTypeEnum = "RESERVED"
)

Set of constants representing the allowable values for DatabaseParameterSummaryTypeEnum

func GetDatabaseParameterSummaryTypeEnumValues

func GetDatabaseParameterSummaryTypeEnumValues() []DatabaseParameterSummaryTypeEnum

GetDatabaseParameterSummaryTypeEnumValues Enumerates the set of values for DatabaseParameterSummaryTypeEnum

type DatabaseParameterUpdateStatus

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"`
}

DatabaseParameterUpdateStatus The result of database parameter update.

func (DatabaseParameterUpdateStatus) String

type DatabaseParameterUpdateStatusStatusEnum

type DatabaseParameterUpdateStatusStatusEnum string

DatabaseParameterUpdateStatusStatusEnum Enum with underlying type: string

const (
	DatabaseParameterUpdateStatusStatusSucceeded DatabaseParameterUpdateStatusStatusEnum = "SUCCEEDED"
	DatabaseParameterUpdateStatusStatusFailed    DatabaseParameterUpdateStatusStatusEnum = "FAILED"
)

Set of constants representing the allowable values for DatabaseParameterUpdateStatusStatusEnum

func GetDatabaseParameterUpdateStatusStatusEnumValues

func GetDatabaseParameterUpdateStatusStatusEnumValues() []DatabaseParameterUpdateStatusStatusEnum

GetDatabaseParameterUpdateStatusStatusEnumValues Enumerates the set of values for DatabaseParameterUpdateStatusStatusEnum

type DatabaseParametersCollection

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"`
}

DatabaseParametersCollection A collection of database parameters.

func (DatabaseParametersCollection) String

type DatabaseStatusEnum

type DatabaseStatusEnum string

DatabaseStatusEnum Enum with underlying type: string

const (
	DatabaseStatusUp      DatabaseStatusEnum = "UP"
	DatabaseStatusDown    DatabaseStatusEnum = "DOWN"
	DatabaseStatusUnknown DatabaseStatusEnum = "UNKNOWN"
)

Set of constants representing the allowable values for DatabaseStatusEnum

func GetDatabaseStatusEnumValues

func GetDatabaseStatusEnumValues() []DatabaseStatusEnum

GetDatabaseStatusEnumValues Enumerates the set of values for DatabaseStatusEnum

type DatabaseStorageAggregateMetrics

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"`
}

DatabaseStorageAggregateMetrics The database storage metric values.

func (DatabaseStorageAggregateMetrics) String

type DatabaseSubTypeEnum

type DatabaseSubTypeEnum string

DatabaseSubTypeEnum Enum with underlying type: string

const (
	DatabaseSubTypeCdb    DatabaseSubTypeEnum = "CDB"
	DatabaseSubTypePdb    DatabaseSubTypeEnum = "PDB"
	DatabaseSubTypeNonCdb DatabaseSubTypeEnum = "NON_CDB"
)

Set of constants representing the allowable values for DatabaseSubTypeEnum

func GetDatabaseSubTypeEnumValues

func GetDatabaseSubTypeEnumValues() []DatabaseSubTypeEnum

GetDatabaseSubTypeEnumValues Enumerates the set of values for DatabaseSubTypeEnum

type DatabaseTimeAggregateMetrics

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"`
}

DatabaseTimeAggregateMetrics The database time metric details.

func (DatabaseTimeAggregateMetrics) String

type DatabaseTypeEnum

type DatabaseTypeEnum string

DatabaseTypeEnum Enum with underlying type: string

const (
	DatabaseTypeExternalSidb DatabaseTypeEnum = "EXTERNAL_SIDB"
	DatabaseTypeExternalRac  DatabaseTypeEnum = "EXTERNAL_RAC"
)

Set of constants representing the allowable values for DatabaseTypeEnum

func GetDatabaseTypeEnumValues

func GetDatabaseTypeEnumValues() []DatabaseTypeEnum

GetDatabaseTypeEnumValues Enumerates the set of values for DatabaseTypeEnum

type DatabaseUsageMetrics

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"`
}

DatabaseUsageMetrics The list of aggregated metrics for Managed Databases in the fleet.

func (DatabaseUsageMetrics) String

func (m DatabaseUsageMetrics) String() string

type 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"`
}

Datafile The details of a datafile.

func (Datafile) String

func (m Datafile) String() string

type DatafileLostWriteProtectEnum

type DatafileLostWriteProtectEnum string

DatafileLostWriteProtectEnum Enum with underlying type: string

const (
	DatafileLostWriteProtectEnabled    DatafileLostWriteProtectEnum = "ENABLED"
	DatafileLostWriteProtectProtectOff DatafileLostWriteProtectEnum = "PROTECT_OFF"
	DatafileLostWriteProtectSuspend    DatafileLostWriteProtectEnum = "SUSPEND"
)

Set of constants representing the allowable values for DatafileLostWriteProtectEnum

func GetDatafileLostWriteProtectEnumValues

func GetDatafileLostWriteProtectEnumValues() []DatafileLostWriteProtectEnum

GetDatafileLostWriteProtectEnumValues Enumerates the set of values for DatafileLostWriteProtectEnum

type DatafileOnlineStatusEnum

type DatafileOnlineStatusEnum string

DatafileOnlineStatusEnum Enum with underlying type: string

const (
	DatafileOnlineStatusSysoff  DatafileOnlineStatusEnum = "SYSOFF"
	DatafileOnlineStatusSystem  DatafileOnlineStatusEnum = "SYSTEM"
	DatafileOnlineStatusOffline DatafileOnlineStatusEnum = "OFFLINE"
	DatafileOnlineStatusOnline  DatafileOnlineStatusEnum = "ONLINE"
	DatafileOnlineStatusRecover DatafileOnlineStatusEnum = "RECOVER"
)

Set of constants representing the allowable values for DatafileOnlineStatusEnum

func GetDatafileOnlineStatusEnumValues

func GetDatafileOnlineStatusEnumValues() []DatafileOnlineStatusEnum

GetDatafileOnlineStatusEnumValues Enumerates the set of values for DatafileOnlineStatusEnum

type DatafileSharedEnum

type DatafileSharedEnum string

DatafileSharedEnum Enum with underlying type: string

const (
	DatafileSharedShared      DatafileSharedEnum = "SHARED"
	DatafileSharedLocalForRim DatafileSharedEnum = "LOCAL_FOR_RIM"
	DatafileSharedLocalForAll DatafileSharedEnum = "LOCAL_FOR_ALL"
)

Set of constants representing the allowable values for DatafileSharedEnum

func GetDatafileSharedEnumValues

func GetDatafileSharedEnumValues() []DatafileSharedEnum

GetDatafileSharedEnumValues Enumerates the set of values for DatafileSharedEnum

type DatafileStatusEnum

type DatafileStatusEnum string

DatafileStatusEnum Enum with underlying type: string

const (
	DatafileStatusAvailable DatafileStatusEnum = "AVAILABLE"
	DatafileStatusInvalid   DatafileStatusEnum = "INVALID"
	DatafileStatusOffline   DatafileStatusEnum = "OFFLINE"
	DatafileStatusOnline    DatafileStatusEnum = "ONLINE"
	DatafileStatusUnknown   DatafileStatusEnum = "UNKNOWN"
)

Set of constants representing the allowable values for DatafileStatusEnum

func GetDatafileStatusEnumValues

func GetDatafileStatusEnumValues() []DatafileStatusEnum

GetDatafileStatusEnumValues Enumerates the set of values for DatafileStatusEnum

type DbManagementClient

type DbManagementClient struct {
	common.BaseClient
	// contains filtered or unexported fields
}

DbManagementClient a client for DbManagement

func NewDbManagementClientWithConfigurationProvider

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

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 (DbManagementClient) AddManagedDatabaseToManagedDatabaseGroup

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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/AddManagedDatabaseToManagedDatabaseGroup.go.html to see an example of how to use AddManagedDatabaseToManagedDatabaseGroup API.

func (DbManagementClient) ChangeDatabaseParameters

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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ChangeDatabaseParameters.go.html to see an example of how to use ChangeDatabaseParameters API.

func (DbManagementClient) ChangeJobCompartment

func (client DbManagementClient) ChangeJobCompartment(ctx context.Context, request ChangeJobCompartmentRequest) (response ChangeJobCompartmentResponse, err error)

ChangeJobCompartment Moves a job.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ChangeJobCompartment.go.html to see an example of how to use ChangeJobCompartment API.

func (DbManagementClient) ChangeManagedDatabaseGroupCompartment

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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ChangeManagedDatabaseGroupCompartment.go.html to see an example of how to use ChangeManagedDatabaseGroupCompartment API.

func (*DbManagementClient) ConfigurationProvider

func (client *DbManagementClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (DbManagementClient) CreateJob

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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/CreateJob.go.html to see an example of how to use CreateJob API.

func (DbManagementClient) CreateManagedDatabaseGroup

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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/CreateManagedDatabaseGroup.go.html to see an example of how to use CreateManagedDatabaseGroup API.

func (DbManagementClient) DeleteJob

func (client DbManagementClient) DeleteJob(ctx context.Context, request DeleteJobRequest) (response DeleteJobResponse, err error)

DeleteJob Deletes the job specified by jobId.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/DeleteJob.go.html to see an example of how to use DeleteJob API.

func (DbManagementClient) DeleteManagedDatabaseGroup

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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/DeleteManagedDatabaseGroup.go.html to see an example of how to use DeleteManagedDatabaseGroup API.

func (DbManagementClient) GetAwrDbReport

func (client DbManagementClient) GetAwrDbReport(ctx context.Context, request GetAwrDbReportRequest) (response GetAwrDbReportResponse, err error)

GetAwrDbReport Gets the AWR report for the specified Managed Database.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetAwrDbReport.go.html to see an example of how to use GetAwrDbReport API.

func (DbManagementClient) GetAwrDbSqlReport

func (client DbManagementClient) GetAwrDbSqlReport(ctx context.Context, request GetAwrDbSqlReportRequest) (response GetAwrDbSqlReportResponse, err error)

GetAwrDbSqlReport Get a AWR SQL report for one SQL.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetAwrDbSqlReport.go.html to see an example of how to use GetAwrDbSqlReport API.

func (DbManagementClient) GetClusterCacheMetric

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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetClusterCacheMetric.go.html to see an example of how to use GetClusterCacheMetric API.

func (DbManagementClient) GetDatabaseFleetHealthMetrics

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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetDatabaseFleetHealthMetrics.go.html to see an example of how to use GetDatabaseFleetHealthMetrics API.

func (DbManagementClient) GetDatabaseHomeMetrics

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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetDatabaseHomeMetrics.go.html to see an example of how to use GetDatabaseHomeMetrics API.

func (DbManagementClient) GetJob

func (client DbManagementClient) GetJob(ctx context.Context, request GetJobRequest) (response GetJobResponse, err error)

GetJob Gets the details for the job specified by jobId.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetJob.go.html to see an example of how to use GetJob API.

func (DbManagementClient) GetJobExecution

func (client DbManagementClient) GetJobExecution(ctx context.Context, request GetJobExecutionRequest) (response GetJobExecutionResponse, err error)

GetJobExecution Gets the details for the job execution specified by jobExecutionId.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetJobExecution.go.html to see an example of how to use GetJobExecution API.

func (DbManagementClient) GetJobRun

func (client DbManagementClient) GetJobRun(ctx context.Context, request GetJobRunRequest) (response GetJobRunResponse, err error)

GetJobRun Gets the details for the job run specified by jobRunId.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetJobRun.go.html to see an example of how to use GetJobRun API.

func (DbManagementClient) GetManagedDatabase

func (client DbManagementClient) GetManagedDatabase(ctx context.Context, request GetManagedDatabaseRequest) (response GetManagedDatabaseResponse, err error)

GetManagedDatabase Gets the details for the Managed Database specified by managedDatabaseId.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetManagedDatabase.go.html to see an example of how to use GetManagedDatabase API.

func (DbManagementClient) GetManagedDatabaseGroup

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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetManagedDatabaseGroup.go.html to see an example of how to use GetManagedDatabaseGroup API.

func (DbManagementClient) ListAwrDbSnapshots

func (client DbManagementClient) ListAwrDbSnapshots(ctx context.Context, request ListAwrDbSnapshotsRequest) (response ListAwrDbSnapshotsResponse, err error)

ListAwrDbSnapshots Lists AWR snapshots for the specified database in the AWR.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ListAwrDbSnapshots.go.html to see an example of how to use ListAwrDbSnapshots API.

func (DbManagementClient) ListAwrDbs

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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ListAwrDbs.go.html to see an example of how to use ListAwrDbs API.

func (DbManagementClient) ListDatabaseParameters

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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ListDatabaseParameters.go.html to see an example of how to use ListDatabaseParameters API.

func (DbManagementClient) ListJobExecutions

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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ListJobExecutions.go.html to see an example of how to use ListJobExecutions API.

func (DbManagementClient) ListJobRuns

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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ListJobRuns.go.html to see an example of how to use ListJobRuns API.

func (DbManagementClient) ListJobs

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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ListJobs.go.html to see an example of how to use ListJobs API.

func (DbManagementClient) ListManagedDatabaseGroups

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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ListManagedDatabaseGroups.go.html to see an example of how to use ListManagedDatabaseGroups API.

func (DbManagementClient) ListManagedDatabases

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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ListManagedDatabases.go.html to see an example of how to use ListManagedDatabases API.

func (DbManagementClient) ListTablespaces

func (client DbManagementClient) ListTablespaces(ctx context.Context, request ListTablespacesRequest) (response ListTablespacesResponse, err error)

ListTablespaces Gets the list of tablespaces for the specified managedDatabaseId.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ListTablespaces.go.html to see an example of how to use ListTablespaces API.

func (DbManagementClient) RemoveManagedDatabaseFromManagedDatabaseGroup

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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/RemoveManagedDatabaseFromManagedDatabaseGroup.go.html to see an example of how to use RemoveManagedDatabaseFromManagedDatabaseGroup API.

func (DbManagementClient) ResetDatabaseParameters

func (client DbManagementClient) ResetDatabaseParameters(ctx context.Context, request ResetDatabaseParametersRequest) (response ResetDatabaseParametersResponse, err error)

ResetDatabaseParameters Resets database parameter values to their default or startup values.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ResetDatabaseParameters.go.html to see an example of how to use ResetDatabaseParameters API.

func (*DbManagementClient) SetRegion

func (client *DbManagementClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (DbManagementClient) SummarizeAwrDbCpuUsages

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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/SummarizeAwrDbCpuUsages.go.html to see an example of how to use SummarizeAwrDbCpuUsages API.

func (DbManagementClient) SummarizeAwrDbMetrics

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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/SummarizeAwrDbMetrics.go.html to see an example of how to use SummarizeAwrDbMetrics API.

func (DbManagementClient) SummarizeAwrDbParameterChanges

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

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/SummarizeAwrDbParameterChanges.go.html to see an example of how to use SummarizeAwrDbParameterChanges API.

func (DbManagementClient) SummarizeAwrDbParameters

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

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/SummarizeAwrDbParameters.go.html to see an example of how to use SummarizeAwrDbParameters API.

func (DbManagementClient) SummarizeAwrDbSnapshotRanges

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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/SummarizeAwrDbSnapshotRanges.go.html to see an example of how to use SummarizeAwrDbSnapshotRanges API.

func (DbManagementClient) SummarizeAwrDbSysstats

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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/SummarizeAwrDbSysstats.go.html to see an example of how to use SummarizeAwrDbSysstats API.

func (DbManagementClient) SummarizeAwrDbTopWaitEvents

func (client DbManagementClient) SummarizeAwrDbTopWaitEvents(ctx context.Context, request SummarizeAwrDbTopWaitEventsRequest) (response SummarizeAwrDbTopWaitEventsResponse, err error)

SummarizeAwrDbTopWaitEvents Summarizes the AWR top wait events.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/SummarizeAwrDbTopWaitEvents.go.html to see an example of how to use SummarizeAwrDbTopWaitEvents API.

func (DbManagementClient) SummarizeAwrDbWaitEventBuckets

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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/SummarizeAwrDbWaitEventBuckets.go.html to see an example of how to use SummarizeAwrDbWaitEventBuckets API.

func (DbManagementClient) SummarizeAwrDbWaitEvents

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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/SummarizeAwrDbWaitEvents.go.html to see an example of how to use SummarizeAwrDbWaitEvents API.

func (DbManagementClient) UpdateManagedDatabaseGroup

func (client DbManagementClient) UpdateManagedDatabaseGroup(ctx context.Context, request UpdateManagedDatabaseGroupRequest) (response UpdateManagedDatabaseGroupResponse, err error)

UpdateManagedDatabaseGroup Updates the Managed Database Group specified by managedDatabaseGroupId.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/UpdateManagedDatabaseGroup.go.html to see an example of how to use UpdateManagedDatabaseGroup API.

type 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
}

DeleteJobRequest wrapper for the DeleteJob operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/DeleteJob.go.html to see an example of how to use DeleteJobRequest.

func (DeleteJobRequest) BinaryRequestBody

func (request DeleteJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteJobRequest) HTTPRequest

func (request DeleteJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteJobRequest) RetryPolicy

func (request DeleteJobRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteJobRequest) String

func (request DeleteJobRequest) String() string

type DeleteJobResponse

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"`
}

DeleteJobResponse wrapper for the DeleteJob operation

func (DeleteJobResponse) HTTPResponse

func (response DeleteJobResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteJobResponse) String

func (response DeleteJobResponse) String() string

type 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
}

DeleteManagedDatabaseGroupRequest wrapper for the DeleteManagedDatabaseGroup operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/DeleteManagedDatabaseGroup.go.html to see an example of how to use DeleteManagedDatabaseGroupRequest.

func (DeleteManagedDatabaseGroupRequest) BinaryRequestBody

func (request DeleteManagedDatabaseGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteManagedDatabaseGroupRequest) HTTPRequest

func (request DeleteManagedDatabaseGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteManagedDatabaseGroupRequest) RetryPolicy

func (request DeleteManagedDatabaseGroupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteManagedDatabaseGroupRequest) String

func (request DeleteManagedDatabaseGroupRequest) String() string

type DeleteManagedDatabaseGroupResponse

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"`
}

DeleteManagedDatabaseGroupResponse wrapper for the DeleteManagedDatabaseGroup operation

func (DeleteManagedDatabaseGroupResponse) HTTPResponse

func (response DeleteManagedDatabaseGroupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteManagedDatabaseGroupResponse) String

func (response DeleteManagedDatabaseGroupResponse) String() string

type FleetMetricDefinition

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"`
}

FleetMetricDefinition The database metric details.

func (FleetMetricDefinition) String

func (m FleetMetricDefinition) String() string

type FleetMetricSummaryDefinition

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"`
}

FleetMetricSummaryDefinition A summary of the fleet metrics, which provides the metric aggregated value of the databases in the fleet.

func (FleetMetricSummaryDefinition) String

type FleetStatusByCategory

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"`
}

FleetStatusByCategory The number of databases in the fleet, grouped by database type and sub type.

func (FleetStatusByCategory) String

func (m FleetStatusByCategory) String() string

type FleetSummary

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"`
}

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.

func (FleetSummary) String

func (m FleetSummary) String() string

type GetAwrDbReportReportFormatEnum

type GetAwrDbReportReportFormatEnum string

GetAwrDbReportReportFormatEnum Enum with underlying type: string

const (
	GetAwrDbReportReportFormatHtml GetAwrDbReportReportFormatEnum = "HTML"
	GetAwrDbReportReportFormatText GetAwrDbReportReportFormatEnum = "TEXT"
)

Set of constants representing the allowable values for GetAwrDbReportReportFormatEnum

func GetGetAwrDbReportReportFormatEnumValues

func GetGetAwrDbReportReportFormatEnumValues() []GetAwrDbReportReportFormatEnum

GetGetAwrDbReportReportFormatEnumValues Enumerates the set of values for GetAwrDbReportReportFormatEnum

type GetAwrDbReportReportTypeEnum

type GetAwrDbReportReportTypeEnum string

GetAwrDbReportReportTypeEnum Enum with underlying type: string

const (
	GetAwrDbReportReportTypeAwr GetAwrDbReportReportTypeEnum = "AWR"
	GetAwrDbReportReportTypeAsh GetAwrDbReportReportTypeEnum = "ASH"
)

Set of constants representing the allowable values for GetAwrDbReportReportTypeEnum

func GetGetAwrDbReportReportTypeEnumValues

func GetGetAwrDbReportReportTypeEnumValues() []GetAwrDbReportReportTypeEnum

GetGetAwrDbReportReportTypeEnumValues Enumerates the set of values for GetAwrDbReportReportTypeEnum

type 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
}

GetAwrDbReportRequest wrapper for the GetAwrDbReport operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetAwrDbReport.go.html to see an example of how to use GetAwrDbReportRequest.

func (GetAwrDbReportRequest) BinaryRequestBody

func (request GetAwrDbReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetAwrDbReportRequest) HTTPRequest

func (request GetAwrDbReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetAwrDbReportRequest) RetryPolicy

func (request GetAwrDbReportRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetAwrDbReportRequest) String

func (request GetAwrDbReportRequest) String() string

type GetAwrDbReportResponse

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"`
}

GetAwrDbReportResponse wrapper for the GetAwrDbReport operation

func (GetAwrDbReportResponse) HTTPResponse

func (response GetAwrDbReportResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetAwrDbReportResponse) String

func (response GetAwrDbReportResponse) String() string

type GetAwrDbSqlReportReportFormatEnum

type GetAwrDbSqlReportReportFormatEnum string

GetAwrDbSqlReportReportFormatEnum Enum with underlying type: string

const (
	GetAwrDbSqlReportReportFormatHtml GetAwrDbSqlReportReportFormatEnum = "HTML"
	GetAwrDbSqlReportReportFormatText GetAwrDbSqlReportReportFormatEnum = "TEXT"
)

Set of constants representing the allowable values for GetAwrDbSqlReportReportFormatEnum

func GetGetAwrDbSqlReportReportFormatEnumValues

func GetGetAwrDbSqlReportReportFormatEnumValues() []GetAwrDbSqlReportReportFormatEnum

GetGetAwrDbSqlReportReportFormatEnumValues Enumerates the set of values for GetAwrDbSqlReportReportFormatEnum

type 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
}

GetAwrDbSqlReportRequest wrapper for the GetAwrDbSqlReport operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetAwrDbSqlReport.go.html to see an example of how to use GetAwrDbSqlReportRequest.

func (GetAwrDbSqlReportRequest) BinaryRequestBody

func (request GetAwrDbSqlReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetAwrDbSqlReportRequest) HTTPRequest

func (request GetAwrDbSqlReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetAwrDbSqlReportRequest) RetryPolicy

func (request GetAwrDbSqlReportRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetAwrDbSqlReportRequest) String

func (request GetAwrDbSqlReportRequest) String() string

type GetAwrDbSqlReportResponse

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"`
}

GetAwrDbSqlReportResponse wrapper for the GetAwrDbSqlReport operation

func (GetAwrDbSqlReportResponse) HTTPResponse

func (response GetAwrDbSqlReportResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetAwrDbSqlReportResponse) String

func (response GetAwrDbSqlReportResponse) String() string

type 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
}

GetClusterCacheMetricRequest wrapper for the GetClusterCacheMetric operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetClusterCacheMetric.go.html to see an example of how to use GetClusterCacheMetricRequest.

func (GetClusterCacheMetricRequest) BinaryRequestBody

func (request GetClusterCacheMetricRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetClusterCacheMetricRequest) HTTPRequest

func (request GetClusterCacheMetricRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetClusterCacheMetricRequest) RetryPolicy

func (request GetClusterCacheMetricRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetClusterCacheMetricRequest) String

func (request GetClusterCacheMetricRequest) String() string

type GetClusterCacheMetricResponse

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"`
}

GetClusterCacheMetricResponse wrapper for the GetClusterCacheMetric operation

func (GetClusterCacheMetricResponse) HTTPResponse

func (response GetClusterCacheMetricResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetClusterCacheMetricResponse) String

func (response GetClusterCacheMetricResponse) String() string

type GetDatabaseFleetHealthMetricsCompareTypeEnum

type GetDatabaseFleetHealthMetricsCompareTypeEnum string

GetDatabaseFleetHealthMetricsCompareTypeEnum Enum with underlying type: string

const (
	GetDatabaseFleetHealthMetricsCompareTypeHour GetDatabaseFleetHealthMetricsCompareTypeEnum = "HOUR"
	GetDatabaseFleetHealthMetricsCompareTypeDay  GetDatabaseFleetHealthMetricsCompareTypeEnum = "DAY"
)

Set of constants representing the allowable values for GetDatabaseFleetHealthMetricsCompareTypeEnum

func GetGetDatabaseFleetHealthMetricsCompareTypeEnumValues

func GetGetDatabaseFleetHealthMetricsCompareTypeEnumValues() []GetDatabaseFleetHealthMetricsCompareTypeEnum

GetGetDatabaseFleetHealthMetricsCompareTypeEnumValues Enumerates the set of values for GetDatabaseFleetHealthMetricsCompareTypeEnum

type 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
}

GetDatabaseFleetHealthMetricsRequest wrapper for the GetDatabaseFleetHealthMetrics operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetDatabaseFleetHealthMetrics.go.html to see an example of how to use GetDatabaseFleetHealthMetricsRequest.

func (GetDatabaseFleetHealthMetricsRequest) BinaryRequestBody

func (request GetDatabaseFleetHealthMetricsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDatabaseFleetHealthMetricsRequest) HTTPRequest

func (request GetDatabaseFleetHealthMetricsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDatabaseFleetHealthMetricsRequest) RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDatabaseFleetHealthMetricsRequest) String

type GetDatabaseFleetHealthMetricsResponse

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"`
}

GetDatabaseFleetHealthMetricsResponse wrapper for the GetDatabaseFleetHealthMetrics operation

func (GetDatabaseFleetHealthMetricsResponse) HTTPResponse

func (response GetDatabaseFleetHealthMetricsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDatabaseFleetHealthMetricsResponse) String

type 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
}

GetDatabaseHomeMetricsRequest wrapper for the GetDatabaseHomeMetrics operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetDatabaseHomeMetrics.go.html to see an example of how to use GetDatabaseHomeMetricsRequest.

func (GetDatabaseHomeMetricsRequest) BinaryRequestBody

func (request GetDatabaseHomeMetricsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDatabaseHomeMetricsRequest) HTTPRequest

func (request GetDatabaseHomeMetricsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCl