...

Package apmconfig

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

Overview ▾

Index ▾

type Apdex
    func (m Apdex) String() string
type ApdexRules
    func (m ApdexRules) GetDefinedTags() map[string]map[string]interface{}
    func (m ApdexRules) GetFreeformTags() map[string]string
    func (m ApdexRules) GetId() *string
    func (m ApdexRules) GetTimeCreated() *common.SDKTime
    func (m ApdexRules) GetTimeUpdated() *common.SDKTime
    func (m ApdexRules) MarshalJSON() (buff []byte, e error)
    func (m ApdexRules) String() string
type ApdexRulesSummary
    func (m ApdexRulesSummary) GetDefinedTags() map[string]map[string]interface{}
    func (m ApdexRulesSummary) GetFreeformTags() map[string]string
    func (m ApdexRulesSummary) GetId() *string
    func (m ApdexRulesSummary) GetTimeCreated() *common.SDKTime
    func (m ApdexRulesSummary) GetTimeUpdated() *common.SDKTime
    func (m ApdexRulesSummary) MarshalJSON() (buff []byte, e error)
    func (m ApdexRulesSummary) String() string
type Config
type ConfigClient
    func NewConfigClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ConfigClient, err error)
    func NewConfigClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ConfigClient, err error)
    func (client *ConfigClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client ConfigClient) CreateConfig(ctx context.Context, request CreateConfigRequest) (response CreateConfigResponse, err error)
    func (client ConfigClient) DeleteConfig(ctx context.Context, request DeleteConfigRequest) (response DeleteConfigResponse, err error)
    func (client ConfigClient) GetConfig(ctx context.Context, request GetConfigRequest) (response GetConfigResponse, err error)
    func (client ConfigClient) ListConfigs(ctx context.Context, request ListConfigsRequest) (response ListConfigsResponse, err error)
    func (client *ConfigClient) SetRegion(region string)
    func (client ConfigClient) UpdateConfig(ctx context.Context, request UpdateConfigRequest) (response UpdateConfigResponse, err error)
type ConfigCollection
    func (m ConfigCollection) String() string
    func (m *ConfigCollection) UnmarshalJSON(data []byte) (e error)
type ConfigSummary
type ConfigTypesEnum
    func GetConfigTypesEnumValues() []ConfigTypesEnum
type CreateApdexRulesDetails
    func (m CreateApdexRulesDetails) GetDefinedTags() map[string]map[string]interface{}
    func (m CreateApdexRulesDetails) GetFreeformTags() map[string]string
    func (m CreateApdexRulesDetails) MarshalJSON() (buff []byte, e error)
    func (m CreateApdexRulesDetails) String() string
type CreateConfigDetails
type CreateConfigRequest
    func (request CreateConfigRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateConfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateConfigRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateConfigRequest) String() string
type CreateConfigResponse
    func (response CreateConfigResponse) HTTPResponse() *http.Response
    func (response CreateConfigResponse) String() string
type CreateMetricGroupDetails
    func (m CreateMetricGroupDetails) GetDefinedTags() map[string]map[string]interface{}
    func (m CreateMetricGroupDetails) GetFreeformTags() map[string]string
    func (m CreateMetricGroupDetails) MarshalJSON() (buff []byte, e error)
    func (m CreateMetricGroupDetails) String() string
type CreateSpanFilterDetails
    func (m CreateSpanFilterDetails) GetDefinedTags() map[string]map[string]interface{}
    func (m CreateSpanFilterDetails) GetFreeformTags() map[string]string
    func (m CreateSpanFilterDetails) MarshalJSON() (buff []byte, e error)
    func (m CreateSpanFilterDetails) String() string
type DeleteConfigRequest
    func (request DeleteConfigRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteConfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteConfigRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteConfigRequest) String() string
type DeleteConfigResponse
    func (response DeleteConfigResponse) HTTPResponse() *http.Response
    func (response DeleteConfigResponse) String() string
type Dimension
    func (m Dimension) String() string
type GetConfigRequest
    func (request GetConfigRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetConfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetConfigRequest) RetryPolicy() *common.RetryPolicy
    func (request GetConfigRequest) String() string
type GetConfigResponse
    func (response GetConfigResponse) HTTPResponse() *http.Response
    func (response GetConfigResponse) String() string
type ListConfigsRequest
    func (request ListConfigsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListConfigsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListConfigsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListConfigsRequest) String() string
type ListConfigsResponse
    func (response ListConfigsResponse) HTTPResponse() *http.Response
    func (response ListConfigsResponse) String() string
type ListConfigsSortByEnum
    func GetListConfigsSortByEnumValues() []ListConfigsSortByEnum
type ListConfigsSortOrderEnum
    func GetListConfigsSortOrderEnumValues() []ListConfigsSortOrderEnum
type Metric
    func (m Metric) String() string
type MetricGroup
    func (m MetricGroup) GetDefinedTags() map[string]map[string]interface{}
    func (m MetricGroup) GetFreeformTags() map[string]string
    func (m MetricGroup) GetId() *string
    func (m MetricGroup) GetTimeCreated() *common.SDKTime
    func (m MetricGroup) GetTimeUpdated() *common.SDKTime
    func (m MetricGroup) MarshalJSON() (buff []byte, e error)
    func (m MetricGroup) String() string
type MetricGroupSummary
    func (m MetricGroupSummary) GetDefinedTags() map[string]map[string]interface{}
    func (m MetricGroupSummary) GetFreeformTags() map[string]string
    func (m MetricGroupSummary) GetId() *string
    func (m MetricGroupSummary) GetTimeCreated() *common.SDKTime
    func (m MetricGroupSummary) GetTimeUpdated() *common.SDKTime
    func (m MetricGroupSummary) MarshalJSON() (buff []byte, e error)
    func (m MetricGroupSummary) String() string
type SortOrdersEnum
    func GetSortOrdersEnumValues() []SortOrdersEnum
type SpanFilter
    func (m SpanFilter) GetDefinedTags() map[string]map[string]interface{}
    func (m SpanFilter) GetFreeformTags() map[string]string
    func (m SpanFilter) GetId() *string
    func (m SpanFilter) GetTimeCreated() *common.SDKTime
    func (m SpanFilter) GetTimeUpdated() *common.SDKTime
    func (m SpanFilter) MarshalJSON() (buff []byte, e error)
    func (m SpanFilter) String() string
type SpanFilterSummary
    func (m SpanFilterSummary) GetDefinedTags() map[string]map[string]interface{}
    func (m SpanFilterSummary) GetFreeformTags() map[string]string
    func (m SpanFilterSummary) GetId() *string
    func (m SpanFilterSummary) GetTimeCreated() *common.SDKTime
    func (m SpanFilterSummary) GetTimeUpdated() *common.SDKTime
    func (m SpanFilterSummary) MarshalJSON() (buff []byte, e error)
    func (m SpanFilterSummary) String() string
type UpdateApdexRulesDetails
    func (m UpdateApdexRulesDetails) GetDefinedTags() map[string]map[string]interface{}
    func (m UpdateApdexRulesDetails) GetFreeformTags() map[string]string
    func (m UpdateApdexRulesDetails) MarshalJSON() (buff []byte, e error)
    func (m UpdateApdexRulesDetails) String() string
type UpdateConfigDetails
type UpdateConfigRequest
    func (request UpdateConfigRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateConfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateConfigRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateConfigRequest) String() string
type UpdateConfigResponse
    func (response UpdateConfigResponse) HTTPResponse() *http.Response
    func (response UpdateConfigResponse) String() string
type UpdateMetricGroupDetails
    func (m UpdateMetricGroupDetails) GetDefinedTags() map[string]map[string]interface{}
    func (m UpdateMetricGroupDetails) GetFreeformTags() map[string]string
    func (m UpdateMetricGroupDetails) MarshalJSON() (buff []byte, e error)
    func (m UpdateMetricGroupDetails) String() string
type UpdateSpanFilterDetails
    func (m UpdateSpanFilterDetails) GetDefinedTags() map[string]map[string]interface{}
    func (m UpdateSpanFilterDetails) GetFreeformTags() map[string]string
    func (m UpdateSpanFilterDetails) MarshalJSON() (buff []byte, e error)
    func (m UpdateSpanFilterDetails) String() string

Package files

apdex.go apdex_rules.go apdex_rules_summary.go apmconfig_config_client.go config.go config_collection.go config_summary.go config_types.go create_apdex_rules_details.go create_config_details.go create_config_request_response.go create_metric_group_details.go create_span_filter_details.go delete_config_request_response.go dimension.go get_config_request_response.go list_configs_request_response.go metric.go metric_group.go metric_group_summary.go sort_orders.go span_filter.go span_filter_summary.go update_apdex_rules_details.go update_config_details.go update_config_request_response.go update_metric_group_details.go update_span_filter_details.go

type Apdex

Apdex An Apdex configuration rule. The Apdex Score is computed based on how the response time of a span compares to two predefined threshold values. The first threshold defines the maximum response time that can still be considered satisfactory for the end user. The second one defines the maximum response time that can be considered tolerable. All times larger than that will be considered frustrating for the end user. An Apdex configuration rule works by selecting a subset of spans based on a filter expression and applying the two threshold comparisons to compute a score for each of the selected spans. The rule has a property "isApplyToErrorSpans" that controls whether or not to compute the Apdex for spans that have have been marked as errors. If this property is set to true, then error spans will have their Apdex score computed the same as non-error ones. If set to false, then computation for error spans will be skipped, and the score will be set to "frustrating" regardless of the configured thresholds. The default is "false". The property "isEnabled" controls whether an Apdex score is computed for the spans. Can be used to disable Apdex scores for certain spans. The default is "true". The property "priority" is used to define the importance of the rule when it's part of a rule set. Lower values indicate a higher priority. Rules with higher priorities will be evaluated first in the rule set. The priority of the rules must be unique within a rule set.

type Apdex struct {

    // The string that defines the Span Filter expression.
    FilterText *string `mandatory:"true" json:"filterText"`

    // The priority controls the order in which multiple rules in a rule set are applied. Lower values indicate higher
    // priorities. Rules with higher priority are applied first, and once a match is found, the rest of the rules are
    // ignored. Rules within the same rule set cannot have the same priority.
    Priority *int `mandatory:"true" json:"priority"`

    // Specifies if the Apdex rule will be computed for spans matching the rule. Can be used to make sure certain
    // spans don't get an Apdex score. The default is "true".
    IsEnabled *bool `mandatory:"false" json:"isEnabled"`

    // The maximum response time in milliseconds that will be considered satisfactory for the end user.
    SatisfiedResponseTime *int `mandatory:"false" json:"satisfiedResponseTime"`

    // The maximum response time in milliseconds that will be considered tolerable for the end user. Response
    // times beyond this threshold will be considered frustrating.
    // This value cannot be lower than "satisfiedResponseTime".
    ToleratingResponseTime *int `mandatory:"false" json:"toleratingResponseTime"`

    // If true, the rule will compute the actual Apdex score for spans that have been marked as errors. If false,
    // the rule will always set the Apdex for error spans to frustrating, regardless of the configured thresholds.
    // Default is false.
    IsApplyToErrorSpans *bool `mandatory:"false" json:"isApplyToErrorSpans"`

    // A user-friendly name that provides a short description this rule.
    DisplayName *string `mandatory:"false" json:"displayName"`
}

func (Apdex) String

func (m Apdex) String() string

type ApdexRules

ApdexRules The set of Apdex rules to be used in Apdex computation. In the current version, only one rule set can exist in the configuration. This may change in the future.

type ApdexRules struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the configuration item. An OCID will be generated
    // when the item is created.
    Id *string `mandatory:"false" json:"id"`

    // The time the resource was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2020-02-12T22:47:12.613Z`
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The time the resource was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2020-02-13T22:47:12.613Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

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

    // The name by which this rule set can be displayed to the user.
    DisplayName *string `mandatory:"false" json:"displayName"`

    Rules []Apdex `mandatory:"false" json:"rules"`
}

func (ApdexRules) GetDefinedTags

func (m ApdexRules) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (ApdexRules) GetFreeformTags

func (m ApdexRules) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (ApdexRules) GetId

func (m ApdexRules) GetId() *string

GetId returns Id

func (ApdexRules) GetTimeCreated

func (m ApdexRules) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (ApdexRules) GetTimeUpdated

func (m ApdexRules) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (ApdexRules) MarshalJSON

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

MarshalJSON marshals to json representation

func (ApdexRules) String

func (m ApdexRules) String() string

type ApdexRulesSummary

ApdexRulesSummary The set of Apdex rules to be used in Apdex computation.

type ApdexRulesSummary struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the configuration item. An OCID will be generated
    // when the item is created.
    Id *string `mandatory:"false" json:"id"`

    // The time the resource was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2020-02-12T22:47:12.613Z`
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The time the resource was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2020-02-13T22:47:12.613Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

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

    Rules []Apdex `mandatory:"false" json:"rules"`

    // The name by which this rule set can be displayed to the user.
    DisplayName *string `mandatory:"false" json:"displayName"`
}

func (ApdexRulesSummary) GetDefinedTags

func (m ApdexRulesSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (ApdexRulesSummary) GetFreeformTags

func (m ApdexRulesSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (ApdexRulesSummary) GetId

func (m ApdexRulesSummary) GetId() *string

GetId returns Id

func (ApdexRulesSummary) GetTimeCreated

func (m ApdexRulesSummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (ApdexRulesSummary) GetTimeUpdated

func (m ApdexRulesSummary) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (ApdexRulesSummary) MarshalJSON

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

MarshalJSON marshals to json representation

func (ApdexRulesSummary) String

func (m ApdexRulesSummary) String() string

type Config

Config A configuration item. This item has a number of mutually exclusive properties that can be used to set specific portions of the configuration.

type Config interface {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the configuration item. An OCID will be generated
    // when the item is created.
    GetId() *string

    // The time the resource was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2020-02-12T22:47:12.613Z`
    GetTimeCreated() *common.SDKTime

    // The time the resource was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2020-02-13T22:47:12.613Z`
    GetTimeUpdated() *common.SDKTime

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

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    GetDefinedTags() map[string]map[string]interface{}
}

type ConfigClient

ConfigClient a client for Config

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

func NewConfigClientWithConfigurationProvider

func NewConfigClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ConfigClient, err error)

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

func NewConfigClientWithOboToken

func NewConfigClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ConfigClient, err error)

NewConfigClientWithOboToken Creates a new default Config 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 (*ConfigClient) ConfigurationProvider

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

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

func (ConfigClient) CreateConfig

func (client ConfigClient) CreateConfig(ctx context.Context, request CreateConfigRequest) (response CreateConfigResponse, err error)

CreateConfig Creates a new Configuration item.

See also

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

func (ConfigClient) DeleteConfig

func (client ConfigClient) DeleteConfig(ctx context.Context, request DeleteConfigRequest) (response DeleteConfigResponse, err error)

DeleteConfig Deletes the specified configuration item

See also

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

func (ConfigClient) GetConfig

func (client ConfigClient) GetConfig(ctx context.Context, request GetConfigRequest) (response GetConfigResponse, err error)

GetConfig Get the configuration of the item identified by the OCID.

See also

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

func (ConfigClient) ListConfigs

func (client ConfigClient) ListConfigs(ctx context.Context, request ListConfigsRequest) (response ListConfigsResponse, err error)

ListConfigs Returns all configured items optionally filtered by configuration type

See also

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

func (*ConfigClient) SetRegion

func (client *ConfigClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ConfigClient) UpdateConfig

func (client ConfigClient) UpdateConfig(ctx context.Context, request UpdateConfigRequest) (response UpdateConfigResponse, err error)

UpdateConfig Updates the item.

See also

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

type ConfigCollection

ConfigCollection A collection of configuration entities

type ConfigCollection struct {
    Items []ConfigSummary `mandatory:"true" json:"items"`
}

func (ConfigCollection) String

func (m ConfigCollection) String() string

func (*ConfigCollection) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

type ConfigSummary

ConfigSummary The request body used to update the Configuration entity. It must specify the data to update the item with.

type ConfigSummary interface {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the configuration item. An OCID will be generated
    // when the item is created.
    GetId() *string

    // The time the resource was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2020-02-12T22:47:12.613Z`
    GetTimeCreated() *common.SDKTime

    // The time the resource was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2020-02-13T22:47:12.613Z`
    GetTimeUpdated() *common.SDKTime

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

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    GetDefinedTags() map[string]map[string]interface{}
}

type ConfigTypesEnum

ConfigTypesEnum Enum with underlying type: string

type ConfigTypesEnum string

Set of constants representing the allowable values for ConfigTypesEnum

const (
    ConfigTypesSpanFilter  ConfigTypesEnum = "SPAN_FILTER"
    ConfigTypesMetricGroup ConfigTypesEnum = "METRIC_GROUP"
    ConfigTypesApdex       ConfigTypesEnum = "APDEX"
)

func GetConfigTypesEnumValues

func GetConfigTypesEnumValues() []ConfigTypesEnum

GetConfigTypesEnumValues Enumerates the set of values for ConfigTypesEnum

type CreateApdexRulesDetails

CreateApdexRulesDetails The set of Apdex rules to be used in Apdex computation. In the current version, only one rule set may exist per configuration, and attempting to create a rule set if it already exists will result in an error. This may change in future releases.

type CreateApdexRulesDetails struct {
    Rules []Apdex `mandatory:"true" json:"rules"`

    // The name by which this rule set can be displayed to the user.
    DisplayName *string `mandatory:"true" json:"displayName"`

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

func (CreateApdexRulesDetails) GetDefinedTags

func (m CreateApdexRulesDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateApdexRulesDetails) GetFreeformTags

func (m CreateApdexRulesDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateApdexRulesDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateApdexRulesDetails) String

func (m CreateApdexRulesDetails) String() string

type CreateConfigDetails

CreateConfigDetails The request body used to create new Configuration entities. It must specify the configuration type of the item to create, as well as the actual data to populate the item with.

type CreateConfigDetails interface {

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

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    GetDefinedTags() map[string]map[string]interface{}
}

type CreateConfigRequest

CreateConfigRequest wrapper for the CreateConfig operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/54.0.0/apmconfig/CreateConfig.go.html to see an example of how to use CreateConfigRequest.

type CreateConfigRequest struct {

    // The APM Domain Id the request is intended for.
    ApmDomainId *string `mandatory:"true" contributesTo:"query" name:"apmDomainId"`

    // The configuration details describing the new item
    CreateConfigDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Unique 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"`

    // Indicates that this request is a dry-run.
    // If set to "true", nothing will be modified, only the validation will be performed.
    OpcDryRun *string `mandatory:"false" contributesTo:"header" name:"opc-dry-run"`

    // 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 (CreateConfigRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateConfigRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateConfigRequest) RetryPolicy

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

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

func (CreateConfigRequest) String

func (request CreateConfigRequest) String() string

type CreateConfigResponse

CreateConfigResponse wrapper for the CreateConfig operation

type CreateConfigResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (CreateConfigResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateConfigResponse) String

func (response CreateConfigResponse) String() string

type CreateMetricGroupDetails

CreateMetricGroupDetails A Metric Group.

type CreateMetricGroupDetails struct {

    // The name of this metric group
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a Span Filter. The filterId is mandatory for the creation
    // of MetricGroups. A filterId will be generated when a Span Filter is created.
    FilterId *string `mandatory:"true" json:"filterId"`

    Metrics []Metric `mandatory:"true" json:"metrics"`

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

    // The namespace to write the metrics to
    Namespace *string `mandatory:"false" json:"namespace"`

    // A list of dimensions for this metric
    Dimensions []Dimension `mandatory:"false" json:"dimensions"`
}

func (CreateMetricGroupDetails) GetDefinedTags

func (m CreateMetricGroupDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateMetricGroupDetails) GetFreeformTags

func (m CreateMetricGroupDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateMetricGroupDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateMetricGroupDetails) String

func (m CreateMetricGroupDetails) String() string

type CreateSpanFilterDetails

CreateSpanFilterDetails A span filter is a named setting that specifies filter criteria to match a subset of the spans.

type CreateSpanFilterDetails struct {

    // The name by which this filter can be displayed in the UI.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The string that defines the Span Filter expression.
    FilterText *string `mandatory:"true" json:"filterText"`

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

    // An optional string that describes what the filter is intended or used for.
    Description *string `mandatory:"false" json:"description"`
}

func (CreateSpanFilterDetails) GetDefinedTags

func (m CreateSpanFilterDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateSpanFilterDetails) GetFreeformTags

func (m CreateSpanFilterDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateSpanFilterDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateSpanFilterDetails) String

func (m CreateSpanFilterDetails) String() string

type DeleteConfigRequest

DeleteConfigRequest wrapper for the DeleteConfig operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/54.0.0/apmconfig/DeleteConfig.go.html to see an example of how to use DeleteConfigRequest.

type DeleteConfigRequest struct {

    // The APM Domain Id the request is intended for.
    ApmDomainId *string `mandatory:"true" contributesTo:"query" name:"apmDomainId"`

    // The OCID of the ConfiguredItem.
    ConfigId *string `mandatory:"true" contributesTo:"path" name:"configId"`

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

    // Unique 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 (DeleteConfigRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteConfigRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteConfigRequest) RetryPolicy

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

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

func (DeleteConfigRequest) String

func (request DeleteConfigRequest) String() string

type DeleteConfigResponse

DeleteConfigResponse wrapper for the DeleteConfig operation

type DeleteConfigResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (DeleteConfigResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteConfigResponse) String

func (response DeleteConfigResponse) String() string

type Dimension

Dimension A dimension is a label that can be used to describe or group metrics.

type Dimension struct {

    // The dimension name
    Name *string `mandatory:"true" json:"name"`

    // The source to populate the dimension. Must be NULL at the moment.
    ValueSource *string `mandatory:"false" json:"valueSource"`
}

func (Dimension) String

func (m Dimension) String() string

type GetConfigRequest

GetConfigRequest wrapper for the GetConfig operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/54.0.0/apmconfig/GetConfig.go.html to see an example of how to use GetConfigRequest.

type GetConfigRequest struct {

    // The APM Domain Id the request is intended for.
    ApmDomainId *string `mandatory:"true" contributesTo:"query" name:"apmDomainId"`

    // The OCID of the ConfiguredItem.
    ConfigId *string `mandatory:"true" contributesTo:"path" name:"configId"`

    // Unique 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 (GetConfigRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetConfigRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetConfigRequest) RetryPolicy

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

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

func (GetConfigRequest) String

func (request GetConfigRequest) String() string

type GetConfigResponse

GetConfigResponse wrapper for the GetConfig operation

type GetConfigResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (GetConfigResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetConfigResponse) String

func (response GetConfigResponse) String() string

type ListConfigsRequest

ListConfigsRequest wrapper for the ListConfigs operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/54.0.0/apmconfig/ListConfigs.go.html to see an example of how to use ListConfigsRequest.

type ListConfigsRequest struct {

    // The APM Domain Id the request is intended for.
    ApmDomainId *string `mandatory:"true" contributesTo:"query" name:"apmDomainId"`

    // Unique 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"`

    // A filter to match only configuration items of the given type.
    // Supported values are SPAN_FILTER, METRIC_GROUP, and APDEX.
    ConfigType *string `mandatory:"false" contributesTo:"query" name:"configType"`

    // A filter to return only resources that match the entire display name given.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // 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/iaas/Content/API/Concepts/usingapi.htm#nine).
    // Example: `50`
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

    // The field to sort by. You can provide one sort by (`sortBy`). Default order for displayName, timeCreated and
    // timeUpdated is ascending. The displayName sort by is case sensitive.
    SortBy ListConfigsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

func (ListConfigsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListConfigsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListConfigsRequest) RetryPolicy

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

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

func (ListConfigsRequest) String

func (request ListConfigsRequest) String() string

type ListConfigsResponse

ListConfigsResponse wrapper for the ListConfigs operation

type ListConfigsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of ConfigCollection instances
    ConfigCollection `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 (ListConfigsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListConfigsResponse) String

func (response ListConfigsResponse) String() string

type ListConfigsSortByEnum

ListConfigsSortByEnum Enum with underlying type: string

type ListConfigsSortByEnum string

Set of constants representing the allowable values for ListConfigsSortByEnum

const (
    ListConfigsSortByDisplayname ListConfigsSortByEnum = "displayName"
    ListConfigsSortByTimecreated ListConfigsSortByEnum = "timeCreated"
    ListConfigsSortByTimeupdated ListConfigsSortByEnum = "timeUpdated"
)

func GetListConfigsSortByEnumValues

func GetListConfigsSortByEnumValues() []ListConfigsSortByEnum

GetListConfigsSortByEnumValues Enumerates the set of values for ListConfigsSortByEnum

type ListConfigsSortOrderEnum

ListConfigsSortOrderEnum Enum with underlying type: string

type ListConfigsSortOrderEnum string

Set of constants representing the allowable values for ListConfigsSortOrderEnum

const (
    ListConfigsSortOrderAsc  ListConfigsSortOrderEnum = "ASC"
    ListConfigsSortOrderDesc ListConfigsSortOrderEnum = "DESC"
)

func GetListConfigsSortOrderEnumValues

func GetListConfigsSortOrderEnumValues() []ListConfigsSortOrderEnum

GetListConfigsSortOrderEnumValues Enumerates the set of values for ListConfigsSortOrderEnum

type Metric

Metric A metric. This a quantitative measurement of an entity.

type Metric struct {

    // The name of the metric
    Name *string `mandatory:"true" json:"name"`

    // Must be NULL at the moment, and "name" must be a known metric.
    ValueSource *string `mandatory:"false" json:"valueSource"`

    // The unit of the metric
    Unit *string `mandatory:"false" json:"unit"`

    // A description of the metric
    Description *string `mandatory:"false" json:"description"`
}

func (Metric) String

func (m Metric) String() string

type MetricGroup

MetricGroup A Metric Group.

type MetricGroup struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the configuration item. An OCID will be generated
    // when the item is created.
    Id *string `mandatory:"false" json:"id"`

    // The time the resource was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2020-02-12T22:47:12.613Z`
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The time the resource was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2020-02-13T22:47:12.613Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

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

    // The name of this metric group
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a Span Filter. The filterId is mandatory for the creation
    // of MetricGroups. A filterId will be generated when a Span Filter is created.
    FilterId *string `mandatory:"false" json:"filterId"`

    // The namespace to write the metrics to
    Namespace *string `mandatory:"false" json:"namespace"`

    // A list of dimensions for this metric
    Dimensions []Dimension `mandatory:"false" json:"dimensions"`

    Metrics []Metric `mandatory:"false" json:"metrics"`
}

func (MetricGroup) GetDefinedTags

func (m MetricGroup) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (MetricGroup) GetFreeformTags

func (m MetricGroup) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (MetricGroup) GetId

func (m MetricGroup) GetId() *string

GetId returns Id

func (MetricGroup) GetTimeCreated

func (m MetricGroup) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (MetricGroup) GetTimeUpdated

func (m MetricGroup) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (MetricGroup) MarshalJSON

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

MarshalJSON marshals to json representation

func (MetricGroup) String

func (m MetricGroup) String() string

type MetricGroupSummary

MetricGroupSummary A Metric Group.

type MetricGroupSummary struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the configuration item. An OCID will be generated
    // when the item is created.
    Id *string `mandatory:"false" json:"id"`

    // The time the resource was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2020-02-12T22:47:12.613Z`
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The time the resource was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2020-02-13T22:47:12.613Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

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

    // The name of this metric group
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a Span Filter. The filterId is mandatory for the creation
    // of MetricGroups. A filterId will be generated when a Span Filter is created.
    FilterId *string `mandatory:"false" json:"filterId"`

    // The namespace to write the metrics to
    Namespace *string `mandatory:"false" json:"namespace"`

    // A list of dimensions for this metric
    Dimensions []Dimension `mandatory:"false" json:"dimensions"`

    Metrics []Metric `mandatory:"false" json:"metrics"`
}

func (MetricGroupSummary) GetDefinedTags

func (m MetricGroupSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (MetricGroupSummary) GetFreeformTags

func (m MetricGroupSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (MetricGroupSummary) GetId

func (m MetricGroupSummary) GetId() *string

GetId returns Id

func (MetricGroupSummary) GetTimeCreated

func (m MetricGroupSummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (MetricGroupSummary) GetTimeUpdated

func (m MetricGroupSummary) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (MetricGroupSummary) MarshalJSON

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

MarshalJSON marshals to json representation

func (MetricGroupSummary) String

func (m MetricGroupSummary) String() string

type SortOrdersEnum

SortOrdersEnum Enum with underlying type: string

type SortOrdersEnum string

Set of constants representing the allowable values for SortOrdersEnum

const (
    SortOrdersAsc  SortOrdersEnum = "ASC"
    SortOrdersDesc SortOrdersEnum = "DESC"
)

func GetSortOrdersEnumValues

func GetSortOrdersEnumValues() []SortOrdersEnum

GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum

type SpanFilter

SpanFilter A span filter is a named setting that specifies filter criteria to match a subset of the spans.

type SpanFilter struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the configuration item. An OCID will be generated
    // when the item is created.
    Id *string `mandatory:"false" json:"id"`

    // The time the resource was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2020-02-12T22:47:12.613Z`
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The time the resource was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2020-02-13T22:47:12.613Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

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

    // The name by which this filter can be displayed in the UI.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The string that defines the Span Filter expression.
    FilterText *string `mandatory:"false" json:"filterText"`

    // An optional string that describes what the filter is intended or used for.
    Description *string `mandatory:"false" json:"description"`
}

func (SpanFilter) GetDefinedTags

func (m SpanFilter) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (SpanFilter) GetFreeformTags

func (m SpanFilter) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (SpanFilter) GetId

func (m SpanFilter) GetId() *string

GetId returns Id

func (SpanFilter) GetTimeCreated

func (m SpanFilter) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (SpanFilter) GetTimeUpdated

func (m SpanFilter) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (SpanFilter) MarshalJSON

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

MarshalJSON marshals to json representation

func (SpanFilter) String

func (m SpanFilter) String() string

type SpanFilterSummary

SpanFilterSummary A span filter is a named setting that specifies filter criteria to match a subset of the spans.

type SpanFilterSummary struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the configuration item. An OCID will be generated
    // when the item is created.
    Id *string `mandatory:"false" json:"id"`

    // The time the resource was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2020-02-12T22:47:12.613Z`
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The time the resource was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2020-02-13T22:47:12.613Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

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

    // The name by which this filter can be displayed in the UI.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The string that defines the Span Filter expression.
    FilterText *string `mandatory:"false" json:"filterText"`

    // An optional string that describes what the filter is intended or used for.
    Description *string `mandatory:"false" json:"description"`
}

func (SpanFilterSummary) GetDefinedTags

func (m SpanFilterSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (SpanFilterSummary) GetFreeformTags

func (m SpanFilterSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (SpanFilterSummary) GetId

func (m SpanFilterSummary) GetId() *string

GetId returns Id

func (SpanFilterSummary) GetTimeCreated

func (m SpanFilterSummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (SpanFilterSummary) GetTimeUpdated

func (m SpanFilterSummary) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (SpanFilterSummary) MarshalJSON

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

MarshalJSON marshals to json representation

func (SpanFilterSummary) String

func (m SpanFilterSummary) String() string

type UpdateApdexRulesDetails

UpdateApdexRulesDetails The set of Apdex rules to be used in Apdex computation.

type UpdateApdexRulesDetails struct {
    Rules []Apdex `mandatory:"true" json:"rules"`

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

    // The name by which this rule set can be displayed to the user.
    DisplayName *string `mandatory:"false" json:"displayName"`
}

func (UpdateApdexRulesDetails) GetDefinedTags

func (m UpdateApdexRulesDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateApdexRulesDetails) GetFreeformTags

func (m UpdateApdexRulesDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateApdexRulesDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateApdexRulesDetails) String

func (m UpdateApdexRulesDetails) String() string

type UpdateConfigDetails

UpdateConfigDetails The request body used to update the Configuration entity. It must specify the data to update the item with.

type UpdateConfigDetails interface {

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

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    GetDefinedTags() map[string]map[string]interface{}
}

type UpdateConfigRequest

UpdateConfigRequest wrapper for the UpdateConfig operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/54.0.0/apmconfig/UpdateConfig.go.html to see an example of how to use UpdateConfigRequest.

type UpdateConfigRequest struct {

    // The APM Domain Id the request is intended for.
    ApmDomainId *string `mandatory:"true" contributesTo:"query" name:"apmDomainId"`

    // The OCID of the ConfiguredItem.
    ConfigId *string `mandatory:"true" contributesTo:"path" name:"configId"`

    // The data to be updated.
    UpdateConfigDetails `contributesTo:"body"`

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

    // Unique 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"`

    // Indicates that this request is a dry-run.
    // If set to "true", nothing will be modified, only the validation will be performed.
    OpcDryRun *string `mandatory:"false" contributesTo:"header" name:"opc-dry-run"`

    // 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 (UpdateConfigRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateConfigRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateConfigRequest) RetryPolicy

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

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

func (UpdateConfigRequest) String

func (request UpdateConfigRequest) String() string

type UpdateConfigResponse

UpdateConfigResponse wrapper for the UpdateConfig operation

type UpdateConfigResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (UpdateConfigResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateConfigResponse) String

func (response UpdateConfigResponse) String() string

type UpdateMetricGroupDetails

UpdateMetricGroupDetails A Metric Group.

type UpdateMetricGroupDetails struct {

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

    // The name of this metric group
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a Span Filter. The filterId is mandatory for the creation
    // of MetricGroups. A filterId will be generated when a Span Filter is created.
    FilterId *string `mandatory:"false" json:"filterId"`

    // The namespace to write the metrics to
    Namespace *string `mandatory:"false" json:"namespace"`

    // A list of dimensions for this metric
    Dimensions []Dimension `mandatory:"false" json:"dimensions"`

    Metrics []Metric `mandatory:"false" json:"metrics"`
}

func (UpdateMetricGroupDetails) GetDefinedTags

func (m UpdateMetricGroupDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateMetricGroupDetails) GetFreeformTags

func (m UpdateMetricGroupDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateMetricGroupDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateMetricGroupDetails) String

func (m UpdateMetricGroupDetails) String() string

type UpdateSpanFilterDetails

UpdateSpanFilterDetails A span filter is a named setting that specifies filter criteria to match a subset of the spans.

type UpdateSpanFilterDetails struct {

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

    // The name by which this filter can be displayed in the UI.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The string that defines the Span Filter expression.
    FilterText *string `mandatory:"false" json:"filterText"`

    // An optional string that describes what the filter is intended or used for.
    Description *string `mandatory:"false" json:"description"`
}

func (UpdateSpanFilterDetails) GetDefinedTags

func (m UpdateSpanFilterDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateSpanFilterDetails) GetFreeformTags

func (m UpdateSpanFilterDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateSpanFilterDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateSpanFilterDetails) String

func (m UpdateSpanFilterDetails) String() string