...

Package opsi

import "github.com/oracle/oci-go-sdk/opsi"
Overview
Index

Overview ▾

Index ▾

type DatabaseDetails
    func (m DatabaseDetails) String() string
type DatabaseInsightSummary
    func (m DatabaseInsightSummary) String() string
type DatabaseInsights
    func (m DatabaseInsights) String() string
type DatabaseInsightsCollection
    func (m DatabaseInsightsCollection) String() string
type HistoricalDataItem
    func (m HistoricalDataItem) String() string
type IngestSqlBucketDetails
    func (m IngestSqlBucketDetails) String() string
type IngestSqlBucketRequest
    func (request IngestSqlBucketRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request IngestSqlBucketRequest) RetryPolicy() *common.RetryPolicy
    func (request IngestSqlBucketRequest) String() string
type IngestSqlBucketResponse
    func (response IngestSqlBucketResponse) HTTPResponse() *http.Response
    func (response IngestSqlBucketResponse) String() string
type IngestSqlBucketResponseDetails
    func (m IngestSqlBucketResponseDetails) String() string
type IngestSqlPlanLinesDetails
    func (m IngestSqlPlanLinesDetails) String() string
type IngestSqlPlanLinesRequest
    func (request IngestSqlPlanLinesRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request IngestSqlPlanLinesRequest) RetryPolicy() *common.RetryPolicy
    func (request IngestSqlPlanLinesRequest) String() string
type IngestSqlPlanLinesResponse
    func (response IngestSqlPlanLinesResponse) HTTPResponse() *http.Response
    func (response IngestSqlPlanLinesResponse) String() string
type IngestSqlPlanLinesResponseDetails
    func (m IngestSqlPlanLinesResponseDetails) String() string
type IngestSqlTextDetails
    func (m IngestSqlTextDetails) String() string
type IngestSqlTextRequest
    func (request IngestSqlTextRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request IngestSqlTextRequest) RetryPolicy() *common.RetryPolicy
    func (request IngestSqlTextRequest) String() string
type IngestSqlTextResponse
    func (response IngestSqlTextResponse) HTTPResponse() *http.Response
    func (response IngestSqlTextResponse) String() string
type IngestSqlTextResponseDetails
    func (m IngestSqlTextResponseDetails) String() string
type ListDatabaseInsightsDatabaseTypeEnum
    func GetListDatabaseInsightsDatabaseTypeEnumValues() []ListDatabaseInsightsDatabaseTypeEnum
type ListDatabaseInsightsFieldsEnum
    func GetListDatabaseInsightsFieldsEnumValues() []ListDatabaseInsightsFieldsEnum
type ListDatabaseInsightsRequest
    func (request ListDatabaseInsightsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListDatabaseInsightsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListDatabaseInsightsRequest) String() string
type ListDatabaseInsightsResponse
    func (response ListDatabaseInsightsResponse) HTTPResponse() *http.Response
    func (response ListDatabaseInsightsResponse) String() string
type ListDatabaseInsightsSortByEnum
    func GetListDatabaseInsightsSortByEnumValues() []ListDatabaseInsightsSortByEnum
type ListDatabaseInsightsSortOrderEnum
    func GetListDatabaseInsightsSortOrderEnumValues() []ListDatabaseInsightsSortOrderEnum
type ListSqlPlansRequest
    func (request ListSqlPlansRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListSqlPlansRequest) RetryPolicy() *common.RetryPolicy
    func (request ListSqlPlansRequest) String() string
type ListSqlPlansResponse
    func (response ListSqlPlansResponse) HTTPResponse() *http.Response
    func (response ListSqlPlansResponse) String() string
type ListSqlSearchesRequest
    func (request ListSqlSearchesRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListSqlSearchesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListSqlSearchesRequest) String() string
type ListSqlSearchesResponse
    func (response ListSqlSearchesResponse) HTTPResponse() *http.Response
    func (response ListSqlSearchesResponse) String() string
type ListSqlTextsRequest
    func (request ListSqlTextsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListSqlTextsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListSqlTextsRequest) String() string
type ListSqlTextsResponse
    func (response ListSqlTextsResponse) HTTPResponse() *http.Response
    func (response ListSqlTextsResponse) String() string
type OperationsInsightsClient
    func NewOperationsInsightsClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OperationsInsightsClient, err error)
    func NewOperationsInsightsClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OperationsInsightsClient, err error)
    func (client *OperationsInsightsClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client OperationsInsightsClient) IngestSqlBucket(ctx context.Context, request IngestSqlBucketRequest) (response IngestSqlBucketResponse, err error)
    func (client OperationsInsightsClient) IngestSqlPlanLines(ctx context.Context, request IngestSqlPlanLinesRequest) (response IngestSqlPlanLinesResponse, err error)
    func (client OperationsInsightsClient) IngestSqlText(ctx context.Context, request IngestSqlTextRequest) (response IngestSqlTextResponse, err error)
    func (client OperationsInsightsClient) ListDatabaseInsights(ctx context.Context, request ListDatabaseInsightsRequest) (response ListDatabaseInsightsResponse, err error)
    func (client OperationsInsightsClient) ListSqlPlans(ctx context.Context, request ListSqlPlansRequest) (response ListSqlPlansResponse, err error)
    func (client OperationsInsightsClient) ListSqlSearches(ctx context.Context, request ListSqlSearchesRequest) (response ListSqlSearchesResponse, err error)
    func (client OperationsInsightsClient) ListSqlTexts(ctx context.Context, request ListSqlTextsRequest) (response ListSqlTextsResponse, err error)
    func (client *OperationsInsightsClient) SetRegion(region string)
    func (client OperationsInsightsClient) SummarizeDatabaseInsightResourceCapacityTrend(ctx context.Context, request SummarizeDatabaseInsightResourceCapacityTrendRequest) (response SummarizeDatabaseInsightResourceCapacityTrendResponse, err error)
    func (client OperationsInsightsClient) SummarizeDatabaseInsightResourceForecastTrend(ctx context.Context, request SummarizeDatabaseInsightResourceForecastTrendRequest) (response SummarizeDatabaseInsightResourceForecastTrendResponse, err error)
    func (client OperationsInsightsClient) SummarizeDatabaseInsightResourceStatistics(ctx context.Context, request SummarizeDatabaseInsightResourceStatisticsRequest) (response SummarizeDatabaseInsightResourceStatisticsResponse, err error)
    func (client OperationsInsightsClient) SummarizeDatabaseInsightResourceUsage(ctx context.Context, request SummarizeDatabaseInsightResourceUsageRequest) (response SummarizeDatabaseInsightResourceUsageResponse, err error)
    func (client OperationsInsightsClient) SummarizeDatabaseInsightResourceUsageTrend(ctx context.Context, request SummarizeDatabaseInsightResourceUsageTrendRequest) (response SummarizeDatabaseInsightResourceUsageTrendResponse, err error)
    func (client OperationsInsightsClient) SummarizeDatabaseInsightResourceUtilizationInsight(ctx context.Context, request SummarizeDatabaseInsightResourceUtilizationInsightRequest) (response SummarizeDatabaseInsightResourceUtilizationInsightResponse, err error)
    func (client OperationsInsightsClient) SummarizeSqlInsights(ctx context.Context, request SummarizeSqlInsightsRequest) (response SummarizeSqlInsightsResponse, err error)
    func (client OperationsInsightsClient) SummarizeSqlPlanInsights(ctx context.Context, request SummarizeSqlPlanInsightsRequest) (response SummarizeSqlPlanInsightsResponse, err error)
    func (client OperationsInsightsClient) SummarizeSqlResponseTimeDistributions(ctx context.Context, request SummarizeSqlResponseTimeDistributionsRequest) (response SummarizeSqlResponseTimeDistributionsResponse, err error)
    func (client OperationsInsightsClient) SummarizeSqlStatistics(ctx context.Context, request SummarizeSqlStatisticsRequest) (response SummarizeSqlStatisticsResponse, err error)
    func (client OperationsInsightsClient) SummarizeSqlStatisticsTimeSeries(ctx context.Context, request SummarizeSqlStatisticsTimeSeriesRequest) (response SummarizeSqlStatisticsTimeSeriesResponse, err error)
    func (client OperationsInsightsClient) SummarizeSqlStatisticsTimeSeriesByPlan(ctx context.Context, request SummarizeSqlStatisticsTimeSeriesByPlanRequest) (response SummarizeSqlStatisticsTimeSeriesByPlanResponse, err error)
type ProjectedDataItem
    func (m ProjectedDataItem) String() string
type ResourceCapacityTrendAggregation
    func (m ResourceCapacityTrendAggregation) String() string
type ResourceInsightCurrentUtilization
    func (m ResourceInsightCurrentUtilization) String() string
type ResourceInsightProjectedUtilization
    func (m ResourceInsightProjectedUtilization) String() string
type ResourceInsightProjectedUtilizationItem
    func (m ResourceInsightProjectedUtilizationItem) String() string
type ResourceStatistics
    func (m ResourceStatistics) String() string
type ResourceStatisticsAggregation
    func (m ResourceStatisticsAggregation) String() string
type ResourceUsageTrendAggregation
    func (m ResourceUsageTrendAggregation) String() string
type SortOrderEnum
    func GetSortOrderEnumValues() []SortOrderEnum
type SqlBucket
    func (m SqlBucket) String() string
type SqlInsightAggregation
    func (m SqlInsightAggregation) String() string
type SqlInsightAggregationCollection
    func (m SqlInsightAggregationCollection) String() string
type SqlInsightThresholds
    func (m SqlInsightThresholds) String() string
type SqlInventory
    func (m SqlInventory) String() string
type SqlPlanCollection
    func (m SqlPlanCollection) String() string
type SqlPlanInsightAggregation
    func (m SqlPlanInsightAggregation) String() string
type SqlPlanInsightAggregationCollection
    func (m SqlPlanInsightAggregationCollection) String() string
type SqlPlanInsights
    func (m SqlPlanInsights) String() string
type SqlPlanLine
    func (m SqlPlanLine) String() string
type SqlPlanSummary
    func (m SqlPlanSummary) String() string
type SqlResponseTimeDistributionAggregation
    func (m SqlResponseTimeDistributionAggregation) String() string
type SqlResponseTimeDistributionAggregationCollection
    func (m SqlResponseTimeDistributionAggregationCollection) String() string
type SqlSearchCollection
    func (m SqlSearchCollection) String() string
type SqlSearchSummary
    func (m SqlSearchSummary) String() string
type SqlStatisticAggregation
    func (m SqlStatisticAggregation) String() string
type SqlStatisticAggregationCollection
    func (m SqlStatisticAggregationCollection) String() string
type SqlStatistics
    func (m SqlStatistics) String() string
type SqlStatisticsTimeSeries
    func (m SqlStatisticsTimeSeries) String() string
type SqlStatisticsTimeSeriesAggregation
    func (m SqlStatisticsTimeSeriesAggregation) String() string
type SqlStatisticsTimeSeriesAggregationCollection
    func (m SqlStatisticsTimeSeriesAggregationCollection) String() string
type SqlStatisticsTimeSeriesByPlanAggregation
    func (m SqlStatisticsTimeSeriesByPlanAggregation) String() string
type SqlStatisticsTimeSeriesByPlanAggregationCollection
    func (m SqlStatisticsTimeSeriesByPlanAggregationCollection) String() string
type SqlText
    func (m SqlText) String() string
type SqlTextCollection
    func (m SqlTextCollection) String() string
type SqlTextSummary
    func (m SqlTextSummary) String() string
type SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection
    func (m SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection) String() string
type SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum
    func GetSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumValues() []SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum
type SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum
    func GetSummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum
type SummarizeDatabaseInsightResourceCapacityTrendRequest
    func (request SummarizeDatabaseInsightResourceCapacityTrendRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request SummarizeDatabaseInsightResourceCapacityTrendRequest) RetryPolicy() *common.RetryPolicy
    func (request SummarizeDatabaseInsightResourceCapacityTrendRequest) String() string
type SummarizeDatabaseInsightResourceCapacityTrendResponse
    func (response SummarizeDatabaseInsightResourceCapacityTrendResponse) HTTPResponse() *http.Response
    func (response SummarizeDatabaseInsightResourceCapacityTrendResponse) String() string
type SummarizeDatabaseInsightResourceCapacityTrendSortByEnum
    func GetSummarizeDatabaseInsightResourceCapacityTrendSortByEnumValues() []SummarizeDatabaseInsightResourceCapacityTrendSortByEnum
type SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum
    func GetSummarizeDatabaseInsightResourceCapacityTrendSortOrderEnumValues() []SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum
type SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum
    func GetSummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnumValues() []SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum
type SummarizeDatabaseInsightResourceForecastTrendAggregation
    func (m SummarizeDatabaseInsightResourceForecastTrendAggregation) String() string
type SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum
    func GetSummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnumValues() []SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum
type SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum
    func GetSummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnumValues() []SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum
type SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum
    func GetSummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum
type SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum
    func GetSummarizeDatabaseInsightResourceForecastTrendForecastModelEnumValues() []SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum
type SummarizeDatabaseInsightResourceForecastTrendRequest
    func (request SummarizeDatabaseInsightResourceForecastTrendRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request SummarizeDatabaseInsightResourceForecastTrendRequest) RetryPolicy() *common.RetryPolicy
    func (request SummarizeDatabaseInsightResourceForecastTrendRequest) String() string
type SummarizeDatabaseInsightResourceForecastTrendResponse
    func (response SummarizeDatabaseInsightResourceForecastTrendResponse) HTTPResponse() *http.Response
    func (response SummarizeDatabaseInsightResourceForecastTrendResponse) String() string
type SummarizeDatabaseInsightResourceForecastTrendStatisticEnum
    func GetSummarizeDatabaseInsightResourceForecastTrendStatisticEnumValues() []SummarizeDatabaseInsightResourceForecastTrendStatisticEnum
type SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum
    func GetSummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnumValues() []SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum
type SummarizeDatabaseInsightResourceStatisticsAggregationCollection
    func (m SummarizeDatabaseInsightResourceStatisticsAggregationCollection) String() string
type SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum
    func GetSummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnumValues() []SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum
type SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum
    func GetSummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum
type SummarizeDatabaseInsightResourceStatisticsRequest
    func (request SummarizeDatabaseInsightResourceStatisticsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request SummarizeDatabaseInsightResourceStatisticsRequest) RetryPolicy() *common.RetryPolicy
    func (request SummarizeDatabaseInsightResourceStatisticsRequest) String() string
type SummarizeDatabaseInsightResourceStatisticsResponse
    func (response SummarizeDatabaseInsightResourceStatisticsResponse) HTTPResponse() *http.Response
    func (response SummarizeDatabaseInsightResourceStatisticsResponse) String() string
type SummarizeDatabaseInsightResourceStatisticsSortByEnum
    func GetSummarizeDatabaseInsightResourceStatisticsSortByEnumValues() []SummarizeDatabaseInsightResourceStatisticsSortByEnum
type SummarizeDatabaseInsightResourceStatisticsSortOrderEnum
    func GetSummarizeDatabaseInsightResourceStatisticsSortOrderEnumValues() []SummarizeDatabaseInsightResourceStatisticsSortOrderEnum
type SummarizeDatabaseInsightResourceUsageAggregation
    func (m SummarizeDatabaseInsightResourceUsageAggregation) String() string
type SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum
    func GetSummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnumValues() []SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum
type SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum
    func GetSummarizeDatabaseInsightResourceUsageDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum
type SummarizeDatabaseInsightResourceUsageRequest
    func (request SummarizeDatabaseInsightResourceUsageRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request SummarizeDatabaseInsightResourceUsageRequest) RetryPolicy() *common.RetryPolicy
    func (request SummarizeDatabaseInsightResourceUsageRequest) String() string
type SummarizeDatabaseInsightResourceUsageResponse
    func (response SummarizeDatabaseInsightResourceUsageResponse) HTTPResponse() *http.Response
    func (response SummarizeDatabaseInsightResourceUsageResponse) String() string
type SummarizeDatabaseInsightResourceUsageTrendAggregationCollection
    func (m SummarizeDatabaseInsightResourceUsageTrendAggregationCollection) String() string
type SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum
    func GetSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnumValues() []SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum
type SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum
    func GetSummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum
type SummarizeDatabaseInsightResourceUsageTrendRequest
    func (request SummarizeDatabaseInsightResourceUsageTrendRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request SummarizeDatabaseInsightResourceUsageTrendRequest) RetryPolicy() *common.RetryPolicy
    func (request SummarizeDatabaseInsightResourceUsageTrendRequest) String() string
type SummarizeDatabaseInsightResourceUsageTrendResponse
    func (response SummarizeDatabaseInsightResourceUsageTrendResponse) HTTPResponse() *http.Response
    func (response SummarizeDatabaseInsightResourceUsageTrendResponse) String() string
type SummarizeDatabaseInsightResourceUsageTrendSortByEnum
    func GetSummarizeDatabaseInsightResourceUsageTrendSortByEnumValues() []SummarizeDatabaseInsightResourceUsageTrendSortByEnum
type SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum
    func GetSummarizeDatabaseInsightResourceUsageTrendSortOrderEnumValues() []SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum
type SummarizeDatabaseInsightResourceUtilizationInsightAggregation
    func (m SummarizeDatabaseInsightResourceUtilizationInsightAggregation) String() string
type SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum
    func GetSummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnumValues() []SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum
type SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum
    func GetSummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum
type SummarizeDatabaseInsightResourceUtilizationInsightRequest
    func (request SummarizeDatabaseInsightResourceUtilizationInsightRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request SummarizeDatabaseInsightResourceUtilizationInsightRequest) RetryPolicy() *common.RetryPolicy
    func (request SummarizeDatabaseInsightResourceUtilizationInsightRequest) String() string
type SummarizeDatabaseInsightResourceUtilizationInsightResponse
    func (response SummarizeDatabaseInsightResourceUtilizationInsightResponse) HTTPResponse() *http.Response
    func (response SummarizeDatabaseInsightResourceUtilizationInsightResponse) String() string
type SummarizeSqlInsightsDatabaseTypeEnum
    func GetSummarizeSqlInsightsDatabaseTypeEnumValues() []SummarizeSqlInsightsDatabaseTypeEnum
type SummarizeSqlInsightsRequest
    func (request SummarizeSqlInsightsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request SummarizeSqlInsightsRequest) RetryPolicy() *common.RetryPolicy
    func (request SummarizeSqlInsightsRequest) String() string
type SummarizeSqlInsightsResponse
    func (response SummarizeSqlInsightsResponse) HTTPResponse() *http.Response
    func (response SummarizeSqlInsightsResponse) String() string
type SummarizeSqlPlanInsightsRequest
    func (request SummarizeSqlPlanInsightsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request SummarizeSqlPlanInsightsRequest) RetryPolicy() *common.RetryPolicy
    func (request SummarizeSqlPlanInsightsRequest) String() string
type SummarizeSqlPlanInsightsResponse
    func (response SummarizeSqlPlanInsightsResponse) HTTPResponse() *http.Response
    func (response SummarizeSqlPlanInsightsResponse) String() string
type SummarizeSqlResponseTimeDistributionsRequest
    func (request SummarizeSqlResponseTimeDistributionsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request SummarizeSqlResponseTimeDistributionsRequest) RetryPolicy() *common.RetryPolicy
    func (request SummarizeSqlResponseTimeDistributionsRequest) String() string
type SummarizeSqlResponseTimeDistributionsResponse
    func (response SummarizeSqlResponseTimeDistributionsResponse) HTTPResponse() *http.Response
    func (response SummarizeSqlResponseTimeDistributionsResponse) String() string
type SummarizeSqlStatisticsCategoryEnum
    func GetSummarizeSqlStatisticsCategoryEnumValues() []SummarizeSqlStatisticsCategoryEnum
type SummarizeSqlStatisticsDatabaseTypeEnum
    func GetSummarizeSqlStatisticsDatabaseTypeEnumValues() []SummarizeSqlStatisticsDatabaseTypeEnum
type SummarizeSqlStatisticsRequest
    func (request SummarizeSqlStatisticsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request SummarizeSqlStatisticsRequest) RetryPolicy() *common.RetryPolicy
    func (request SummarizeSqlStatisticsRequest) String() string
type SummarizeSqlStatisticsResponse
    func (response SummarizeSqlStatisticsResponse) HTTPResponse() *http.Response
    func (response SummarizeSqlStatisticsResponse) String() string
type SummarizeSqlStatisticsSortByEnum
    func GetSummarizeSqlStatisticsSortByEnumValues() []SummarizeSqlStatisticsSortByEnum
type SummarizeSqlStatisticsSortOrderEnum
    func GetSummarizeSqlStatisticsSortOrderEnumValues() []SummarizeSqlStatisticsSortOrderEnum
type SummarizeSqlStatisticsTimeSeriesByPlanRequest
    func (request SummarizeSqlStatisticsTimeSeriesByPlanRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request SummarizeSqlStatisticsTimeSeriesByPlanRequest) RetryPolicy() *common.RetryPolicy
    func (request SummarizeSqlStatisticsTimeSeriesByPlanRequest) String() string
type SummarizeSqlStatisticsTimeSeriesByPlanResponse
    func (response SummarizeSqlStatisticsTimeSeriesByPlanResponse) HTTPResponse() *http.Response
    func (response SummarizeSqlStatisticsTimeSeriesByPlanResponse) String() string
type SummarizeSqlStatisticsTimeSeriesRequest
    func (request SummarizeSqlStatisticsTimeSeriesRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request SummarizeSqlStatisticsTimeSeriesRequest) RetryPolicy() *common.RetryPolicy
    func (request SummarizeSqlStatisticsTimeSeriesRequest) String() string
type SummarizeSqlStatisticsTimeSeriesResponse
    func (response SummarizeSqlStatisticsTimeSeriesResponse) HTTPResponse() *http.Response
    func (response SummarizeSqlStatisticsTimeSeriesResponse) String() string
type UsageUnitEnum
    func GetUsageUnitEnumValues() []UsageUnitEnum

Package files

database_details.go database_insight_summary.go database_insights.go database_insights_collection.go historical_data_item.go ingest_sql_bucket_details.go ingest_sql_bucket_request_response.go ingest_sql_bucket_response_details.go ingest_sql_plan_lines_details.go ingest_sql_plan_lines_request_response.go ingest_sql_plan_lines_response_details.go ingest_sql_text_details.go ingest_sql_text_request_response.go ingest_sql_text_response_details.go list_database_insights_request_response.go list_sql_plans_request_response.go list_sql_searches_request_response.go list_sql_texts_request_response.go opsi_operationsinsights_client.go projected_data_item.go resource_capacity_trend_aggregation.go resource_insight_current_utilization.go resource_insight_projected_utilization.go resource_insight_projected_utilization_item.go resource_statistics.go resource_statistics_aggregation.go resource_usage_trend_aggregation.go sort_order.go sql_bucket.go sql_insight_aggregation.go sql_insight_aggregation_collection.go sql_insight_thresholds.go sql_inventory.go sql_plan_collection.go sql_plan_insight_aggregation.go sql_plan_insight_aggregation_collection.go sql_plan_insights.go sql_plan_line.go sql_plan_summary.go sql_response_time_distribution_aggregation.go sql_response_time_distribution_aggregation_collection.go sql_search_collection.go sql_search_summary.go sql_statistic_aggregation.go sql_statistic_aggregation_collection.go sql_statistics.go sql_statistics_time_series.go sql_statistics_time_series_aggregation.go sql_statistics_time_series_aggregation_collection.go sql_statistics_time_series_by_plan_aggregation.go sql_statistics_time_series_by_plan_aggregation_collection.go sql_text.go sql_text_collection.go sql_text_summary.go summarize_database_insight_resource_capacity_trend_aggregation_collection.go summarize_database_insight_resource_capacity_trend_request_response.go summarize_database_insight_resource_forecast_trend_aggregation.go summarize_database_insight_resource_forecast_trend_request_response.go summarize_database_insight_resource_statistics_aggregation_collection.go summarize_database_insight_resource_statistics_request_response.go summarize_database_insight_resource_usage_aggregation.go summarize_database_insight_resource_usage_request_response.go summarize_database_insight_resource_usage_trend_aggregation_collection.go summarize_database_insight_resource_usage_trend_request_response.go summarize_database_insight_resource_utilization_insight_aggregation.go summarize_database_insight_resource_utilization_insight_request_response.go summarize_sql_insights_request_response.go summarize_sql_plan_insights_request_response.go summarize_sql_response_time_distributions_request_response.go summarize_sql_statistics_request_response.go summarize_sql_statistics_time_series_by_plan_request_response.go summarize_sql_statistics_time_series_request_response.go usage_unit.go

type DatabaseDetails

DatabaseDetails Partial information about the database which includes id, name, type.

type DatabaseDetails struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
    DatabaseId *string `mandatory:"true" json:"databaseId"`

    // The database name. The database name is unique within the tenancy.
    DatabaseName *string `mandatory:"true" json:"databaseName"`

    // Operations Insights internal representation of the database type.
    DatabaseType *string `mandatory:"true" json:"databaseType"`

    // The user-friendly name for the database. The name does not have to be unique.
    DatabaseDisplayName *string `mandatory:"false" json:"databaseDisplayName"`

    // The version of the database.
    DatabaseVersion *string `mandatory:"false" json:"databaseVersion"`
}

func (DatabaseDetails) String

func (m DatabaseDetails) String() string

type DatabaseInsightSummary

DatabaseInsightSummary Partial definition of the database insight resource.

type DatabaseInsightSummary struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
    DatabaseId *string `mandatory:"true" json:"databaseId"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The database name. The database name is unique within the tenancy.
    DatabaseName *string `mandatory:"false" json:"databaseName"`

    // The user-friendly name for the database. The name does not have to be unique.
    DatabaseDisplayName *string `mandatory:"false" json:"databaseDisplayName"`

    // Operations Insights internal representation of the database type.
    DatabaseType *string `mandatory:"false" json:"databaseType"`

    // The version of the database.
    DatabaseVersion *string `mandatory:"false" json:"databaseVersion"`

    // The hostnames for the database.
    DatabaseHostNames []string `mandatory:"false" json:"databaseHostNames"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (DatabaseInsightSummary) String

func (m DatabaseInsightSummary) String() string

type DatabaseInsights

DatabaseInsights Logical grouping used for Operations Insights database-targeted operations.

type DatabaseInsights struct {

    // Database Insights Object.
    DatabaseInsights *interface{} `mandatory:"false" json:"databaseInsights"`
}

func (DatabaseInsights) String

func (m DatabaseInsights) String() string

type DatabaseInsightsCollection

DatabaseInsightsCollection Collection of database insight summary objects.

type DatabaseInsightsCollection struct {

    // Array of database insight summary objects.
    Items []DatabaseInsightSummary `mandatory:"true" json:"items"`
}

func (DatabaseInsightsCollection) String

func (m DatabaseInsightsCollection) String() string

type HistoricalDataItem

HistoricalDataItem The historical timestamp and the corresponding resource value.

type HistoricalDataItem struct {

    // The timestamp in which the current sampling period ends in RFC 3339 format.
    EndTimestamp *common.SDKTime `mandatory:"true" json:"endTimestamp"`

    // Total amount used of the resource metric type (CPU, STORAGE).
    Usage *float64 `mandatory:"true" json:"usage"`
}

func (HistoricalDataItem) String

func (m HistoricalDataItem) String() string

type IngestSqlBucketDetails

IngestSqlBucketDetails Collection of SQL Bucket Metric Entries

type IngestSqlBucketDetails struct {

    // List of SQL Bucket Metric Entries.
    Items []SqlBucket `mandatory:"false" json:"items"`
}

func (IngestSqlBucketDetails) String

func (m IngestSqlBucketDetails) String() string

type IngestSqlBucketRequest

IngestSqlBucketRequest wrapper for the IngestSqlBucket operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/opsi/IngestSqlBucket.go.html to see an example of how to use IngestSqlBucketRequest.

type IngestSqlBucketRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Required OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
    DatabaseId *string `mandatory:"true" contributesTo:"query" name:"databaseId"`

    // Collection of SQL bucket objects for a particular database.
    IngestSqlBucketDetails `contributesTo:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous get, create, or update response for that resource.  The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // A token that uniquely identifies a request that can be retried in case of a timeout or
    // server error without risk of executing the same action again. Retry tokens expire after 24
    // hours.
    // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
    // operations, such as a resource being deleted or purged from the system.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (IngestSqlBucketRequest) HTTPRequest

func (request IngestSqlBucketRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (IngestSqlBucketRequest) RetryPolicy

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

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

func (IngestSqlBucketRequest) String

func (request IngestSqlBucketRequest) String() string

type IngestSqlBucketResponse

IngestSqlBucketResponse wrapper for the IngestSqlBucket operation

type IngestSqlBucketResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The IngestSqlBucketResponseDetails instance
    IngestSqlBucketResponseDetails `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`
}

func (IngestSqlBucketResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (IngestSqlBucketResponse) String

func (response IngestSqlBucketResponse) String() string

type IngestSqlBucketResponseDetails

IngestSqlBucketResponseDetails The response object returned from IngestSqlBucketDetails operation.

type IngestSqlBucketResponseDetails struct {

    // Success message returned as a result of the upload.
    Message *string `mandatory:"true" json:"message"`
}

func (IngestSqlBucketResponseDetails) String

func (m IngestSqlBucketResponseDetails) String() string

type IngestSqlPlanLinesDetails

IngestSqlPlanLinesDetails Collection of SQL Plan Line Entries

type IngestSqlPlanLinesDetails struct {

    // List of SQL Plan Line Entries.
    Items []SqlPlanLine `mandatory:"false" json:"items"`
}

func (IngestSqlPlanLinesDetails) String

func (m IngestSqlPlanLinesDetails) String() string

type IngestSqlPlanLinesRequest

IngestSqlPlanLinesRequest wrapper for the IngestSqlPlanLines operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/opsi/IngestSqlPlanLines.go.html to see an example of how to use IngestSqlPlanLinesRequest.

type IngestSqlPlanLinesRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Required OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
    DatabaseId *string `mandatory:"true" contributesTo:"query" name:"databaseId"`

    // Collection of SQL plan line objects for a particular database.
    IngestSqlPlanLinesDetails `contributesTo:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous get, create, or update response for that resource.  The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // A token that uniquely identifies a request that can be retried in case of a timeout or
    // server error without risk of executing the same action again. Retry tokens expire after 24
    // hours.
    // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
    // operations, such as a resource being deleted or purged from the system.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (IngestSqlPlanLinesRequest) HTTPRequest

func (request IngestSqlPlanLinesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (IngestSqlPlanLinesRequest) RetryPolicy

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

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

func (IngestSqlPlanLinesRequest) String

func (request IngestSqlPlanLinesRequest) String() string

type IngestSqlPlanLinesResponse

IngestSqlPlanLinesResponse wrapper for the IngestSqlPlanLines operation

type IngestSqlPlanLinesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The IngestSqlPlanLinesResponseDetails instance
    IngestSqlPlanLinesResponseDetails `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`
}

func (IngestSqlPlanLinesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (IngestSqlPlanLinesResponse) String

func (response IngestSqlPlanLinesResponse) String() string

type IngestSqlPlanLinesResponseDetails

IngestSqlPlanLinesResponseDetails The response object returned from IngestSqlPlanLines operation.

type IngestSqlPlanLinesResponseDetails struct {

    // Success message returned as a result of the upload.
    Message *string `mandatory:"true" json:"message"`
}

func (IngestSqlPlanLinesResponseDetails) String

func (m IngestSqlPlanLinesResponseDetails) String() string

type IngestSqlTextDetails

IngestSqlTextDetails Collection of SQL Text Entries

type IngestSqlTextDetails struct {

    // List of SQL Text Entries.
    Items []SqlText `mandatory:"false" json:"items"`
}

func (IngestSqlTextDetails) String

func (m IngestSqlTextDetails) String() string

type IngestSqlTextRequest

IngestSqlTextRequest wrapper for the IngestSqlText operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/opsi/IngestSqlText.go.html to see an example of how to use IngestSqlTextRequest.

type IngestSqlTextRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Required OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
    DatabaseId *string `mandatory:"true" contributesTo:"query" name:"databaseId"`

    // Collection of SQL text objects for a particular database.
    IngestSqlTextDetails `contributesTo:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous get, create, or update response for that resource.  The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // A token that uniquely identifies a request that can be retried in case of a timeout or
    // server error without risk of executing the same action again. Retry tokens expire after 24
    // hours.
    // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
    // operations, such as a resource being deleted or purged from the system.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (IngestSqlTextRequest) HTTPRequest

func (request IngestSqlTextRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (IngestSqlTextRequest) RetryPolicy

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

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

func (IngestSqlTextRequest) String

func (request IngestSqlTextRequest) String() string

type IngestSqlTextResponse

IngestSqlTextResponse wrapper for the IngestSqlText operation

type IngestSqlTextResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The IngestSqlTextResponseDetails instance
    IngestSqlTextResponseDetails `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`
}

func (IngestSqlTextResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (IngestSqlTextResponse) String

func (response IngestSqlTextResponse) String() string

type IngestSqlTextResponseDetails

IngestSqlTextResponseDetails The response object returned from IngestSqlTextDetails operation.

type IngestSqlTextResponseDetails struct {

    // Success message returned as a result of the upload.
    Message *string `mandatory:"true" json:"message"`
}

func (IngestSqlTextResponseDetails) String

func (m IngestSqlTextResponseDetails) String() string

type ListDatabaseInsightsDatabaseTypeEnum

ListDatabaseInsightsDatabaseTypeEnum Enum with underlying type: string

type ListDatabaseInsightsDatabaseTypeEnum string

Set of constants representing the allowable values for ListDatabaseInsightsDatabaseTypeEnum

const (
    ListDatabaseInsightsDatabaseTypeAdwS ListDatabaseInsightsDatabaseTypeEnum = "ADW-S"
    ListDatabaseInsightsDatabaseTypeAtpS ListDatabaseInsightsDatabaseTypeEnum = "ATP-S"
    ListDatabaseInsightsDatabaseTypeAdwD ListDatabaseInsightsDatabaseTypeEnum = "ADW-D"
    ListDatabaseInsightsDatabaseTypeAtpD ListDatabaseInsightsDatabaseTypeEnum = "ATP-D"
)

func GetListDatabaseInsightsDatabaseTypeEnumValues

func GetListDatabaseInsightsDatabaseTypeEnumValues() []ListDatabaseInsightsDatabaseTypeEnum

GetListDatabaseInsightsDatabaseTypeEnumValues Enumerates the set of values for ListDatabaseInsightsDatabaseTypeEnum

type ListDatabaseInsightsFieldsEnum

ListDatabaseInsightsFieldsEnum Enum with underlying type: string

type ListDatabaseInsightsFieldsEnum string

Set of constants representing the allowable values for ListDatabaseInsightsFieldsEnum

const (
    ListDatabaseInsightsFieldsCompartmentid       ListDatabaseInsightsFieldsEnum = "compartmentId"
    ListDatabaseInsightsFieldsDatabasename        ListDatabaseInsightsFieldsEnum = "databaseName"
    ListDatabaseInsightsFieldsDatabasedisplayname ListDatabaseInsightsFieldsEnum = "databaseDisplayName"
    ListDatabaseInsightsFieldsDatabasetype        ListDatabaseInsightsFieldsEnum = "databaseType"
    ListDatabaseInsightsFieldsDatabaseversion     ListDatabaseInsightsFieldsEnum = "databaseVersion"
    ListDatabaseInsightsFieldsDatabasehostnames   ListDatabaseInsightsFieldsEnum = "databaseHostNames"
    ListDatabaseInsightsFieldsFreeformtags        ListDatabaseInsightsFieldsEnum = "freeformTags"
    ListDatabaseInsightsFieldsDefinedtags         ListDatabaseInsightsFieldsEnum = "definedTags"
)

func GetListDatabaseInsightsFieldsEnumValues

func GetListDatabaseInsightsFieldsEnumValues() []ListDatabaseInsightsFieldsEnum

GetListDatabaseInsightsFieldsEnumValues Enumerates the set of values for ListDatabaseInsightsFieldsEnum

type ListDatabaseInsightsRequest

ListDatabaseInsightsRequest wrapper for the ListDatabaseInsights operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/opsi/ListDatabaseInsights.go.html to see an example of how to use ListDatabaseInsightsRequest.

type ListDatabaseInsightsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Filter by one or more database type.
    // Possible values are ADW-S, ATP-S, ADW-D, ATP-D
    DatabaseType []ListDatabaseInsightsDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"`

    // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`

    // Specifies the fields to return in a database summary response. By default all fields are returned if omitted.
    Fields []ListDatabaseInsightsFieldsEnum `contributesTo:"query" name:"fields" omitEmpty:"true" collectionFormat:"multi"`

    // For list pagination. The maximum number of results per page, or items to
    // return in a paginated "List" call.
    // For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
    // Example: `50`
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The value of the `opc-next-page` response header from
    // the previous "List" call. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
    SortOrder ListDatabaseInsightsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Database insight list sort options. If `fields` parameter is selected, the `sortBy` parameter must be one of the fields specified.
    SortBy ListDatabaseInsightsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListDatabaseInsightsRequest) HTTPRequest

func (request ListDatabaseInsightsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDatabaseInsightsRequest) RetryPolicy

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

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

func (ListDatabaseInsightsRequest) String

func (request ListDatabaseInsightsRequest) String() string

type ListDatabaseInsightsResponse

ListDatabaseInsightsResponse wrapper for the ListDatabaseInsights operation

type ListDatabaseInsightsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of DatabaseInsightsCollection instances
    DatabaseInsightsCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. The total number of items in the result.
    OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListDatabaseInsightsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListDatabaseInsightsResponse) String

func (response ListDatabaseInsightsResponse) String() string

type ListDatabaseInsightsSortByEnum

ListDatabaseInsightsSortByEnum Enum with underlying type: string

type ListDatabaseInsightsSortByEnum string

Set of constants representing the allowable values for ListDatabaseInsightsSortByEnum

const (
    ListDatabaseInsightsSortByDatabasename        ListDatabaseInsightsSortByEnum = "databaseName"
    ListDatabaseInsightsSortByDatabasedisplayname ListDatabaseInsightsSortByEnum = "databaseDisplayName"
    ListDatabaseInsightsSortByDatabasetype        ListDatabaseInsightsSortByEnum = "databaseType"
)

func GetListDatabaseInsightsSortByEnumValues

func GetListDatabaseInsightsSortByEnumValues() []ListDatabaseInsightsSortByEnum

GetListDatabaseInsightsSortByEnumValues Enumerates the set of values for ListDatabaseInsightsSortByEnum

type ListDatabaseInsightsSortOrderEnum

ListDatabaseInsightsSortOrderEnum Enum with underlying type: string

type ListDatabaseInsightsSortOrderEnum string

Set of constants representing the allowable values for ListDatabaseInsightsSortOrderEnum

const (
    ListDatabaseInsightsSortOrderAsc  ListDatabaseInsightsSortOrderEnum = "ASC"
    ListDatabaseInsightsSortOrderDesc ListDatabaseInsightsSortOrderEnum = "DESC"
)

func GetListDatabaseInsightsSortOrderEnumValues

func GetListDatabaseInsightsSortOrderEnumValues() []ListDatabaseInsightsSortOrderEnum

GetListDatabaseInsightsSortOrderEnumValues Enumerates the set of values for ListDatabaseInsightsSortOrderEnum

type ListSqlPlansRequest

ListSqlPlansRequest wrapper for the ListSqlPlans operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/opsi/ListSqlPlans.go.html to see an example of how to use ListSqlPlansRequest.

type ListSqlPlansRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Required OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
    DatabaseId *string `mandatory:"true" contributesTo:"query" name:"databaseId"`

    // Unique SQL_ID for a SQL Statement.
    // Example: `6rgjh9bjmy2s7`
    SqlIdentifier *string `mandatory:"true" contributesTo:"query" name:"sqlIdentifier"`

    // Unique plan hash for a SQL Plan of a particular SQL Statement.
    // Example: `9820154385`
    PlanHash []int64 `contributesTo:"query" name:"planHash" collectionFormat:"multi"`

    // For list pagination. The value of the `opc-next-page` response header from
    // the previous "List" call. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListSqlPlansRequest) HTTPRequest

func (request ListSqlPlansRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSqlPlansRequest) RetryPolicy

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

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

func (ListSqlPlansRequest) String

func (request ListSqlPlansRequest) String() string

type ListSqlPlansResponse

ListSqlPlansResponse wrapper for the ListSqlPlans operation

type ListSqlPlansResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of SqlPlanCollection instances
    SqlPlanCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListSqlPlansResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListSqlPlansResponse) String

func (response ListSqlPlansResponse) String() string

type ListSqlSearchesRequest

ListSqlSearchesRequest wrapper for the ListSqlSearches operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/opsi/ListSqlSearches.go.html to see an example of how to use ListSqlSearchesRequest.

type ListSqlSearchesRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Unique SQL_ID for a SQL Statement.
    // Example: `6rgjh9bjmy2s7`
    SqlIdentifier *string `mandatory:"true" contributesTo:"query" name:"sqlIdentifier"`

    // Specify time period in ISO 8601 format with respect to current time.
    // Default is last 30 days represented by P30D.
    // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
    // Examples  P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
    AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`

    // Analysis start time in UTC in ISO 8601 format(inclusive).
    // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
    // The minimum allowed value is 2 years prior to the current day.
    // timeIntervalStart and timeIntervalEnd parameters are used together.
    // If analysisTimeInterval is specified, this parameter is ignored.
    TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`

    // Analysis end time in UTC in ISO 8601 format(exclusive).
    // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
    // timeIntervalStart and timeIntervalEnd are used together.
    // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
    TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`

    // For list pagination. The value of the `opc-next-page` response header from
    // the previous "List" call. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListSqlSearchesRequest) HTTPRequest

func (request ListSqlSearchesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSqlSearchesRequest) RetryPolicy

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

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

func (ListSqlSearchesRequest) String

func (request ListSqlSearchesRequest) String() string

type ListSqlSearchesResponse

ListSqlSearchesResponse wrapper for the ListSqlSearches operation

type ListSqlSearchesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of SqlSearchCollection instances
    SqlSearchCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListSqlSearchesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListSqlSearchesResponse) String

func (response ListSqlSearchesResponse) String() string

type ListSqlTextsRequest

ListSqlTextsRequest wrapper for the ListSqlTexts operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/opsi/ListSqlTexts.go.html to see an example of how to use ListSqlTextsRequest.

type ListSqlTextsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // One or more unique SQL_IDs for a SQL Statement.
    // Example: `6rgjh9bjmy2s7`
    SqlIdentifier []string `contributesTo:"query" name:"sqlIdentifier" collectionFormat:"multi"`

    // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`

    // For list pagination. The value of the `opc-next-page` response header from
    // the previous "List" call. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListSqlTextsRequest) HTTPRequest

func (request ListSqlTextsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSqlTextsRequest) RetryPolicy

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

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

func (ListSqlTextsRequest) String

func (request ListSqlTextsRequest) String() string

type ListSqlTextsResponse

ListSqlTextsResponse wrapper for the ListSqlTexts operation

type ListSqlTextsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of SqlTextCollection instances
    SqlTextCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListSqlTextsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListSqlTextsResponse) String

func (response ListSqlTextsResponse) String() string

type OperationsInsightsClient

OperationsInsightsClient a client for OperationsInsights

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

func NewOperationsInsightsClientWithConfigurationProvider

func NewOperationsInsightsClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OperationsInsightsClient, err error)

NewOperationsInsightsClientWithConfigurationProvider Creates a new default OperationsInsights client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewOperationsInsightsClientWithOboToken

func NewOperationsInsightsClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OperationsInsightsClient, err error)

NewOperationsInsightsClientWithOboToken Creates a new default OperationsInsights 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 (*OperationsInsightsClient) ConfigurationProvider

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

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

func (OperationsInsightsClient) IngestSqlBucket

func (client OperationsInsightsClient) IngestSqlBucket(ctx context.Context, request IngestSqlBucketRequest) (response IngestSqlBucketResponse, err error)

IngestSqlBucket The sqlbucket endpoint takes in a JSON payload, persists it in Operations Insights ingest pipeline.

See also

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

func (OperationsInsightsClient) IngestSqlPlanLines

func (client OperationsInsightsClient) IngestSqlPlanLines(ctx context.Context, request IngestSqlPlanLinesRequest) (response IngestSqlPlanLinesResponse, err error)

IngestSqlPlanLines The SqlPlanLines endpoint takes in a JSON payload, persists it in Operation Insights ingest pipeline.

See also

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

func (OperationsInsightsClient) IngestSqlText

func (client OperationsInsightsClient) IngestSqlText(ctx context.Context, request IngestSqlTextRequest) (response IngestSqlTextResponse, err error)

IngestSqlText The SqlText endpoint takes in a JSON payload, persists it in Operation Insights ingest pipeline. Disclaimer: SQL text being uploaded explicitly via APIs is not masked. Any sensitive literals contained in the sqlFullText column should be masked prior to ingestion.

See also

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

func (OperationsInsightsClient) ListDatabaseInsights

func (client OperationsInsightsClient) ListDatabaseInsights(ctx context.Context, request ListDatabaseInsightsRequest) (response ListDatabaseInsightsResponse, err error)

ListDatabaseInsights Lists database insight resources

See also

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

func (OperationsInsightsClient) ListSqlPlans

func (client OperationsInsightsClient) ListSqlPlans(ctx context.Context, request ListSqlPlansRequest) (response ListSqlPlansResponse, err error)

ListSqlPlans Query SQL Warehouse to list the plan xml for a given SQL execution plan. This returns a SqlPlanCollection object, but is currently limited to a single plan.

See also

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

func (OperationsInsightsClient) ListSqlSearches

func (client OperationsInsightsClient) ListSqlSearches(ctx context.Context, request ListSqlSearchesRequest) (response ListSqlSearchesResponse, err error)

ListSqlSearches Search SQL by SQL Identifier across databases and get the SQL Text and the details of the databases executing the SQL for a given time period.

See also

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

func (OperationsInsightsClient) ListSqlTexts

func (client OperationsInsightsClient) ListSqlTexts(ctx context.Context, request ListSqlTextsRequest) (response ListSqlTextsResponse, err error)

ListSqlTexts Query SQL Warehouse to get the full SQL Text for a SQL.

See also

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

func (*OperationsInsightsClient) SetRegion

func (client *OperationsInsightsClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (OperationsInsightsClient) SummarizeDatabaseInsightResourceCapacityTrend

func (client OperationsInsightsClient) SummarizeDatabaseInsightResourceCapacityTrend(ctx context.Context, request SummarizeDatabaseInsightResourceCapacityTrendRequest) (response SummarizeDatabaseInsightResourceCapacityTrendResponse, err error)

SummarizeDatabaseInsightResourceCapacityTrend Returns response with time series data (endTimestamp, capacity, baseCapacity) for the time period specified. The maximum time range for analysis is 2 years, hence this is intentionally not paginated.

See also

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

func (OperationsInsightsClient) SummarizeDatabaseInsightResourceForecastTrend

func (client OperationsInsightsClient) SummarizeDatabaseInsightResourceForecastTrend(ctx context.Context, request SummarizeDatabaseInsightResourceForecastTrendRequest) (response SummarizeDatabaseInsightResourceForecastTrendResponse, err error)

SummarizeDatabaseInsightResourceForecastTrend Get Forecast predictions for CPU and Storage resources since a time in the past.

See also

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

func (OperationsInsightsClient) SummarizeDatabaseInsightResourceStatistics

func (client OperationsInsightsClient) SummarizeDatabaseInsightResourceStatistics(ctx context.Context, request SummarizeDatabaseInsightResourceStatisticsRequest) (response SummarizeDatabaseInsightResourceStatisticsResponse, err error)

SummarizeDatabaseInsightResourceStatistics Lists the Resource statistics (usage,capacity, usage change percent, utilization percent, base capacity, isAutoScalingEnabled) for each database filtered by utilization level

See also

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

func (OperationsInsightsClient) SummarizeDatabaseInsightResourceUsage

func (client OperationsInsightsClient) SummarizeDatabaseInsightResourceUsage(ctx context.Context, request SummarizeDatabaseInsightResourceUsageRequest) (response SummarizeDatabaseInsightResourceUsageResponse, err error)

SummarizeDatabaseInsightResourceUsage A cumulative distribution function is used to rank the usage data points per database within the specified time period. For each database, the minimum data point with a ranking > the percentile value is included in the summation. Linear regression functions are used to calculate the usage change percentage.

See also

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

func (OperationsInsightsClient) SummarizeDatabaseInsightResourceUsageTrend

func (client OperationsInsightsClient) SummarizeDatabaseInsightResourceUsageTrend(ctx context.Context, request SummarizeDatabaseInsightResourceUsageTrendRequest) (response SummarizeDatabaseInsightResourceUsageTrendResponse, err error)

SummarizeDatabaseInsightResourceUsageTrend Returns response with time series data (endTimestamp, usage, capacity) for the time period specified. The maximum time range for analysis is 2 years, hence this is intentionally not paginated.

See also

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

func (OperationsInsightsClient) SummarizeDatabaseInsightResourceUtilizationInsight

func (client OperationsInsightsClient) SummarizeDatabaseInsightResourceUtilizationInsight(ctx context.Context, request SummarizeDatabaseInsightResourceUtilizationInsightRequest) (response SummarizeDatabaseInsightResourceUtilizationInsightResponse, err error)

SummarizeDatabaseInsightResourceUtilizationInsight Gets resources with current utilization (high and low) and projected utilization (high and low) for a resource type over specified time period.

See also

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

func (OperationsInsightsClient) SummarizeSqlInsights

func (client OperationsInsightsClient) SummarizeSqlInsights(ctx context.Context, request SummarizeSqlInsightsRequest) (response SummarizeSqlInsightsResponse, err error)

SummarizeSqlInsights Query SQL Warehouse to get the performance insights for SQLs taking greater than X% database time for a given time period across the given databases or database types.

See also

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

func (OperationsInsightsClient) SummarizeSqlPlanInsights

func (client OperationsInsightsClient) SummarizeSqlPlanInsights(ctx context.Context, request SummarizeSqlPlanInsightsRequest) (response SummarizeSqlPlanInsightsResponse, err error)

SummarizeSqlPlanInsights Query SQL Warehouse to get the performance insights on the execution plans for a given SQL for a given time period.

See also

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

func (OperationsInsightsClient) SummarizeSqlResponseTimeDistributions

func (client OperationsInsightsClient) SummarizeSqlResponseTimeDistributions(ctx context.Context, request SummarizeSqlResponseTimeDistributionsRequest) (response SummarizeSqlResponseTimeDistributionsResponse, err error)

SummarizeSqlResponseTimeDistributions Query SQL Warehouse to summarize the response time distribution of query executions for a given SQL for a given time period.

See also

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

func (OperationsInsightsClient) SummarizeSqlStatistics

func (client OperationsInsightsClient) SummarizeSqlStatistics(ctx context.Context, request SummarizeSqlStatisticsRequest) (response SummarizeSqlStatisticsResponse, err error)

SummarizeSqlStatistics Query SQL Warehouse to get the performance statistics for SQLs taking greater than X% database time for a given time period across the given databases or database types.

See also

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

func (OperationsInsightsClient) SummarizeSqlStatisticsTimeSeries

func (client OperationsInsightsClient) SummarizeSqlStatisticsTimeSeries(ctx context.Context, request SummarizeSqlStatisticsTimeSeriesRequest) (response SummarizeSqlStatisticsTimeSeriesResponse, err error)

SummarizeSqlStatisticsTimeSeries Query SQL Warehouse to get the performance statistics time series for a given SQL across given databases for a given time period.

See also

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

func (OperationsInsightsClient) SummarizeSqlStatisticsTimeSeriesByPlan

func (client OperationsInsightsClient) SummarizeSqlStatisticsTimeSeriesByPlan(ctx context.Context, request SummarizeSqlStatisticsTimeSeriesByPlanRequest) (response SummarizeSqlStatisticsTimeSeriesByPlanResponse, err error)

SummarizeSqlStatisticsTimeSeriesByPlan Query SQL Warehouse to get the performance statistics time series for a given SQL by execution plans for a given time period.

See also

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

type ProjectedDataItem

ProjectedDataItem The timestamp of the projected event and their corresponding resource value. `highValue` and `lowValue` are the uncertainty bounds of the corresponding value.

type ProjectedDataItem struct {

    // The timestamp in which the current sampling period ends in RFC 3339 format.
    EndTimestamp *common.SDKTime `mandatory:"true" json:"endTimestamp"`

    // Total amount used of the resource metric type (CPU, STORAGE).
    Usage *float64 `mandatory:"true" json:"usage"`

    // Upper uncertainty bound of the current usage value.
    HighValue *float64 `mandatory:"true" json:"highValue"`

    // Lower uncertainty bound of the current usage value.
    LowValue *float64 `mandatory:"true" json:"lowValue"`
}

func (ProjectedDataItem) String

func (m ProjectedDataItem) String() string

type ResourceCapacityTrendAggregation

ResourceCapacityTrendAggregation Resource Capacity samples

type ResourceCapacityTrendAggregation struct {

    // The timestamp in which the current sampling period ends in RFC 3339 format.
    EndTimestamp *common.SDKTime `mandatory:"true" json:"endTimestamp"`

    // The maximum allocated amount of the resource metric type  (CPU, STORAGE).
    Capacity *float64 `mandatory:"true" json:"capacity"`

    // The base allocated amount of the resource metric type  (CPU, STORAGE).
    BaseCapacity *float64 `mandatory:"true" json:"baseCapacity"`
}

func (ResourceCapacityTrendAggregation) String

func (m ResourceCapacityTrendAggregation) String() string

type ResourceInsightCurrentUtilization

ResourceInsightCurrentUtilization Current utilization(High/low) for cpu or storage

type ResourceInsightCurrentUtilization struct {

    // List of db ids with low usage
    Low []string `mandatory:"false" json:"low"`

    // List of db ids with high usage
    High []string `mandatory:"false" json:"high"`
}

func (ResourceInsightCurrentUtilization) String

func (m ResourceInsightCurrentUtilization) String() string

type ResourceInsightProjectedUtilization

ResourceInsightProjectedUtilization Projected utilization(High/low) for cpu or storage

type ResourceInsightProjectedUtilization struct {

    // List of db ids with low usage
    Low []ResourceInsightProjectedUtilizationItem `mandatory:"true" json:"low"`

    // List of db ids with high usage
    High []ResourceInsightProjectedUtilizationItem `mandatory:"true" json:"high"`
}

func (ResourceInsightProjectedUtilization) String

func (m ResourceInsightProjectedUtilization) String() string

type ResourceInsightProjectedUtilizationItem

ResourceInsightProjectedUtilizationItem Projected utilization object containing dbid and daysToReach value

type ResourceInsightProjectedUtilizationItem struct {

    // Db id
    Id *string `mandatory:"true" json:"id"`

    // Days to reach projected utilization
    DaysToReach *int `mandatory:"true" json:"daysToReach"`
}

func (ResourceInsightProjectedUtilizationItem) String

func (m ResourceInsightProjectedUtilizationItem) String() string

type ResourceStatistics

ResourceStatistics Contains resource statistics with usage unit

type ResourceStatistics struct {

    // Total amount used of the resource metric type (CPU, STORAGE).
    Usage *float64 `mandatory:"true" json:"usage"`

    // The maximum allocated amount of the resource metric type  (CPU, STORAGE).
    Capacity *float64 `mandatory:"true" json:"capacity"`

    // Resource utilization in percentage
    UtilizationPercent *float64 `mandatory:"true" json:"utilizationPercent"`

    // Change in resource utilization in percentage
    UsageChangePercent *float64 `mandatory:"true" json:"usageChangePercent"`

    // The base allocated amount of the resource metric type  (CPU, STORAGE).
    BaseCapacity *float64 `mandatory:"false" json:"baseCapacity"`

    // Indicates if auto scaling feature is enabled or disabled on a database. It will be false for all metrics other than CPU.
    IsAutoScalingEnabled *bool `mandatory:"false" json:"isAutoScalingEnabled"`
}

func (ResourceStatistics) String

func (m ResourceStatistics) String() string

type ResourceStatisticsAggregation

ResourceStatisticsAggregation Contains database details and resource statistics

type ResourceStatisticsAggregation struct {
    DatabaseDetails *DatabaseDetails `mandatory:"false" json:"databaseDetails"`

    CurrentStatistics *ResourceStatistics `mandatory:"false" json:"currentStatistics"`
}

func (ResourceStatisticsAggregation) String

func (m ResourceStatisticsAggregation) String() string

type ResourceUsageTrendAggregation

ResourceUsageTrendAggregation Aggregate usage samples

type ResourceUsageTrendAggregation struct {

    // The timestamp in which the current sampling period ends in RFC 3339 format.
    EndTimestamp *common.SDKTime `mandatory:"true" json:"endTimestamp"`

    // Total amount used of the resource metric type (CPU, STORAGE).
    Usage *float64 `mandatory:"true" json:"usage"`

    // The maximum allocated amount of the resource metric type  (CPU, STORAGE).
    Capacity *float64 `mandatory:"true" json:"capacity"`
}

func (ResourceUsageTrendAggregation) String

func (m ResourceUsageTrendAggregation) String() string

type SortOrderEnum

SortOrderEnum Enum with underlying type: string

type SortOrderEnum string

Set of constants representing the allowable values for SortOrderEnum

const (
    SortOrderAsc  SortOrderEnum = "ASC"
    SortOrderDesc SortOrderEnum = "DESC"
)

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type SqlBucket

SqlBucket Sql bucket type object.

type SqlBucket struct {

    // Collection timestamp
    // Example: `"2020-03-31T00:00:00.000Z"`
    TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`

    // Unique SQL_ID for a SQL Statement.
    SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"`

    // Plan hash value for the SQL Execution Plan
    PlanHash *int64 `mandatory:"true" json:"planHash"`

    // SQL Bucket ID, examples <= 3 secs, 3-10 secs, 10-60 secs, 1-5 min, > 5 min
    // Example: `"<= 3 secs"`
    BucketId *string `mandatory:"true" json:"bucketId"`

    // Version
    // Example: `1`
    Version *float32 `mandatory:"false" json:"version"`

    // Operations Insights internal representation of the database type.
    DatabaseType *string `mandatory:"false" json:"databaseType"`

    // Total number of executions
    // Example: `60`
    ExecutionsCount *int `mandatory:"false" json:"executionsCount"`

    // Total CPU time
    // Example: `1046`
    CpuTimeInSec *float32 `mandatory:"false" json:"cpuTimeInSec"`

    // Total IO time
    // Example: `5810`
    IoTimeInSec *float32 `mandatory:"false" json:"ioTimeInSec"`

    // Total other wait time
    // Example: `24061`
    OtherWaitTimeInSec *float32 `mandatory:"false" json:"otherWaitTimeInSec"`

    // Total time
    // Example: `30917`
    TotalTimeInSec *float32 `mandatory:"false" json:"totalTimeInSec"`
}

func (SqlBucket) String

func (m SqlBucket) String() string

type SqlInsightAggregation

SqlInsightAggregation Represents a SQL Insight.

type SqlInsightAggregation struct {

    // Insight text.
    // For example `Degrading SQLs`, `Variant SQLs`,
    //   `Inefficient SQLs`, `Improving SQLs`, `SQLs with Plan Changes`,
    //   `Degrading SQLs have increasing IO Time above 50%`,
    //   `Degrading SQLs are variant`,
    //   `2 of the 2 variant SQLs have plan changes`,
    //   `Inefficient SQLs have increasing CPU Time above 50%
    Text *string `mandatory:"true" json:"text"`

    // SQL counts for a given insight. For example insight text `2 of 10 SQLs have degrading response time` will have values as [2,10]"
    Values []int `mandatory:"true" json:"values"`

    // Insight category. It would be one of the following
    // DEGRADING,
    // VARIANT,
    // INEFFICIENT,
    // CHANGING_PLANS,
    // IMPROVING,
    // DEGRADING_VARIANT,
    // DEGRADING_INEFFICIENT,
    // DEGRADING_CHANGING_PLANS,
    // DEGRADING_INCREASING_IO,
    // DEGRADING_INCREASING_CPU,
    // DEGRADING_INCREASING_INEFFICIENT_WAIT,
    // DEGRADING_CHANGING_PLANS_AND_INCREASING_IO,
    // DEGRADING_CHANGING_PLANS_AND_INCREASING_CPU,
    // DEGRADING_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT,VARIANT_INEFFICIENT,
    // VARIANT_CHANGING_PLANS,
    // VARIANT_INCREASING_IO,
    // VARIANT_INCREASING_CPU,
    // VARIANT_INCREASING_INEFFICIENT_WAIT,
    // VARIANT_CHANGING_PLANS_AND_INCREASING_IO,
    // VARIANT_CHANGING_PLANS_AND_INCREASING_CPU,
    // VARIANT_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT,
    // INEFFICIENT_CHANGING_PLANS,
    // INEFFICIENT_INCREASING_INEFFICIENT_WAIT,
    // INEFFICIENT_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT
    Category *string `mandatory:"true" json:"category"`
}

func (SqlInsightAggregation) String

func (m SqlInsightAggregation) String() string

type SqlInsightAggregationCollection

SqlInsightAggregationCollection SQL Insights response.

type SqlInsightAggregationCollection struct {

    // The start timestamp that was passed into the request.
    TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`

    // The end timestamp that was passed into the request.
    TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`

    Inventory *SqlInventory `mandatory:"true" json:"inventory"`

    // List of insights.
    Items []SqlInsightAggregation `mandatory:"true" json:"items"`

    Thresholds *SqlInsightThresholds `mandatory:"true" json:"thresholds"`
}

func (SqlInsightAggregationCollection) String

func (m SqlInsightAggregationCollection) String() string

type SqlInsightThresholds

SqlInsightThresholds Inventory details.

type SqlInsightThresholds struct {

    // Degradation Percent Threshold is used to derive degrading SQLs.
    DegradationInPct *int `mandatory:"true" json:"degradationInPct"`

    // Variability Percent Threshold is used to derive variant SQLs.
    Variability *float32 `mandatory:"true" json:"variability"`

    // Inefficiency Percent Threshold is used to derive inefficient SQLs.
    InefficiencyInPct *int `mandatory:"true" json:"inefficiencyInPct"`

    // PctIncreaseInIO is used for deriving insights for SQLs which are degrading or
    // variant or inefficient. And these SQLs should also have increasing change in IO Time
    // beyond threshold. Insights are derived using linear regression.
    IncreaseInIOInPct *int `mandatory:"true" json:"increaseInIOInPct"`

    // PctIncreaseInCPU is used for deriving insights for SQLs which are degrading or
    // variant or inefficient. And these SQLs should also have increasing change in CPU Time
    // beyond threshold. Insights are derived using linear regression.
    IncreaseInCPUInPct *int `mandatory:"true" json:"increaseInCPUInPct"`

    // PctIncreaseInIO is used for deriving insights for SQLs which are degrading or
    // variant or inefficient. And these SQLs should also have increasing change in
    // Other Wait Time beyond threshold. Insights are derived using linear regression.
    IncreaseInInefficientWaitInPct *int `mandatory:"true" json:"increaseInInefficientWaitInPct"`

    // Improved Percent Threshold is used to derive improving SQLs.
    ImprovedInPct *int `mandatory:"true" json:"improvedInPct"`
}

func (SqlInsightThresholds) String

func (m SqlInsightThresholds) String() string

type SqlInventory

SqlInventory Inventory details.

type SqlInventory struct {

    // Total number of sqls. Example `2000`
    TotalSqls *int64 `mandatory:"true" json:"totalSqls"`

    // Total number of Databases. Example `400`
    TotalDatabases *int `mandatory:"true" json:"totalDatabases"`

    // Total number of sqls analyzed by the query. Example `120`
    SqlsAnalyzed *int64 `mandatory:"true" json:"sqlsAnalyzed"`
}

func (SqlInventory) String

func (m SqlInventory) String() string

type SqlPlanCollection

SqlPlanCollection SQL Plans for the particular SQL.

type SqlPlanCollection struct {

    // Unique SQL_ID for a SQL Statement.
    SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
    DatabaseId *string `mandatory:"true" json:"databaseId"`

    // array of SQL Plans.
    Items []SqlPlanSummary `mandatory:"true" json:"items"`
}

func (SqlPlanCollection) String

func (m SqlPlanCollection) String() string

type SqlPlanInsightAggregation

SqlPlanInsightAggregation SQL execution plan Performance statistics.

type SqlPlanInsightAggregation struct {

    // Plan hash value for the SQL Execution Plan
    PlanHash *int64 `mandatory:"true" json:"planHash"`

    // IO Time in seconds
    IoTimeInSec *float64 `mandatory:"true" json:"ioTimeInSec"`

    // CPU Time in seconds
    CpuTimeInSec *float64 `mandatory:"true" json:"cpuTimeInSec"`

    // Inefficient Wait Time in seconds
    InefficientWaitTimeInSec *float64 `mandatory:"true" json:"inefficientWaitTimeInSec"`

    // Total number of executions
    ExecutionsCount *int64 `mandatory:"true" json:"executionsCount"`
}

func (SqlPlanInsightAggregation) String

func (m SqlPlanInsightAggregation) String() string

type SqlPlanInsightAggregationCollection

SqlPlanInsightAggregationCollection SQL plan insights response.

type SqlPlanInsightAggregationCollection struct {

    // Unique SQL_ID for a SQL Statement.
    SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
    DatabaseId *string `mandatory:"true" json:"databaseId"`

    // The start timestamp that was passed into the request.
    TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`

    // The end timestamp that was passed into the request.
    TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`

    // List of SQL plan insights.
    Insights []SqlPlanInsights `mandatory:"true" json:"insights"`

    // List of SQL plan statistics.
    Items []SqlPlanInsightAggregation `mandatory:"true" json:"items"`
}

func (SqlPlanInsightAggregationCollection) String

func (m SqlPlanInsightAggregationCollection) String() string

type SqlPlanInsights

SqlPlanInsights Represents collection of SQL Plan Insights.

type SqlPlanInsights struct {

    // SQL Plan Insight text.
    // For example `Number of Plans Used`, `Most Executed Plan`,
    //   `Best Performing Plan`, `Worst Performing Plan`,
    //   `Plan With Most IO`,
    //   `Plan with Most CPU`
    Text *string `mandatory:"true" json:"text"`

    // SQL execution plan hash value for a given insight. For example `Most Executed Plan` insight will have value as "3975467901"
    Value *int64 `mandatory:"true" json:"value"`

    // SQL Insight category. For example PLANS_USED, MOST_EXECUTED, BEST_PERFORMER, WORST_PERFORMER, MOST_CPU or MOST_IO.
    Category *string `mandatory:"true" json:"category"`
}

func (SqlPlanInsights) String

func (m SqlPlanInsights) String() string

type SqlPlanLine

SqlPlanLine SQL Plan Line type object.

type SqlPlanLine struct {

    // Unique SQL_ID for a SQL Statement.
    SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"`

    // Plan hash value for the SQL Execution Plan
    PlanHash *int64 `mandatory:"true" json:"planHash"`

    // Collection time stamp
    // Example: `"2020-05-06T00:00:00.000Z"`
    TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`

    // Operation
    // Example: `"SELECT STATEMENT"`
    Operation *string `mandatory:"true" json:"operation"`

    // Identifier
    // Example: `3`
    Identifier *int64 `mandatory:"true" json:"identifier"`

    // Version
    // Example: `1`
    Version *float32 `mandatory:"false" json:"version"`

    // Remark
    // Example: `""`
    Remark *string `mandatory:"false" json:"remark"`

    // Options
    // Example: `"RANGE SCAN"`
    Options *string `mandatory:"false" json:"options"`

    // Object Node
    // Example: `"Q4000"`
    ObjectNode *string `mandatory:"false" json:"objectNode"`

    // Object Owner
    // Example: `"TENANT_A#SCHEMA"`
    ObjectOwner *string `mandatory:"false" json:"objectOwner"`

    // Object Name
    // Example: `"PLAN_LINES_PK"`
    ObjectName *string `mandatory:"false" json:"objectName"`

    // Object Alias
    // Example: `"PLAN_LINES@SEL$1"`
    ObjectAlias *string `mandatory:"false" json:"objectAlias"`

    // Object Instance
    // Example: `37472`
    ObjectInstance *int64 `mandatory:"false" json:"objectInstance"`

    // Object Type
    // Example: `"INDEX (UNIQUE)"`
    ObjectType *string `mandatory:"false" json:"objectType"`

    // Optimizer
    // Example: `"CLUSTER"`
    Optimizer *string `mandatory:"false" json:"optimizer"`

    // Search Columns
    // Example: `3`
    SearchColumns *int64 `mandatory:"false" json:"searchColumns"`

    // Parent Identifier
    // Example: `2`
    ParentIdentifier *int64 `mandatory:"false" json:"parentIdentifier"`

    // Depth
    // Example: `3`
    Depth *int64 `mandatory:"false" json:"depth"`

    // Position
    // Example: `1`
    Position *int64 `mandatory:"false" json:"position"`

    // Cost
    // Example: `1`
    Cost *int64 `mandatory:"false" json:"cost"`

    // Cardinality
    // Example: `1`
    Cardinality *int64 `mandatory:"false" json:"cardinality"`

    // Bytes
    // Example: `150`
    Bytes *int64 `mandatory:"false" json:"bytes"`

    // Other
    // Example: ``
    Other *string `mandatory:"false" json:"other"`

    // Other Tag
    // Example: `"PARALLEL_COMBINED_WITH_PARENT"`
    OtherTag *string `mandatory:"false" json:"otherTag"`

    // Partition start
    // Example: `1`
    PartitionStart *string `mandatory:"false" json:"partitionStart"`

    // Partition stop
    // Example: `2`
    PartitionStop *string `mandatory:"false" json:"partitionStop"`

    // Partition identifier
    // Example: `8`
    PartitionIdentifier *int64 `mandatory:"false" json:"partitionIdentifier"`

    // Distribution
    // Example: `"QC (RANDOM)"`
    Distribution *string `mandatory:"false" json:"distribution"`

    // CPU cost
    // Example: `7321`
    CpuCost *int64 `mandatory:"false" json:"cpuCost"`

    // IO cost
    // Example: `1`
    IoCost *int64 `mandatory:"false" json:"ioCost"`

    // Time space
    // Example: `15614000`
    TempSpace *int64 `mandatory:"false" json:"tempSpace"`

    // Access predicates
    // Example: `"\"RESOURCE_ID\"=:1 AND \"QUERY_ID\"=:2"`
    AccessPredicates *string `mandatory:"false" json:"accessPredicates"`

    // Filter predicates
    // Example: `"(INTERNAL_FUNCTION(\"J\".\"DATABASE_ROLE\") OR (\"J\".\"DATABASE_ROLE\" IS NULL AND SYS_CONTEXT('userenv','database_role')='PRIMARY'))"`
    FilterPredicates *string `mandatory:"false" json:"filterPredicates"`

    // Projection
    // Example: `"COUNT(*)[22]"`
    Projection *string `mandatory:"false" json:"projection"`

    // Qblock Name
    // Example: `"SEL$1"`
    QblockName *string `mandatory:"false" json:"qblockName"`

    // Total elapsed time
    // Example: `1.2`
    ElapsedTimeInSec *float32 `mandatory:"false" json:"elapsedTimeInSec"`

    // Other SQL
    // Example: `"<other_xml><info type=\"db_version\">18.0.0.0</info><info type=\"parse_schema\"><![CDATA[\"SYS\"]]></info><info type=\"plan_hash_full\">483892784</info><info type=\"plan_hash\">2709293936</info><info type=\"plan_hash_2\">483892784</info><outline_data><hint><![CDATA[IGNORE_OPTIM_EMBEDDED_HINTS]]></hint><hint><![CDATA[OPTIMIZER_FEATURES_ENABLE('18.1.0')]]></hint><hint><![CDATA[DB_VERSION('18.1.0')]]></hint><hint><![CDATA[OPT_PARAM('_b_tree_bitmap_plans' 'false')]]></hint><hint><![CDATA[OPT_PARAM('_optim_peek_user_binds' 'false')]]></hint><hint><![CDATA[OPT_PARAM('result_cache_mode' 'FORCE')]]></hint><hint><![CDATA[OPT_PARAM('_fix_control' '20648883:0 27745220:1 30001331:1 30142527:1 30539126:1')]]></hint><hint><![CDATA[OUTLINE_LEAF(@\"SEL$1\")]]></hint><hint><![CDATA[INDEX(@\"SEL$1\" \"USER$\"@\"SEL$1\" \"I_USER#\")]]></hint></outline_data></other_xml>"`
    OtherXML *string `mandatory:"false" json:"otherXML"`
}

func (SqlPlanLine) String

func (m SqlPlanLine) String() string

type SqlPlanSummary

SqlPlanSummary SQL Plan details

type SqlPlanSummary struct {

    // Plan hash value for the SQL Execution Plan
    PlanHash *int64 `mandatory:"true" json:"planHash"`

    // Plan XML Content
    PlanContent *string `mandatory:"true" json:"planContent"`
}

func (SqlPlanSummary) String

func (m SqlPlanSummary) String() string

type SqlResponseTimeDistributionAggregation

SqlResponseTimeDistributionAggregation SQL Response time distribution entry.

type SqlResponseTimeDistributionAggregation struct {

    // Response time bucket id
    BucketId *string `mandatory:"true" json:"bucketId"`

    // Total number of SQL executions
    ExecutionsCount *int64 `mandatory:"true" json:"executionsCount"`
}

func (SqlResponseTimeDistributionAggregation) String

func (m SqlResponseTimeDistributionAggregation) String() string

type SqlResponseTimeDistributionAggregationCollection

SqlResponseTimeDistributionAggregationCollection SQL response time distribution over the selected time window.

type SqlResponseTimeDistributionAggregationCollection struct {

    // Unique SQL_ID for a SQL Statement.
    SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
    DatabaseId *string `mandatory:"true" json:"databaseId"`

    // The start timestamp that was passed into the request.
    TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`

    // The end timestamp that was passed into the request.
    TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`

    // Array of pre defined SQL response time bucket id and SQL executions count.
    Items []SqlResponseTimeDistributionAggregation `mandatory:"true" json:"items"`
}

func (SqlResponseTimeDistributionAggregationCollection) String

func (m SqlResponseTimeDistributionAggregationCollection) String() string

type SqlSearchCollection

SqlSearchCollection Search SQL response.

type SqlSearchCollection struct {

    // The start timestamp that was passed into the request.
    TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`

    // The end timestamp that was passed into the request.
    TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`

    // List of Databases executing the sql.
    Items []SqlSearchSummary `mandatory:"true" json:"items"`

    // Unique SQL_ID for a SQL Statement.
    SqlIdentifier *string `mandatory:"false" json:"sqlIdentifier"`

    // SQL Statement Text
    SqlText *string `mandatory:"false" json:"sqlText"`
}

func (SqlSearchCollection) String

func (m SqlSearchCollection) String() string

type SqlSearchSummary

SqlSearchSummary Database summary object resulting from a sql search operation.

type SqlSearchSummary struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
    DatabaseId *string `mandatory:"true" json:"databaseId"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The database name. The database name is unique within the tenancy.
    DatabaseName *string `mandatory:"true" json:"databaseName"`

    // The user-friendly name for the database. The name does not have to be unique.
    DatabaseDisplayName *string `mandatory:"true" json:"databaseDisplayName"`

    // Operations Insights internal representation of the database type.
    DatabaseType *string `mandatory:"true" json:"databaseType"`

    // The version of the database.
    DatabaseVersion *string `mandatory:"true" json:"databaseVersion"`
}

func (SqlSearchSummary) String

func (m SqlSearchSummary) String() string

type SqlStatisticAggregation

SqlStatisticAggregation SQL Statistics

type SqlStatisticAggregation struct {

    // Unique SQL_ID for a SQL Statement.
    SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"`

    DatabaseDetails *DatabaseDetails `mandatory:"true" json:"databaseDetails"`

    // SQL belongs to one or more categories based on the insights.
    Category []string `mandatory:"true" json:"category"`

    Statistics *SqlStatistics `mandatory:"false" json:"statistics"`
}

func (SqlStatisticAggregation) String

func (m SqlStatisticAggregation) String() string

type SqlStatisticAggregationCollection

SqlStatisticAggregationCollection SQL statistics response.

type SqlStatisticAggregationCollection struct {

    // The start timestamp that was passed into the request.
    TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`

    // The end timestamp that was passed into the request.
    TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`

    // Array of SQLs along with its statistics statisfying the query criteria.
    Items []SqlStatisticAggregation `mandatory:"true" json:"items"`
}

func (SqlStatisticAggregationCollection) String

func (m SqlStatisticAggregationCollection) String() string

type SqlStatistics

SqlStatistics Performance statistics for the SQL.

type SqlStatistics struct {

    // Database Time in seconds
    DatabaseTimeInSec *float64 `mandatory:"true" json:"databaseTimeInSec"`

    // Number of executions per hour
    ExecutionsPerHour *float64 `mandatory:"true" json:"executionsPerHour"`

    // Total number of executions
    ExecutionsCount *int64 `mandatory:"true" json:"executionsCount"`

    // CPU Time in seconds
    CpuTimeInSec *float64 `mandatory:"true" json:"cpuTimeInSec"`

    // I/O Time in seconds
    IoTimeInSec *float64 `mandatory:"true" json:"ioTimeInSec"`

    // Inefficient Wait Time in seconds
    InefficientWaitTimeInSec *float64 `mandatory:"true" json:"inefficientWaitTimeInSec"`

    // Response time is the average elaspsed time per execution. It is the ratio of Total Database Time to the number of executions
    ResponseTimeInSec *float64 `mandatory:"true" json:"responseTimeInSec"`

    // Number of SQL execution plans used by the SQL
    PlanCount *int64 `mandatory:"true" json:"planCount"`

    // Variability is the ratio of the standard deviation in response time to the mean of response time of the SQL
    Variability *float64 `mandatory:"true" json:"variability"`

    // Average Active Sessions represent the average active sessions at a point in time. It is the number of sessions that are either working or waiting.
    AverageActiveSessions *float64 `mandatory:"true" json:"averageActiveSessions"`

    // Percentage of Database Time
    DatabaseTimePct *float64 `mandatory:"true" json:"databaseTimePct"`

    // Percentage of Inefficiency. It is calculated by Total Database Time divided by Total Wait Time
    InefficiencyInPct *float64 `mandatory:"true" json:"inefficiencyInPct"`

    // Percent change in CPU Time based on linear regression
    ChangeInCpuTimeInPct *float64 `mandatory:"true" json:"changeInCpuTimeInPct"`

    // Percent change in IO Time based on linear regression
    ChangeInIoTimeInPct *float64 `mandatory:"true" json:"changeInIoTimeInPct"`

    // Percent change in Inefficient Wait Time based on linear regression
    ChangeInInefficientWaitTimeInPct *float64 `mandatory:"true" json:"changeInInefficientWaitTimeInPct"`

    // Percent change in Response Time based on linear regression
    ChangeInResponseTimeInPct *float64 `mandatory:"true" json:"changeInResponseTimeInPct"`

    // Percent change in Average Active Sessions based on linear regression
    ChangeInAverageActiveSessionsInPct *float64 `mandatory:"true" json:"changeInAverageActiveSessionsInPct"`

    // Percent change in Executions per hour based on linear regression
    ChangeInExecutionsPerHourInPct *float64 `mandatory:"true" json:"changeInExecutionsPerHourInPct"`

    // Percent change in Inefficiency based on linear regression
    ChangeInInefficiencyInPct *float64 `mandatory:"true" json:"changeInInefficiencyInPct"`
}

func (SqlStatistics) String

func (m SqlStatistics) String() string

type SqlStatisticsTimeSeries

SqlStatisticsTimeSeries SQL performance statistics per database

type SqlStatisticsTimeSeries struct {

    // SQL performance statistic name
    Name *string `mandatory:"true" json:"name"`

    // SQL performance statistic value
    Values []float64 `mandatory:"true" json:"values"`
}

func (SqlStatisticsTimeSeries) String

func (m SqlStatisticsTimeSeries) String() string

type SqlStatisticsTimeSeriesAggregation

SqlStatisticsTimeSeriesAggregation Database details and SQL performance statistics for a given database

type SqlStatisticsTimeSeriesAggregation struct {
    DatabaseDetails *DatabaseDetails `mandatory:"true" json:"databaseDetails"`

    // SQL performance statistics for a given database
    Statistics []SqlStatisticsTimeSeries `mandatory:"true" json:"statistics"`
}

func (SqlStatisticsTimeSeriesAggregation) String

func (m SqlStatisticsTimeSeriesAggregation) String() string

type SqlStatisticsTimeSeriesAggregationCollection

SqlStatisticsTimeSeriesAggregationCollection SQL performance statistics over the selected time window.

type SqlStatisticsTimeSeriesAggregationCollection struct {

    // Unique SQL_ID for a SQL Statement.
    SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"`

    // The start timestamp that was passed into the request.
    TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`

    // The end timestamp that was passed into the request.
    TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`

    // Time duration in milliseconds between data points (one hour or one day).
    ItemDurationInMs *int64 `mandatory:"true" json:"itemDurationInMs"`

    // Array of SQL performance statistics across databases.
    Items []SqlStatisticsTimeSeriesAggregation `mandatory:"true" json:"items"`

    // Array comprising of all the sampling period end timestamps in RFC 3339 format.
    EndTimestamps []common.SDKTime `mandatory:"false" json:"endTimestamps"`
}

func (SqlStatisticsTimeSeriesAggregationCollection) String

func (m SqlStatisticsTimeSeriesAggregationCollection) String() string

type SqlStatisticsTimeSeriesByPlanAggregation

SqlStatisticsTimeSeriesByPlanAggregation SQL performance statistics for a given plan

type SqlStatisticsTimeSeriesByPlanAggregation struct {

    // Plan hash value for the SQL Execution Plan
    PlanHash *int64 `mandatory:"true" json:"planHash"`

    // SQL performance statistics for a given plan
    Statistics []SqlStatisticsTimeSeries `mandatory:"true" json:"statistics"`
}

func (SqlStatisticsTimeSeriesByPlanAggregation) String

func (m SqlStatisticsTimeSeriesByPlanAggregation) String() string

type SqlStatisticsTimeSeriesByPlanAggregationCollection

SqlStatisticsTimeSeriesByPlanAggregationCollection SQL performance statistics by plan over the selected time window.

type SqlStatisticsTimeSeriesByPlanAggregationCollection struct {

    // Unique SQL_ID for a SQL Statement.
    SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
    DatabaseId *string `mandatory:"true" json:"databaseId"`

    // The start timestamp that was passed into the request.
    TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`

    // The end timestamp that was passed into the request.
    TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`

    // Time duration in milliseconds between data points (one hour or one day).
    ItemDurationInMs *int64 `mandatory:"true" json:"itemDurationInMs"`

    // Array comprising of all the sampling period end timestamps in RFC 3339 format.
    EndTimestamps []common.SDKTime `mandatory:"true" json:"endTimestamps"`

    // array of SQL performance statistics by plans
    Items []SqlStatisticsTimeSeriesByPlanAggregation `mandatory:"true" json:"items"`
}

func (SqlStatisticsTimeSeriesByPlanAggregationCollection) String

func (m SqlStatisticsTimeSeriesByPlanAggregationCollection) String() string

type SqlText

SqlText SQL Text type object.

type SqlText struct {

    // Unique SQL_ID for a SQL Statement.
    SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"`

    // Collection timestamp
    // Example: `"2020-05-06T00:00:00.000Z"`
    TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`

    // SQL command
    // Example: `"SELECT"`
    SqlCommand *string `mandatory:"true" json:"sqlCommand"`

    // Full SQL Text
    // Example: `"SELECT username,profile,default_tablespace,temporary_tablespace FROM dba_users"`
    // Disclaimer: SQL text being uploaded explicitly via APIs is not masked. Any sensitive literals contained in the sqlFullText column should be masked prior to ingestion.
    SqlFullText *string `mandatory:"true" json:"sqlFullText"`

    // Version
    // Example: `1`
    Version *float32 `mandatory:"false" json:"version"`

    // Exact matching signature
    // Example: `"18067345456756876713"`
    ExactMatchingSignature *string `mandatory:"false" json:"exactMatchingSignature"`

    // Force matching signature
    // Example: `"18067345456756876713"`
    ForceMatchingSignature *string `mandatory:"false" json:"forceMatchingSignature"`
}

func (SqlText) String

func (m SqlText) String() string

type SqlTextCollection

SqlTextCollection SQL Text for the particular SQL.

type SqlTextCollection struct {

    // array of SQL Texts.
    Items []SqlTextSummary `mandatory:"true" json:"items"`
}

func (SqlTextCollection) String

func (m SqlTextCollection) String() string

type SqlTextSummary

SqlTextSummary SQL Text details

type SqlTextSummary struct {

    // Unique SQL_ID for a SQL Statement.
    SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
    DatabaseId *string `mandatory:"true" json:"databaseId"`

    // SQL Text
    SqlText *string `mandatory:"true" json:"sqlText"`
}

func (SqlTextSummary) String

func (m SqlTextSummary) String() string

type SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection

SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection Collection of resource capacity trend.

type SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection struct {

    // The start timestamp that was passed into the request.
    TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`

    // The end timestamp that was passed into the request.
    TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`

    // Defines the type of resource metric (CPU, STORAGE)
    ResourceMetric SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum `mandatory:"true" json:"resourceMetric"`

    // Identifies the units of the current resource metric (CORES, GB).
    UsageUnit UsageUnitEnum `mandatory:"true" json:"usageUnit"`

    // Time duration in milliseconds between data points (one hour or one day).
    ItemDurationInMs *int64 `mandatory:"true" json:"itemDurationInMs"`

    // Capacity Data with time interval
    CapacityData []ResourceCapacityTrendAggregation `mandatory:"true" json:"capacityData"`
}

func (SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection) String

func (m SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection) String() string

type SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum

SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum Enum with underlying type: string

type SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum string

Set of constants representing the allowable values for SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum

const (
    SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricCpu     SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "CPU"
    SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricStorage SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "STORAGE"
)

func GetSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumValues

func GetSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumValues() []SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum

GetSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum

type SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum

SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum Enum with underlying type: string

type SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum string

Set of constants representing the allowable values for SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum

const (
    SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeAdwS SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum = "ADW-S"
    SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeAtpS SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum = "ATP-S"
    SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeAdwD SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum = "ADW-D"
    SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeAtpD SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum = "ATP-D"
)

func GetSummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnumValues

func GetSummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum

GetSummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum

type SummarizeDatabaseInsightResourceCapacityTrendRequest

SummarizeDatabaseInsightResourceCapacityTrendRequest wrapper for the SummarizeDatabaseInsightResourceCapacityTrend operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/opsi/SummarizeDatabaseInsightResourceCapacityTrend.go.html to see an example of how to use SummarizeDatabaseInsightResourceCapacityTrendRequest.

type SummarizeDatabaseInsightResourceCapacityTrendRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Filter by resource metric.
    // Supported values are CPU and STORAGE.
    ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`

    // Specify time period in ISO 8601 format with respect to current time.
    // Default is last 30 days represented by P30D.
    // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
    // Examples  P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
    AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`

    // Analysis start time in UTC in ISO 8601 format(inclusive).
    // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
    // The minimum allowed value is 2 years prior to the current day.
    // timeIntervalStart and timeIntervalEnd parameters are used together.
    // If analysisTimeInterval is specified, this parameter is ignored.
    TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`

    // Analysis end time in UTC in ISO 8601 format(exclusive).
    // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
    // timeIntervalStart and timeIntervalEnd are used together.
    // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
    TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`

    // Filter by one or more database type.
    // Possible values are ADW-S, ATP-S, ADW-D, ATP-D
    DatabaseType []SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"`

    // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`

    // Filter by utilization level by the following buckets:
    //   - HIGH_UTILIZATION: DBs with utilization greater or equal than 75.
    //   - LOW_UTILIZATION: DBs with utilization lower than 25.
    //   - MEDIUM_HIGH_UTILIZATION: DBs with utilization greater or equal than 50 but lower than 75.
    //   - MEDIUM_LOW_UTILIZATION: DBs with utilization greater or equal than 25 but lower than 50.
    UtilizationLevel SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum `mandatory:"false" contributesTo:"query" name:"utilizationLevel" omitEmpty:"true"`

    // For list pagination. The value of the `opc-next-page` response header from
    // the previous "List" call. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
    SortOrder SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Sorts using end timestamp , capacity or baseCapacity
    SortBy SummarizeDatabaseInsightResourceCapacityTrendSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (SummarizeDatabaseInsightResourceCapacityTrendRequest) HTTPRequest

func (request SummarizeDatabaseInsightResourceCapacityTrendRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SummarizeDatabaseInsightResourceCapacityTrendRequest) RetryPolicy

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

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

func (SummarizeDatabaseInsightResourceCapacityTrendRequest) String

func (request SummarizeDatabaseInsightResourceCapacityTrendRequest) String() string

type SummarizeDatabaseInsightResourceCapacityTrendResponse

SummarizeDatabaseInsightResourceCapacityTrendResponse wrapper for the SummarizeDatabaseInsightResourceCapacityTrend operation

type SummarizeDatabaseInsightResourceCapacityTrendResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection instances
    SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (SummarizeDatabaseInsightResourceCapacityTrendResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (SummarizeDatabaseInsightResourceCapacityTrendResponse) String

func (response SummarizeDatabaseInsightResourceCapacityTrendResponse) String() string

type SummarizeDatabaseInsightResourceCapacityTrendSortByEnum

SummarizeDatabaseInsightResourceCapacityTrendSortByEnum Enum with underlying type: string

type SummarizeDatabaseInsightResourceCapacityTrendSortByEnum string

Set of constants representing the allowable values for SummarizeDatabaseInsightResourceCapacityTrendSortByEnum

const (
    SummarizeDatabaseInsightResourceCapacityTrendSortByEndtimestamp SummarizeDatabaseInsightResourceCapacityTrendSortByEnum = "endTimestamp"
    SummarizeDatabaseInsightResourceCapacityTrendSortByCapacity     SummarizeDatabaseInsightResourceCapacityTrendSortByEnum = "capacity"
    SummarizeDatabaseInsightResourceCapacityTrendSortByBasecapacity SummarizeDatabaseInsightResourceCapacityTrendSortByEnum = "baseCapacity"
)

func GetSummarizeDatabaseInsightResourceCapacityTrendSortByEnumValues

func GetSummarizeDatabaseInsightResourceCapacityTrendSortByEnumValues() []SummarizeDatabaseInsightResourceCapacityTrendSortByEnum

GetSummarizeDatabaseInsightResourceCapacityTrendSortByEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceCapacityTrendSortByEnum

type SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum

SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum Enum with underlying type: string

type SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum string

Set of constants representing the allowable values for SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum

const (
    SummarizeDatabaseInsightResourceCapacityTrendSortOrderAsc  SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum = "ASC"
    SummarizeDatabaseInsightResourceCapacityTrendSortOrderDesc SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum = "DESC"
)

func GetSummarizeDatabaseInsightResourceCapacityTrendSortOrderEnumValues

func GetSummarizeDatabaseInsightResourceCapacityTrendSortOrderEnumValues() []SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum

GetSummarizeDatabaseInsightResourceCapacityTrendSortOrderEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum

type SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum

SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum Enum with underlying type: string

type SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum string

Set of constants representing the allowable values for SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum

const (
    SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelHighUtilization       SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum = "HIGH_UTILIZATION"
    SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelLowUtilization        SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum = "LOW_UTILIZATION"
    SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelMediumHighUtilization SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum = "MEDIUM_HIGH_UTILIZATION"
    SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelMediumLowUtilization  SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum = "MEDIUM_LOW_UTILIZATION"
)

func GetSummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnumValues

func GetSummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnumValues() []SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum

GetSummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum

type SummarizeDatabaseInsightResourceForecastTrendAggregation

SummarizeDatabaseInsightResourceForecastTrendAggregation Forecast results from the selected time period.

type SummarizeDatabaseInsightResourceForecastTrendAggregation struct {

    // The start timestamp that was passed into the request.
    TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`

    // The end timestamp that was passed into the request.
    TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`

    // Defines the type of resource metric (CPU, STORAGE)
    ResourceMetric SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum `mandatory:"true" json:"resourceMetric"`

    // Displays usage unit ( CORES, GB)
    UsageUnit UsageUnitEnum `mandatory:"true" json:"usageUnit"`

    // Time series patterns used in the forecasting.
    Pattern SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum `mandatory:"true" json:"pattern"`

    // Time series data used for the forecast analysis.
    HistoricalData []HistoricalDataItem `mandatory:"true" json:"historicalData"`

    // Time series data result of the forecasting analysis.
    ProjectedData []ProjectedDataItem `mandatory:"true" json:"projectedData"`
}

func (SummarizeDatabaseInsightResourceForecastTrendAggregation) String

func (m SummarizeDatabaseInsightResourceForecastTrendAggregation) String() string

type SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum

SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum Enum with underlying type: string

type SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum string

Set of constants representing the allowable values for SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum

const (
    SummarizeDatabaseInsightResourceForecastTrendAggregationPatternLinear                        SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum = "LINEAR"
    SummarizeDatabaseInsightResourceForecastTrendAggregationPatternMonthlySeasons                SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum = "MONTHLY_SEASONS"
    SummarizeDatabaseInsightResourceForecastTrendAggregationPatternMonthlyAndYearlySeasons       SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum = "MONTHLY_AND_YEARLY_SEASONS"
    SummarizeDatabaseInsightResourceForecastTrendAggregationPatternWeeklySeasons                 SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum = "WEEKLY_SEASONS"
    SummarizeDatabaseInsightResourceForecastTrendAggregationPatternWeeklyAndMonthlySeasons       SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum = "WEEKLY_AND_MONTHLY_SEASONS"
    SummarizeDatabaseInsightResourceForecastTrendAggregationPatternWeeklyMonthlyAndYearlySeasons SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum = "WEEKLY_MONTHLY_AND_YEARLY_SEASONS"
    SummarizeDatabaseInsightResourceForecastTrendAggregationPatternWeeklyAndYearlySeasons        SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum = "WEEKLY_AND_YEARLY_SEASONS"
    SummarizeDatabaseInsightResourceForecastTrendAggregationPatternYearlySeasons                 SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum = "YEARLY_SEASONS"
)

func GetSummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnumValues

func GetSummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnumValues() []SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum

GetSummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum

type SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum

SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum Enum with underlying type: string

type SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum string

Set of constants representing the allowable values for SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum

const (
    SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricCpu     SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum = "CPU"
    SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricStorage SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum = "STORAGE"
)

func GetSummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnumValues

func GetSummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnumValues() []SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum

GetSummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum

type SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum

SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum Enum with underlying type: string

type SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum string

Set of constants representing the allowable values for SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum

const (
    SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeAdwS SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum = "ADW-S"
    SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeAtpS SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum = "ATP-S"
    SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeAdwD SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum = "ADW-D"
    SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeAtpD SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum = "ATP-D"
)

func GetSummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnumValues

func GetSummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum

GetSummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum

type SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum

SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum Enum with underlying type: string

type SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum string

Set of constants representing the allowable values for SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum

const (
    SummarizeDatabaseInsightResourceForecastTrendForecastModelLinear   SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum = "LINEAR"
    SummarizeDatabaseInsightResourceForecastTrendForecastModelMlAuto   SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum = "ML_AUTO"
    SummarizeDatabaseInsightResourceForecastTrendForecastModelMlNoAuto SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum = "ML_NO_AUTO"
)

func GetSummarizeDatabaseInsightResourceForecastTrendForecastModelEnumValues

func GetSummarizeDatabaseInsightResourceForecastTrendForecastModelEnumValues() []SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum

GetSummarizeDatabaseInsightResourceForecastTrendForecastModelEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum

type SummarizeDatabaseInsightResourceForecastTrendRequest

SummarizeDatabaseInsightResourceForecastTrendRequest wrapper for the SummarizeDatabaseInsightResourceForecastTrend operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/opsi/SummarizeDatabaseInsightResourceForecastTrend.go.html to see an example of how to use SummarizeDatabaseInsightResourceForecastTrendRequest.

type SummarizeDatabaseInsightResourceForecastTrendRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Filter by resource metric.
    // Supported values are CPU and STORAGE.
    ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`

    // Specify time period in ISO 8601 format with respect to current time.
    // Default is last 30 days represented by P30D.
    // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
    // Examples  P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
    AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`

    // Analysis start time in UTC in ISO 8601 format(inclusive).
    // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
    // The minimum allowed value is 2 years prior to the current day.
    // timeIntervalStart and timeIntervalEnd parameters are used together.
    // If analysisTimeInterval is specified, this parameter is ignored.
    TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`

    // Analysis end time in UTC in ISO 8601 format(exclusive).
    // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
    // timeIntervalStart and timeIntervalEnd are used together.
    // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
    TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`

    // Filter by one or more database type.
    // Possible values are ADW-S, ATP-S, ADW-D, ATP-D
    DatabaseType []SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"`

    // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`

    // Choose the type of statistic metric data to be used for forecasting.
    Statistic SummarizeDatabaseInsightResourceForecastTrendStatisticEnum `mandatory:"false" contributesTo:"query" name:"statistic" omitEmpty:"true"`

    // Number of days used for utilization forecast analysis.
    ForecastDays *int `mandatory:"false" contributesTo:"query" name:"forecastDays"`

    // Choose algorithm model for the forecasting.
    // Possible values:
    //   - LINEAR: Uses linear regression algorithm for forecasting.
    //   - ML_AUTO: Automatically detects best algorithm to use for forecasting.
    //   - ML_NO_AUTO: Automatically detects seasonality of the data for forecasting using linear or seasonal algorithm.
    ForecastModel SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum `mandatory:"false" contributesTo:"query" name:"forecastModel" omitEmpty:"true"`

    // Filter by utilization level by the following buckets:
    //   - HIGH_UTILIZATION: DBs with utilization greater or equal than 75.
    //   - LOW_UTILIZATION: DBs with utilization lower than 25.
    //   - MEDIUM_HIGH_UTILIZATION: DBs with utilization greater or equal than 50 but lower than 75.
    //   - MEDIUM_LOW_UTILIZATION: DBs with utilization greater or equal than 25 but lower than 50.
    UtilizationLevel SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum `mandatory:"false" contributesTo:"query" name:"utilizationLevel" omitEmpty:"true"`

    // This parameter is used to change data's confidence level, this data is ingested by the
    // forecast algorithm.
    // Confidence is the probability of an interval to contain the expected population parameter.
    // Manipulation of this value will lead to different results.
    // If not set, default confidence value is 95%.
    Confidence *int `mandatory:"false" contributesTo:"query" name:"confidence"`

    // For list pagination. The value of the `opc-next-page` response header from
    // the previous "List" call. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (SummarizeDatabaseInsightResourceForecastTrendRequest) HTTPRequest

func (request SummarizeDatabaseInsightResourceForecastTrendRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SummarizeDatabaseInsightResourceForecastTrendRequest) RetryPolicy

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

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

func (SummarizeDatabaseInsightResourceForecastTrendRequest) String

func (request SummarizeDatabaseInsightResourceForecastTrendRequest) String() string

type SummarizeDatabaseInsightResourceForecastTrendResponse

SummarizeDatabaseInsightResourceForecastTrendResponse wrapper for the SummarizeDatabaseInsightResourceForecastTrend operation

type SummarizeDatabaseInsightResourceForecastTrendResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of SummarizeDatabaseInsightResourceForecastTrendAggregation instances
    SummarizeDatabaseInsightResourceForecastTrendAggregation `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (SummarizeDatabaseInsightResourceForecastTrendResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (SummarizeDatabaseInsightResourceForecastTrendResponse) String

func (response SummarizeDatabaseInsightResourceForecastTrendResponse) String() string

type SummarizeDatabaseInsightResourceForecastTrendStatisticEnum

SummarizeDatabaseInsightResourceForecastTrendStatisticEnum Enum with underlying type: string

type SummarizeDatabaseInsightResourceForecastTrendStatisticEnum string

Set of constants representing the allowable values for SummarizeDatabaseInsightResourceForecastTrendStatisticEnum

const (
    SummarizeDatabaseInsightResourceForecastTrendStatisticAvg SummarizeDatabaseInsightResourceForecastTrendStatisticEnum = "AVG"
    SummarizeDatabaseInsightResourceForecastTrendStatisticMax SummarizeDatabaseInsightResourceForecastTrendStatisticEnum = "MAX"
)

func GetSummarizeDatabaseInsightResourceForecastTrendStatisticEnumValues

func GetSummarizeDatabaseInsightResourceForecastTrendStatisticEnumValues() []SummarizeDatabaseInsightResourceForecastTrendStatisticEnum

GetSummarizeDatabaseInsightResourceForecastTrendStatisticEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceForecastTrendStatisticEnum

type SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum

SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum Enum with underlying type: string

type SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum string

Set of constants representing the allowable values for SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum

const (
    SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelHighUtilization       SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum = "HIGH_UTILIZATION"
    SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelLowUtilization        SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum = "LOW_UTILIZATION"
    SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelMediumHighUtilization SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum = "MEDIUM_HIGH_UTILIZATION"
    SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelMediumLowUtilization  SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum = "MEDIUM_LOW_UTILIZATION"
)

func GetSummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnumValues

func GetSummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnumValues() []SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum

GetSummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum

type SummarizeDatabaseInsightResourceStatisticsAggregationCollection

SummarizeDatabaseInsightResourceStatisticsAggregationCollection Returns list of the Databases with resource statistics like usage,capacity,utilization and usage change percent.

type SummarizeDatabaseInsightResourceStatisticsAggregationCollection struct {

    // The start timestamp that was passed into the request.
    TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`

    // The end timestamp that was passed into the request.
    TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`

    // Defines the type of resource metric (CPU, STORAGE)
    ResourceMetric SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum `mandatory:"true" json:"resourceMetric"`

    // Displays usage unit ( CORES, GB)
    UsageUnit UsageUnitEnum `mandatory:"true" json:"usageUnit"`

    // Collection of Resource Statistics items
    Items []ResourceStatisticsAggregation `mandatory:"true" json:"items"`
}

func (SummarizeDatabaseInsightResourceStatisticsAggregationCollection) String

func (m SummarizeDatabaseInsightResourceStatisticsAggregationCollection) String() string

type SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum

SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum Enum with underlying type: string

type SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum string

Set of constants representing the allowable values for SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum

const (
    SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricCpu     SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "CPU"
    SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricStorage SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "STORAGE"
)

func GetSummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnumValues

func GetSummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnumValues() []SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum

GetSummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum

type SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum

SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum Enum with underlying type: string

type SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum string

Set of constants representing the allowable values for SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum

const (
    SummarizeDatabaseInsightResourceStatisticsDatabaseTypeAdwS SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum = "ADW-S"
    SummarizeDatabaseInsightResourceStatisticsDatabaseTypeAtpS SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum = "ATP-S"
    SummarizeDatabaseInsightResourceStatisticsDatabaseTypeAdwD SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum = "ADW-D"
    SummarizeDatabaseInsightResourceStatisticsDatabaseTypeAtpD SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum = "ATP-D"
)

func GetSummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnumValues

func GetSummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum

GetSummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum

type SummarizeDatabaseInsightResourceStatisticsRequest

SummarizeDatabaseInsightResourceStatisticsRequest wrapper for the SummarizeDatabaseInsightResourceStatistics operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/opsi/SummarizeDatabaseInsightResourceStatistics.go.html to see an example of how to use SummarizeDatabaseInsightResourceStatisticsRequest.

type SummarizeDatabaseInsightResourceStatisticsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Filter by resource metric.
    // Supported values are CPU and STORAGE.
    ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`

    // Specify time period in ISO 8601 format with respect to current time.
    // Default is last 30 days represented by P30D.
    // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
    // Examples  P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
    AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`

    // Analysis start time in UTC in ISO 8601 format(inclusive).
    // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
    // The minimum allowed value is 2 years prior to the current day.
    // timeIntervalStart and timeIntervalEnd parameters are used together.
    // If analysisTimeInterval is specified, this parameter is ignored.
    TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`

    // Analysis end time in UTC in ISO 8601 format(exclusive).
    // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
    // timeIntervalStart and timeIntervalEnd are used together.
    // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
    TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`

    // Filter by one or more database type.
    // Possible values are ADW-S, ATP-S, ADW-D, ATP-D
    DatabaseType []SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"`

    // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`

    // Percentile values of daily usage to be used for computing the aggregate resource usage.
    Percentile *int `mandatory:"false" contributesTo:"query" name:"percentile"`

    // Return data of a specific insight
    // Possible values are High Utilization, Low Utilization, Any ,High Utilization Forecast,
    // Low Utilization Forecast
    InsightBy *string `mandatory:"false" contributesTo:"query" name:"insightBy"`

    // Number of days used for utilization forecast analysis.
    ForecastDays *int `mandatory:"false" contributesTo:"query" name:"forecastDays"`

    // For list pagination. The maximum number of results per page, or items to
    // return in a paginated "List" call.
    // For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
    // Example: `50`
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The value of the `opc-next-page` response header from
    // the previous "List" call. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
    SortOrder SummarizeDatabaseInsightResourceStatisticsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The order in which resource statistics records are listed
    SortBy SummarizeDatabaseInsightResourceStatisticsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (SummarizeDatabaseInsightResourceStatisticsRequest) HTTPRequest

func (request SummarizeDatabaseInsightResourceStatisticsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SummarizeDatabaseInsightResourceStatisticsRequest) RetryPolicy

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

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

func (SummarizeDatabaseInsightResourceStatisticsRequest) String

func (request SummarizeDatabaseInsightResourceStatisticsRequest) String() string

type SummarizeDatabaseInsightResourceStatisticsResponse

SummarizeDatabaseInsightResourceStatisticsResponse wrapper for the SummarizeDatabaseInsightResourceStatistics operation

type SummarizeDatabaseInsightResourceStatisticsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of SummarizeDatabaseInsightResourceStatisticsAggregationCollection instances
    SummarizeDatabaseInsightResourceStatisticsAggregationCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (SummarizeDatabaseInsightResourceStatisticsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (SummarizeDatabaseInsightResourceStatisticsResponse) String

func (response SummarizeDatabaseInsightResourceStatisticsResponse) String() string

type SummarizeDatabaseInsightResourceStatisticsSortByEnum

SummarizeDatabaseInsightResourceStatisticsSortByEnum Enum with underlying type: string

type SummarizeDatabaseInsightResourceStatisticsSortByEnum string

Set of constants representing the allowable values for SummarizeDatabaseInsightResourceStatisticsSortByEnum

const (
    SummarizeDatabaseInsightResourceStatisticsSortByUtilizationpercent SummarizeDatabaseInsightResourceStatisticsSortByEnum = "utilizationPercent"
    SummarizeDatabaseInsightResourceStatisticsSortByUsage              SummarizeDatabaseInsightResourceStatisticsSortByEnum = "usage"
    SummarizeDatabaseInsightResourceStatisticsSortByUsagechangepercent SummarizeDatabaseInsightResourceStatisticsSortByEnum = "usageChangePercent"
    SummarizeDatabaseInsightResourceStatisticsSortByDatabasename       SummarizeDatabaseInsightResourceStatisticsSortByEnum = "databaseName"
    SummarizeDatabaseInsightResourceStatisticsSortByDatabasetype       SummarizeDatabaseInsightResourceStatisticsSortByEnum = "databaseType"
)

func GetSummarizeDatabaseInsightResourceStatisticsSortByEnumValues

func GetSummarizeDatabaseInsightResourceStatisticsSortByEnumValues() []SummarizeDatabaseInsightResourceStatisticsSortByEnum

GetSummarizeDatabaseInsightResourceStatisticsSortByEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceStatisticsSortByEnum

type SummarizeDatabaseInsightResourceStatisticsSortOrderEnum

SummarizeDatabaseInsightResourceStatisticsSortOrderEnum Enum with underlying type: string

type SummarizeDatabaseInsightResourceStatisticsSortOrderEnum string

Set of constants representing the allowable values for SummarizeDatabaseInsightResourceStatisticsSortOrderEnum

const (
    SummarizeDatabaseInsightResourceStatisticsSortOrderAsc  SummarizeDatabaseInsightResourceStatisticsSortOrderEnum = "ASC"
    SummarizeDatabaseInsightResourceStatisticsSortOrderDesc SummarizeDatabaseInsightResourceStatisticsSortOrderEnum = "DESC"
)

func GetSummarizeDatabaseInsightResourceStatisticsSortOrderEnumValues

func GetSummarizeDatabaseInsightResourceStatisticsSortOrderEnumValues() []SummarizeDatabaseInsightResourceStatisticsSortOrderEnum

GetSummarizeDatabaseInsightResourceStatisticsSortOrderEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceStatisticsSortOrderEnum

type SummarizeDatabaseInsightResourceUsageAggregation

SummarizeDatabaseInsightResourceUsageAggregation Resource usage summation for the current time period

type SummarizeDatabaseInsightResourceUsageAggregation struct {

    // The start timestamp that was passed into the request.
    TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`

    // The end timestamp that was passed into the request.
    TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`

    // Defines the type of resource metric (CPU, STORAGE)
    ResourceMetric SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum `mandatory:"true" json:"resourceMetric"`

    // Displays usage unit (CORES, GB)
    UsageUnit UsageUnitEnum `mandatory:"true" json:"usageUnit"`

    // Total amount used of the resource metric type (CPU, STORAGE).
    Usage *float64 `mandatory:"true" json:"usage"`

    // The maximum allocated amount of the resource metric type  (CPU, STORAGE).
    Capacity *float64 `mandatory:"true" json:"capacity"`

    // Percentage change in resource usage during the current period calculated using linear regression functions
    UsageChangePercent *float64 `mandatory:"true" json:"usageChangePercent"`
}

func (SummarizeDatabaseInsightResourceUsageAggregation) String

func (m SummarizeDatabaseInsightResourceUsageAggregation) String() string

type SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum

SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum Enum with underlying type: string

type SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum string

Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum

const (
    SummarizeDatabaseInsightResourceUsageAggregationResourceMetricCpu     SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum = "CPU"
    SummarizeDatabaseInsightResourceUsageAggregationResourceMetricStorage SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum = "STORAGE"
)

func GetSummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnumValues

func GetSummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnumValues() []SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum

GetSummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum

type SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum

SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum Enum with underlying type: string

type SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum string

Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum

const (
    SummarizeDatabaseInsightResourceUsageDatabaseTypeAdwS SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum = "ADW-S"
    SummarizeDatabaseInsightResourceUsageDatabaseTypeAtpS SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum = "ATP-S"
    SummarizeDatabaseInsightResourceUsageDatabaseTypeAdwD SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum = "ADW-D"
    SummarizeDatabaseInsightResourceUsageDatabaseTypeAtpD SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum = "ATP-D"
)

func GetSummarizeDatabaseInsightResourceUsageDatabaseTypeEnumValues

func GetSummarizeDatabaseInsightResourceUsageDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum

GetSummarizeDatabaseInsightResourceUsageDatabaseTypeEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum

type SummarizeDatabaseInsightResourceUsageRequest

SummarizeDatabaseInsightResourceUsageRequest wrapper for the SummarizeDatabaseInsightResourceUsage operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/opsi/SummarizeDatabaseInsightResourceUsage.go.html to see an example of how to use SummarizeDatabaseInsightResourceUsageRequest.

type SummarizeDatabaseInsightResourceUsageRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Filter by resource metric.
    // Supported values are CPU and STORAGE.
    ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`

    // Specify time period in ISO 8601 format with respect to current time.
    // Default is last 30 days represented by P30D.
    // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
    // Examples  P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
    AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`

    // Analysis start time in UTC in ISO 8601 format(inclusive).
    // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
    // The minimum allowed value is 2 years prior to the current day.
    // timeIntervalStart and timeIntervalEnd parameters are used together.
    // If analysisTimeInterval is specified, this parameter is ignored.
    TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`

    // Analysis end time in UTC in ISO 8601 format(exclusive).
    // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
    // timeIntervalStart and timeIntervalEnd are used together.
    // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
    TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`

    // Filter by one or more database type.
    // Possible values are ADW-S, ATP-S, ADW-D, ATP-D
    DatabaseType []SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"`

    // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`

    // For list pagination. The value of the `opc-next-page` response header from
    // the previous "List" call. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Percentile values of daily usage to be used for computing the aggregate resource usage.
    Percentile *int `mandatory:"false" contributesTo:"query" name:"percentile"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (SummarizeDatabaseInsightResourceUsageRequest) HTTPRequest

func (request SummarizeDatabaseInsightResourceUsageRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SummarizeDatabaseInsightResourceUsageRequest) RetryPolicy

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

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

func (SummarizeDatabaseInsightResourceUsageRequest) String

func (request SummarizeDatabaseInsightResourceUsageRequest) String() string

type SummarizeDatabaseInsightResourceUsageResponse

SummarizeDatabaseInsightResourceUsageResponse wrapper for the SummarizeDatabaseInsightResourceUsage operation

type SummarizeDatabaseInsightResourceUsageResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of SummarizeDatabaseInsightResourceUsageAggregation instances
    SummarizeDatabaseInsightResourceUsageAggregation `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (SummarizeDatabaseInsightResourceUsageResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (SummarizeDatabaseInsightResourceUsageResponse) String

func (response SummarizeDatabaseInsightResourceUsageResponse) String() string

type SummarizeDatabaseInsightResourceUsageTrendAggregationCollection

SummarizeDatabaseInsightResourceUsageTrendAggregationCollection Top level response object.

type SummarizeDatabaseInsightResourceUsageTrendAggregationCollection struct {

    // The start timestamp that was passed into the request.
    TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`

    // The end timestamp that was passed into the request.
    TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`

    // Defines the type of resource metric (CPU, STORAGE)
    ResourceMetric SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum `mandatory:"true" json:"resourceMetric"`

    // Displays usage unit ( CORES, GB)
    UsageUnit UsageUnitEnum `mandatory:"true" json:"usageUnit"`

    // Time duration in milliseconds between data points (one hour or one day).
    ItemDurationInMs *int64 `mandatory:"true" json:"itemDurationInMs"`

    // Usage Data with time stamps
    UsageData []ResourceUsageTrendAggregation `mandatory:"true" json:"usageData"`
}

func (SummarizeDatabaseInsightResourceUsageTrendAggregationCollection) String

func (m SummarizeDatabaseInsightResourceUsageTrendAggregationCollection) String() string

type SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum

SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum Enum with underlying type: string

type SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum string

Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum

const (
    SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricCpu     SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "CPU"
    SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricStorage SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "STORAGE"
)

func GetSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnumValues

func GetSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnumValues() []SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum

GetSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum

type SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum

SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum Enum with underlying type: string

type SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum string

Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum

const (
    SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeAdwS SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum = "ADW-S"
    SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeAtpS SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum = "ATP-S"
    SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeAdwD SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum = "ADW-D"
    SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeAtpD SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum = "ATP-D"
)

func GetSummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnumValues

func GetSummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum

GetSummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum

type SummarizeDatabaseInsightResourceUsageTrendRequest

SummarizeDatabaseInsightResourceUsageTrendRequest wrapper for the SummarizeDatabaseInsightResourceUsageTrend operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/opsi/SummarizeDatabaseInsightResourceUsageTrend.go.html to see an example of how to use SummarizeDatabaseInsightResourceUsageTrendRequest.

type SummarizeDatabaseInsightResourceUsageTrendRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Filter by resource metric.
    // Supported values are CPU and STORAGE.
    ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`

    // Specify time period in ISO 8601 format with respect to current time.
    // Default is last 30 days represented by P30D.
    // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
    // Examples  P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
    AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`

    // Analysis start time in UTC in ISO 8601 format(inclusive).
    // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
    // The minimum allowed value is 2 years prior to the current day.
    // timeIntervalStart and timeIntervalEnd parameters are used together.
    // If analysisTimeInterval is specified, this parameter is ignored.
    TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`

    // Analysis end time in UTC in ISO 8601 format(exclusive).
    // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
    // timeIntervalStart and timeIntervalEnd are used together.
    // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
    TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`

    // Filter by one or more database type.
    // Possible values are ADW-S, ATP-S, ADW-D, ATP-D
    DatabaseType []SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"`

    // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`

    // For list pagination. The value of the `opc-next-page` response header from
    // the previous "List" call. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
    SortOrder SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Sorts using end timestamp, usage or capacity
    SortBy SummarizeDatabaseInsightResourceUsageTrendSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (SummarizeDatabaseInsightResourceUsageTrendRequest) HTTPRequest

func (request SummarizeDatabaseInsightResourceUsageTrendRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SummarizeDatabaseInsightResourceUsageTrendRequest) RetryPolicy

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

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

func (SummarizeDatabaseInsightResourceUsageTrendRequest) String

func (request SummarizeDatabaseInsightResourceUsageTrendRequest) String() string

type SummarizeDatabaseInsightResourceUsageTrendResponse

SummarizeDatabaseInsightResourceUsageTrendResponse wrapper for the SummarizeDatabaseInsightResourceUsageTrend operation

type SummarizeDatabaseInsightResourceUsageTrendResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of SummarizeDatabaseInsightResourceUsageTrendAggregationCollection instances
    SummarizeDatabaseInsightResourceUsageTrendAggregationCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (SummarizeDatabaseInsightResourceUsageTrendResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (SummarizeDatabaseInsightResourceUsageTrendResponse) String

func (response SummarizeDatabaseInsightResourceUsageTrendResponse) String() string

type SummarizeDatabaseInsightResourceUsageTrendSortByEnum

SummarizeDatabaseInsightResourceUsageTrendSortByEnum Enum with underlying type: string

type SummarizeDatabaseInsightResourceUsageTrendSortByEnum string

Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUsageTrendSortByEnum

const (
    SummarizeDatabaseInsightResourceUsageTrendSortByEndtimestamp SummarizeDatabaseInsightResourceUsageTrendSortByEnum = "endTimestamp"
    SummarizeDatabaseInsightResourceUsageTrendSortByUsage        SummarizeDatabaseInsightResourceUsageTrendSortByEnum = "usage"
    SummarizeDatabaseInsightResourceUsageTrendSortByCapacity     SummarizeDatabaseInsightResourceUsageTrendSortByEnum = "capacity"
)

func GetSummarizeDatabaseInsightResourceUsageTrendSortByEnumValues

func GetSummarizeDatabaseInsightResourceUsageTrendSortByEnumValues() []SummarizeDatabaseInsightResourceUsageTrendSortByEnum

GetSummarizeDatabaseInsightResourceUsageTrendSortByEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUsageTrendSortByEnum

type SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum

SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum Enum with underlying type: string

type SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum string

Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum

const (
    SummarizeDatabaseInsightResourceUsageTrendSortOrderAsc  SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum = "ASC"
    SummarizeDatabaseInsightResourceUsageTrendSortOrderDesc SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum = "DESC"
)

func GetSummarizeDatabaseInsightResourceUsageTrendSortOrderEnumValues

func GetSummarizeDatabaseInsightResourceUsageTrendSortOrderEnumValues() []SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum

GetSummarizeDatabaseInsightResourceUsageTrendSortOrderEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum

type SummarizeDatabaseInsightResourceUtilizationInsightAggregation

SummarizeDatabaseInsightResourceUtilizationInsightAggregation Insights response containing current/projected groups for storage or CPU.

type SummarizeDatabaseInsightResourceUtilizationInsightAggregation struct {

    // The start timestamp that was passed into the request.
    TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`

    // The end timestamp that was passed into the request.
    TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`

    // Defines the type of resource metric (CPU, STORAGE)
    ResourceMetric SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum `mandatory:"true" json:"resourceMetric"`

    ProjectedUtilization *ResourceInsightProjectedUtilization `mandatory:"true" json:"projectedUtilization"`

    CurrentUtilization *ResourceInsightCurrentUtilization `mandatory:"true" json:"currentUtilization"`
}

func (SummarizeDatabaseInsightResourceUtilizationInsightAggregation) String

func (m SummarizeDatabaseInsightResourceUtilizationInsightAggregation) String() string

type SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum

SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum Enum with underlying type: string

type SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum string

Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum

const (
    SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricCpu     SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum = "CPU"
    SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricStorage SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum = "STORAGE"
)

func GetSummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnumValues

func GetSummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnumValues() []SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum

GetSummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum

type SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum

SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum Enum with underlying type: string

type SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum string

Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum

const (
    SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeAdwS SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum = "ADW-S"
    SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeAtpS SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum = "ATP-S"
    SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeAdwD SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum = "ADW-D"
    SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeAtpD SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum = "ATP-D"
)

func GetSummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnumValues

func GetSummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum

GetSummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum

type SummarizeDatabaseInsightResourceUtilizationInsightRequest

SummarizeDatabaseInsightResourceUtilizationInsightRequest wrapper for the SummarizeDatabaseInsightResourceUtilizationInsight operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/opsi/SummarizeDatabaseInsightResourceUtilizationInsight.go.html to see an example of how to use SummarizeDatabaseInsightResourceUtilizationInsightRequest.

type SummarizeDatabaseInsightResourceUtilizationInsightRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Filter by resource metric.
    // Supported values are CPU and STORAGE.
    ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`

    // Specify time period in ISO 8601 format with respect to current time.
    // Default is last 30 days represented by P30D.
    // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
    // Examples  P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
    AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`

    // Analysis start time in UTC in ISO 8601 format(inclusive).
    // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
    // The minimum allowed value is 2 years prior to the current day.
    // timeIntervalStart and timeIntervalEnd parameters are used together.
    // If analysisTimeInterval is specified, this parameter is ignored.
    TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`

    // Analysis end time in UTC in ISO 8601 format(exclusive).
    // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
    // timeIntervalStart and timeIntervalEnd are used together.
    // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
    TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`

    // Filter by one or more database type.
    // Possible values are ADW-S, ATP-S, ADW-D, ATP-D
    DatabaseType []SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"`

    // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`

    // Number of days used for utilization forecast analysis.
    ForecastDays *int `mandatory:"false" contributesTo:"query" name:"forecastDays"`

    // For list pagination. The value of the `opc-next-page` response header from
    // the previous "List" call. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (SummarizeDatabaseInsightResourceUtilizationInsightRequest) HTTPRequest

func (request SummarizeDatabaseInsightResourceUtilizationInsightRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SummarizeDatabaseInsightResourceUtilizationInsightRequest) RetryPolicy

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

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

func (SummarizeDatabaseInsightResourceUtilizationInsightRequest) String

func (request SummarizeDatabaseInsightResourceUtilizationInsightRequest) String() string

type SummarizeDatabaseInsightResourceUtilizationInsightResponse

SummarizeDatabaseInsightResourceUtilizationInsightResponse wrapper for the SummarizeDatabaseInsightResourceUtilizationInsight operation

type SummarizeDatabaseInsightResourceUtilizationInsightResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of SummarizeDatabaseInsightResourceUtilizationInsightAggregation instances
    SummarizeDatabaseInsightResourceUtilizationInsightAggregation `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (SummarizeDatabaseInsightResourceUtilizationInsightResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (SummarizeDatabaseInsightResourceUtilizationInsightResponse) String

func (response SummarizeDatabaseInsightResourceUtilizationInsightResponse) String() string

type SummarizeSqlInsightsDatabaseTypeEnum

SummarizeSqlInsightsDatabaseTypeEnum Enum with underlying type: string

type SummarizeSqlInsightsDatabaseTypeEnum string

Set of constants representing the allowable values for SummarizeSqlInsightsDatabaseTypeEnum

const (
    SummarizeSqlInsightsDatabaseTypeAdwS SummarizeSqlInsightsDatabaseTypeEnum = "ADW-S"
    SummarizeSqlInsightsDatabaseTypeAtpS SummarizeSqlInsightsDatabaseTypeEnum = "ATP-S"
    SummarizeSqlInsightsDatabaseTypeAdwD SummarizeSqlInsightsDatabaseTypeEnum = "ADW-D"
    SummarizeSqlInsightsDatabaseTypeAtpD SummarizeSqlInsightsDatabaseTypeEnum = "ATP-D"
)

func GetSummarizeSqlInsightsDatabaseTypeEnumValues

func GetSummarizeSqlInsightsDatabaseTypeEnumValues() []SummarizeSqlInsightsDatabaseTypeEnum

GetSummarizeSqlInsightsDatabaseTypeEnumValues Enumerates the set of values for SummarizeSqlInsightsDatabaseTypeEnum

type SummarizeSqlInsightsRequest

SummarizeSqlInsightsRequest wrapper for the SummarizeSqlInsights operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/opsi/SummarizeSqlInsights.go.html to see an example of how to use SummarizeSqlInsightsRequest.

type SummarizeSqlInsightsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Filter by one or more database type.
    // Possible values are ADW-S, ATP-S, ADW-D, ATP-D
    DatabaseType []SummarizeSqlInsightsDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"`

    // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`

    // Filter sqls by percentage of db time.
    DatabaseTimePctGreaterThan *float64 `mandatory:"false" contributesTo:"query" name:"databaseTimePctGreaterThan"`

    // Specify time period in ISO 8601 format with respect to current time.
    // Default is last 30 days represented by P30D.
    // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
    // Examples  P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
    AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`

    // Analysis start time in UTC in ISO 8601 format(inclusive).
    // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
    // The minimum allowed value is 2 years prior to the current day.
    // timeIntervalStart and timeIntervalEnd parameters are used together.
    // If analysisTimeInterval is specified, this parameter is ignored.
    TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`

    // Analysis end time in UTC in ISO 8601 format(exclusive).
    // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
    // timeIntervalStart and timeIntervalEnd are used together.
    // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
    TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`

    // For list pagination. The value of the `opc-next-page` response header from
    // the previous "List" call. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (SummarizeSqlInsightsRequest) HTTPRequest

func (request SummarizeSqlInsightsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SummarizeSqlInsightsRequest) RetryPolicy

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

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

func (SummarizeSqlInsightsRequest) String

func (request SummarizeSqlInsightsRequest) String() string

type SummarizeSqlInsightsResponse

SummarizeSqlInsightsResponse wrapper for the SummarizeSqlInsights operation

type SummarizeSqlInsightsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of SqlInsightAggregationCollection instances
    SqlInsightAggregationCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (SummarizeSqlInsightsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (SummarizeSqlInsightsResponse) String

func (response SummarizeSqlInsightsResponse) String() string

type SummarizeSqlPlanInsightsRequest

SummarizeSqlPlanInsightsRequest wrapper for the SummarizeSqlPlanInsights operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/opsi/SummarizeSqlPlanInsights.go.html to see an example of how to use SummarizeSqlPlanInsightsRequest.

type SummarizeSqlPlanInsightsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Required OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
    DatabaseId *string `mandatory:"true" contributesTo:"query" name:"databaseId"`

    // Unique SQL_ID for a SQL Statement.
    // Example: `6rgjh9bjmy2s7`
    SqlIdentifier *string `mandatory:"true" contributesTo:"query" name:"sqlIdentifier"`

    // Specify time period in ISO 8601 format with respect to current time.
    // Default is last 30 days represented by P30D.
    // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
    // Examples  P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
    AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`

    // Analysis start time in UTC in ISO 8601 format(inclusive).
    // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
    // The minimum allowed value is 2 years prior to the current day.
    // timeIntervalStart and timeIntervalEnd parameters are used together.
    // If analysisTimeInterval is specified, this parameter is ignored.
    TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`

    // Analysis end time in UTC in ISO 8601 format(exclusive).
    // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
    // timeIntervalStart and timeIntervalEnd are used together.
    // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
    TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`

    // For list pagination. The value of the `opc-next-page` response header from
    // the previous "List" call. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (SummarizeSqlPlanInsightsRequest) HTTPRequest

func (request SummarizeSqlPlanInsightsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SummarizeSqlPlanInsightsRequest) RetryPolicy

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

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

func (SummarizeSqlPlanInsightsRequest) String

func (request SummarizeSqlPlanInsightsRequest) String() string

type SummarizeSqlPlanInsightsResponse

SummarizeSqlPlanInsightsResponse wrapper for the SummarizeSqlPlanInsights operation

type SummarizeSqlPlanInsightsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of SqlPlanInsightAggregationCollection instances
    SqlPlanInsightAggregationCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (SummarizeSqlPlanInsightsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (SummarizeSqlPlanInsightsResponse) String

func (response SummarizeSqlPlanInsightsResponse) String() string

type SummarizeSqlResponseTimeDistributionsRequest

SummarizeSqlResponseTimeDistributionsRequest wrapper for the SummarizeSqlResponseTimeDistributions operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/opsi/SummarizeSqlResponseTimeDistributions.go.html to see an example of how to use SummarizeSqlResponseTimeDistributionsRequest.

type SummarizeSqlResponseTimeDistributionsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Required OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
    DatabaseId *string `mandatory:"true" contributesTo:"query" name:"databaseId"`

    // Unique SQL_ID for a SQL Statement.
    // Example: `6rgjh9bjmy2s7`
    SqlIdentifier *string `mandatory:"true" contributesTo:"query" name:"sqlIdentifier"`

    // Specify time period in ISO 8601 format with respect to current time.
    // Default is last 30 days represented by P30D.
    // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
    // Examples  P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
    AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`

    // Analysis start time in UTC in ISO 8601 format(inclusive).
    // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
    // The minimum allowed value is 2 years prior to the current day.
    // timeIntervalStart and timeIntervalEnd parameters are used together.
    // If analysisTimeInterval is specified, this parameter is ignored.
    TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`

    // Analysis end time in UTC in ISO 8601 format(exclusive).
    // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
    // timeIntervalStart and timeIntervalEnd are used together.
    // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
    TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`

    // For list pagination. The value of the `opc-next-page` response header from
    // the previous "List" call. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (SummarizeSqlResponseTimeDistributionsRequest) HTTPRequest

func (request SummarizeSqlResponseTimeDistributionsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SummarizeSqlResponseTimeDistributionsRequest) RetryPolicy

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

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

func (SummarizeSqlResponseTimeDistributionsRequest) String

func (request SummarizeSqlResponseTimeDistributionsRequest) String() string

type SummarizeSqlResponseTimeDistributionsResponse

SummarizeSqlResponseTimeDistributionsResponse wrapper for the SummarizeSqlResponseTimeDistributions operation

type SummarizeSqlResponseTimeDistributionsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of SqlResponseTimeDistributionAggregationCollection instances
    SqlResponseTimeDistributionAggregationCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (SummarizeSqlResponseTimeDistributionsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (SummarizeSqlResponseTimeDistributionsResponse) String

func (response SummarizeSqlResponseTimeDistributionsResponse) String() string

type SummarizeSqlStatisticsCategoryEnum

SummarizeSqlStatisticsCategoryEnum Enum with underlying type: string

type SummarizeSqlStatisticsCategoryEnum string

Set of constants representing the allowable values for SummarizeSqlStatisticsCategoryEnum

const (
    SummarizeSqlStatisticsCategoryDegrading                                            SummarizeSqlStatisticsCategoryEnum = "DEGRADING"
    SummarizeSqlStatisticsCategoryVariant                                              SummarizeSqlStatisticsCategoryEnum = "VARIANT"
    SummarizeSqlStatisticsCategoryInefficient                                          SummarizeSqlStatisticsCategoryEnum = "INEFFICIENT"
    SummarizeSqlStatisticsCategoryChangingPlans                                        SummarizeSqlStatisticsCategoryEnum = "CHANGING_PLANS"
    SummarizeSqlStatisticsCategoryImproving                                            SummarizeSqlStatisticsCategoryEnum = "IMPROVING"
    SummarizeSqlStatisticsCategoryDegradingVariant                                     SummarizeSqlStatisticsCategoryEnum = "DEGRADING_VARIANT"
    SummarizeSqlStatisticsCategoryDegradingInefficient                                 SummarizeSqlStatisticsCategoryEnum = "DEGRADING_INEFFICIENT"
    SummarizeSqlStatisticsCategoryDegradingChangingPlans                               SummarizeSqlStatisticsCategoryEnum = "DEGRADING_CHANGING_PLANS"
    SummarizeSqlStatisticsCategoryDegradingIncreasingIo                                SummarizeSqlStatisticsCategoryEnum = "DEGRADING_INCREASING_IO"
    SummarizeSqlStatisticsCategoryDegradingIncreasingCpu                               SummarizeSqlStatisticsCategoryEnum = "DEGRADING_INCREASING_CPU"
    SummarizeSqlStatisticsCategoryDegradingIncreasingInefficientWait                   SummarizeSqlStatisticsCategoryEnum = "DEGRADING_INCREASING_INEFFICIENT_WAIT"
    SummarizeSqlStatisticsCategoryDegradingChangingPlansAndIncreasingIo                SummarizeSqlStatisticsCategoryEnum = "DEGRADING_CHANGING_PLANS_AND_INCREASING_IO"
    SummarizeSqlStatisticsCategoryDegradingChangingPlansAndIncreasingCpu               SummarizeSqlStatisticsCategoryEnum = "DEGRADING_CHANGING_PLANS_AND_INCREASING_CPU"
    SummarizeSqlStatisticsCategoryDegradingChangingPlansAndIncreasingInefficientWait   SummarizeSqlStatisticsCategoryEnum = "DEGRADING_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT"
    SummarizeSqlStatisticsCategoryVariantInefficient                                   SummarizeSqlStatisticsCategoryEnum = "VARIANT_INEFFICIENT"
    SummarizeSqlStatisticsCategoryVariantChangingPlans                                 SummarizeSqlStatisticsCategoryEnum = "VARIANT_CHANGING_PLANS"
    SummarizeSqlStatisticsCategoryVariantIncreasingIo                                  SummarizeSqlStatisticsCategoryEnum = "VARIANT_INCREASING_IO"
    SummarizeSqlStatisticsCategoryVariantIncreasingCpu                                 SummarizeSqlStatisticsCategoryEnum = "VARIANT_INCREASING_CPU"
    SummarizeSqlStatisticsCategoryVariantIncreasingInefficientWait                     SummarizeSqlStatisticsCategoryEnum = "VARIANT_INCREASING_INEFFICIENT_WAIT"
    SummarizeSqlStatisticsCategoryVariantChangingPlansAndIncreasingIo                  SummarizeSqlStatisticsCategoryEnum = "VARIANT_CHANGING_PLANS_AND_INCREASING_IO"
    SummarizeSqlStatisticsCategoryVariantChangingPlansAndIncreasingCpu                 SummarizeSqlStatisticsCategoryEnum = "VARIANT_CHANGING_PLANS_AND_INCREASING_CPU"
    SummarizeSqlStatisticsCategoryVariantChangingPlansAndIncreasingInefficientWait     SummarizeSqlStatisticsCategoryEnum = "VARIANT_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT"
    SummarizeSqlStatisticsCategoryInefficientChangingPlans                             SummarizeSqlStatisticsCategoryEnum = "INEFFICIENT_CHANGING_PLANS"
    SummarizeSqlStatisticsCategoryInefficientIncreasingInefficientWait                 SummarizeSqlStatisticsCategoryEnum = "INEFFICIENT_INCREASING_INEFFICIENT_WAIT"
    SummarizeSqlStatisticsCategoryInefficientChangingPlansAndIncreasingInefficientWait SummarizeSqlStatisticsCategoryEnum = "INEFFICIENT_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT"
)

func GetSummarizeSqlStatisticsCategoryEnumValues

func GetSummarizeSqlStatisticsCategoryEnumValues() []SummarizeSqlStatisticsCategoryEnum

GetSummarizeSqlStatisticsCategoryEnumValues Enumerates the set of values for SummarizeSqlStatisticsCategoryEnum

type SummarizeSqlStatisticsDatabaseTypeEnum

SummarizeSqlStatisticsDatabaseTypeEnum Enum with underlying type: string

type SummarizeSqlStatisticsDatabaseTypeEnum string

Set of constants representing the allowable values for SummarizeSqlStatisticsDatabaseTypeEnum

const (
    SummarizeSqlStatisticsDatabaseTypeAdwS SummarizeSqlStatisticsDatabaseTypeEnum = "ADW-S"
    SummarizeSqlStatisticsDatabaseTypeAtpS SummarizeSqlStatisticsDatabaseTypeEnum = "ATP-S"
    SummarizeSqlStatisticsDatabaseTypeAdwD SummarizeSqlStatisticsDatabaseTypeEnum = "ADW-D"
    SummarizeSqlStatisticsDatabaseTypeAtpD SummarizeSqlStatisticsDatabaseTypeEnum = "ATP-D"
)

func GetSummarizeSqlStatisticsDatabaseTypeEnumValues

func GetSummarizeSqlStatisticsDatabaseTypeEnumValues() []SummarizeSqlStatisticsDatabaseTypeEnum

GetSummarizeSqlStatisticsDatabaseTypeEnumValues Enumerates the set of values for SummarizeSqlStatisticsDatabaseTypeEnum

type SummarizeSqlStatisticsRequest

SummarizeSqlStatisticsRequest wrapper for the SummarizeSqlStatistics operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/opsi/SummarizeSqlStatistics.go.html to see an example of how to use SummarizeSqlStatisticsRequest.

type SummarizeSqlStatisticsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Filter by one or more database type.
    // Possible values are ADW-S, ATP-S, ADW-D, ATP-D
    DatabaseType []SummarizeSqlStatisticsDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"`

    // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`

    // Filter sqls by percentage of db time.
    DatabaseTimePctGreaterThan *float64 `mandatory:"false" contributesTo:"query" name:"databaseTimePctGreaterThan"`

    // One or more unique SQL_IDs for a SQL Statement.
    // Example: `6rgjh9bjmy2s7`
    SqlIdentifier []string `contributesTo:"query" name:"sqlIdentifier" collectionFormat:"multi"`

    // Specify time period in ISO 8601 format with respect to current time.
    // Default is last 30 days represented by P30D.
    // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
    // Examples  P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
    AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`

    // Analysis start time in UTC in ISO 8601 format(inclusive).
    // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
    // The minimum allowed value is 2 years prior to the current day.
    // timeIntervalStart and timeIntervalEnd parameters are used together.
    // If analysisTimeInterval is specified, this parameter is ignored.
    TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`

    // Analysis end time in UTC in ISO 8601 format(exclusive).
    // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
    // timeIntervalStart and timeIntervalEnd are used together.
    // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
    TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`

    // For list pagination. The maximum number of results per page, or items to
    // return in a paginated "List" call.
    // For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
    // Example: `50`
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The value of the `opc-next-page` response header from
    // the previous "List" call. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
    SortOrder SummarizeSqlStatisticsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to use when sorting SQL statistics.
    // Example: databaseTimeInSec
    SortBy SummarizeSqlStatisticsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Filter sqls by one or more performance categories.
    Category []SummarizeSqlStatisticsCategoryEnum `contributesTo:"query" name:"category" omitEmpty:"true" collectionFormat:"multi"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (SummarizeSqlStatisticsRequest) HTTPRequest

func (request SummarizeSqlStatisticsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SummarizeSqlStatisticsRequest) RetryPolicy

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

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

func (SummarizeSqlStatisticsRequest) String

func (request SummarizeSqlStatisticsRequest) String() string

type SummarizeSqlStatisticsResponse

SummarizeSqlStatisticsResponse wrapper for the SummarizeSqlStatistics operation

type SummarizeSqlStatisticsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of SqlStatisticAggregationCollection instances
    SqlStatisticAggregationCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (SummarizeSqlStatisticsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (SummarizeSqlStatisticsResponse) String

func (response SummarizeSqlStatisticsResponse) String() string

type SummarizeSqlStatisticsSortByEnum

SummarizeSqlStatisticsSortByEnum Enum with underlying type: string

type SummarizeSqlStatisticsSortByEnum string

Set of constants representing the allowable values for SummarizeSqlStatisticsSortByEnum

const (
    SummarizeSqlStatisticsSortByDatabasetimeinsec                  SummarizeSqlStatisticsSortByEnum = "databaseTimeInSec"
    SummarizeSqlStatisticsSortByExecutionsperhour                  SummarizeSqlStatisticsSortByEnum = "executionsPerHour"
    SummarizeSqlStatisticsSortByExecutionscount                    SummarizeSqlStatisticsSortByEnum = "executionsCount"
    SummarizeSqlStatisticsSortByCputimeinsec                       SummarizeSqlStatisticsSortByEnum = "cpuTimeInSec"
    SummarizeSqlStatisticsSortByIotimeinsec                        SummarizeSqlStatisticsSortByEnum = "ioTimeInSec"
    SummarizeSqlStatisticsSortByInefficientwaittimeinsec           SummarizeSqlStatisticsSortByEnum = "inefficientWaitTimeInSec"
    SummarizeSqlStatisticsSortByResponsetimeinsec                  SummarizeSqlStatisticsSortByEnum = "responseTimeInSec"
    SummarizeSqlStatisticsSortByPlancount                          SummarizeSqlStatisticsSortByEnum = "planCount"
    SummarizeSqlStatisticsSortByVariability                        SummarizeSqlStatisticsSortByEnum = "variability"
    SummarizeSqlStatisticsSortByAverageactivesessions              SummarizeSqlStatisticsSortByEnum = "averageActiveSessions"
    SummarizeSqlStatisticsSortByDatabasetimepct                    SummarizeSqlStatisticsSortByEnum = "databaseTimePct"
    SummarizeSqlStatisticsSortByInefficiencyinpct                  SummarizeSqlStatisticsSortByEnum = "inefficiencyInPct"
    SummarizeSqlStatisticsSortByChangeincputimeinpct               SummarizeSqlStatisticsSortByEnum = "changeInCpuTimeInPct"
    SummarizeSqlStatisticsSortByChangeiniotimeinpct                SummarizeSqlStatisticsSortByEnum = "changeInIoTimeInPct"
    SummarizeSqlStatisticsSortByChangeininefficientwaittimeinpct   SummarizeSqlStatisticsSortByEnum = "changeInInefficientWaitTimeInPct"
    SummarizeSqlStatisticsSortByChangeinresponsetimeinpct          SummarizeSqlStatisticsSortByEnum = "changeInResponseTimeInPct"
    SummarizeSqlStatisticsSortByChangeinaverageactivesessionsinpct SummarizeSqlStatisticsSortByEnum = "changeInAverageActiveSessionsInPct"
    SummarizeSqlStatisticsSortByChangeinexecutionsperhourinpct     SummarizeSqlStatisticsSortByEnum = "changeInExecutionsPerHourInPct"
    SummarizeSqlStatisticsSortByChangeininefficiencyinpct          SummarizeSqlStatisticsSortByEnum = "changeInInefficiencyInPct"
)

func GetSummarizeSqlStatisticsSortByEnumValues

func GetSummarizeSqlStatisticsSortByEnumValues() []SummarizeSqlStatisticsSortByEnum

GetSummarizeSqlStatisticsSortByEnumValues Enumerates the set of values for SummarizeSqlStatisticsSortByEnum

type SummarizeSqlStatisticsSortOrderEnum

SummarizeSqlStatisticsSortOrderEnum Enum with underlying type: string

type SummarizeSqlStatisticsSortOrderEnum string

Set of constants representing the allowable values for SummarizeSqlStatisticsSortOrderEnum

const (
    SummarizeSqlStatisticsSortOrderAsc  SummarizeSqlStatisticsSortOrderEnum = "ASC"
    SummarizeSqlStatisticsSortOrderDesc SummarizeSqlStatisticsSortOrderEnum = "DESC"
)

func GetSummarizeSqlStatisticsSortOrderEnumValues

func GetSummarizeSqlStatisticsSortOrderEnumValues() []SummarizeSqlStatisticsSortOrderEnum

GetSummarizeSqlStatisticsSortOrderEnumValues Enumerates the set of values for SummarizeSqlStatisticsSortOrderEnum

type SummarizeSqlStatisticsTimeSeriesByPlanRequest

SummarizeSqlStatisticsTimeSeriesByPlanRequest wrapper for the SummarizeSqlStatisticsTimeSeriesByPlan operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/opsi/SummarizeSqlStatisticsTimeSeriesByPlan.go.html to see an example of how to use SummarizeSqlStatisticsTimeSeriesByPlanRequest.

type SummarizeSqlStatisticsTimeSeriesByPlanRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Required OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
    DatabaseId *string `mandatory:"true" contributesTo:"query" name:"databaseId"`

    // Unique SQL_ID for a SQL Statement.
    // Example: `6rgjh9bjmy2s7`
    SqlIdentifier *string `mandatory:"true" contributesTo:"query" name:"sqlIdentifier"`

    // Specify time period in ISO 8601 format with respect to current time.
    // Default is last 30 days represented by P30D.
    // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
    // Examples  P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
    AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`

    // Analysis start time in UTC in ISO 8601 format(inclusive).
    // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
    // The minimum allowed value is 2 years prior to the current day.
    // timeIntervalStart and timeIntervalEnd parameters are used together.
    // If analysisTimeInterval is specified, this parameter is ignored.
    TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`

    // Analysis end time in UTC in ISO 8601 format(exclusive).
    // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
    // timeIntervalStart and timeIntervalEnd are used together.
    // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
    TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`

    // For list pagination. The value of the `opc-next-page` response header from
    // the previous "List" call. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (SummarizeSqlStatisticsTimeSeriesByPlanRequest) HTTPRequest

func (request SummarizeSqlStatisticsTimeSeriesByPlanRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SummarizeSqlStatisticsTimeSeriesByPlanRequest) RetryPolicy

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

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

func (SummarizeSqlStatisticsTimeSeriesByPlanRequest) String

func (request SummarizeSqlStatisticsTimeSeriesByPlanRequest) String() string

type SummarizeSqlStatisticsTimeSeriesByPlanResponse

SummarizeSqlStatisticsTimeSeriesByPlanResponse wrapper for the SummarizeSqlStatisticsTimeSeriesByPlan operation

type SummarizeSqlStatisticsTimeSeriesByPlanResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of SqlStatisticsTimeSeriesByPlanAggregationCollection instances
    SqlStatisticsTimeSeriesByPlanAggregationCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (SummarizeSqlStatisticsTimeSeriesByPlanResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (SummarizeSqlStatisticsTimeSeriesByPlanResponse) String

func (response SummarizeSqlStatisticsTimeSeriesByPlanResponse) String() string

type SummarizeSqlStatisticsTimeSeriesRequest

SummarizeSqlStatisticsTimeSeriesRequest wrapper for the SummarizeSqlStatisticsTimeSeries operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/opsi/SummarizeSqlStatisticsTimeSeries.go.html to see an example of how to use SummarizeSqlStatisticsTimeSeriesRequest.

type SummarizeSqlStatisticsTimeSeriesRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Unique SQL_ID for a SQL Statement.
    // Example: `6rgjh9bjmy2s7`
    SqlIdentifier *string `mandatory:"true" contributesTo:"query" name:"sqlIdentifier"`

    // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`

    // Specify time period in ISO 8601 format with respect to current time.
    // Default is last 30 days represented by P30D.
    // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
    // Examples  P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
    AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`

    // Analysis start time in UTC in ISO 8601 format(inclusive).
    // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
    // The minimum allowed value is 2 years prior to the current day.
    // timeIntervalStart and timeIntervalEnd parameters are used together.
    // If analysisTimeInterval is specified, this parameter is ignored.
    TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`

    // Analysis end time in UTC in ISO 8601 format(exclusive).
    // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
    // timeIntervalStart and timeIntervalEnd are used together.
    // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
    TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`

    // For list pagination. The value of the `opc-next-page` response header from
    // the previous "List" call. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (SummarizeSqlStatisticsTimeSeriesRequest) HTTPRequest

func (request SummarizeSqlStatisticsTimeSeriesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SummarizeSqlStatisticsTimeSeriesRequest) RetryPolicy

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

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

func (SummarizeSqlStatisticsTimeSeriesRequest) String

func (request SummarizeSqlStatisticsTimeSeriesRequest) String() string

type SummarizeSqlStatisticsTimeSeriesResponse

SummarizeSqlStatisticsTimeSeriesResponse wrapper for the SummarizeSqlStatisticsTimeSeries operation

type SummarizeSqlStatisticsTimeSeriesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of SqlStatisticsTimeSeriesAggregationCollection instances
    SqlStatisticsTimeSeriesAggregationCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (SummarizeSqlStatisticsTimeSeriesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (SummarizeSqlStatisticsTimeSeriesResponse) String

func (response SummarizeSqlStatisticsTimeSeriesResponse) String() string

type UsageUnitEnum

UsageUnitEnum Enum with underlying type: string

type UsageUnitEnum string

Set of constants representing the allowable values for UsageUnitEnum

const (
    UsageUnitCores   UsageUnitEnum = "CORES"
    UsageUnitGb      UsageUnitEnum = "GB"
    UsageUnitMbps    UsageUnitEnum = "MBPS"
    UsageUnitPercent UsageUnitEnum = "PERCENT"
)

func GetUsageUnitEnumValues

func GetUsageUnitEnumValues() []UsageUnitEnum

GetUsageUnitEnumValues Enumerates the set of values for UsageUnitEnum