Versions in this module Expand all Collapse all v38 v38.1.0 Apr 6, 2021 v38.0.0 Mar 30, 2021 Changes in this version + type AggregatedDatapoint struct + Timestamp *common.SDKTime + Value *float64 + func (m AggregatedDatapoint) String() string + type Alarm struct + Body *string + CompartmentId *string + DefinedTags map[string]map[string]interface{} + Destinations []string + DisplayName *string + FreeformTags map[string]string + Id *string + IsEnabled *bool + LifecycleState AlarmLifecycleStateEnum + MetricCompartmentId *string + MetricCompartmentIdInSubtree *bool + Namespace *string + PendingDuration *string + Query *string + RepeatNotificationDuration *string + Resolution *string + ResourceGroup *string + Severity AlarmSeverityEnum + Suppression *Suppression + TimeCreated *common.SDKTime + TimeUpdated *common.SDKTime + func (m Alarm) String() string + type AlarmHistoryCollection struct + AlarmId *string + Entries []AlarmHistoryEntry + IsEnabled *bool + func (m AlarmHistoryCollection) String() string + type AlarmHistoryEntry struct + Summary *string + Timestamp *common.SDKTime + TimestampTriggered *common.SDKTime + func (m AlarmHistoryEntry) String() string + type AlarmLifecycleStateEnum string + const AlarmLifecycleStateActive + const AlarmLifecycleStateDeleted + const AlarmLifecycleStateDeleting + func GetAlarmLifecycleStateEnumValues() []AlarmLifecycleStateEnum + type AlarmSeverityEnum string + const AlarmSeverityCritical + const AlarmSeverityError + const AlarmSeverityInfo + const AlarmSeverityWarning + func GetAlarmSeverityEnumValues() []AlarmSeverityEnum + type AlarmStatusSummary struct + DisplayName *string + Id *string + Severity AlarmStatusSummarySeverityEnum + Status AlarmStatusSummaryStatusEnum + Suppression *Suppression + TimestampTriggered *common.SDKTime + func (m AlarmStatusSummary) String() string + type AlarmStatusSummarySeverityEnum string + const AlarmStatusSummarySeverityCritical + const AlarmStatusSummarySeverityError + const AlarmStatusSummarySeverityInfo + const AlarmStatusSummarySeverityWarning + func GetAlarmStatusSummarySeverityEnumValues() []AlarmStatusSummarySeverityEnum + type AlarmStatusSummaryStatusEnum string + const AlarmStatusSummaryStatusFiring + const AlarmStatusSummaryStatusOk + const AlarmStatusSummaryStatusSuspended + func GetAlarmStatusSummaryStatusEnumValues() []AlarmStatusSummaryStatusEnum + type AlarmSummary struct + CompartmentId *string + DefinedTags map[string]map[string]interface{} + Destinations []string + DisplayName *string + FreeformTags map[string]string + Id *string + IsEnabled *bool + LifecycleState AlarmLifecycleStateEnum + MetricCompartmentId *string + Namespace *string + Query *string + Severity AlarmSummarySeverityEnum + Suppression *Suppression + func (m AlarmSummary) String() string + type AlarmSummarySeverityEnum string + const AlarmSummarySeverityCritical + const AlarmSummarySeverityError + const AlarmSummarySeverityInfo + const AlarmSummarySeverityWarning + func GetAlarmSummarySeverityEnumValues() []AlarmSummarySeverityEnum + type ChangeAlarmCompartmentDetails struct + CompartmentId *string + func (m ChangeAlarmCompartmentDetails) String() string + type ChangeAlarmCompartmentRequest struct + AlarmId *string + IfMatch *string + OpcRequestId *string + OpcRetryToken *string + RequestMetadata common.RequestMetadata + func (request ChangeAlarmCompartmentRequest) HTTPRequest(method, path string) (http.Request, error) + func (request ChangeAlarmCompartmentRequest) RetryPolicy() *common.RetryPolicy + func (request ChangeAlarmCompartmentRequest) String() string + type ChangeAlarmCompartmentResponse struct + OpcRequestId *string + RawResponse *http.Response + func (response ChangeAlarmCompartmentResponse) HTTPResponse() *http.Response + func (response ChangeAlarmCompartmentResponse) String() string + type CreateAlarmDetails struct + Body *string + CompartmentId *string + DefinedTags map[string]map[string]interface{} + Destinations []string + DisplayName *string + FreeformTags map[string]string + IsEnabled *bool + MetricCompartmentId *string + MetricCompartmentIdInSubtree *bool + Namespace *string + PendingDuration *string + Query *string + RepeatNotificationDuration *string + Resolution *string + ResourceGroup *string + Severity AlarmSeverityEnum + Suppression *Suppression + func (m CreateAlarmDetails) String() string + type CreateAlarmRequest struct + OpcRequestId *string + OpcRetryToken *string + RequestMetadata common.RequestMetadata + func (request CreateAlarmRequest) HTTPRequest(method, path string) (http.Request, error) + func (request CreateAlarmRequest) RetryPolicy() *common.RetryPolicy + func (request CreateAlarmRequest) String() string + type CreateAlarmResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response CreateAlarmResponse) HTTPResponse() *http.Response + func (response CreateAlarmResponse) String() string + type Datapoint struct + Count *int + Timestamp *common.SDKTime + Value *float64 + func (m Datapoint) String() string + type DeleteAlarmRequest struct + AlarmId *string + IfMatch *string + OpcRequestId *string + RequestMetadata common.RequestMetadata + func (request DeleteAlarmRequest) HTTPRequest(method, path string) (http.Request, error) + func (request DeleteAlarmRequest) RetryPolicy() *common.RetryPolicy + func (request DeleteAlarmRequest) String() string + type DeleteAlarmResponse struct + OpcRequestId *string + RawResponse *http.Response + func (response DeleteAlarmResponse) HTTPResponse() *http.Response + func (response DeleteAlarmResponse) String() string + type FailedMetricRecord struct + Message *string + MetricData *MetricDataDetails + func (m FailedMetricRecord) String() string + type GetAlarmHistoryAlarmHistorytypeEnum string + const GetAlarmHistoryAlarmHistorytypeHistory + const GetAlarmHistoryAlarmHistorytypeTransitionHistory + func GetGetAlarmHistoryAlarmHistorytypeEnumValues() []GetAlarmHistoryAlarmHistorytypeEnum + type GetAlarmHistoryRequest struct + AlarmHistorytype GetAlarmHistoryAlarmHistorytypeEnum + AlarmId *string + Limit *int + OpcRequestId *string + Page *string + RequestMetadata common.RequestMetadata + TimestampGreaterThanOrEqualTo *common.SDKTime + TimestampLessThan *common.SDKTime + func (request GetAlarmHistoryRequest) HTTPRequest(method, path string) (http.Request, error) + func (request GetAlarmHistoryRequest) RetryPolicy() *common.RetryPolicy + func (request GetAlarmHistoryRequest) String() string + type GetAlarmHistoryResponse struct + OpcNextPage *string + OpcRequestId *string + RawResponse *http.Response + func (response GetAlarmHistoryResponse) HTTPResponse() *http.Response + func (response GetAlarmHistoryResponse) String() string + type GetAlarmRequest struct + AlarmId *string + OpcRequestId *string + RequestMetadata common.RequestMetadata + func (request GetAlarmRequest) HTTPRequest(method, path string) (http.Request, error) + func (request GetAlarmRequest) RetryPolicy() *common.RetryPolicy + func (request GetAlarmRequest) String() string + type GetAlarmResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response GetAlarmResponse) HTTPResponse() *http.Response + func (response GetAlarmResponse) String() string + type ListAlarmsRequest struct + CompartmentId *string + CompartmentIdInSubtree *bool + DisplayName *string + LifecycleState AlarmLifecycleStateEnum + Limit *int + OpcRequestId *string + Page *string + RequestMetadata common.RequestMetadata + SortBy ListAlarmsSortByEnum + SortOrder ListAlarmsSortOrderEnum + func (request ListAlarmsRequest) HTTPRequest(method, path string) (http.Request, error) + func (request ListAlarmsRequest) RetryPolicy() *common.RetryPolicy + func (request ListAlarmsRequest) String() string + type ListAlarmsResponse struct + Items []AlarmSummary + OpcNextPage *string + OpcRequestId *string + RawResponse *http.Response + func (response ListAlarmsResponse) HTTPResponse() *http.Response + func (response ListAlarmsResponse) String() string + type ListAlarmsSortByEnum string + const ListAlarmsSortByDisplayname + const ListAlarmsSortBySeverity + func GetListAlarmsSortByEnumValues() []ListAlarmsSortByEnum + type ListAlarmsSortOrderEnum string + const ListAlarmsSortOrderAsc + const ListAlarmsSortOrderDesc + func GetListAlarmsSortOrderEnumValues() []ListAlarmsSortOrderEnum + type ListAlarmsStatusRequest struct + CompartmentId *string + CompartmentIdInSubtree *bool + DisplayName *string + Limit *int + OpcRequestId *string + Page *string + RequestMetadata common.RequestMetadata + SortBy ListAlarmsStatusSortByEnum + SortOrder ListAlarmsStatusSortOrderEnum + func (request ListAlarmsStatusRequest) HTTPRequest(method, path string) (http.Request, error) + func (request ListAlarmsStatusRequest) RetryPolicy() *common.RetryPolicy + func (request ListAlarmsStatusRequest) String() string + type ListAlarmsStatusResponse struct + Items []AlarmStatusSummary + OpcNextPage *string + OpcRequestId *string + RawResponse *http.Response + func (response ListAlarmsStatusResponse) HTTPResponse() *http.Response + func (response ListAlarmsStatusResponse) String() string + type ListAlarmsStatusSortByEnum string + const ListAlarmsStatusSortByDisplayname + const ListAlarmsStatusSortBySeverity + func GetListAlarmsStatusSortByEnumValues() []ListAlarmsStatusSortByEnum + type ListAlarmsStatusSortOrderEnum string + const ListAlarmsStatusSortOrderAsc + const ListAlarmsStatusSortOrderDesc + func GetListAlarmsStatusSortOrderEnumValues() []ListAlarmsStatusSortOrderEnum + type ListMetricsDetails struct + DimensionFilters map[string]string + GroupBy []string + Name *string + Namespace *string + ResourceGroup *string + SortBy ListMetricsDetailsSortByEnum + SortOrder ListMetricsDetailsSortOrderEnum + func (m ListMetricsDetails) String() string + type ListMetricsDetailsSortByEnum string + const ListMetricsDetailsSortByName + const ListMetricsDetailsSortByNamespace + const ListMetricsDetailsSortByResourcegroup + func GetListMetricsDetailsSortByEnumValues() []ListMetricsDetailsSortByEnum + type ListMetricsDetailsSortOrderEnum string + const ListMetricsDetailsSortOrderAsc + const ListMetricsDetailsSortOrderDesc + func GetListMetricsDetailsSortOrderEnumValues() []ListMetricsDetailsSortOrderEnum + type ListMetricsRequest struct + CompartmentId *string + CompartmentIdInSubtree *bool + Limit *int + OpcRequestId *string + Page *string + RequestMetadata common.RequestMetadata + func (request ListMetricsRequest) HTTPRequest(method, path string) (http.Request, error) + func (request ListMetricsRequest) RetryPolicy() *common.RetryPolicy + func (request ListMetricsRequest) String() string + type ListMetricsResponse struct + Items []Metric + OpcNextPage *string + OpcRequestId *string + RawResponse *http.Response + func (response ListMetricsResponse) HTTPResponse() *http.Response + func (response ListMetricsResponse) String() string + type Metric struct + CompartmentId *string + Dimensions map[string]string + Name *string + Namespace *string + ResourceGroup *string + func (m Metric) String() string + type MetricData struct + AggregatedDatapoints []AggregatedDatapoint + CompartmentId *string + Dimensions map[string]string + Metadata map[string]string + Name *string + Namespace *string + Resolution *string + ResourceGroup *string + func (m MetricData) String() string + type MetricDataDetails struct + CompartmentId *string + Datapoints []Datapoint + Dimensions map[string]string + Metadata map[string]string + Name *string + Namespace *string + ResourceGroup *string + func (m MetricDataDetails) String() string + type MonitoringClient struct + func NewMonitoringClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client MonitoringClient, err error) + func NewMonitoringClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client MonitoringClient, err error) + func (client *MonitoringClient) ConfigurationProvider() *common.ConfigurationProvider + func (client *MonitoringClient) SetRegion(region string) + func (client MonitoringClient) ChangeAlarmCompartment(ctx context.Context, request ChangeAlarmCompartmentRequest) (response ChangeAlarmCompartmentResponse, err error) + func (client MonitoringClient) CreateAlarm(ctx context.Context, request CreateAlarmRequest) (response CreateAlarmResponse, err error) + func (client MonitoringClient) DeleteAlarm(ctx context.Context, request DeleteAlarmRequest) (response DeleteAlarmResponse, err error) + func (client MonitoringClient) GetAlarm(ctx context.Context, request GetAlarmRequest) (response GetAlarmResponse, err error) + func (client MonitoringClient) GetAlarmHistory(ctx context.Context, request GetAlarmHistoryRequest) (response GetAlarmHistoryResponse, err error) + func (client MonitoringClient) ListAlarms(ctx context.Context, request ListAlarmsRequest) (response ListAlarmsResponse, err error) + func (client MonitoringClient) ListAlarmsStatus(ctx context.Context, request ListAlarmsStatusRequest) (response ListAlarmsStatusResponse, err error) + func (client MonitoringClient) ListMetrics(ctx context.Context, request ListMetricsRequest) (response ListMetricsResponse, err error) + func (client MonitoringClient) PostMetricData(ctx context.Context, request PostMetricDataRequest) (response PostMetricDataResponse, err error) + func (client MonitoringClient) RemoveAlarmSuppression(ctx context.Context, request RemoveAlarmSuppressionRequest) (response RemoveAlarmSuppressionResponse, err error) + func (client MonitoringClient) SummarizeMetricsData(ctx context.Context, request SummarizeMetricsDataRequest) (response SummarizeMetricsDataResponse, err error) + func (client MonitoringClient) UpdateAlarm(ctx context.Context, request UpdateAlarmRequest) (response UpdateAlarmResponse, err error) + type PostMetricDataDetails struct + BatchAtomicity PostMetricDataDetailsBatchAtomicityEnum + MetricData []MetricDataDetails + func (m PostMetricDataDetails) String() string + type PostMetricDataDetailsBatchAtomicityEnum string + const PostMetricDataDetailsBatchAtomicityAtomic + const PostMetricDataDetailsBatchAtomicityNonAtomic + func GetPostMetricDataDetailsBatchAtomicityEnumValues() []PostMetricDataDetailsBatchAtomicityEnum + type PostMetricDataRequest struct + OpcRequestId *string + RequestMetadata common.RequestMetadata + func (request PostMetricDataRequest) HTTPRequest(method, path string) (http.Request, error) + func (request PostMetricDataRequest) RetryPolicy() *common.RetryPolicy + func (request PostMetricDataRequest) String() string + type PostMetricDataResponse struct + OpcRequestId *string + RawResponse *http.Response + func (response PostMetricDataResponse) HTTPResponse() *http.Response + func (response PostMetricDataResponse) String() string + type PostMetricDataResponseDetails struct + FailedMetrics []FailedMetricRecord + FailedMetricsCount *int + func (m PostMetricDataResponseDetails) String() string + type RemoveAlarmSuppressionRequest struct + AlarmId *string + IfMatch *string + OpcRequestId *string + RequestMetadata common.RequestMetadata + func (request RemoveAlarmSuppressionRequest) HTTPRequest(method, path string) (http.Request, error) + func (request RemoveAlarmSuppressionRequest) RetryPolicy() *common.RetryPolicy + func (request RemoveAlarmSuppressionRequest) String() string + type RemoveAlarmSuppressionResponse struct + OpcRequestId *string + RawResponse *http.Response + func (response RemoveAlarmSuppressionResponse) HTTPResponse() *http.Response + func (response RemoveAlarmSuppressionResponse) String() string + type SummarizeMetricsDataDetails struct + EndTime *common.SDKTime + Namespace *string + Query *string + Resolution *string + ResourceGroup *string + StartTime *common.SDKTime + func (m SummarizeMetricsDataDetails) String() string + type SummarizeMetricsDataRequest struct + CompartmentId *string + CompartmentIdInSubtree *bool + OpcRequestId *string + RequestMetadata common.RequestMetadata + func (request SummarizeMetricsDataRequest) HTTPRequest(method, path string) (http.Request, error) + func (request SummarizeMetricsDataRequest) RetryPolicy() *common.RetryPolicy + func (request SummarizeMetricsDataRequest) String() string + type SummarizeMetricsDataResponse struct + Items []MetricData + OpcRequestId *string + RawResponse *http.Response + func (response SummarizeMetricsDataResponse) HTTPResponse() *http.Response + func (response SummarizeMetricsDataResponse) String() string + type Suppression struct + Description *string + TimeSuppressFrom *common.SDKTime + TimeSuppressUntil *common.SDKTime + func (m Suppression) String() string + type UpdateAlarmDetails struct + Body *string + CompartmentId *string + DefinedTags map[string]map[string]interface{} + Destinations []string + DisplayName *string + FreeformTags map[string]string + IsEnabled *bool + MetricCompartmentId *string + MetricCompartmentIdInSubtree *bool + Namespace *string + PendingDuration *string + Query *string + RepeatNotificationDuration *string + Resolution *string + ResourceGroup *string + Severity AlarmSeverityEnum + Suppression *Suppression + func (m UpdateAlarmDetails) String() string + type UpdateAlarmRequest struct + AlarmId *string + IfMatch *string + OpcRequestId *string + RequestMetadata common.RequestMetadata + func (request UpdateAlarmRequest) HTTPRequest(method, path string) (http.Request, error) + func (request UpdateAlarmRequest) RetryPolicy() *common.RetryPolicy + func (request UpdateAlarmRequest) String() string + type UpdateAlarmResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response UpdateAlarmResponse) HTTPResponse() *http.Response + func (response UpdateAlarmResponse) String() string Other modules containing this package github.com/oracle/oci-go-sdk github.com/oracle/oci-go-sdk/v25 github.com/oracle/oci-go-sdk/v26 github.com/oracle/oci-go-sdk/v27 github.com/oracle/oci-go-sdk/v28 github.com/oracle/oci-go-sdk/v29 github.com/oracle/oci-go-sdk/v30 github.com/oracle/oci-go-sdk/v31 github.com/oracle/oci-go-sdk/v32 github.com/oracle/oci-go-sdk/v33 github.com/oracle/oci-go-sdk/v34 github.com/oracle/oci-go-sdk/v35 github.com/oracle/oci-go-sdk/v36 github.com/oracle/oci-go-sdk/v37 github.com/oracle/oci-go-sdk/v39 github.com/oracle/oci-go-sdk/v40 github.com/oracle/oci-go-sdk/v41 github.com/oracle/oci-go-sdk/v42 github.com/oracle/oci-go-sdk/v43 github.com/oracle/oci-go-sdk/v44 github.com/oracle/oci-go-sdk/v45 github.com/oracle/oci-go-sdk/v46 github.com/oracle/oci-go-sdk/v47 github.com/oracle/oci-go-sdk/v48 github.com/oracle/oci-go-sdk/v49 github.com/oracle/oci-go-sdk/v50 github.com/oracle/oci-go-sdk/v51 github.com/oracle/oci-go-sdk/v52 github.com/oracle/oci-go-sdk/v53 github.com/oracle/oci-go-sdk/v54 github.com/oracle/oci-go-sdk/v55 github.com/oracle/oci-go-sdk/v56 github.com/oracle/oci-go-sdk/v57 github.com/oracle/oci-go-sdk/v58 github.com/oracle/oci-go-sdk/v59 github.com/oracle/oci-go-sdk/v60 github.com/oracle/oci-go-sdk/v61 github.com/oracle/oci-go-sdk/v62 github.com/oracle/oci-go-sdk/v63 github.com/oracle/oci-go-sdk/v64 github.com/oracle/oci-go-sdk/v65