apmconfig

package
v65.70.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: Apache-2.0, UPL-1.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigTypesEnumStringValues

func GetConfigTypesEnumStringValues() []string

GetConfigTypesEnumStringValues Enumerates the set of values in String for ConfigTypesEnum

func GetListConfigsSortByEnumStringValues

func GetListConfigsSortByEnumStringValues() []string

GetListConfigsSortByEnumStringValues Enumerates the set of values in String for ListConfigsSortByEnum

func GetListConfigsSortOrderEnumStringValues

func GetListConfigsSortOrderEnumStringValues() []string

GetListConfigsSortOrderEnumStringValues Enumerates the set of values in String for ListConfigsSortOrderEnum

func GetMetricTypesEnumStringValues added in v65.9.0

func GetMetricTypesEnumStringValues() []string

GetMetricTypesEnumStringValues Enumerates the set of values in String for MetricTypesEnum

func GetSortOrdersEnumStringValues

func GetSortOrdersEnumStringValues() []string

GetSortOrdersEnumStringValues Enumerates the set of values in String for SortOrdersEnum

func GetTestTypesEnumStringValues added in v65.67.1

func GetTestTypesEnumStringValues() []string

GetTestTypesEnumStringValues Enumerates the set of values in String for TestTypesEnum

Types

type Apdex

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 whether the Apdex score should be computed for spans matching the rule. This can be used to disable
	// Apdex score for spans that do not need or require it. The default is "true".
	IsEnabled *bool `mandatory:"false" json:"isEnabled"`

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

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

	// Specifies whether an Apdex score should be computed for error spans. Setting it to "true" means that the Apdex
	// score is computed in the usual way. Setting it to "false" skips the Apdex computation and sets the Apdex
	// score to "frustrating" regardless of the configured thresholds. The default is "false".
	IsApplyToErrorSpans *bool `mandatory:"false" json:"isApplyToErrorSpans"`

	// The name by which a configuration entity is displayed to the end user.
	DisplayName *string `mandatory:"false" json:"displayName"`
}

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 is considered satisfactory for the end user. The second one defines the maximum response time that is 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 an "isApplyToErrorSpans" property that controls whether or not to compute the Apdex for spans that have been marked as errors. If this property is set to "true", then the Apdex score for error spans is computed in the same way as for non-error ones. If set to "false", then computation for error spans is skipped, and the score is set to "frustrating" regardless of the configured thresholds. The default is "false". The "isEnabled" property controls whether or not an Apdex score is computed and can be used to disable Apdex score for certain spans. The default is "true". The "priority" property specifies the importance of the rule within a rule set. Lower values indicate a higher priority. Rules with higher priorities are evaluated first in the rule set. The priority of the rules must be unique within a rule set.

func (Apdex) String

func (m Apdex) String() string

func (Apdex) ValidateEnumValue

func (m Apdex) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ApdexRules

type ApdexRules struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the configuration item. An OCID is 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"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a user.
	CreatedBy *string `mandatory:"false" json:"createdBy"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a user.
	UpdatedBy *string `mandatory:"false" json:"updatedBy"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `mandatory:"false" json:"etag"`

	// 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 a configuration entity is displayed to the end user.
	DisplayName *string `mandatory:"false" json:"displayName"`

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

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.

func (ApdexRules) GetCreatedBy added in v65.28.3

func (m ApdexRules) GetCreatedBy() *string

GetCreatedBy returns CreatedBy

func (ApdexRules) GetDefinedTags

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

GetDefinedTags returns DefinedTags

func (ApdexRules) GetEtag added in v65.28.3

func (m ApdexRules) GetEtag() *string

GetEtag returns Etag

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) GetUpdatedBy added in v65.28.3

func (m ApdexRules) GetUpdatedBy() *string

GetUpdatedBy returns UpdatedBy

func (ApdexRules) MarshalJSON

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

MarshalJSON marshals to json representation

func (ApdexRules) String

func (m ApdexRules) String() string

func (ApdexRules) ValidateEnumValue

func (m ApdexRules) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ApdexRulesSummary

type ApdexRulesSummary struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the configuration item. An OCID is 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"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a user.
	CreatedBy *string `mandatory:"false" json:"createdBy"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a user.
	UpdatedBy *string `mandatory:"false" json:"updatedBy"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `mandatory:"false" json:"etag"`

	// 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 a configuration entity is displayed to the end user.
	DisplayName *string `mandatory:"false" json:"displayName"`
}

ApdexRulesSummary The set of Apdex rules used in Apdex computation.

func (ApdexRulesSummary) GetCreatedBy added in v65.28.3

func (m ApdexRulesSummary) GetCreatedBy() *string

GetCreatedBy returns CreatedBy

func (ApdexRulesSummary) GetDefinedTags

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

GetDefinedTags returns DefinedTags

func (ApdexRulesSummary) GetEtag added in v65.28.3

func (m ApdexRulesSummary) GetEtag() *string

GetEtag returns Etag

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) GetUpdatedBy added in v65.28.3

func (m ApdexRulesSummary) GetUpdatedBy() *string

GetUpdatedBy returns UpdatedBy

func (ApdexRulesSummary) MarshalJSON

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

MarshalJSON marshals to json representation

func (ApdexRulesSummary) String

func (m ApdexRulesSummary) String() string

func (ApdexRulesSummary) ValidateEnumValue

func (m ApdexRulesSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type Config

type Config interface {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the configuration item. An OCID is 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

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a user.
	GetCreatedBy() *string

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a user.
	GetUpdatedBy() *string

	// For optimistic concurrency control. See `if-match`.
	GetEtag() *string

	// 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{}
}

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

type ConfigClient

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

ConfigClient a client for Config

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/latest/apmconfig/CreateConfig.go.html to see an example of how to use CreateConfig API. A default retry strategy applies to this operation CreateConfig()

func (ConfigClient) DeleteConfig

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

DeleteConfig Deletes the configuration item identified by the OCID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmconfig/DeleteConfig.go.html to see an example of how to use DeleteConfig API. A default retry strategy applies to this operation DeleteConfig()

func (ConfigClient) GetConfig

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

GetConfig Gets the configuration item identified by the OCID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmconfig/GetConfig.go.html to see an example of how to use GetConfig API. A default retry strategy applies to this operation GetConfig()

func (ConfigClient) ListConfigs

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

ListConfigs Returns all configuration items, which can optionally be filtered by configuration type.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmconfig/ListConfigs.go.html to see an example of how to use ListConfigs API. A default retry strategy applies to this operation ListConfigs()

func (ConfigClient) RetrieveNamespaceMetrics added in v65.9.0

func (client ConfigClient) RetrieveNamespaceMetrics(ctx context.Context, request RetrieveNamespaceMetricsRequest) (response RetrieveNamespaceMetricsResponse, err error)

RetrieveNamespaceMetrics Returns all metrics associated with the specified namespace.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmconfig/RetrieveNamespaceMetrics.go.html to see an example of how to use RetrieveNamespaceMetrics API. A default retry strategy applies to this operation RetrieveNamespaceMetrics()

func (ConfigClient) RetrieveNamespaces added in v65.9.0

func (client ConfigClient) RetrieveNamespaces(ctx context.Context, request RetrieveNamespacesRequest) (response RetrieveNamespacesResponse, err error)

RetrieveNamespaces Returns all namespaces available in APM.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmconfig/RetrieveNamespaces.go.html to see an example of how to use RetrieveNamespaces API. A default retry strategy applies to this operation RetrieveNamespaces()

func (*ConfigClient) SetRegion

func (client *ConfigClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ConfigClient) Test added in v65.67.1

func (client ConfigClient) Test(ctx context.Context, request TestRequest) (response TestResponse, err error)

Test Tests a data processing operation on the provided input, returning the potentially modified input as output. Returns 200 on success, 422 when the input can not be processed.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmconfig/Test.go.html to see an example of how to use Test API. A default retry strategy applies to this operation Test()

func (ConfigClient) UpdateConfig

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

UpdateConfig Updates the details of the configuration item identified by the OCID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmconfig/UpdateConfig.go.html to see an example of how to use UpdateConfig API. A default retry strategy applies to this operation UpdateConfig()

func (ConfigClient) ValidateSpanFilterPattern added in v65.9.0

func (client ConfigClient) ValidateSpanFilterPattern(ctx context.Context, request ValidateSpanFilterPatternRequest) (response ValidateSpanFilterPatternResponse, err error)

ValidateSpanFilterPattern Validates the Span Filter pattern (filterText) for syntactic correctness. Returns 204 on success, 422 when validation fails.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmconfig/ValidateSpanFilterPattern.go.html to see an example of how to use ValidateSpanFilterPattern API. A default retry strategy applies to this operation ValidateSpanFilterPattern()

type ConfigCollection

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

ConfigCollection A collection of configuration items.

func (ConfigCollection) String

func (m ConfigCollection) String() string

func (*ConfigCollection) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (ConfigCollection) ValidateEnumValue

func (m ConfigCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ConfigSummary

type ConfigSummary interface {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the configuration item. An OCID is 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

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a user.
	GetCreatedBy() *string

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a user.
	GetUpdatedBy() *string

	// For optimistic concurrency control. See `if-match`.
	GetEtag() *string

	// 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{}
}

ConfigSummary A description of a configuration item. It specifies all the properties that define the configuration item.

type ConfigTypesEnum

type ConfigTypesEnum string

ConfigTypesEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ConfigTypesEnum

func GetConfigTypesEnumValues

func GetConfigTypesEnumValues() []ConfigTypesEnum

GetConfigTypesEnumValues Enumerates the set of values for ConfigTypesEnum

func GetMappingConfigTypesEnum

func GetMappingConfigTypesEnum(val string) (ConfigTypesEnum, bool)

GetMappingConfigTypesEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateApdexRulesDetails

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

	// The name by which a configuration entity is displayed to the end 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"`
}

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 results in an error.

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

func (CreateApdexRulesDetails) ValidateEnumValue

func (m CreateApdexRulesDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateConfigDetails

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

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

type CreateConfigRequest

type CreateConfigRequest struct {

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

	// The configuration details of 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 the request is a dry run, if set to "true". A dry run request does not modify the
	// configuration item details and is used only to perform validation on the submitted data.
	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
}

CreateConfigRequest wrapper for the CreateConfig operation

See also

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

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

func (CreateConfigRequest) ValidateEnumValue

func (request CreateConfigRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateConfigResponse

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

CreateConfigResponse wrapper for the CreateConfig operation

func (CreateConfigResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateConfigResponse) String

func (response CreateConfigResponse) String() string

type CreateMetricGroupDetails

type CreateMetricGroupDetails struct {

	// The name by which a configuration entity is displayed to the end user.
	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 is generated when a Span Filter is created.
	FilterId *string `mandatory:"true" json:"filterId"`

	// The list of metrics in this group.
	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 which the metrics are published. It must be one of several predefined namespaces.
	Namespace *string `mandatory:"false" json:"namespace"`

	// A list of dimensions for the metric. This variable should not be used.
	Dimensions []Dimension `mandatory:"false" json:"dimensions"`
}

CreateMetricGroupDetails A metric group defines a set of metrics to collect from a span. It uses a span filter to specify which spans to process. The set is then published to a namespace, which is a product level subdivision of metrics.

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

func (CreateMetricGroupDetails) ValidateEnumValue

func (m CreateMetricGroupDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateOptionsDetails added in v65.9.0

type CreateOptionsDetails 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 a configuration entity is displayed to the end user.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The options are stored here as JSON.
	Options *interface{} `mandatory:"false" json:"options"`

	// A string that specifies the group that an OPTIONS item belongs to.
	Group *string `mandatory:"false" json:"group"`

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

CreateOptionsDetails An Options object represents configuration options.

func (CreateOptionsDetails) GetDefinedTags added in v65.9.0

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

GetDefinedTags returns DefinedTags

func (CreateOptionsDetails) GetFreeformTags added in v65.9.0

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

GetFreeformTags returns FreeformTags

func (CreateOptionsDetails) MarshalJSON added in v65.9.0

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

MarshalJSON marshals to json representation

func (CreateOptionsDetails) String added in v65.9.0

func (m CreateOptionsDetails) String() string

func (CreateOptionsDetails) ValidateEnumValue added in v65.9.0

func (m CreateOptionsDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateSpanFilterDetails

type CreateSpanFilterDetails struct {

	// The name by which a configuration entity is displayed to the end user.
	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"`
}

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

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

func (CreateSpanFilterDetails) ValidateEnumValue

func (m CreateSpanFilterDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteConfigRequest

type DeleteConfigRequest struct {

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

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the configuration item.
	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
}

DeleteConfigRequest wrapper for the DeleteConfig operation

See also

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

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

func (DeleteConfigRequest) ValidateEnumValue

func (request DeleteConfigRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteConfigResponse

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

DeleteConfigResponse wrapper for the DeleteConfig operation

func (DeleteConfigResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteConfigResponse) String

func (response DeleteConfigResponse) String() string

type Dimension

type Dimension struct {

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

	// The source to populate the dimension. This must not be specified.
	ValueSource *string `mandatory:"false" json:"valueSource"`
}

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

func (Dimension) String

func (m Dimension) String() string

func (Dimension) ValidateEnumValue

func (m Dimension) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type FilterTextOrId added in v65.67.1

type FilterTextOrId struct {

	// 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 is generated when a Span Filter is created.
	FilterId *string `mandatory:"false" json:"filterId"`

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

FilterTextOrId A span filter written in text, or as the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a SpanFilter resource. If both are given, the filterText is used.

func (FilterTextOrId) String added in v65.67.1

func (m FilterTextOrId) String() string

func (FilterTextOrId) ValidateEnumValue added in v65.67.1

func (m FilterTextOrId) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetConfigRequest

type GetConfigRequest struct {

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

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the configuration item.
	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
}

GetConfigRequest wrapper for the GetConfig operation

See also

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

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

func (GetConfigRequest) ValidateEnumValue

func (request GetConfigRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetConfigResponse

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

GetConfigResponse wrapper for the GetConfig operation

func (GetConfigResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetConfigResponse) String

func (response GetConfigResponse) String() string

type 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 configuration items of a given type.
	// Supported values are SPAN_FILTER, METRIC_GROUP, and APDEX.
	ConfigType *string `mandatory:"false" contributesTo:"query" name:"configType"`

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

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

	// The maximum number of results per page, or items to return in a paginated "List" call. For information on
	// 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 "sortBy" value. The 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"`

	// A filter to return OPTIONS resources that match the given group.
	OptionsGroup *string `mandatory:"false" contributesTo:"query" name:"optionsGroup"`

	// A list of tag filters to apply.  Only resources with a defined tag matching the value will be returned.
	// Each item in the list has the format "{namespace}.{tagName}.{value}".  All inputs are case-insensitive.
	// Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
	// Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
	DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`

	// A list of tag filters to apply.  Only resources with a freeform tag matching the value will be returned.
	// The key for each tag is "{tagName}.{value}".  All inputs are case-insensitive.
	// Multiple values for the same tag name are interpreted as "OR".  Values for different tag names are interpreted as "AND".
	FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`

	// A list of tag existence filters to apply.  Only resources for which the specified defined tags exist will be returned.
	// Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
	// or "{namespace}.true".  All inputs are case-insensitive.
	// Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
	// Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
	// Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
	DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`

	// A list of tag existence filters to apply.  Only resources for which the specified freeform tags exist the value will be returned.
	// The key for each tag is "{tagName}.true".  All inputs are case-insensitive.
	// Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
	// Multiple values for different tag names are interpreted as "AND".
	FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" 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
}

ListConfigsRequest wrapper for the ListConfigs operation

See also

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

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

func (ListConfigsRequest) ValidateEnumValue

func (request ListConfigsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListConfigsResponse

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

ListConfigsResponse wrapper for the ListConfigs operation

func (ListConfigsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListConfigsResponse) String

func (response ListConfigsResponse) String() string

type ListConfigsSortByEnum

type ListConfigsSortByEnum string

ListConfigsSortByEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListConfigsSortByEnum

func GetListConfigsSortByEnumValues

func GetListConfigsSortByEnumValues() []ListConfigsSortByEnum

GetListConfigsSortByEnumValues Enumerates the set of values for ListConfigsSortByEnum

func GetMappingListConfigsSortByEnum

func GetMappingListConfigsSortByEnum(val string) (ListConfigsSortByEnum, bool)

GetMappingListConfigsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListConfigsSortOrderEnum

type ListConfigsSortOrderEnum string

ListConfigsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListConfigsSortOrderEnum

func GetListConfigsSortOrderEnumValues

func GetListConfigsSortOrderEnumValues() []ListConfigsSortOrderEnum

GetListConfigsSortOrderEnumValues Enumerates the set of values for ListConfigsSortOrderEnum

func GetMappingListConfigsSortOrderEnum

func GetMappingListConfigsSortOrderEnum(val string) (ListConfigsSortOrderEnum, bool)

GetMappingListConfigsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type Metric

type Metric struct {

	// The name of the metric. This must be a known metric name.
	Name *string `mandatory:"true" json:"name"`

	// This must not be set.
	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"`
}

Metric A metric is a quantitative measurement of an entity.

func (Metric) String

func (m Metric) String() string

func (Metric) ValidateEnumValue

func (m Metric) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MetricGroup

type MetricGroup struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the configuration item. An OCID is 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"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a user.
	CreatedBy *string `mandatory:"false" json:"createdBy"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a user.
	UpdatedBy *string `mandatory:"false" json:"updatedBy"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `mandatory:"false" json:"etag"`

	// 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 a configuration entity is displayed to the end user.
	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 is generated when a Span Filter is created.
	FilterId *string `mandatory:"false" json:"filterId"`

	// The namespace to which the metrics are published. It must be one of several predefined namespaces.
	Namespace *string `mandatory:"false" json:"namespace"`

	// A list of dimensions for the metric. This variable should not be used.
	Dimensions []Dimension `mandatory:"false" json:"dimensions"`

	// The list of metrics in this group.
	Metrics []Metric `mandatory:"false" json:"metrics"`
}

MetricGroup A metric group defines a set of metrics to collect from a span. It uses a span filter to specify which spans to process. The set is then published to a namespace, which is a product level subdivision of metrics.

func (MetricGroup) GetCreatedBy added in v65.28.3

func (m MetricGroup) GetCreatedBy() *string

GetCreatedBy returns CreatedBy

func (MetricGroup) GetDefinedTags

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

GetDefinedTags returns DefinedTags

func (MetricGroup) GetEtag added in v65.28.3

func (m MetricGroup) GetEtag() *string

GetEtag returns Etag

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) GetUpdatedBy added in v65.28.3

func (m MetricGroup) GetUpdatedBy() *string

GetUpdatedBy returns UpdatedBy

func (MetricGroup) MarshalJSON

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

MarshalJSON marshals to json representation

func (MetricGroup) String

func (m MetricGroup) String() string

func (MetricGroup) ValidateEnumValue

func (m MetricGroup) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MetricGroupSummary

type MetricGroupSummary struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the configuration item. An OCID is 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"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a user.
	CreatedBy *string `mandatory:"false" json:"createdBy"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a user.
	UpdatedBy *string `mandatory:"false" json:"updatedBy"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `mandatory:"false" json:"etag"`

	// 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 a configuration entity is displayed to the end user.
	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 is generated when a Span Filter is created.
	FilterId *string `mandatory:"false" json:"filterId"`

	// The namespace to which the metrics are published. It must be one of several predefined namespaces.
	Namespace *string `mandatory:"false" json:"namespace"`

	// A list of dimensions for the metric. This variable should not be used.
	Dimensions []Dimension `mandatory:"false" json:"dimensions"`

	// The list of metrics in this group.
	Metrics []Metric `mandatory:"false" json:"metrics"`
}

MetricGroupSummary A metric group defines a set of metrics to collect from a span. It uses a span filter to specify which spans to process. The set is then published to a namespace, which is a product level subdivision of metrics.

func (MetricGroupSummary) GetCreatedBy added in v65.28.3

func (m MetricGroupSummary) GetCreatedBy() *string

GetCreatedBy returns CreatedBy

func (MetricGroupSummary) GetDefinedTags

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

GetDefinedTags returns DefinedTags

func (MetricGroupSummary) GetEtag added in v65.28.3

func (m MetricGroupSummary) GetEtag() *string

GetEtag returns Etag

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) GetUpdatedBy added in v65.28.3

func (m MetricGroupSummary) GetUpdatedBy() *string

GetUpdatedBy returns UpdatedBy

func (MetricGroupSummary) MarshalJSON

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

MarshalJSON marshals to json representation

func (MetricGroupSummary) String

func (m MetricGroupSummary) String() string

func (MetricGroupSummary) ValidateEnumValue

func (m MetricGroupSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MetricTypesEnum added in v65.9.0

type MetricTypesEnum string

MetricTypesEnum Enum with underlying type: string

const (
	MetricTypesCounter MetricTypesEnum = "COUNTER"
	MetricTypesGauge   MetricTypesEnum = "GAUGE"
)

Set of constants representing the allowable values for MetricTypesEnum

func GetMappingMetricTypesEnum added in v65.9.0

func GetMappingMetricTypesEnum(val string) (MetricTypesEnum, bool)

GetMappingMetricTypesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMetricTypesEnumValues added in v65.9.0

func GetMetricTypesEnumValues() []MetricTypesEnum

GetMetricTypesEnumValues Enumerates the set of values for MetricTypesEnum

type Namespace added in v65.9.0

type Namespace struct {

	// Name of the namespace.
	Name *string `mandatory:"true" json:"name"`
}

Namespace Namespaces represent a product level subdivision by name.

func (Namespace) String added in v65.9.0

func (m Namespace) String() string

func (Namespace) ValidateEnumValue added in v65.9.0

func (m Namespace) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NamespaceCollection added in v65.9.0

type NamespaceCollection struct {

	// The list of available namespaces.
	Items []Namespace `mandatory:"true" json:"items"`
}

NamespaceCollection Collection of available namespaces.

func (NamespaceCollection) String added in v65.9.0

func (m NamespaceCollection) String() string

func (NamespaceCollection) ValidateEnumValue added in v65.9.0

func (m NamespaceCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NamespaceMetric added in v65.9.0

type NamespaceMetric struct {

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

	// Type of metric.
	Type MetricTypesEnum `mandatory:"true" json:"type"`

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

NamespaceMetric Metric associated with a namespace.

func (NamespaceMetric) String added in v65.9.0

func (m NamespaceMetric) String() string

func (NamespaceMetric) ValidateEnumValue added in v65.9.0

func (m NamespaceMetric) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NamespaceMetricCollection added in v65.9.0

type NamespaceMetricCollection struct {

	// The list of available namespace metrics.
	Items []NamespaceMetric `mandatory:"true" json:"items"`
}

NamespaceMetricCollection Collection of available namespace metrics.

func (NamespaceMetricCollection) String added in v65.9.0

func (m NamespaceMetricCollection) String() string

func (NamespaceMetricCollection) ValidateEnumValue added in v65.9.0

func (m NamespaceMetricCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type Options added in v65.9.0

type Options struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the configuration item. An OCID is 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"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a user.
	CreatedBy *string `mandatory:"false" json:"createdBy"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a user.
	UpdatedBy *string `mandatory:"false" json:"updatedBy"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `mandatory:"false" json:"etag"`

	// 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 a configuration entity is displayed to the end user.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The options are stored here as JSON.
	Options *interface{} `mandatory:"false" json:"options"`

	// A string that specifies the group that an OPTIONS item belongs to.
	Group *string `mandatory:"false" json:"group"`

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

Options An object that represents configuration options.

func (Options) GetCreatedBy added in v65.28.3

func (m Options) GetCreatedBy() *string

GetCreatedBy returns CreatedBy

func (Options) GetDefinedTags added in v65.9.0

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

GetDefinedTags returns DefinedTags

func (Options) GetEtag added in v65.28.3

func (m Options) GetEtag() *string

GetEtag returns Etag

func (Options) GetFreeformTags added in v65.9.0

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

GetFreeformTags returns FreeformTags

func (Options) GetId added in v65.9.0

func (m Options) GetId() *string

GetId returns Id

func (Options) GetTimeCreated added in v65.9.0

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

GetTimeCreated returns TimeCreated

func (Options) GetTimeUpdated added in v65.9.0

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

GetTimeUpdated returns TimeUpdated

func (Options) GetUpdatedBy added in v65.28.3

func (m Options) GetUpdatedBy() *string

GetUpdatedBy returns UpdatedBy

func (Options) MarshalJSON added in v65.9.0

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

MarshalJSON marshals to json representation

func (Options) String added in v65.9.0

func (m Options) String() string

func (Options) ValidateEnumValue added in v65.9.0

func (m Options) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OptionsSummary added in v65.9.0

type OptionsSummary struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the configuration item. An OCID is 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"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a user.
	CreatedBy *string `mandatory:"false" json:"createdBy"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a user.
	UpdatedBy *string `mandatory:"false" json:"updatedBy"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `mandatory:"false" json:"etag"`

	// 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 a configuration entity is displayed to the end user.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The options are stored here as JSON.
	Options *interface{} `mandatory:"false" json:"options"`

	// A string that specifies the group that an OPTIONS item belongs to.
	Group *string `mandatory:"false" json:"group"`

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

OptionsSummary An Options object represents configuration options.

func (OptionsSummary) GetCreatedBy added in v65.28.3

func (m OptionsSummary) GetCreatedBy() *string

GetCreatedBy returns CreatedBy

func (OptionsSummary) GetDefinedTags added in v65.9.0

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

GetDefinedTags returns DefinedTags

func (OptionsSummary) GetEtag added in v65.28.3

func (m OptionsSummary) GetEtag() *string

GetEtag returns Etag

func (OptionsSummary) GetFreeformTags added in v65.9.0

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

GetFreeformTags returns FreeformTags

func (OptionsSummary) GetId added in v65.9.0

func (m OptionsSummary) GetId() *string

GetId returns Id

func (OptionsSummary) GetTimeCreated added in v65.9.0

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

GetTimeCreated returns TimeCreated

func (OptionsSummary) GetTimeUpdated added in v65.9.0

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

GetTimeUpdated returns TimeUpdated

func (OptionsSummary) GetUpdatedBy added in v65.28.3

func (m OptionsSummary) GetUpdatedBy() *string

GetUpdatedBy returns UpdatedBy

func (OptionsSummary) MarshalJSON added in v65.9.0

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

MarshalJSON marshals to json representation

func (OptionsSummary) String added in v65.9.0

func (m OptionsSummary) String() string

func (OptionsSummary) ValidateEnumValue added in v65.9.0

func (m OptionsSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RetrieveNamespaceMetricsDetails added in v65.9.0

type RetrieveNamespaceMetricsDetails struct {

	// Name of the namespace.
	Name *string `mandatory:"true" json:"name"`
}

RetrieveNamespaceMetricsDetails The request body used to retrieve metrics for the specified namespace.

func (RetrieveNamespaceMetricsDetails) String added in v65.9.0

func (RetrieveNamespaceMetricsDetails) ValidateEnumValue added in v65.9.0

func (m RetrieveNamespaceMetricsDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RetrieveNamespaceMetricsRequest added in v65.9.0

type RetrieveNamespaceMetricsRequest struct {

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

	// The namespace to get the metrics for.
	RetrieveNamespaceMetricsDetails `contributesTo:"body"`

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

RetrieveNamespaceMetricsRequest wrapper for the RetrieveNamespaceMetrics operation

See also

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

func (RetrieveNamespaceMetricsRequest) BinaryRequestBody added in v65.9.0

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

BinaryRequestBody implements the OCIRequest interface

func (RetrieveNamespaceMetricsRequest) HTTPRequest added in v65.9.0

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

HTTPRequest implements the OCIRequest interface

func (RetrieveNamespaceMetricsRequest) RetryPolicy added in v65.9.0

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

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

func (RetrieveNamespaceMetricsRequest) String added in v65.9.0

func (request RetrieveNamespaceMetricsRequest) String() string

func (RetrieveNamespaceMetricsRequest) ValidateEnumValue added in v65.9.0

func (request RetrieveNamespaceMetricsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RetrieveNamespaceMetricsResponse added in v65.9.0

type RetrieveNamespaceMetricsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

RetrieveNamespaceMetricsResponse wrapper for the RetrieveNamespaceMetrics operation

func (RetrieveNamespaceMetricsResponse) HTTPResponse added in v65.9.0

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

HTTPResponse implements the OCIResponse interface

func (RetrieveNamespaceMetricsResponse) String added in v65.9.0

func (response RetrieveNamespaceMetricsResponse) String() string

type RetrieveNamespacesRequest added in v65.9.0

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

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

RetrieveNamespacesRequest wrapper for the RetrieveNamespaces operation

See also

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

func (RetrieveNamespacesRequest) BinaryRequestBody added in v65.9.0

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

BinaryRequestBody implements the OCIRequest interface

func (RetrieveNamespacesRequest) HTTPRequest added in v65.9.0

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

HTTPRequest implements the OCIRequest interface

func (RetrieveNamespacesRequest) RetryPolicy added in v65.9.0

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

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

func (RetrieveNamespacesRequest) String added in v65.9.0

func (request RetrieveNamespacesRequest) String() string

func (RetrieveNamespacesRequest) ValidateEnumValue added in v65.9.0

func (request RetrieveNamespacesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RetrieveNamespacesResponse added in v65.9.0

type RetrieveNamespacesResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

RetrieveNamespacesResponse wrapper for the RetrieveNamespaces operation

func (RetrieveNamespacesResponse) HTTPResponse added in v65.9.0

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

HTTPResponse implements the OCIResponse interface

func (RetrieveNamespacesResponse) String added in v65.9.0

func (response RetrieveNamespacesResponse) String() string

type SortOrdersEnum

type SortOrdersEnum string

SortOrdersEnum Enum with underlying type: string

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

Set of constants representing the allowable values for SortOrdersEnum

func GetMappingSortOrdersEnum

func GetMappingSortOrdersEnum(val string) (SortOrdersEnum, bool)

GetMappingSortOrdersEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSortOrdersEnumValues

func GetSortOrdersEnumValues() []SortOrdersEnum

GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum

type SpanFilter

type SpanFilter struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the configuration item. An OCID is 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"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a user.
	CreatedBy *string `mandatory:"false" json:"createdBy"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a user.
	UpdatedBy *string `mandatory:"false" json:"updatedBy"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `mandatory:"false" json:"etag"`

	// 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 a configuration entity is displayed to the end user.
	DisplayName *string `mandatory:"false" json:"displayName"`

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

	// The list of configuration items that reference the span filter.
	InUseBy []SpanFilterReference `mandatory:"false" json:"inUseBy"`

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

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

func (SpanFilter) GetCreatedBy added in v65.28.3

func (m SpanFilter) GetCreatedBy() *string

GetCreatedBy returns CreatedBy

func (SpanFilter) GetDefinedTags

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

GetDefinedTags returns DefinedTags

func (SpanFilter) GetEtag added in v65.28.3

func (m SpanFilter) GetEtag() *string

GetEtag returns Etag

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) GetUpdatedBy added in v65.28.3

func (m SpanFilter) GetUpdatedBy() *string

GetUpdatedBy returns UpdatedBy

func (SpanFilter) MarshalJSON

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

MarshalJSON marshals to json representation

func (SpanFilter) String

func (m SpanFilter) String() string

func (SpanFilter) ValidateEnumValue

func (m SpanFilter) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SpanFilterReference added in v65.28.3

type SpanFilterReference struct {

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

	// The type of configuration item.
	ConfigType ConfigTypesEnum `mandatory:"false" json:"configType,omitempty"`

	// A string that specifies the group that an OPTIONS item belongs to.
	OptionsGroup *string `mandatory:"false" json:"optionsGroup"`

	// The name by which a configuration entity is displayed to the end user.
	DisplayName *string `mandatory:"false" json:"displayName"`
}

SpanFilterReference Describes an item that references the span filter.

func (SpanFilterReference) String added in v65.28.3

func (m SpanFilterReference) String() string

func (SpanFilterReference) ValidateEnumValue added in v65.28.3

func (m SpanFilterReference) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SpanFilterSummary

type SpanFilterSummary struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the configuration item. An OCID is 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"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a user.
	CreatedBy *string `mandatory:"false" json:"createdBy"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a user.
	UpdatedBy *string `mandatory:"false" json:"updatedBy"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `mandatory:"false" json:"etag"`

	// 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 a configuration entity is displayed to the end user.
	DisplayName *string `mandatory:"false" json:"displayName"`

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

	// The list of configuration items that reference the span filter.
	InUseBy []SpanFilterReference `mandatory:"false" json:"inUseBy"`

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

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

func (SpanFilterSummary) GetCreatedBy added in v65.28.3

func (m SpanFilterSummary) GetCreatedBy() *string

GetCreatedBy returns CreatedBy

func (SpanFilterSummary) GetDefinedTags

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

GetDefinedTags returns DefinedTags

func (SpanFilterSummary) GetEtag added in v65.28.3

func (m SpanFilterSummary) GetEtag() *string

GetEtag returns Etag

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) GetUpdatedBy added in v65.28.3

func (m SpanFilterSummary) GetUpdatedBy() *string

GetUpdatedBy returns UpdatedBy

func (SpanFilterSummary) MarshalJSON

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

MarshalJSON marshals to json representation

func (SpanFilterSummary) String

func (m SpanFilterSummary) String() string

func (SpanFilterSummary) ValidateEnumValue

func (m SpanFilterSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TestDetails added in v65.67.1

type TestDetails interface {
}

TestDetails The request body used to execute a test.

type TestOutput added in v65.67.1

type TestOutput interface {
}

TestOutput The result of running a test.

type TestRequest added in v65.67.1

type TestRequest struct {

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

	// The test input.
	TestDetails `contributesTo:"body"`

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

TestRequest wrapper for the Test operation

See also

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

func (TestRequest) BinaryRequestBody added in v65.67.1

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

BinaryRequestBody implements the OCIRequest interface

func (TestRequest) HTTPRequest added in v65.67.1

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

HTTPRequest implements the OCIRequest interface

func (TestRequest) RetryPolicy added in v65.67.1

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

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

func (TestRequest) String added in v65.67.1

func (request TestRequest) String() string

func (TestRequest) ValidateEnumValue added in v65.67.1

func (request TestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TestResponse added in v65.67.1

type TestResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

TestResponse wrapper for the Test operation

func (TestResponse) HTTPResponse added in v65.67.1

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

HTTPResponse implements the OCIResponse interface

func (TestResponse) String added in v65.67.1

func (response TestResponse) String() string

type TestSpanEnrichmentDetails added in v65.67.1

type TestSpanEnrichmentDetails struct {

	// The span enrichment rules to test in the format of an Options resource.
	Options *interface{} `mandatory:"true" json:"options"`

	// The span to test the rules on. This should be a valid JSON object that follows one
	// of the formats used by distributed tracing frameworks, such as OpenTelemetry, Zipkin, or
	// Oracle Application Performance Monitoring.
	Span *interface{} `mandatory:"true" json:"span"`

	// A list of filters to try against the given span.
	Filters []FilterTextOrId `mandatory:"false" json:"filters"`
}

TestSpanEnrichmentDetails Run a set of span enrichment rules on a given span to see the result.

func (TestSpanEnrichmentDetails) MarshalJSON added in v65.67.1

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

MarshalJSON marshals to json representation

func (TestSpanEnrichmentDetails) String added in v65.67.1

func (m TestSpanEnrichmentDetails) String() string

func (TestSpanEnrichmentDetails) ValidateEnumValue added in v65.67.1

func (m TestSpanEnrichmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TestSpanEnrichmentOutput added in v65.67.1

type TestSpanEnrichmentOutput struct {

	// The span after applying enrichment rules.
	Span *interface{} `mandatory:"false" json:"span"`

	// A list of booleans indicating whether the corresponding filter in the input matched the input span.
	Filters []bool `mandatory:"false" json:"filters"`
}

TestSpanEnrichmentOutput Output of running a set of span enrichment rules against a span.

func (TestSpanEnrichmentOutput) MarshalJSON added in v65.67.1

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

MarshalJSON marshals to json representation

func (TestSpanEnrichmentOutput) String added in v65.67.1

func (m TestSpanEnrichmentOutput) String() string

func (TestSpanEnrichmentOutput) ValidateEnumValue added in v65.67.1

func (m TestSpanEnrichmentOutput) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TestTypesEnum added in v65.67.1

type TestTypesEnum string

TestTypesEnum Enum with underlying type: string

const (
	TestTypesSpanEnrichment TestTypesEnum = "SPAN_ENRICHMENT"
)

Set of constants representing the allowable values for TestTypesEnum

func GetMappingTestTypesEnum added in v65.67.1

func GetMappingTestTypesEnum(val string) (TestTypesEnum, bool)

GetMappingTestTypesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTestTypesEnumValues added in v65.67.1

func GetTestTypesEnumValues() []TestTypesEnum

GetTestTypesEnumValues Enumerates the set of values for TestTypesEnum

type UpdateApdexRulesDetails

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 a configuration entity is displayed to the end user.
	DisplayName *string `mandatory:"false" json:"displayName"`
}

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

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

func (UpdateApdexRulesDetails) ValidateEnumValue

func (m UpdateApdexRulesDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateConfigDetails

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

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

type UpdateConfigRequest

type UpdateConfigRequest struct {

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

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the configuration item.
	ConfigId *string `mandatory:"true" contributesTo:"path" name:"configId"`

	// The configuration details 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 the request is a dry run, if set to "true". A dry run request does not modify the
	// configuration item details and is used only to perform validation on the submitted data.
	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
}

UpdateConfigRequest wrapper for the UpdateConfig operation

See also

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

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

func (UpdateConfigRequest) ValidateEnumValue

func (request UpdateConfigRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateConfigResponse

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

UpdateConfigResponse wrapper for the UpdateConfig operation

func (UpdateConfigResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateConfigResponse) String

func (response UpdateConfigResponse) String() string

type UpdateMetricGroupDetails

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 by which a configuration entity is displayed to the end user.
	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 is generated when a Span Filter is created.
	FilterId *string `mandatory:"false" json:"filterId"`

	// The namespace to which the metrics are published. It must be one of several predefined namespaces.
	Namespace *string `mandatory:"false" json:"namespace"`

	// A list of dimensions for the metric. This variable should not be used.
	Dimensions []Dimension `mandatory:"false" json:"dimensions"`

	// The list of metrics in this group.
	Metrics []Metric `mandatory:"false" json:"metrics"`
}

UpdateMetricGroupDetails A metric group defines a set of metrics to collect from a span. It uses a span filter to specify which spans to process. The set is then published to a namespace, which is a product level subdivision of 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

func (UpdateMetricGroupDetails) ValidateEnumValue

func (m UpdateMetricGroupDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateOptionsDetails added in v65.9.0

type UpdateOptionsDetails 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 a configuration entity is displayed to the end user.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The options are stored here as JSON.
	Options *interface{} `mandatory:"false" json:"options"`

	// A string that specifies the group that an OPTIONS item belongs to.
	Group *string `mandatory:"false" json:"group"`

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

UpdateOptionsDetails An Options object represents configuration options.

func (UpdateOptionsDetails) GetDefinedTags added in v65.9.0

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

GetDefinedTags returns DefinedTags

func (UpdateOptionsDetails) GetFreeformTags added in v65.9.0

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

GetFreeformTags returns FreeformTags

func (UpdateOptionsDetails) MarshalJSON added in v65.9.0

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

MarshalJSON marshals to json representation

func (UpdateOptionsDetails) String added in v65.9.0

func (m UpdateOptionsDetails) String() string

func (UpdateOptionsDetails) ValidateEnumValue added in v65.9.0

func (m UpdateOptionsDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateSpanFilterDetails

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 a configuration entity is displayed to the end user.
	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"`
}

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

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

func (UpdateSpanFilterDetails) ValidateEnumValue

func (m UpdateSpanFilterDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ValidateSpanFilterPatternDetails added in v65.9.0

type ValidateSpanFilterPatternDetails struct {

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

ValidateSpanFilterPatternDetails The request body used to validate a Span Filter pattern.

func (ValidateSpanFilterPatternDetails) String added in v65.9.0

func (ValidateSpanFilterPatternDetails) ValidateEnumValue added in v65.9.0

func (m ValidateSpanFilterPatternDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ValidateSpanFilterPatternRequest added in v65.9.0

type ValidateSpanFilterPatternRequest struct {

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

	// The Span Filter pattern to validate.
	ValidateSpanFilterPatternDetails `contributesTo:"body"`

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

ValidateSpanFilterPatternRequest wrapper for the ValidateSpanFilterPattern operation

See also

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

func (ValidateSpanFilterPatternRequest) BinaryRequestBody added in v65.9.0

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

BinaryRequestBody implements the OCIRequest interface

func (ValidateSpanFilterPatternRequest) HTTPRequest added in v65.9.0

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

HTTPRequest implements the OCIRequest interface

func (ValidateSpanFilterPatternRequest) RetryPolicy added in v65.9.0

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

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

func (ValidateSpanFilterPatternRequest) String added in v65.9.0

func (request ValidateSpanFilterPatternRequest) String() string

func (ValidateSpanFilterPatternRequest) ValidateEnumValue added in v65.9.0

func (request ValidateSpanFilterPatternRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ValidateSpanFilterPatternResponse added in v65.9.0

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

ValidateSpanFilterPatternResponse wrapper for the ValidateSpanFilterPattern operation

func (ValidateSpanFilterPatternResponse) HTTPResponse added in v65.9.0

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

HTTPResponse implements the OCIResponse interface

func (ValidateSpanFilterPatternResponse) String added in v65.9.0

func (response ValidateSpanFilterPatternResponse) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL